@cratis/pi 7.168.3 → 7.168.4
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/corpus/product-sync.json +2 -2
- package/package/corpus/skills/cratis-screenplay-toolchain/references/diagnostics.md +1 -1
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract-exceptions.json +0 -476
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +5216 -1398
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/free-screens.md +5 -5
- package/package/corpus/skills/cratis-screenplay-ui-composition/verification.json +1 -1
- package/package.json +1 -1
package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.32.0
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
- Traps
|
|
15
15
|
- Checklist
|
|
16
16
|
|
|
17
|
-
Requires
|
|
17
|
+
Requires Screenplay 6.32.0 or later, whose contract lists the free-screen diagnostics (check `screenplay --version` and the toolchain skill's `screenplay-contract.json`). An older compiler rejects a top-level `shape` or `screen` with `PLAY0001`. Syntax the installed compiler rejects is never papered over with a stub: report the missing release.
|
|
18
18
|
|
|
19
19
|
## When a screen is free
|
|
20
20
|
|
|
@@ -28,7 +28,7 @@ Which slice should serve a screen, and what its read model must supply: [screens
|
|
|
28
28
|
|
|
29
29
|
`data <Shape>[]` (a list) or `data <Shape>` (one value) with **no `via query`** is a **need**: data the screen reads and an adopting slice provides. A screen that names where its data comes from (`data <ReadModel> via query <Query>`) is an ordinary screen.
|
|
30
30
|
|
|
31
|
-
```screenplay
|
|
31
|
+
```screenplay expect PLAY1164
|
|
32
32
|
shape Invoice
|
|
33
33
|
number String
|
|
34
34
|
customer String
|
|
@@ -67,7 +67,7 @@ Declare the shape explicitly when the types matter: several adopters, sample dat
|
|
|
67
67
|
|
|
68
68
|
A slice adopts a screen with `uses screen <Name>` and provides each need from one of its queries with `data <Need> via query <Query> [by <param>]`. Where the read model's property name differs from the shape's field, a nested `<field> from <path>` maps it; a name that matches needs no line.
|
|
69
69
|
|
|
70
|
-
```screenplay
|
|
70
|
+
```screenplay
|
|
71
71
|
shape Invoice
|
|
72
72
|
number String
|
|
73
73
|
customer String
|
|
@@ -121,7 +121,7 @@ Fix a failure in the slice (the read model, the query, the mapping), not by loos
|
|
|
121
121
|
|
|
122
122
|
A screen that needs the same shape twice tells the needs apart with `as <alias>`. The alias is the need's name in the screen's directives and in the provision. Two needs with one name are `PLAY1153`.
|
|
123
123
|
|
|
124
|
-
```screenplay
|
|
124
|
+
```screenplay
|
|
125
125
|
shape Invoice
|
|
126
126
|
number String
|
|
127
127
|
amount Decimal
|
|
@@ -154,7 +154,7 @@ module Invoicing
|
|
|
154
154
|
- **Navigation reaches every screen.** `navigate to`, `show` and a storyline `screen` step resolve to a free screen or a slice screen alike, adopted or not.
|
|
155
155
|
- **Sample data may name a shape.** `sample data ... shape <Name>` checks its rows against the declared `shape`'s typed fields (`PLAY0710`, `PLAY0711`), as it does against a read model; rows for a screen nobody has adopted can exist before any read model does.
|
|
156
156
|
|
|
157
|
-
```screenplay
|
|
157
|
+
```screenplay expect PLAY1164
|
|
158
158
|
shape Invoice
|
|
159
159
|
number String
|
|
160
160
|
amount Decimal
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
{ "kind": "skill-contains", "value": "`PLAY0951` | Warning", "file": "references/screen-visuals.md" },
|
|
273
273
|
{ "kind": "skill-contains", "value": "references/free-screens.md" },
|
|
274
274
|
{ "kind": "skill-contains", "value": "references/scene-design.md" },
|
|
275
|
-
{ "kind": "skill-contains", "value": "Requires
|
|
275
|
+
{ "kind": "skill-contains", "value": "Requires Screenplay 6.32.0 or later, whose contract lists", "file": "references/free-screens.md" },
|
|
276
276
|
{ "kind": "skill-contains", "value": "with **no `via query`** is a **need**", "file": "references/free-screens.md" },
|
|
277
277
|
{ "kind": "skill-contains", "value": "data overdue via query ListOverdue", "file": "references/free-screens.md" },
|
|
278
278
|
{ "kind": "skill-contains", "value": "There is no separate release flag", "file": "references/free-screens.md" },
|