Compare commits
2 Commits
d0539aad62
...
04773bb28a
| Author | SHA1 | Date | |
|---|---|---|---|
| 04773bb28a | |||
| f870481a7d |
@ -1,14 +1,23 @@
|
|||||||
import type { RoleDefinition } from "./Roles";
|
import type { RoleDefinition } from "./Roles";
|
||||||
|
|
||||||
|
export interface ChatAttachment {
|
||||||
|
file_name: string;
|
||||||
|
ext: string;
|
||||||
|
base64: string;
|
||||||
|
type?: string;
|
||||||
|
title?: string;
|
||||||
|
category?: string;
|
||||||
|
note?: string;
|
||||||
|
}
|
||||||
|
|
||||||
export interface ChatData {
|
export interface ChatData {
|
||||||
type: string;
|
timestamp: number;
|
||||||
content: string;
|
receiver: string;
|
||||||
metadata: {
|
messages: [string];
|
||||||
createdAt: string;
|
data?: ChatAttachment[];
|
||||||
lastModified: string;
|
role?: string;
|
||||||
sender: string;
|
ia?: boolean;
|
||||||
recipient: string;
|
title?: string;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isChatData(data: any): data is ChatData {
|
export function isChatData(data: any): data is ChatData {
|
||||||
|
|||||||
@ -10,7 +10,7 @@ export const COMPANY_INFO = {
|
|||||||
|
|
||||||
// External URLs
|
// External URLs
|
||||||
export const EXTERNAL_URLS = {
|
export const EXTERNAL_URLS = {
|
||||||
iframe: 'https://dev3.4nkweb.com',
|
iframe: 'https://dev2.4nkweb.com',
|
||||||
gitRepository: 'https://git.4nkweb.com',
|
gitRepository: 'https://git.4nkweb.com',
|
||||||
lecoffre: 'https://lecoffre.io'
|
lecoffre: 'https://lecoffre.io'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user