2023-07-15 02:32:30 +02:00
|
|
|
import { API_BASE } from "./constants";
|
|
|
|
|
2023-06-04 04:28:07 +02:00
|
|
|
export default {
|
|
|
|
home: () => {
|
|
|
|
return "/";
|
|
|
|
},
|
2023-10-23 22:10:34 +02:00
|
|
|
login: () => {
|
|
|
|
return "/login";
|
|
|
|
},
|
|
|
|
onboarding: () => {
|
|
|
|
return "/onboarding";
|
|
|
|
},
|
2023-06-04 04:28:07 +02:00
|
|
|
github: () => {
|
2023-06-08 23:26:29 +02:00
|
|
|
return "https://github.com/Mintplex-Labs/anything-llm";
|
2023-06-04 04:28:07 +02:00
|
|
|
},
|
2023-07-21 21:05:39 +02:00
|
|
|
discord: () => {
|
2023-06-08 23:26:29 +02:00
|
|
|
return "https://discord.com/invite/6UyHPeGZAC";
|
2023-06-04 04:28:07 +02:00
|
|
|
},
|
2023-07-21 21:05:39 +02:00
|
|
|
docs: () => {
|
2023-08-12 02:28:30 +02:00
|
|
|
return "https://docs.useanything.com";
|
2023-07-21 21:05:39 +02:00
|
|
|
},
|
2023-06-04 04:28:07 +02:00
|
|
|
mailToMintplex: () => {
|
2023-08-12 02:28:30 +02:00
|
|
|
return "mailto:team@mintplexlabs.com";
|
2023-06-04 04:28:07 +02:00
|
|
|
},
|
2023-06-08 23:26:29 +02:00
|
|
|
hosting: () => {
|
2023-08-12 02:28:30 +02:00
|
|
|
return "https://my.mintplexlabs.com/aio-checkout?product=anythingllm";
|
|
|
|
},
|
|
|
|
feedback: () => {
|
2023-08-14 21:18:27 +02:00
|
|
|
return "https://mintplexlabs.typeform.com/to/i0KE3aEW";
|
2023-06-08 23:26:29 +02:00
|
|
|
},
|
2023-06-04 04:28:07 +02:00
|
|
|
workspace: {
|
|
|
|
chat: (slug) => {
|
|
|
|
return `/workspace/${slug}`;
|
|
|
|
},
|
|
|
|
},
|
2023-07-15 02:32:30 +02:00
|
|
|
exports: () => {
|
|
|
|
return `${API_BASE.replace("/api", "")}/system/data-exports`;
|
|
|
|
},
|
2023-08-24 04:15:07 +02:00
|
|
|
apiDocs: () => {
|
|
|
|
return `${API_BASE}/docs`;
|
|
|
|
},
|
2023-10-23 22:10:34 +02:00
|
|
|
general: {
|
|
|
|
llmPreference: () => {
|
|
|
|
return "/general/llm-preference";
|
|
|
|
},
|
|
|
|
vectorDatabase: () => {
|
|
|
|
return "/general/vector-database";
|
|
|
|
},
|
|
|
|
exportImport: () => {
|
|
|
|
return "/general/export-import";
|
|
|
|
},
|
|
|
|
security: () => {
|
|
|
|
return "/general/security";
|
|
|
|
},
|
|
|
|
appearance: () => {
|
|
|
|
return "/general/appearance";
|
|
|
|
},
|
|
|
|
apiKeys: () => {
|
|
|
|
return "/general/api-keys";
|
|
|
|
},
|
|
|
|
},
|
2023-07-25 19:37:04 +02:00
|
|
|
admin: {
|
|
|
|
system: () => {
|
|
|
|
return `/admin/system-preferences`;
|
|
|
|
},
|
|
|
|
users: () => {
|
|
|
|
return `/admin/users`;
|
|
|
|
},
|
|
|
|
invites: () => {
|
|
|
|
return `/admin/invites`;
|
|
|
|
},
|
|
|
|
workspaces: () => {
|
|
|
|
return `/admin/workspaces`;
|
|
|
|
},
|
|
|
|
chats: () => {
|
|
|
|
return "/admin/workspace-chats";
|
|
|
|
},
|
|
|
|
},
|
2023-06-04 04:28:07 +02:00
|
|
|
};
|