@reventlessdev/reventless-spec 3.0.0-alpha.130 → 3.0.0-alpha.132
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/CHANGELOG.md +17 -0
- package/package.json +3 -2
- package/run-check-lifecycle.mjs +2 -0
- package/schema/platform-api.graphql +1 -0
- package/src/components/ComponentKind.res +14 -8
- package/src/components/ComponentKind.res.mjs +8 -6
- package/src/lifecycle/CheckLifecycleModel.res +1353 -0
- package/src/lifecycle/CheckLifecycleModel.res.mjs +1134 -0
- package/src/lifecycle/loadPluginStructure.mjs +66 -0
- package/src/semantic/CalendarDate.res +58 -0
- package/src/semantic/CalendarDate.res.mjs +37 -0
- package/src/semantic/DateRange.res +10 -10
- package/src/semantic/DateRange.res.mjs +12 -14
- package/src/semantic/DateTime.res +92 -0
- package/src/semantic/DateTime.res.mjs +65 -0
- package/src/semantic/RowImage.res +122 -0
- package/src/semantic/RowImage.res.mjs +101 -0
- package/src/semantic/Semantic.res +8 -0
- package/src/semantic/Semantic.res.mjs +2 -0
- package/src/types/Lifecycle.res +106 -0
- package/src/types/Lifecycle.res.mjs +115 -0
- package/src/types/DateTime.res +0 -29
- package/src/types/DateTime.res.mjs +0 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.132 (2026-09-08)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* a slice folder is named for its kind, without the Slice ([a400555](https://github.com/ReventlessDev/reventless-core/commit/a400555121b023823983ebe846e99cda27063c1f))
|
|
11
|
+
* **core:** a reference names a row and shows its picture ([2b40d04](https://github.com/ReventlessDev/reventless-core/commit/2b40d0418bba2bf83463f446e94e372ea0c9898c))
|
|
12
|
+
* **core:** a state view records when it reached each state ([5216f71](https://github.com/ReventlessDev/reventless-core/commit/5216f71b8dcafcb2f0c991923ebcf2438b27e347))
|
|
13
|
+
* **spec:** an instant is a type, and a calendar day is a different one ([a60bebc](https://github.com/ReventlessDev/reventless-core/commit/a60bebc20fe5f3413f9252be36f94ba2a9fb620d))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# 3.0.0-alpha.131 (2026-09-07)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **spec:** the lifecycle check reports as fields, and runs against any app ([c4cf78b](https://github.com/ReventlessDev/reventless-core/commit/c4cf78bff24384d876755c8e6677c1d2865014b0))
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
# 3.0.0-alpha.130 (2026-09-07)
|
|
7
24
|
|
|
8
25
|
* feat(dcb)!: a record inside an array is still a reference and a key ([bcb9b13](https://github.com/ReventlessDev/reventless-core/commit/bcb9b13958323d8319d7fcf25c055800e84150f3))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/reventless-spec",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.132",
|
|
4
4
|
"description": "Specifications for Reventless",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"generate-platform": "./run-platform-generator.mjs",
|
|
9
9
|
"graft-trait": "./run-graft-trait.mjs",
|
|
10
10
|
"certify-trait": "./run-certify-trait.mjs",
|
|
11
|
-
"trait-manifest": "./run-trait-manifest.mjs"
|
|
11
|
+
"trait-manifest": "./run-trait-manifest.mjs",
|
|
12
|
+
"check-lifecycle": "./run-check-lifecycle.mjs"
|
|
12
13
|
},
|
|
13
14
|
"jest": {
|
|
14
15
|
"testMatch": [
|
|
@@ -36,15 +36,17 @@ let all = [
|
|
|
36
36
|
]
|
|
37
37
|
|
|
38
38
|
// The canonical (singular) folder name for a kind — the spelling the naming
|
|
39
|
-
// conventions and the graph `kind` field use.
|
|
39
|
+
// conventions and the graph `kind` field use. A slice folder drops the `Slice`
|
|
40
|
+
// the kind carries: the folder already sits inside a plugin's `src/`, so the
|
|
41
|
+
// suffix only lengthened every path. The suffixed spellings stay accepted below.
|
|
40
42
|
let folderName = (t: t): string =>
|
|
41
43
|
switch t {
|
|
42
|
-
| StateChangeSlice => "
|
|
43
|
-
| StateViewSlice => "
|
|
44
|
-
| StateViewSliceStream => "
|
|
45
|
-
| AutomationSlice => "
|
|
46
|
-
| InboundTranslationSlice => "
|
|
47
|
-
| OutboundTranslationSlice => "
|
|
44
|
+
| StateChangeSlice => "StateChange"
|
|
45
|
+
| StateViewSlice => "StateView"
|
|
46
|
+
| StateViewSliceStream => "StateViewStream"
|
|
47
|
+
| AutomationSlice => "Automation"
|
|
48
|
+
| InboundTranslationSlice => "InboundTranslation"
|
|
49
|
+
| OutboundTranslationSlice => "OutboundTranslation"
|
|
48
50
|
| Aggregate => "Aggregate"
|
|
49
51
|
| ReadModel => "ReadModel"
|
|
50
52
|
| ReadModelStream => "ReadModelStream"
|
|
@@ -60,7 +62,11 @@ let folderToKind = (folder: string): option<t> =>
|
|
|
60
62
|
| "StateChange" | "StateChanges" | "StateChangeSlice" | "StateChangeSlices" =>
|
|
61
63
|
Some(StateChangeSlice)
|
|
62
64
|
| "StateView" | "StateViews" | "StateViewSlice" | "StateViewSlices" => Some(StateViewSlice)
|
|
63
|
-
| "
|
|
65
|
+
| "StateViewStream"
|
|
66
|
+
| "StateViewStreams"
|
|
67
|
+
| "StateViewSliceStream"
|
|
68
|
+
| "StateViewSliceStreams" =>
|
|
69
|
+
Some(StateViewSliceStream)
|
|
64
70
|
| "Automation" | "Automations" | "AutomationSlice" | "AutomationSlices" => Some(AutomationSlice)
|
|
65
71
|
| "InboundTranslation"
|
|
66
72
|
| "InboundTranslations"
|
|
@@ -20,17 +20,17 @@ let all = [
|
|
|
20
20
|
function folderName(t) {
|
|
21
21
|
switch (t) {
|
|
22
22
|
case "StateChangeSlice" :
|
|
23
|
-
return "
|
|
23
|
+
return "StateChange";
|
|
24
24
|
case "StateViewSlice" :
|
|
25
|
-
return "
|
|
25
|
+
return "StateView";
|
|
26
26
|
case "StateViewSliceStream" :
|
|
27
|
-
return "
|
|
27
|
+
return "StateViewStream";
|
|
28
28
|
case "AutomationSlice" :
|
|
29
|
-
return "
|
|
29
|
+
return "Automation";
|
|
30
30
|
case "InboundTranslationSlice" :
|
|
31
|
-
return "
|
|
31
|
+
return "InboundTranslation";
|
|
32
32
|
case "OutboundTranslationSlice" :
|
|
33
|
-
return "
|
|
33
|
+
return "OutboundTranslation";
|
|
34
34
|
case "Aggregate" :
|
|
35
35
|
return "Aggregate";
|
|
36
36
|
case "ReadModel" :
|
|
@@ -85,6 +85,8 @@ function folderToKind(folder) {
|
|
|
85
85
|
return "StateChangeSlice";
|
|
86
86
|
case "StateViewSliceStream" :
|
|
87
87
|
case "StateViewSliceStreams" :
|
|
88
|
+
case "StateViewStream" :
|
|
89
|
+
case "StateViewStreams" :
|
|
88
90
|
return "StateViewSliceStream";
|
|
89
91
|
case "StateView" :
|
|
90
92
|
case "StateViewSlice" :
|