Updated
This commit is contained in:
+25
-17
@@ -1,33 +1,41 @@
|
||||
export const API_ENDPOINTS = {
|
||||
account : {
|
||||
send_otp : "/accounts/send_otp",
|
||||
account: {
|
||||
send_otp: "/accounts/send_otp"
|
||||
},
|
||||
auth: {
|
||||
signin: "/token",
|
||||
logout: "/accounts/logout",
|
||||
logout: "/accounts/logout"
|
||||
},
|
||||
chat: {
|
||||
messages: "/chat/product",
|
||||
new_message: "/chat/product"
|
||||
}
|
||||
};
|
||||
|
||||
export const QUERY_KEYS = {
|
||||
chat: "chat",
|
||||
};
|
||||
|
||||
export const MUTATION_KEYS = {
|
||||
create_chat: "create_chat",
|
||||
};
|
||||
|
||||
export const FILE_FORMATS = [
|
||||
{
|
||||
ext: [".jpg", ".jpeg", ".png", ".svg", ".bmp", ".webp", ".gif", ".tiff", ".heif", ".raw"],
|
||||
icon: "bi:file-earmark-image",
|
||||
icon: "bi:file-earmark-image"
|
||||
},
|
||||
{
|
||||
ext: [".mp4", ".mkv", ".avi", ".mov", ".wmv", ".flv", ".webm", ".mpeg", ".3gp", ".mts"],
|
||||
icon: "bi:file-earmark-play",
|
||||
icon: "bi:file-earmark-play"
|
||||
},
|
||||
{
|
||||
ext: [".zip", ".rar", ".tar.gz", ".dmg", ".7z", ".bz2", ".tar", ".gz", ".xz"],
|
||||
icon: "bi:file-earmark-zip",
|
||||
icon: "bi:file-earmark-zip"
|
||||
},
|
||||
{
|
||||
ext: [".mp3", ".wav", ".aac", ".flac", ".ogg", ".wma", ".alac", ".m4a", ".opus", ".aiff"],
|
||||
icon: "bi:file-earmark-music",
|
||||
icon: "bi:file-earmark-music"
|
||||
},
|
||||
{
|
||||
ext: [
|
||||
@@ -45,9 +53,9 @@ export const FILE_FORMATS = [
|
||||
".sh",
|
||||
".md",
|
||||
".rust",
|
||||
".pl",
|
||||
".pl"
|
||||
],
|
||||
icon: "bi:file-earmark-code",
|
||||
icon: "bi:file-earmark-code"
|
||||
},
|
||||
{
|
||||
ext: [
|
||||
@@ -63,28 +71,28 @@ export const FILE_FORMATS = [
|
||||
".tsv",
|
||||
".ods",
|
||||
".db",
|
||||
".sqlite",
|
||||
".sqlite"
|
||||
],
|
||||
icon: "bi:file-earmark-spreadsheet",
|
||||
icon: "bi:file-earmark-spreadsheet"
|
||||
},
|
||||
{
|
||||
ext: [".pdf", ".epub", ".xps", ".djvu", ".cbz", ".cbt"],
|
||||
icon: "bi:file-earmark-pdf",
|
||||
icon: "bi:file-earmark-pdf"
|
||||
},
|
||||
{
|
||||
ext: [".ppt", ".pptx", ".odp", ".pps", ".ppsx", ".key"],
|
||||
icon: "bi:file-earmark-slides",
|
||||
icon: "bi:file-earmark-slides"
|
||||
},
|
||||
{
|
||||
ext: [".txt", ".doc", ".docx", ".odt", ".rtf", ".wps", ".wpd"],
|
||||
icon: "bi:file-earmark-text",
|
||||
icon: "bi:file-earmark-text"
|
||||
},
|
||||
{
|
||||
ext: [".lock", ".lck"],
|
||||
icon: "bi:file-earmark-lock",
|
||||
icon: "bi:file-earmark-lock"
|
||||
},
|
||||
{
|
||||
ext: [".exe", ".bin", ".elf", ".dll", ".iso", ".dmg", ".swf", ".o", ".obg", ".pe", ".app"],
|
||||
icon: "bi:file-earmark-binary",
|
||||
},
|
||||
icon: "bi:file-earmark-binary"
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user