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