@drincs/pixi-vn-json 1.7.8 → 1.7.9

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.
@@ -58,6 +58,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
58
58
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
59
59
  };
60
60
 
61
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
62
+
61
63
  type PixiVNJsonStorageGet = {
62
64
  type: "value";
63
65
  storageOperationType: "get";
@@ -245,8 +247,6 @@ interface PixiVNJsonIfElse<Then> {
245
247
  else?: Then | PixiVNJsonIfElse<Then>;
246
248
  }
247
249
 
248
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
249
-
250
250
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
251
251
  type: "animate";
252
252
  alias: string | string[];
@@ -568,7 +568,7 @@ interface PixiVNJson {
568
568
  * For the set storage: They will be set only if there are no variables with the same key already.
569
569
  * For the det tempstorage: if there are variables with the same key already, they will be overwritten.
570
570
  */
571
- initialOperations?: PixiVNJsonValueSet[];
571
+ initialOperations?: (PixiVNJsonValueSet | PixiVNJsonIfElse<PixiVNJsonValueSet>)[];
572
572
  /**
573
573
  * The labels to be used in the narrative. They will be added to the system
574
574
  */
@@ -58,6 +58,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
58
58
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
59
59
  };
60
60
 
61
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
62
+
61
63
  type PixiVNJsonStorageGet = {
62
64
  type: "value";
63
65
  storageOperationType: "get";
@@ -245,8 +247,6 @@ interface PixiVNJsonIfElse<Then> {
245
247
  else?: Then | PixiVNJsonIfElse<Then>;
246
248
  }
247
249
 
248
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
249
-
250
250
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
251
251
  type: "animate";
252
252
  alias: string | string[];
@@ -568,7 +568,7 @@ interface PixiVNJson {
568
568
  * For the set storage: They will be set only if there are no variables with the same key already.
569
569
  * For the det tempstorage: if there are variables with the same key already, they will be overwritten.
570
570
  */
571
- initialOperations?: PixiVNJsonValueSet[];
571
+ initialOperations?: (PixiVNJsonValueSet | PixiVNJsonIfElse<PixiVNJsonValueSet>)[];
572
572
  /**
573
573
  * The labels to be used in the narrative. They will be added to the system
574
574
  */
package/dist/index.d.cts CHANGED
@@ -62,6 +62,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
62
62
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
63
63
  };
64
64
 
65
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
66
+
65
67
  type PixiVNJsonStorageGet = {
66
68
  type: "value";
67
69
  storageOperationType: "get";
@@ -249,8 +251,6 @@ interface PixiVNJsonIfElse<Then> {
249
251
  else?: Then | PixiVNJsonIfElse<Then>;
250
252
  }
251
253
 
252
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
253
-
254
254
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
255
255
  type: "animate";
256
256
  alias: string | string[];
@@ -572,7 +572,7 @@ interface PixiVNJson {
572
572
  * For the set storage: They will be set only if there are no variables with the same key already.
573
573
  * For the det tempstorage: if there are variables with the same key already, they will be overwritten.
574
574
  */
575
- initialOperations?: PixiVNJsonValueSet[];
575
+ initialOperations?: (PixiVNJsonValueSet | PixiVNJsonIfElse<PixiVNJsonValueSet>)[];
576
576
  /**
577
577
  * The labels to be used in the narrative. They will be added to the system
578
578
  */
package/dist/index.d.ts CHANGED
@@ -62,6 +62,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
62
62
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
63
63
  };
64
64
 
65
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
66
+
65
67
  type PixiVNJsonStorageGet = {
66
68
  type: "value";
67
69
  storageOperationType: "get";
@@ -249,8 +251,6 @@ interface PixiVNJsonIfElse<Then> {
249
251
  else?: Then | PixiVNJsonIfElse<Then>;
250
252
  }
251
253
 
252
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
253
-
254
254
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
255
255
  type: "animate";
256
256
  alias: string | string[];
@@ -572,7 +572,7 @@ interface PixiVNJson {
572
572
  * For the set storage: They will be set only if there are no variables with the same key already.
573
573
  * For the det tempstorage: if there are variables with the same key already, they will be overwritten.
574
574
  */
575
- initialOperations?: PixiVNJsonValueSet[];
575
+ initialOperations?: (PixiVNJsonValueSet | PixiVNJsonIfElse<PixiVNJsonValueSet>)[];
576
576
  /**
577
577
  * The labels to be used in the narrative. They will be added to the system
578
578
  */
@@ -57,6 +57,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
57
57
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
58
58
  };
59
59
 
60
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
61
+
60
62
  type PixiVNJsonStorageGet = {
61
63
  type: "value";
62
64
  storageOperationType: "get";
@@ -244,8 +246,6 @@ interface PixiVNJsonIfElse<Then> {
244
246
  else?: Then | PixiVNJsonIfElse<Then>;
245
247
  }
246
248
 
247
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
248
-
249
249
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
250
250
  type: "animate";
251
251
  alias: string | string[];
@@ -57,6 +57,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
57
57
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
58
58
  };
59
59
 
60
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
61
+
60
62
  type PixiVNJsonStorageGet = {
61
63
  type: "value";
62
64
  storageOperationType: "get";
@@ -244,8 +246,6 @@ interface PixiVNJsonIfElse<Then> {
244
246
  else?: Then | PixiVNJsonIfElse<Then>;
245
247
  }
246
248
 
247
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
248
-
249
249
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
250
250
  type: "animate";
251
251
  alias: string | string[];
@@ -57,6 +57,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
57
57
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
58
58
  };
59
59
 
60
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
61
+
60
62
  type PixiVNJsonStorageGet = {
61
63
  type: "value";
62
64
  storageOperationType: "get";
@@ -244,8 +246,6 @@ interface PixiVNJsonIfElse<Then> {
244
246
  else?: Then | PixiVNJsonIfElse<Then>;
245
247
  }
246
248
 
247
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
248
-
249
249
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
250
250
  type: "animate";
251
251
  alias: string | string[];
package/dist/unifier.d.ts CHANGED
@@ -57,6 +57,8 @@ type PixiVNJsonConditionalResultToCombine<T> = {
57
57
  secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
58
58
  };
59
59
 
60
+ type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
61
+
60
62
  type PixiVNJsonStorageGet = {
61
63
  type: "value";
62
64
  storageOperationType: "get";
@@ -244,8 +246,6 @@ interface PixiVNJsonIfElse<Then> {
244
246
  else?: Then | PixiVNJsonIfElse<Then>;
245
247
  }
246
248
 
247
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
248
-
249
249
  type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
250
250
  type: "animate";
251
251
  alias: string | string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/pixi-vn-json",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "type": "module",
5
5
  "description": "Pixi'VN can be integrated with JSON files to create a visual novel.",
6
6
  "main": "./dist/index.cjs",