event subscriptions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user