@player-ui/types 0.4.0-next.5 → 0.4.0-next.7
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.ts +16 -3
- package/dist/xlr/Asset.json +40 -0
- package/dist/xlr/AssetBinding.json +23 -0
- package/dist/xlr/AssetSwitch.json +213 -0
- package/dist/xlr/AssetWrapper.json +34 -0
- package/dist/xlr/AssetWrapperOrSwitch.json +304 -0
- package/dist/xlr/Binding.json +7 -0
- package/dist/xlr/BindingRef.json +7 -0
- package/dist/xlr/DataModel.json +13 -0
- package/dist/xlr/DynamicSwitch.json +96 -0
- package/dist/xlr/Expression.json +21 -0
- package/dist/xlr/ExpressionObject.json +19 -0
- package/dist/xlr/ExpressionRef.json +7 -0
- package/dist/xlr/Flow.json +2145 -0
- package/dist/xlr/FlowResult.json +131 -0
- package/dist/xlr/Navigation.json +783 -0
- package/dist/xlr/NavigationBaseState.json +133 -0
- package/dist/xlr/NavigationFlow.json +746 -0
- package/dist/xlr/NavigationFlowActionState.json +120 -0
- package/dist/xlr/NavigationFlowEndState.json +110 -0
- package/dist/xlr/NavigationFlowExternalState.json +126 -0
- package/dist/xlr/NavigationFlowFlowState.json +125 -0
- package/dist/xlr/NavigationFlowState.json +627 -0
- package/dist/xlr/NavigationFlowTransition.json +12 -0
- package/dist/xlr/NavigationFlowTransitionableState.json +149 -0
- package/dist/xlr/NavigationFlowViewState.json +138 -0
- package/dist/xlr/StaticSwitch.json +96 -0
- package/dist/xlr/Switch.json +71 -0
- package/dist/xlr/SwitchCase.json +51 -0
- package/dist/xlr/Templatable.json +83 -0
- package/dist/xlr/Template.json +65 -0
- package/dist/xlr/View.json +166 -0
- package/dist/xlr/manifest.js +38 -0
- package/dist/xlr/manifest.json +38 -0
- package/package.json +1 -1
- package/src/index.ts +20 -4
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "core/types/src/index.ts",
|
|
3
|
+
"name": "FlowResult",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"endState": {
|
|
7
|
+
"required": true,
|
|
8
|
+
"node": {
|
|
9
|
+
"source": "core/types/src/index.ts",
|
|
10
|
+
"name": "NavigationFlowEndState",
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"_comment": {
|
|
14
|
+
"required": false,
|
|
15
|
+
"node": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"title": "CommentBase._comment",
|
|
18
|
+
"description": "Add comments that will not be processing, but are useful for code explanation"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"state_type": {
|
|
22
|
+
"required": true,
|
|
23
|
+
"node": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"const": "END",
|
|
26
|
+
"title": "NavigationBaseState.state_type",
|
|
27
|
+
"description": "A property to determine the type of state this is"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"onStart": {
|
|
31
|
+
"required": false,
|
|
32
|
+
"node": {
|
|
33
|
+
"type": "or",
|
|
34
|
+
"or": [
|
|
35
|
+
{
|
|
36
|
+
"type": "ref",
|
|
37
|
+
"ref": "Expression",
|
|
38
|
+
"title": "NavigationBaseState.onStart"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"source": "core/types/src/index.ts",
|
|
42
|
+
"name": "ExpressionObject",
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"exp": {
|
|
46
|
+
"required": false,
|
|
47
|
+
"node": {
|
|
48
|
+
"type": "ref",
|
|
49
|
+
"ref": "Expression",
|
|
50
|
+
"title": "ExpressionObject.exp",
|
|
51
|
+
"description": "The expression to run"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"additionalProperties": false,
|
|
56
|
+
"title": "ExpressionObject",
|
|
57
|
+
"description": "An object with an expression in it"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"title": "NavigationBaseState.onStart",
|
|
61
|
+
"description": "An optional expression to run when this view renders"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"onEnd": {
|
|
65
|
+
"required": false,
|
|
66
|
+
"node": {
|
|
67
|
+
"type": "or",
|
|
68
|
+
"or": [
|
|
69
|
+
{
|
|
70
|
+
"type": "ref",
|
|
71
|
+
"ref": "Expression",
|
|
72
|
+
"title": "NavigationBaseState.onEnd"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"source": "core/types/src/index.ts",
|
|
76
|
+
"name": "ExpressionObject",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"exp": {
|
|
80
|
+
"required": false,
|
|
81
|
+
"node": {
|
|
82
|
+
"type": "ref",
|
|
83
|
+
"ref": "Expression",
|
|
84
|
+
"title": "ExpressionObject.exp",
|
|
85
|
+
"description": "The expression to run"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false,
|
|
90
|
+
"title": "ExpressionObject",
|
|
91
|
+
"description": "An object with an expression in it"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"title": "NavigationBaseState.onEnd",
|
|
95
|
+
"description": "An optional expression to run before view transition"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"exp": {
|
|
99
|
+
"required": false,
|
|
100
|
+
"node": {
|
|
101
|
+
"title": "NavigationBaseState.exp",
|
|
102
|
+
"type": "never"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"outcome": {
|
|
106
|
+
"required": true,
|
|
107
|
+
"node": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"title": "NavigationFlowEndState.outcome",
|
|
110
|
+
"description": "A description of _how_ the flow ended.\nIf this is a flow started from another flow, the outcome determines the flow transition"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"additionalProperties": false,
|
|
115
|
+
"title": "FlowResult.endState",
|
|
116
|
+
"description": "The outcome describes _how_ the flow ended (forwards, backwards, etc)"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"data": {
|
|
120
|
+
"required": false,
|
|
121
|
+
"node": {
|
|
122
|
+
"type": "any",
|
|
123
|
+
"title": "FlowResult.data",
|
|
124
|
+
"description": "The serialized data-model"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"title": "FlowResult",
|
|
130
|
+
"description": "The data at the end of a flow"
|
|
131
|
+
}
|