All checks were successful
Deploy production / deploy (push) Successful in 1m6s
35 lines
1.8 KiB
TypeScript
35 lines
1.8 KiB
TypeScript
import { defineEnvVars } from '@sveltejs/kit/env';
|
|
|
|
// Every variable is optional and falls back to '' (falsy, like an unset $env/dynamic
|
|
// value used to be); the code that uses each one checks whether it is configured.
|
|
export const variables = defineEnvVars({
|
|
PUBLIC_MAPTILER_API_KEY: { public: true, schema: (input) => input ?? '' },
|
|
R2_PUBLIC_URL: { schema: (input) => input ?? '' },
|
|
ORIGIN: { schema: (input) => input ?? '' },
|
|
BETTER_AUTH_SECRET: { schema: (input) => input ?? '' },
|
|
BETTER_AUTH_URL: { schema: (input) => input ?? '' },
|
|
GOOGLE_CLIENT_ID: { schema: (input) => input ?? '' },
|
|
GOOGLE_CLIENT_SECRET: { schema: (input) => input ?? '' },
|
|
OSU_CLIENT_ID: { schema: (input) => input ?? '' },
|
|
OSU_CLIENT_SECRET: { schema: (input) => input ?? '' },
|
|
ANTHROPIC_API_KEY: { schema: (input) => input ?? '' },
|
|
HOUSE_WORKER_TOKEN: { schema: (input) => input ?? '' },
|
|
HOUSE_DISCORD_WEBHOOK_URL: { schema: (input) => input ?? '' },
|
|
HOUSE_NTFY_URL: { schema: (input) => input ?? '' },
|
|
HOUSE_NTFY_TOKEN: { schema: (input) => input ?? '' },
|
|
R2_ACCESS_KEY_ID: { schema: (input) => input ?? '' },
|
|
R2_SECRET_ACCESS_KEY: { schema: (input) => input ?? '' },
|
|
R2_ACCOUNT_ID: { schema: (input) => input ?? '' },
|
|
R2_BUCKET: { schema: (input) => input ?? '' },
|
|
SPOTIFY_CLIENT_ID: { schema: (input) => input ?? '' },
|
|
SPOTIFY_CLIENT_SECRET: { schema: (input) => input ?? '' },
|
|
PUBG_API_KEY: { schema: (input) => input ?? '' },
|
|
STEAM_WEB_API_KEY: { schema: (input) => input ?? '' },
|
|
CS2_AUTH_CODE: { schema: (input) => input ?? '' },
|
|
LEETIFY_API_KEY: { schema: (input) => input ?? '' },
|
|
UBI_EMAIL: { schema: (input) => input ?? '' },
|
|
UBI_PASSWORD: { schema: (input) => input ?? '' },
|
|
GAMES_POLLER: { schema: (input) => input ?? '' },
|
|
DB_URL: { schema: (input) => input ?? '' }
|
|
});
|