@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escape-game-over/atlas",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
4
4
  "type": "module",
5
5
  "description": "Typed, data-driven machinery for static multi-locale, multi-deployment Astro sites.",
6
6
  "private": false,
@@ -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 (Member | { readonly id: Member })[],
399
+ const Picked extends readonly (string | { readonly id: string })[],
396
400
  const Override extends { readonly enabled?: boolean } = {
397
401
  readonly enabled: true;
398
402
  },