add interface

This commit is contained in:
Peter Maquiran
2024-08-27 23:36:24 +01:00
parent ee30dd2d5b
commit 97ad62e2b6
62 changed files with 332 additions and 361 deletions
@@ -1,7 +1,7 @@
import { z } from "zod";
import { EntityTable } from 'Dexie';
import { zodDataUrlSchema } from "src/app/utils/zod";
import { MessageAttachmentFileType, MessageAttachmentSource } from "src/app/module/chat/data/dto/message/messageOutputDTO";
import { MessageAttachmentFileType, MessageAttachmentSource } from "src/app/core/chat/entity/message";
export const AttachmentTableSchema = z.object({
$id: z.number().optional(), // local id