@player-ui/types 0.15.1 → 0.15.2-next.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/xlr/AssetSwitch.json +6 -6
- package/dist/xlr/AssetWrapperOrSwitch.json +6 -6
- package/dist/xlr/DynamicSwitch.json +2 -2
- package/dist/xlr/Flow.json +24 -18
- package/dist/xlr/FlowResult.json +3 -1
- package/dist/xlr/Formatting.Reference.json +19 -0
- package/dist/xlr/Language.DataTypeRef.json +17 -0
- package/dist/xlr/Navigation.json +9 -3
- package/dist/xlr/NavigationFlow.json +9 -3
- package/dist/xlr/NavigationFlowEndState.json +3 -1
- package/dist/xlr/NavigationFlowExternalState.json +3 -1
- package/dist/xlr/NavigationFlowState.json +9 -3
- package/dist/xlr/NavigationFlowViewState.json +3 -1
- package/dist/xlr/Schema.ArrayType.json +203 -0
- package/dist/xlr/Schema.DataType.json +198 -0
- package/dist/xlr/Schema.DataTypes.json +611 -0
- package/dist/xlr/Schema.Node.json +618 -0
- package/dist/xlr/Schema.RecordType.json +203 -0
- package/dist/xlr/Schema.Schema.json +1247 -0
- package/dist/xlr/StaticSwitch.json +2 -2
- package/dist/xlr/Switch.json +1 -1
- package/dist/xlr/Validation.CrossfieldReference.json +127 -0
- package/dist/xlr/Validation.DisplayTarget.json +20 -0
- package/dist/xlr/Validation.Reference.json +129 -0
- package/dist/xlr/Validation.Severity.json +16 -0
- package/dist/xlr/Validation.Trigger.json +20 -0
- package/dist/xlr/View.json +1 -1
- package/dist/xlr/manifest.js +15 -2
- package/dist/xlr/manifest.json +17 -2
- package/package.json +1 -1
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
"or": [
|
|
6
6
|
{
|
|
7
7
|
"source": "core/types/src/index.ts",
|
|
8
|
-
"name": "StaticSwitch",
|
|
8
|
+
"name": "StaticSwitch<T>",
|
|
9
9
|
"type": "object",
|
|
10
10
|
"properties": {
|
|
11
11
|
"staticSwitch": {
|
|
12
12
|
"required": true,
|
|
13
13
|
"node": {
|
|
14
14
|
"source": "core/types/src/index.ts",
|
|
15
|
-
"name": "Switch",
|
|
15
|
+
"name": "Switch<T>",
|
|
16
16
|
"type": "array",
|
|
17
17
|
"elementType": {
|
|
18
18
|
"source": "core/types/src/index.ts",
|
|
19
|
-
"name": "SwitchCase",
|
|
19
|
+
"name": "SwitchCase<T>",
|
|
20
20
|
"type": "object",
|
|
21
21
|
"properties": {
|
|
22
22
|
"asset": {
|
|
@@ -101,18 +101,18 @@
|
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
"source": "core/types/src/index.ts",
|
|
104
|
-
"name": "DynamicSwitch",
|
|
104
|
+
"name": "DynamicSwitch<T>",
|
|
105
105
|
"type": "object",
|
|
106
106
|
"properties": {
|
|
107
107
|
"dynamicSwitch": {
|
|
108
108
|
"required": true,
|
|
109
109
|
"node": {
|
|
110
110
|
"source": "core/types/src/index.ts",
|
|
111
|
-
"name": "Switch",
|
|
111
|
+
"name": "Switch<T>",
|
|
112
112
|
"type": "array",
|
|
113
113
|
"elementType": {
|
|
114
114
|
"source": "core/types/src/index.ts",
|
|
115
|
-
"name": "SwitchCase",
|
|
115
|
+
"name": "SwitchCase<T>",
|
|
116
116
|
"type": "object",
|
|
117
117
|
"properties": {
|
|
118
118
|
"asset": {
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"and": [
|
|
46
46
|
{
|
|
47
47
|
"source": "core/types/src/index.ts",
|
|
48
|
-
"name": "StaticSwitch",
|
|
48
|
+
"name": "StaticSwitch<T>",
|
|
49
49
|
"type": "object",
|
|
50
50
|
"properties": {
|
|
51
51
|
"staticSwitch": {
|
|
52
52
|
"required": true,
|
|
53
53
|
"node": {
|
|
54
54
|
"source": "core/types/src/index.ts",
|
|
55
|
-
"name": "Switch",
|
|
55
|
+
"name": "Switch<T>",
|
|
56
56
|
"type": "array",
|
|
57
57
|
"elementType": {
|
|
58
58
|
"source": "core/types/src/index.ts",
|
|
59
|
-
"name": "SwitchCase",
|
|
59
|
+
"name": "SwitchCase<T>",
|
|
60
60
|
"type": "object",
|
|
61
61
|
"properties": {
|
|
62
62
|
"asset": {
|
|
@@ -168,18 +168,18 @@
|
|
|
168
168
|
"and": [
|
|
169
169
|
{
|
|
170
170
|
"source": "core/types/src/index.ts",
|
|
171
|
-
"name": "DynamicSwitch",
|
|
171
|
+
"name": "DynamicSwitch<T>",
|
|
172
172
|
"type": "object",
|
|
173
173
|
"properties": {
|
|
174
174
|
"dynamicSwitch": {
|
|
175
175
|
"required": true,
|
|
176
176
|
"node": {
|
|
177
177
|
"source": "core/types/src/index.ts",
|
|
178
|
-
"name": "Switch",
|
|
178
|
+
"name": "Switch<T>",
|
|
179
179
|
"type": "array",
|
|
180
180
|
"elementType": {
|
|
181
181
|
"source": "core/types/src/index.ts",
|
|
182
|
-
"name": "SwitchCase",
|
|
182
|
+
"name": "SwitchCase<T>",
|
|
183
183
|
"type": "object",
|
|
184
184
|
"properties": {
|
|
185
185
|
"asset": {
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"required": true,
|
|
8
8
|
"node": {
|
|
9
9
|
"source": "core/types/src/index.ts",
|
|
10
|
-
"name": "Switch",
|
|
10
|
+
"name": "Switch<T>",
|
|
11
11
|
"type": "array",
|
|
12
12
|
"elementType": {
|
|
13
13
|
"source": "core/types/src/index.ts",
|
|
14
|
-
"name": "SwitchCase",
|
|
14
|
+
"name": "SwitchCase<T>",
|
|
15
15
|
"type": "object",
|
|
16
16
|
"properties": {
|
|
17
17
|
"asset": {
|
package/dist/xlr/Flow.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"type": "array",
|
|
18
18
|
"elementType": {
|
|
19
19
|
"source": "core/types/src/index.ts",
|
|
20
|
-
"name": "View",
|
|
20
|
+
"name": "View<T>",
|
|
21
21
|
"type": "conditional",
|
|
22
22
|
"check": {
|
|
23
23
|
"left": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"node": {
|
|
46
46
|
"type": "array",
|
|
47
47
|
"elementType": {
|
|
48
|
-
"name": "CrossfieldReference",
|
|
48
|
+
"name": "Validation.CrossfieldReference",
|
|
49
49
|
"type": "object",
|
|
50
50
|
"properties": {
|
|
51
51
|
"type": {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
"schema": {
|
|
208
208
|
"required": false,
|
|
209
209
|
"node": {
|
|
210
|
-
"name": "Schema",
|
|
210
|
+
"name": "Schema.Schema",
|
|
211
211
|
"type": "object",
|
|
212
212
|
"properties": {
|
|
213
213
|
"ROOT": {
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"node": {
|
|
238
238
|
"type": "array",
|
|
239
239
|
"elementType": {
|
|
240
|
-
"name": "Reference",
|
|
240
|
+
"name": "Validation.Reference",
|
|
241
241
|
"type": "object",
|
|
242
242
|
"properties": {
|
|
243
243
|
"type": {
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
"format": {
|
|
373
373
|
"required": false,
|
|
374
374
|
"node": {
|
|
375
|
-
"name": "Reference",
|
|
375
|
+
"name": "Formatting.Reference",
|
|
376
376
|
"type": "object",
|
|
377
377
|
"properties": {
|
|
378
378
|
"type": {
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
"node": {
|
|
436
436
|
"type": "array",
|
|
437
437
|
"elementType": {
|
|
438
|
-
"name": "Reference",
|
|
438
|
+
"name": "Validation.Reference",
|
|
439
439
|
"type": "object",
|
|
440
440
|
"properties": {
|
|
441
441
|
"type": {
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
"format": {
|
|
571
571
|
"required": false,
|
|
572
572
|
"node": {
|
|
573
|
-
"name": "Reference",
|
|
573
|
+
"name": "Formatting.Reference",
|
|
574
574
|
"type": "object",
|
|
575
575
|
"properties": {
|
|
576
576
|
"type": {
|
|
@@ -638,7 +638,7 @@
|
|
|
638
638
|
"node": {
|
|
639
639
|
"type": "array",
|
|
640
640
|
"elementType": {
|
|
641
|
-
"name": "Reference",
|
|
641
|
+
"name": "Validation.Reference",
|
|
642
642
|
"type": "object",
|
|
643
643
|
"properties": {
|
|
644
644
|
"type": {
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
"format": {
|
|
774
774
|
"required": false,
|
|
775
775
|
"node": {
|
|
776
|
-
"name": "Reference",
|
|
776
|
+
"name": "Formatting.Reference",
|
|
777
777
|
"type": "object",
|
|
778
778
|
"properties": {
|
|
779
779
|
"type": {
|
|
@@ -857,7 +857,7 @@
|
|
|
857
857
|
"node": {
|
|
858
858
|
"type": "array",
|
|
859
859
|
"elementType": {
|
|
860
|
-
"name": "Reference",
|
|
860
|
+
"name": "Validation.Reference",
|
|
861
861
|
"type": "object",
|
|
862
862
|
"properties": {
|
|
863
863
|
"type": {
|
|
@@ -992,7 +992,7 @@
|
|
|
992
992
|
"format": {
|
|
993
993
|
"required": false,
|
|
994
994
|
"node": {
|
|
995
|
-
"name": "Reference",
|
|
995
|
+
"name": "Formatting.Reference",
|
|
996
996
|
"type": "object",
|
|
997
997
|
"properties": {
|
|
998
998
|
"type": {
|
|
@@ -1055,7 +1055,7 @@
|
|
|
1055
1055
|
"node": {
|
|
1056
1056
|
"type": "array",
|
|
1057
1057
|
"elementType": {
|
|
1058
|
-
"name": "Reference",
|
|
1058
|
+
"name": "Validation.Reference",
|
|
1059
1059
|
"type": "object",
|
|
1060
1060
|
"properties": {
|
|
1061
1061
|
"type": {
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
"format": {
|
|
1191
1191
|
"required": false,
|
|
1192
1192
|
"node": {
|
|
1193
|
-
"name": "Reference",
|
|
1193
|
+
"name": "Formatting.Reference",
|
|
1194
1194
|
"type": "object",
|
|
1195
1195
|
"properties": {
|
|
1196
1196
|
"type": {
|
|
@@ -1258,7 +1258,7 @@
|
|
|
1258
1258
|
"node": {
|
|
1259
1259
|
"type": "array",
|
|
1260
1260
|
"elementType": {
|
|
1261
|
-
"name": "Reference",
|
|
1261
|
+
"name": "Validation.Reference",
|
|
1262
1262
|
"type": "object",
|
|
1263
1263
|
"properties": {
|
|
1264
1264
|
"type": {
|
|
@@ -1393,7 +1393,7 @@
|
|
|
1393
1393
|
"format": {
|
|
1394
1394
|
"required": false,
|
|
1395
1395
|
"node": {
|
|
1396
|
-
"name": "Reference",
|
|
1396
|
+
"name": "Formatting.Reference",
|
|
1397
1397
|
"type": "object",
|
|
1398
1398
|
"properties": {
|
|
1399
1399
|
"type": {
|
|
@@ -1755,7 +1755,9 @@
|
|
|
1755
1755
|
}
|
|
1756
1756
|
}
|
|
1757
1757
|
},
|
|
1758
|
-
"additionalProperties":
|
|
1758
|
+
"additionalProperties": {
|
|
1759
|
+
"type": "unknown"
|
|
1760
|
+
},
|
|
1759
1761
|
"title": "NavigationFlowViewState",
|
|
1760
1762
|
"description": "A state representing a view"
|
|
1761
1763
|
},
|
|
@@ -1865,7 +1867,9 @@
|
|
|
1865
1867
|
}
|
|
1866
1868
|
}
|
|
1867
1869
|
},
|
|
1868
|
-
"additionalProperties":
|
|
1870
|
+
"additionalProperties": {
|
|
1871
|
+
"type": "unknown"
|
|
1872
|
+
},
|
|
1869
1873
|
"title": "NavigationFlowEndState",
|
|
1870
1874
|
"description": "An END state of the flow."
|
|
1871
1875
|
},
|
|
@@ -2364,7 +2368,9 @@
|
|
|
2364
2368
|
}
|
|
2365
2369
|
}
|
|
2366
2370
|
},
|
|
2367
|
-
"additionalProperties":
|
|
2371
|
+
"additionalProperties": {
|
|
2372
|
+
"type": "unknown"
|
|
2373
|
+
},
|
|
2368
2374
|
"title": "NavigationFlowExternalState",
|
|
2369
2375
|
"description": "External Flow states represent states in the FSM that can't be resolved internally in Player.\nThe flow will wait for the embedded application to manage moving to the next state via a transition"
|
|
2370
2376
|
}
|
package/dist/xlr/FlowResult.json
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Formatting.Reference",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"type": {
|
|
6
|
+
"required": true,
|
|
7
|
+
"node": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"title": "Reference.type",
|
|
10
|
+
"description": "The name of the formatter (and de-formatter) to use"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": {
|
|
15
|
+
"type": "unknown"
|
|
16
|
+
},
|
|
17
|
+
"title": "Reference",
|
|
18
|
+
"description": "A reference to a specific formatter"
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Language.DataTypeRef",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"type": {
|
|
6
|
+
"required": true,
|
|
7
|
+
"node": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"title": "DataTypeRef.type",
|
|
10
|
+
"description": "Name of the type in Player Core"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"title": "DataTypeRef",
|
|
16
|
+
"description": "Helper to compliment `Schema.DataType` to provide a way to export a reference to a data type instead of the whole object"
|
|
17
|
+
}
|
package/dist/xlr/Navigation.json
CHANGED
|
@@ -281,7 +281,9 @@
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
|
-
"additionalProperties":
|
|
284
|
+
"additionalProperties": {
|
|
285
|
+
"type": "unknown"
|
|
286
|
+
},
|
|
285
287
|
"title": "NavigationFlowViewState",
|
|
286
288
|
"description": "A state representing a view"
|
|
287
289
|
},
|
|
@@ -391,7 +393,9 @@
|
|
|
391
393
|
}
|
|
392
394
|
}
|
|
393
395
|
},
|
|
394
|
-
"additionalProperties":
|
|
396
|
+
"additionalProperties": {
|
|
397
|
+
"type": "unknown"
|
|
398
|
+
},
|
|
395
399
|
"title": "NavigationFlowEndState",
|
|
396
400
|
"description": "An END state of the flow."
|
|
397
401
|
},
|
|
@@ -890,7 +894,9 @@
|
|
|
890
894
|
}
|
|
891
895
|
}
|
|
892
896
|
},
|
|
893
|
-
"additionalProperties":
|
|
897
|
+
"additionalProperties": {
|
|
898
|
+
"type": "unknown"
|
|
899
|
+
},
|
|
894
900
|
"title": "NavigationFlowExternalState",
|
|
895
901
|
"description": "External Flow states represent states in the FSM that can't be resolved internally in Player.\nThe flow will wait for the embedded application to manage moving to the next state via a transition"
|
|
896
902
|
}
|
|
@@ -251,7 +251,9 @@
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
|
-
"additionalProperties":
|
|
254
|
+
"additionalProperties": {
|
|
255
|
+
"type": "unknown"
|
|
256
|
+
},
|
|
255
257
|
"title": "NavigationFlowViewState",
|
|
256
258
|
"description": "A state representing a view"
|
|
257
259
|
},
|
|
@@ -361,7 +363,9 @@
|
|
|
361
363
|
}
|
|
362
364
|
}
|
|
363
365
|
},
|
|
364
|
-
"additionalProperties":
|
|
366
|
+
"additionalProperties": {
|
|
367
|
+
"type": "unknown"
|
|
368
|
+
},
|
|
365
369
|
"title": "NavigationFlowEndState",
|
|
366
370
|
"description": "An END state of the flow."
|
|
367
371
|
},
|
|
@@ -860,7 +864,9 @@
|
|
|
860
864
|
}
|
|
861
865
|
}
|
|
862
866
|
},
|
|
863
|
-
"additionalProperties":
|
|
867
|
+
"additionalProperties": {
|
|
868
|
+
"type": "unknown"
|
|
869
|
+
},
|
|
864
870
|
"title": "NavigationFlowExternalState",
|
|
865
871
|
"description": "External Flow states represent states in the FSM that can't be resolved internally in Player.\nThe flow will wait for the embedded application to manage moving to the next state via a transition"
|
|
866
872
|
}
|
|
@@ -120,7 +120,9 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
|
-
"additionalProperties":
|
|
123
|
+
"additionalProperties": {
|
|
124
|
+
"type": "unknown"
|
|
125
|
+
},
|
|
124
126
|
"title": "NavigationFlowExternalState",
|
|
125
127
|
"description": "External Flow states represent states in the FSM that can't be resolved internally in Player.\nThe flow will wait for the embedded application to manage moving to the next state via a transition"
|
|
126
128
|
}
|
|
@@ -137,7 +137,9 @@
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
|
-
"additionalProperties":
|
|
140
|
+
"additionalProperties": {
|
|
141
|
+
"type": "unknown"
|
|
142
|
+
},
|
|
141
143
|
"title": "NavigationFlowViewState",
|
|
142
144
|
"description": "A state representing a view"
|
|
143
145
|
},
|
|
@@ -247,7 +249,9 @@
|
|
|
247
249
|
}
|
|
248
250
|
}
|
|
249
251
|
},
|
|
250
|
-
"additionalProperties":
|
|
252
|
+
"additionalProperties": {
|
|
253
|
+
"type": "unknown"
|
|
254
|
+
},
|
|
251
255
|
"title": "NavigationFlowEndState",
|
|
252
256
|
"description": "An END state of the flow."
|
|
253
257
|
},
|
|
@@ -746,7 +750,9 @@
|
|
|
746
750
|
}
|
|
747
751
|
}
|
|
748
752
|
},
|
|
749
|
-
"additionalProperties":
|
|
753
|
+
"additionalProperties": {
|
|
754
|
+
"type": "unknown"
|
|
755
|
+
},
|
|
750
756
|
"title": "NavigationFlowExternalState",
|
|
751
757
|
"description": "External Flow states represent states in the FSM that can't be resolved internally in Player.\nThe flow will wait for the embedded application to manage moving to the next state via a transition"
|
|
752
758
|
}
|