mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-26 07:28:53 -07:00
[2026] rollout support, to be short lived I suppose
This commit is contained in:
@@ -64,6 +64,25 @@ export type Env = SharedHonoEnv & {
|
||||
* Logins on every other build are never touched by this.
|
||||
*/
|
||||
DISCORD_ROLLOUT_ROLE_IDS?: string
|
||||
/**
|
||||
* The client builds a `/connect/token` grant may post as `ver` and still get a token:
|
||||
* a comma-separated list of builds (`20230414,20250718`), or `off` for none. Unset means
|
||||
* the default `SUPPORTED_GAME_VERSIONS` in @repo/domain. Set for every worker from the
|
||||
* root `.env` (`RECFLARE_SUPPORTED_GAME_VERSIONS`), so this refuses exactly the builds
|
||||
* `api`'s `/api/versioncheck/v4` tells to update — dropping a build from the list is how
|
||||
* its players are made to upgrade. Read through `supportedGameBuilds`, which also folds
|
||||
* in every build under rollout (below). A grant posting no `ver` is never gated.
|
||||
*/
|
||||
SUPPORTED_GAME_VERSIONS?: string
|
||||
/**
|
||||
* The builds under staged rollout — the ones the Discord-role gate above applies to —
|
||||
* overriding `ROLLOUT_GAME_VERSIONS` in @repo/domain: same format, or `off` to end the
|
||||
* rollout and open those builds to every account. Set for every worker
|
||||
* (`RECFLARE_ROLLOUT_GAME_VERSIONS`), so `match`'s rollout voice pool follows the same
|
||||
* list. A build here is served whether or not `SUPPORTED_GAME_VERSIONS` names it. Read
|
||||
* through `rolloutGameBuilds`.
|
||||
*/
|
||||
ROLLOUT_GAME_VERSIONS?: string
|
||||
/**
|
||||
* Base domain, e.g. `recflare.net`. Injected for every worker at deploy time
|
||||
* (`--var DOMAIN`). Studio's device-login response points the browser at
|
||||
|
||||
Reference in New Issue
Block a user