@storylet-studio/model 0.5.0 → 0.6.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 +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1437,6 +1437,14 @@ 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;
|
|
1440
1448
|
world: {
|
|
1441
1449
|
properties: PropertyDecl[];
|
|
1442
1450
|
registry?: unknown;
|
package/dist/index.d.ts
CHANGED
|
@@ -1437,6 +1437,14 @@ 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;
|
|
1440
1448
|
world: {
|
|
1441
1449
|
properties: PropertyDecl[];
|
|
1442
1450
|
registry?: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storylet-studio/model",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.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",
|