import { API_BASE } from "./constants"; export default { home: () => { return "/"; }, login: (noTry = false) => { return `/login${noTry ? "?nt=1" : ""}`; }, onboarding: { home: () => { return "/onboarding"; }, survey: () => { return "/onboarding/survey"; }, llmPreference: () => { return "/onboarding/llm-preference"; }, embeddingPreference: () => { return "/onboarding/embedding-preference"; }, vectorDatabase: () => { return "/onboarding/vector-database"; }, customLogo: () => { return "/onboarding/custom-logo"; }, userSetup: () => { return "/onboarding/user-setup"; }, dataHandling: () => { return "/onboarding/data-handling"; }, createWorkspace: () => { return "/onboarding/create-workspace"; }, }, github: () => { return "https://github.com/Mintplex-Labs/anything-llm"; }, discord: () => { return "https://discord.com/invite/6UyHPeGZAC"; }, docs: () => { return "https://docs.useanything.com"; }, mailToMintplex: () => { return "mailto:team@mintplexlabs.com"; }, hosting: () => { return "https://my.mintplexlabs.com/aio-checkout?product=anythingllm"; }, workspace: { chat: (slug) => { return `/workspace/${slug}`; }, settings: { generalAppearance: (slug) => { return `/workspace/${slug}/settings/general-appearance`; }, chatSettings: (slug) => { return `/workspace/${slug}/settings/chat-settings`; }, vectorDatabase: (slug) => { return `/workspace/${slug}/settings/vector-database`; }, }, thread: (wsSlug, threadSlug) => { return `/workspace/${wsSlug}/t/${threadSlug}`; }, }, apiDocs: () => { return `${API_BASE}/docs`; }, settings: { system: () => { return `/settings/system-preferences`; }, users: () => { return `/settings/users`; }, invites: () => { return `/settings/invites`; }, workspaces: () => { return `/settings/workspaces`; }, chats: () => { return "/settings/workspace-chats"; }, llmPreference: () => { return "/settings/llm-preference"; }, transcriptionPreference: () => { return "/settings/transcription-preference"; }, embeddingPreference: () => { return "/settings/embedding-preference"; }, vectorDatabase: () => { return "/settings/vector-database"; }, security: () => { return "/settings/security"; }, appearance: () => { return "/settings/appearance"; }, apiKeys: () => { return "/settings/api-keys"; }, logs: () => { return "/settings/event-logs"; }, privacy: () => { return "/settings/privacy"; }, embedSetup: () => { return `/settings/embed-config`; }, embedChats: () => { return `/settings/embed-chats`; }, dataConnectors: { list: () => { return "/settings/data-connectors"; }, github: () => { return "/settings/data-connectors/github"; }, youtubeTranscript: () => { return "/settings/data-connectors/youtube-transcript"; }, }, }, };