@storylet-studio/model 0.1.0 → 0.2.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 +9 -0
- package/dist/index.d.ts +9 -0
- package/package.json +6 -1
package/dist/index.d.cts
CHANGED
|
@@ -390,6 +390,15 @@ interface PropertyDecl {
|
|
|
390
390
|
* declaration, and inserting a stage mid-ladder is the design's whole point.
|
|
391
391
|
*/
|
|
392
392
|
stages?: string[];
|
|
393
|
+
/**
|
|
394
|
+
* `@world` only. `false` makes the property read-only TO THE STORY: a
|
|
395
|
+
* condition may read it, an outcome that writes it is a compile error. The
|
|
396
|
+
* game still moves it through its resolver; this is the story's statement
|
|
397
|
+
* of intent, not the game's policy. Mirrors Patter's `HostScopeDecl.writable`
|
|
398
|
+
* name for name (Reboot.md 10, ruled 2026-09-03). Ignored on every other
|
|
399
|
+
* scope. Absent = writable.
|
|
400
|
+
*/
|
|
401
|
+
writable?: boolean;
|
|
393
402
|
/**
|
|
394
403
|
* The sharing axis (design/flows.md, Patter's flag adopted): is this
|
|
395
404
|
* property's value one world value across all flows, or a copy per flow?
|
package/dist/index.d.ts
CHANGED
|
@@ -390,6 +390,15 @@ interface PropertyDecl {
|
|
|
390
390
|
* declaration, and inserting a stage mid-ladder is the design's whole point.
|
|
391
391
|
*/
|
|
392
392
|
stages?: string[];
|
|
393
|
+
/**
|
|
394
|
+
* `@world` only. `false` makes the property read-only TO THE STORY: a
|
|
395
|
+
* condition may read it, an outcome that writes it is a compile error. The
|
|
396
|
+
* game still moves it through its resolver; this is the story's statement
|
|
397
|
+
* of intent, not the game's policy. Mirrors Patter's `HostScopeDecl.writable`
|
|
398
|
+
* name for name (Reboot.md 10, ruled 2026-09-03). Ignored on every other
|
|
399
|
+
* scope. Absent = writable.
|
|
400
|
+
*/
|
|
401
|
+
writable?: boolean;
|
|
393
402
|
/**
|
|
394
403
|
* The sharing axis (design/flows.md, Patter's flag adopted): is this
|
|
395
404
|
* property's value one world value across all flows, or a copy per flow?
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storylet-studio/model",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.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",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/storylet-studio/storylets.git",
|
|
10
|
+
"directory": "packages/model"
|
|
11
|
+
},
|
|
7
12
|
"author": "Ian Thomas",
|
|
8
13
|
"publishConfig": {
|
|
9
14
|
"access": "public"
|