Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | /** Bindings of the Leaderboard Worker (see `cloudflare.config.ts`). */
export interface Env {
BUILD_TIMESTAMP?: string;
BUILD_REVISION?: string;
AUTH_ISSUER?: string;
PUBLIC_ORIGIN?: string;
OIDC_CLIENT_ID?: string;
SESSION_SECRET?: string;
API_AUDIENCE?: string;
DB: D1Database;
ACCOUNTS?: Pick<Fetcher, 'fetch'>;
/** Replays, chart documents and share-card images. Accounts owns avatars. */
BLOBS: R2Bucket;
/** Submissions per user or device and minute. Absent in tests and local runs that do not configure it. */
SUBMIT_LIMITER?: RateLimit;
RIVAL_LIMIT?: string;
BETTER_AUTH_SECRET: string;
DISCORD_CLIENT_ID?: string;
DISCORD_CLIENT_SECRET?: string;
GOOGLE_CLIENT_ID?: string;
GOOGLE_CLIENT_SECRET?: string;
/**
* The legacy in-Worker Better Auth origin, used only for localhost development and tests. Unset (local runs, tests),
* each request's own origin is used, as before the services were split.
*/
AUTH_ORIGIN?: string;
/** Parent domain the session cookies are shared on (`be-music.app`). Unset, cookies stay on the request's host. */
COOKIE_DOMAIN?: string;
/** Cookie name prefix; the preview sets its own so production's parent-domain cookies never collide with it. */
COOKIE_PREFIX?: string;
/** Comma-separated origins allowed to call Better Auth and run passkey ceremonies, besides `AUTH_ORIGIN`. */
TRUSTED_ORIGINS?: string;
/** Passkey relying party ID (`be-music.app`). Unset, the auth origin's hostname. */
PASSKEY_RP_ID?: string;
}
|