sourcebot/packages/web/src/lib/constants.ts
Brendan Kellam 4ebe4e0475
Some checks failed
Publish to ghcr / build (linux/amd64, blacksmith-4vcpu-ubuntu-2404) (push) Has been cancelled
Publish to ghcr / build (linux/arm64, blacksmith-8vcpu-ubuntu-2204-arm) (push) Has been cancelled
Publish to ghcr / merge (push) Has been cancelled
chore(worker,web): Repo indexing stability improvements + perf improvements to web (#563)
2025-10-18 16:31:22 -07:00

36 lines
No EOL
1.5 KiB
TypeScript

// @note: Order is important here.
export enum OnboardingSteps {
CreateOrg = 'create-org',
ConnectCodeHost = 'connect-code-host',
InviteTeam = 'invite-team',
Checkout = 'checkout',
Complete = 'complete',
}
export const ENTERPRISE_FEATURES = [
"All Team features",
"Dedicated Slack support channel",
"Single tenant deployment",
"Advanced security features",
]
export const TEAM_FEATURES = [
"Index thousands of repos from multiple code hosts (GitHub, GitLab, Gerrit, Gitea, etc.). Self-hosted code hosts supported.",
"Public and private repos supported.",
"Create shareable links to code snippets.",
"Built on-top of zoekt, Google's code search engine. Blazingly fast and powerful (regex, symbol) code search.",
]
export const MOBILE_UNSUPPORTED_SPLASH_SCREEN_DISMISSED_COOKIE_NAME = 'sb.mobile-unsupported-splash-screen-dismissed';
export const AGENTIC_SEARCH_TUTORIAL_DISMISSED_COOKIE_NAME = 'sb.agentic-search-tutorial-dismissed';
// NOTE: changing SOURCEBOT_GUEST_USER_ID may break backwards compatibility since this value is used
// to detect old guest users in the DB. If you change this value ensure it doesn't break upgrade flows
export const SOURCEBOT_GUEST_USER_ID = '1';
export const SOURCEBOT_GUEST_USER_EMAIL = 'guest@sourcebot.dev';
export const SINGLE_TENANT_ORG_ID = 1;
export const SINGLE_TENANT_ORG_DOMAIN = '~';
export const SINGLE_TENANT_ORG_NAME = 'default';
export { SOURCEBOT_SUPPORT_EMAIL } from "@sourcebot/shared/client";