@player-ui/types 0.15.1--canary.807.32155 → 0.15.1-next.1

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.
@@ -5,18 +5,18 @@
5
5
  "or": [
6
6
  {
7
7
  "source": "core/types/src/index.ts",
8
- "name": "StaticSwitch<T>",
8
+ "name": "StaticSwitch",
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<T>",
15
+ "name": "Switch",
16
16
  "type": "array",
17
17
  "elementType": {
18
18
  "source": "core/types/src/index.ts",
19
- "name": "SwitchCase<T>",
19
+ "name": "SwitchCase",
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<T>",
104
+ "name": "DynamicSwitch",
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<T>",
111
+ "name": "Switch",
112
112
  "type": "array",
113
113
  "elementType": {
114
114
  "source": "core/types/src/index.ts",
115
- "name": "SwitchCase<T>",
115
+ "name": "SwitchCase",
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<T>",
48
+ "name": "StaticSwitch",
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<T>",
55
+ "name": "Switch",
56
56
  "type": "array",
57
57
  "elementType": {
58
58
  "source": "core/types/src/index.ts",
59
- "name": "SwitchCase<T>",
59
+ "name": "SwitchCase",
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<T>",
171
+ "name": "DynamicSwitch",
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<T>",
178
+ "name": "Switch",
179
179
  "type": "array",
180
180
  "elementType": {
181
181
  "source": "core/types/src/index.ts",
182
- "name": "SwitchCase<T>",
182
+ "name": "SwitchCase",
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<T>",
10
+ "name": "Switch",
11
11
  "type": "array",
12
12
  "elementType": {
13
13
  "source": "core/types/src/index.ts",
14
- "name": "SwitchCase<T>",
14
+ "name": "SwitchCase",
15
15
  "type": "object",
16
16
  "properties": {
17
17
  "asset": {
@@ -17,7 +17,7 @@
17
17
  "type": "array",
18
18
  "elementType": {
19
19
  "source": "core/types/src/index.ts",
20
- "name": "View<T>",
20
+ "name": "View",
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": "Validation.CrossfieldReference",
48
+ "name": "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.Schema",
210
+ "name": "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": "Validation.Reference",
240
+ "name": "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": "Formatting.Reference",
375
+ "name": "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": "Validation.Reference",
438
+ "name": "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": "Formatting.Reference",
573
+ "name": "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": "Validation.Reference",
641
+ "name": "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": "Formatting.Reference",
776
+ "name": "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": "Validation.Reference",
860
+ "name": "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": "Formatting.Reference",
995
+ "name": "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": "Validation.Reference",
1058
+ "name": "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": "Formatting.Reference",
1193
+ "name": "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": "Validation.Reference",
1261
+ "name": "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": "Formatting.Reference",
1396
+ "name": "Reference",
1397
1397
  "type": "object",
1398
1398
  "properties": {
1399
1399
  "type": {
@@ -1755,9 +1755,7 @@
1755
1755
  }
1756
1756
  }
1757
1757
  },
1758
- "additionalProperties": {
1759
- "type": "unknown"
1760
- },
1758
+ "additionalProperties": false,
1761
1759
  "title": "NavigationFlowViewState",
1762
1760
  "description": "A state representing a view"
1763
1761
  },
@@ -1867,9 +1865,7 @@
1867
1865
  }
1868
1866
  }
1869
1867
  },
1870
- "additionalProperties": {
1871
- "type": "unknown"
1872
- },
1868
+ "additionalProperties": false,
1873
1869
  "title": "NavigationFlowEndState",
1874
1870
  "description": "An END state of the flow."
1875
1871
  },
@@ -2368,9 +2364,7 @@
2368
2364
  }
2369
2365
  }
2370
2366
  },
2371
- "additionalProperties": {
2372
- "type": "unknown"
2373
- },
2367
+ "additionalProperties": false,
2374
2368
  "title": "NavigationFlowExternalState",
2375
2369
  "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"
2376
2370
  }
@@ -111,9 +111,7 @@
111
111
  }
112
112
  }
113
113
  },
114
- "additionalProperties": {
115
- "type": "unknown"
116
- },
114
+ "additionalProperties": false,
117
115
  "title": "FlowResult.endState",
118
116
  "description": "The outcome describes _how_ the flow ended (forwards, backwards, etc)"
119
117
  }
@@ -281,9 +281,7 @@
281
281
  }
282
282
  }
283
283
  },
284
- "additionalProperties": {
285
- "type": "unknown"
286
- },
284
+ "additionalProperties": false,
287
285
  "title": "NavigationFlowViewState",
288
286
  "description": "A state representing a view"
289
287
  },
@@ -393,9 +391,7 @@
393
391
  }
394
392
  }
395
393
  },
396
- "additionalProperties": {
397
- "type": "unknown"
398
- },
394
+ "additionalProperties": false,
399
395
  "title": "NavigationFlowEndState",
400
396
  "description": "An END state of the flow."
401
397
  },
@@ -894,9 +890,7 @@
894
890
  }
895
891
  }
896
892
  },
897
- "additionalProperties": {
898
- "type": "unknown"
899
- },
893
+ "additionalProperties": false,
900
894
  "title": "NavigationFlowExternalState",
901
895
  "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"
902
896
  }
@@ -251,9 +251,7 @@
251
251
  }
252
252
  }
253
253
  },
254
- "additionalProperties": {
255
- "type": "unknown"
256
- },
254
+ "additionalProperties": false,
257
255
  "title": "NavigationFlowViewState",
258
256
  "description": "A state representing a view"
259
257
  },
@@ -363,9 +361,7 @@
363
361
  }
364
362
  }
365
363
  },
366
- "additionalProperties": {
367
- "type": "unknown"
368
- },
364
+ "additionalProperties": false,
369
365
  "title": "NavigationFlowEndState",
370
366
  "description": "An END state of the flow."
371
367
  },
@@ -864,9 +860,7 @@
864
860
  }
865
861
  }
866
862
  },
867
- "additionalProperties": {
868
- "type": "unknown"
869
- },
863
+ "additionalProperties": false,
870
864
  "title": "NavigationFlowExternalState",
871
865
  "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"
872
866
  }
@@ -104,9 +104,7 @@
104
104
  }
105
105
  }
106
106
  },
107
- "additionalProperties": {
108
- "type": "unknown"
109
- },
107
+ "additionalProperties": false,
110
108
  "title": "NavigationFlowEndState",
111
109
  "description": "An END state of the flow."
112
110
  }
@@ -120,9 +120,7 @@
120
120
  }
121
121
  }
122
122
  },
123
- "additionalProperties": {
124
- "type": "unknown"
125
- },
123
+ "additionalProperties": false,
126
124
  "title": "NavigationFlowExternalState",
127
125
  "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"
128
126
  }
@@ -137,9 +137,7 @@
137
137
  }
138
138
  }
139
139
  },
140
- "additionalProperties": {
141
- "type": "unknown"
142
- },
140
+ "additionalProperties": false,
143
141
  "title": "NavigationFlowViewState",
144
142
  "description": "A state representing a view"
145
143
  },
@@ -249,9 +247,7 @@
249
247
  }
250
248
  }
251
249
  },
252
- "additionalProperties": {
253
- "type": "unknown"
254
- },
250
+ "additionalProperties": false,
255
251
  "title": "NavigationFlowEndState",
256
252
  "description": "An END state of the flow."
257
253
  },
@@ -750,9 +746,7 @@
750
746
  }
751
747
  }
752
748
  },
753
- "additionalProperties": {
754
- "type": "unknown"
755
- },
749
+ "additionalProperties": false,
756
750
  "title": "NavigationFlowExternalState",
757
751
  "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"
758
752
  }
@@ -132,9 +132,7 @@
132
132
  }
133
133
  }
134
134
  },
135
- "additionalProperties": {
136
- "type": "unknown"
137
- },
135
+ "additionalProperties": false,
138
136
  "title": "NavigationFlowViewState",
139
137
  "description": "A state representing a view"
140
138
  }
@@ -7,11 +7,11 @@
7
7
  "required": true,
8
8
  "node": {
9
9
  "source": "core/types/src/index.ts",
10
- "name": "Switch<T>",
10
+ "name": "Switch",
11
11
  "type": "array",
12
12
  "elementType": {
13
13
  "source": "core/types/src/index.ts",
14
- "name": "SwitchCase<T>",
14
+ "name": "SwitchCase",
15
15
  "type": "object",
16
16
  "properties": {
17
17
  "asset": {
@@ -4,7 +4,7 @@
4
4
  "type": "array",
5
5
  "elementType": {
6
6
  "source": "core/types/src/index.ts",
7
- "name": "SwitchCase<T>",
7
+ "name": "SwitchCase",
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "asset": {
@@ -28,7 +28,7 @@
28
28
  "node": {
29
29
  "type": "array",
30
30
  "elementType": {
31
- "name": "Validation.CrossfieldReference",
31
+ "name": "CrossfieldReference",
32
32
  "type": "object",
33
33
  "properties": {
34
34
  "type": {
@@ -30,26 +30,13 @@ const Templatable = require("./Templatable.json")
30
30
  const Template = require("./Template.json")
31
31
  const View = require("./View.json")
32
32
  const Flow = require("./Flow.json")
33
- const Schema_Schema = require("./Schema.Schema.json")
34
- const Schema_Node = require("./Schema.Node.json")
35
- const Schema_DataTypes = require("./Schema.DataTypes.json")
36
- const Schema_DataType = require("./Schema.DataType.json")
37
- const Schema_RecordType = require("./Schema.RecordType.json")
38
- const Schema_ArrayType = require("./Schema.ArrayType.json")
39
- const Language_DataTypeRef = require("./Language.DataTypeRef.json")
40
- const Formatting_Reference = require("./Formatting.Reference.json")
41
- const Validation_Severity = require("./Validation.Severity.json")
42
- const Validation_Trigger = require("./Validation.Trigger.json")
43
- const Validation_DisplayTarget = require("./Validation.DisplayTarget.json")
44
- const Validation_Reference = require("./Validation.Reference.json")
45
- const Validation_CrossfieldReference = require("./Validation.CrossfieldReference.json")
46
33
 
47
34
  module.exports = {
48
35
  "pluginName": "Types",
49
36
  "capabilities": {
50
- "Types":[Asset,AssetBinding,SwitchCase,Switch,AssetWrapper,AssetWrapperOrSwitch,AssetSwitch,StaticSwitch,DynamicSwitch,Expression,ExpressionRef,Binding,BindingRef,DataModel,Navigation,ExpressionObject,NavigationFlow,NavigationFlowTransition,NavigationBaseState,NavigationFlowTransitionableState,NavigationFlowViewState,NavigationFlowEndState,NavigationFlowActionState,NavigationFlowAsyncActionState,NavigationFlowExternalState,NavigationFlowFlowState,NavigationFlowState,FlowResult,Templatable,Template,View,Flow,Schema_Schema,Schema_Node,Schema_DataTypes,Schema_DataType,Schema_RecordType,Schema_ArrayType,Language_DataTypeRef,Formatting_Reference,Validation_Severity,Validation_Trigger,Validation_DisplayTarget,Validation_Reference,Validation_CrossfieldReference],
37
+ "Types":[Asset,AssetBinding,SwitchCase,Switch,AssetWrapper,AssetWrapperOrSwitch,AssetSwitch,StaticSwitch,DynamicSwitch,Expression,ExpressionRef,Binding,BindingRef,DataModel,Navigation,ExpressionObject,NavigationFlow,NavigationFlowTransition,NavigationBaseState,NavigationFlowTransitionableState,NavigationFlowViewState,NavigationFlowEndState,NavigationFlowActionState,NavigationFlowAsyncActionState,NavigationFlowExternalState,NavigationFlowFlowState,NavigationFlowState,FlowResult,Templatable,Template,View,Flow],
51
38
  },
52
39
  "customPrimitives": [
53
- "Expression","Asset","Binding","AssetWrapper","Schema.DataType","ExpressionHandler","FormatType","ValidatorFunction"
40
+ "Expression","Asset","Binding","AssetWrapper","Schema.DataType","ExpressionHandler"
54
41
  ]
55
42
  }
@@ -33,20 +33,7 @@
33
33
  "Templatable",
34
34
  "Template",
35
35
  "View",
36
- "Flow",
37
- "Schema.Schema",
38
- "Schema.Node",
39
- "Schema.DataTypes",
40
- "Schema.DataType",
41
- "Schema.RecordType",
42
- "Schema.ArrayType",
43
- "Language.DataTypeRef",
44
- "Formatting.Reference",
45
- "Validation.Severity",
46
- "Validation.Trigger",
47
- "Validation.DisplayTarget",
48
- "Validation.Reference",
49
- "Validation.CrossfieldReference"
36
+ "Flow"
50
37
  ]
51
38
  },
52
39
  "customPrimitives": [
@@ -55,8 +42,6 @@
55
42
  "Binding",
56
43
  "AssetWrapper",
57
44
  "Schema.DataType",
58
- "ExpressionHandler",
59
- "FormatType",
60
- "ValidatorFunction"
45
+ "ExpressionHandler"
61
46
  ]
62
47
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "types"
7
7
  ],
8
8
  "name": "@player-ui/types",
9
- "version": "0.15.1--canary.807.32155",
9
+ "version": "0.15.1-next.1",
10
10
  "main": "dist/cjs/index.cjs",
11
11
  "module": "dist/index.legacy-esm.js",
12
12
  "types": "types/index.d.ts",
@@ -1,19 +0,0 @@
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
- }
@@ -1,17 +0,0 @@
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
- }