diff --git a/components/ui/Chat/Embeds/File/File.html b/components/ui/Chat/Embeds/File/File.html index 8b91f4d416..a6bcff932c 100644 --- a/components/ui/Chat/Embeds/File/File.html +++ b/components/ui/Chat/Embeds/File/File.html @@ -6,12 +6,7 @@ - + diff --git a/components/ui/Chat/Embeds/File/File.vue b/components/ui/Chat/Embeds/File/File.vue index b5ef373098..4e49e7b9ff 100644 --- a/components/ui/Chat/Embeds/File/File.vue +++ b/components/ui/Chat/Embeds/File/File.vue @@ -2,7 +2,7 @@ diff --git a/components/ui/Chat/Embeds/File/types.d.ts b/components/ui/Chat/Embeds/File/types.d.ts index 8f936988e2..602cc7400c 100644 --- a/components/ui/Chat/Embeds/File/types.d.ts +++ b/components/ui/Chat/Embeds/File/types.d.ts @@ -1,6 +1,7 @@ -export type FileData = { - filename: String - size: Number - type: String - src: String +export type FileMessagePayload = { + url: string + name: string + size: number + type: string + id: string } diff --git a/components/ui/Chat/Image/Image.vue b/components/ui/Chat/Image/Image.vue index 276ba74465..98c128e698 100644 --- a/components/ui/Chat/Image/Image.vue +++ b/components/ui/Chat/Image/Image.vue @@ -2,7 +2,8 @@