move database to infra

This commit is contained in:
Peter Maquiran
2024-08-27 10:15:00 +01:00
parent 7a85f8f1c5
commit c59abb7e04
25 changed files with 38 additions and 39 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import { z } from "zod";
import { MessageAttachmentFileType, MessageAttachmentSource } from "../../../module/chat/data/dto/message/messageOutputDTO";
import { SafeResourceUrl } from "@angular/platform-browser";
import { base64Schema } from "src/app/utils/zod";
export const MessageEntitySchema = z.object({
@@ -48,7 +47,7 @@ export const MessageEntitySchema = z.object({
})).optional()
})
type Message = z.infer<typeof MessageEntitySchema>;
export type IMessage = z.infer<typeof MessageEntitySchema>;
export class MessageEntity {