mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
43 lines
1.4 KiB
TypeScript
43 lines
1.4 KiB
TypeScript
export const APP_NAME = 'Supabase'
|
|
export const DESCRIPTION = 'The Open Source Alternative to Firebase.'
|
|
export const IS_PROD = process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
|
export const IS_PREVIEW = process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'
|
|
export const API_URL = process.env.NEXT_PUBLIC_API_URL
|
|
|
|
// Products
|
|
|
|
export enum PRODUCT_NAMES {
|
|
DATABASE = 'Database',
|
|
AUTH = 'Authentication',
|
|
STORAGE = 'Storage',
|
|
FUNCTIONS = 'Edge Functions',
|
|
REALTIME = 'Realtime',
|
|
VECTOR = 'Vector',
|
|
}
|
|
|
|
export enum PRODUCT_SHORTNAMES {
|
|
DATABASE = 'database',
|
|
AUTH = 'auth',
|
|
STORAGE = 'storage',
|
|
FUNCTIONS = 'functions',
|
|
REALTIME = 'realtime',
|
|
VECTOR = 'vector',
|
|
}
|
|
|
|
// Launch Weeek
|
|
export const SAMPLE_TICKET_NUMBER = 1234
|
|
export const SITE_URL =
|
|
process.env.NEXT_PUBLIC_VERCEL_ENV === 'production'
|
|
? 'https://supabase.com/launch-week'
|
|
: process.env.NEXT_PUBLIC_VERCEL_URL
|
|
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}/launch-week`
|
|
: 'http://localhost:3000/launch-week'
|
|
export const SITE_ORIGIN = new URL(SITE_URL).origin
|
|
export const TWITTER_USER_NAME = 'supabase'
|
|
export const COOKIE = 'supa-launch-week-ticke-user-id'
|
|
export const DATE = 'April 10th 2023'
|
|
export const TWEET_TEXT =
|
|
"It's almost #SupaLaunchWeek 7! Generate your unique ticket here 👇 you can win a mechanical keyboard 🤩"
|
|
export const TWEET_TEXT_GOLDEN = `I turned my #SupaLaunchWeek 7 ticket Gold! 🤩\n\n`
|
|
export const SITE_NAME = 'Supabase'
|