@storylet-studio/model 0.5.0 → 0.7.0

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/dist/index.d.cts CHANGED
@@ -1437,6 +1437,23 @@ interface ProjectShard {
1437
1437
  * on state nothing writes) always warns, because that kills cards now. */
1438
1438
  warnUnreadWrites?: boolean;
1439
1439
  };
1440
+ /**
1441
+ * Where the game's shared scopes folder is, relative to the folder holding this file
1442
+ * (`"../../shared/game-scopes"`). Authoring config, never compiled, and usually absent: the
1443
+ * tools find a `game-scopes/` folder by walking up from the project on their own, stopping at
1444
+ * the version-control root, so this is only for a folder that walk would not reach. A path
1445
+ * that doesn't exist is a project error. (patterkit design/shared-scopes.md.)
1446
+ */
1447
+ gameScopes?: string;
1448
+ /**
1449
+ * The Patter project this one is paired with: a `.patter` folder, relative to the folder
1450
+ * holding this file (`"../story/the-hamlet.patter"`). Authoring config, never compiled: the
1451
+ * engines still know nothing of each other (Reboot 10). With it, `validate` checks each card
1452
+ * against the scene of the same name in the Patter project's published bundle, and
1453
+ * Storyletter can open Patterpad at a card's scene. A folder that isn't there is a warning,
1454
+ * since a writer may hold the cards without the dialogue.
1455
+ */
1456
+ patter?: string;
1440
1457
  world: {
1441
1458
  properties: PropertyDecl[];
1442
1459
  registry?: unknown;
package/dist/index.d.ts CHANGED
@@ -1437,6 +1437,23 @@ interface ProjectShard {
1437
1437
  * on state nothing writes) always warns, because that kills cards now. */
1438
1438
  warnUnreadWrites?: boolean;
1439
1439
  };
1440
+ /**
1441
+ * Where the game's shared scopes folder is, relative to the folder holding this file
1442
+ * (`"../../shared/game-scopes"`). Authoring config, never compiled, and usually absent: the
1443
+ * tools find a `game-scopes/` folder by walking up from the project on their own, stopping at
1444
+ * the version-control root, so this is only for a folder that walk would not reach. A path
1445
+ * that doesn't exist is a project error. (patterkit design/shared-scopes.md.)
1446
+ */
1447
+ gameScopes?: string;
1448
+ /**
1449
+ * The Patter project this one is paired with: a `.patter` folder, relative to the folder
1450
+ * holding this file (`"../story/the-hamlet.patter"`). Authoring config, never compiled: the
1451
+ * engines still know nothing of each other (Reboot 10). With it, `validate` checks each card
1452
+ * against the scene of the same name in the Patter project's published bundle, and
1453
+ * Storyletter can open Patterpad at a card's scene. A folder that isn't there is a warning,
1454
+ * since a writer may hold the cards without the dialogue.
1455
+ */
1456
+ patter?: string;
1440
1457
  world: {
1441
1458
  properties: PropertyDecl[];
1442
1459
  registry?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storylet-studio/model",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Storylets data-model types: source shards (project / box / tags / hands / deck), the compiled bundle, the save envelope. The shape source-of-truth.",
5
5
  "type": "module",
6
6
  "license": "MIT",