@player-ui/player 0.15.3-next.0 → 0.15.3-next.2

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/package.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "types"
7
7
  ],
8
8
  "name": "@player-ui/player",
9
- "version": "0.15.3-next.0",
9
+ "version": "0.15.3-next.2",
10
10
  "main": "dist/cjs/index.cjs",
11
11
  "dependencies": {
12
- "@player-ui/partial-match-registry": "0.15.3-next.0",
13
- "@player-ui/make-flow": "0.15.3-next.0",
14
- "@player-ui/types": "0.15.3-next.0",
12
+ "@player-ui/partial-match-registry": "0.15.3-next.2",
13
+ "@player-ui/make-flow": "0.15.3-next.2",
14
+ "@player-ui/types": "0.15.3-next.2",
15
15
  "@types/dlv": "^1.1.4",
16
16
  "dequal": "^2.0.2",
17
17
  "dlv": "^1.1.3",
@@ -8,9 +8,7 @@ import type {
8
8
  } from "../../data";
9
9
 
10
10
  /** Wrapper for the Data Controller Class that prevents writes */
11
- export class ReadOnlyDataController
12
- implements DataModelWithParser<DataModelOptions>
13
- {
11
+ export class ReadOnlyDataController implements DataModelWithParser<DataModelOptions> {
14
12
  private controller: DataController;
15
13
  private logger?: Logger;
16
14
 
@@ -129,15 +129,13 @@ export interface LiteralNode extends BaseNode<"Literal"> {
129
129
  }
130
130
 
131
131
  export interface BinaryNode
132
- extends BaseNode<"BinaryExpression">,
133
- DirectionalNode {
132
+ extends BaseNode<"BinaryExpression">, DirectionalNode {
134
133
  /** The operation to perform on the nodes */
135
134
  operator: string;
136
135
  }
137
136
 
138
137
  export interface LogicalNode
139
- extends BaseNode<"LogicalExpression">,
140
- DirectionalNode {
138
+ extends BaseNode<"LogicalExpression">, DirectionalNode {
141
139
  /** The logical operation to perform on the nodes */
142
140
  operator: string;
143
141
  }
@@ -179,8 +177,7 @@ export interface MemberExpressionNode extends BaseNode<"MemberExpression"> {
179
177
  property: ExpressionNode;
180
178
  }
181
179
 
182
- export interface ConditionalExpressionNode
183
- extends BaseNode<"ConditionalExpression"> {
180
+ export interface ConditionalExpressionNode extends BaseNode<"ConditionalExpression"> {
184
181
  /** The test for the ternary */
185
182
  test: ExpressionNode;
186
183
 
@@ -217,8 +214,7 @@ export interface IdentifierNode extends BaseNode<"Identifier"> {
217
214
  export type AssignmentNode = BaseNode<"Assignment"> & DirectionalNode;
218
215
 
219
216
  export interface ModificationNode
220
- extends BaseNode<"Modification">,
221
- DirectionalNode {
217
+ extends BaseNode<"Modification">, DirectionalNode {
222
218
  /** The operator for the modification */
223
219
  operator: string;
224
220
  }
@@ -23,8 +23,7 @@ interface BaseValidationResponse<T = Validation.Severity> {
23
23
  blocking?: boolean | "once";
24
24
  }
25
25
 
26
- export interface WarningValidationResponse
27
- extends BaseValidationResponse<"warning"> {
26
+ export interface WarningValidationResponse extends BaseValidationResponse<"warning"> {
28
27
  /** Warning validations can be dismissed without correcting the error */
29
28
  dismiss?: () => void;
30
29
  }
@@ -43,15 +43,13 @@ export declare namespace Node {
43
43
  }
44
44
 
45
45
  export interface Asset<T extends AnyAssetType = AnyAssetType>
46
- extends BaseWithChildren<NodeType.Asset>,
47
- PluginOptions {
46
+ extends BaseWithChildren<NodeType.Asset>, PluginOptions {
48
47
  /** Any asset nested within a view */
49
48
  value: T;
50
49
  }
51
50
 
52
51
  export interface View<T extends AnyAssetType = AnyAssetType>
53
- extends BaseWithChildren<NodeType.View>,
54
- PluginOptions {
52
+ extends BaseWithChildren<NodeType.View>, PluginOptions {
55
53
  /** The root of the parsed view */
56
54
  value: T;
57
55
  }
@@ -82,8 +80,7 @@ export declare namespace Node {
82
80
  }
83
81
 
84
82
  export interface Value
85
- extends BaseWithChildren<NodeType.Value>,
86
- PluginOptions {
83
+ extends BaseWithChildren<NodeType.Value>, PluginOptions {
87
84
  /** A simple node representing a value */
88
85
  value: any;
89
86
  }