Compare commits
No commits in common. "04773bb28a4559c28e9457962c3a8a5d83b03ef6" and "d0539aad629a651c6e68f5ae64ab6486ca7964e2" have entirely different histories.
04773bb28a
...
d0539aad62
@ -1,23 +1,14 @@
|
|||||||
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 {
|
||||||
timestamp: number;
|
type: string;
|
||||||
receiver: string;
|
content: string;
|
||||||
messages: [string];
|
metadata: {
|
||||||
data?: ChatAttachment[];
|
createdAt: string;
|
||||||
role?: string;
|
lastModified: string;
|
||||||
ia?: boolean;
|
sender: string;
|
||||||
title?: string;
|
recipient: 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://dev2.4nkweb.com',
|
iframe: 'https://dev3.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