event subscriptions

This commit is contained in:
toni
2026-03-15 15:39:45 +01:00
parent 29c6828dd1
commit 2620538a2c
26 changed files with 1028 additions and 214 deletions
+22 -1
View File
@@ -1,4 +1,25 @@
import type { FoundEvents } from "../generated/prisma/client.js";
import type {
FoundEventAttachments,
FoundEvents,
} from "../generated/prisma/client.js";
export class FoundEventAttachmentDto implements FoundEventAttachments {
id!: string;
title!: string;
url!: string;
eventId!: string;
}
export class FoundEventDto implements FoundEvents {
id!: string;
source!: string;
url!: string;
foundDate!: Date;
eventDate!: string | null;
title!: string | null;
description!: string | null;
attachedFiles!: FoundEventAttachmentDto[];
}
export class FoundEventCreateArgs implements Omit<
FoundEvents,