@escape-game-over/atlas 0.1.117 → 0.1.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/routes/family.ts +5 -1
package/package.json
CHANGED
package/src/routes/family.ts
CHANGED
|
@@ -390,9 +390,13 @@ export interface RouteFamily<
|
|
|
390
390
|
/**
|
|
391
391
|
* One override for many members, for a project's `overrideRoutes`: by
|
|
392
392
|
* default, `{ enabled: true }`. Keys stay literal; see {@link enableRoutes}.
|
|
393
|
+
*
|
|
394
|
+
* Takes any id, not only the family's members, so a helper generic over a
|
|
395
|
+
* venue's rooms can pass them through. A member the family lacks is still
|
|
396
|
+
* an error: on the `overrideRoutes` line, as a route the table lacks.
|
|
393
397
|
*/
|
|
394
398
|
enable<
|
|
395
|
-
const Picked extends readonly (
|
|
399
|
+
const Picked extends readonly (string | { readonly id: string })[],
|
|
396
400
|
const Override extends { readonly enabled?: boolean } = {
|
|
397
401
|
readonly enabled: true;
|
|
398
402
|
},
|