@drincs/pixi-vn 0.4.9 → 0.4.10

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 (49) hide show
  1. package/dist/classes/CharacterBaseModel.js.map +1 -1
  2. package/dist/classes/CharacterBaseModel.mjs.map +1 -1
  3. package/dist/classes/Label.d.mts +2 -2
  4. package/dist/classes/Label.d.ts +2 -2
  5. package/dist/classes/Label.js.map +1 -1
  6. package/dist/classes/Label.mjs.map +1 -1
  7. package/dist/classes/StoredClassModel.js.map +1 -1
  8. package/dist/classes/StoredClassModel.mjs.map +1 -1
  9. package/dist/classes/index.js.map +1 -1
  10. package/dist/classes/index.mjs.map +1 -1
  11. package/dist/classes/ticker/TickerFadeAlpha.js.map +1 -1
  12. package/dist/classes/ticker/TickerFadeAlpha.mjs.map +1 -1
  13. package/dist/classes/ticker/TickerMove.js.map +1 -1
  14. package/dist/classes/ticker/TickerMove.mjs.map +1 -1
  15. package/dist/classes/ticker/TickerRotate.js.map +1 -1
  16. package/dist/classes/ticker/TickerRotate.mjs.map +1 -1
  17. package/dist/classes/ticker/index.js.map +1 -1
  18. package/dist/classes/ticker/index.mjs.map +1 -1
  19. package/dist/functions/DialogueUtility.js.map +1 -1
  20. package/dist/functions/DialogueUtility.mjs.map +1 -1
  21. package/dist/functions/FlagsUtility.js.map +1 -1
  22. package/dist/functions/FlagsUtility.mjs.map +1 -1
  23. package/dist/functions/GameUtility.js.map +1 -1
  24. package/dist/functions/GameUtility.mjs.map +1 -1
  25. package/dist/functions/ImageUtility.js.map +1 -1
  26. package/dist/functions/ImageUtility.mjs.map +1 -1
  27. package/dist/functions/SavesUtility.js.map +1 -1
  28. package/dist/functions/SavesUtility.mjs.map +1 -1
  29. package/dist/functions/StepLabelUtility.d.mts +1 -1
  30. package/dist/functions/StepLabelUtility.d.ts +1 -1
  31. package/dist/functions/StepLabelUtility.js.map +1 -1
  32. package/dist/functions/StepLabelUtility.mjs.map +1 -1
  33. package/dist/functions/index.js.map +1 -1
  34. package/dist/functions/index.mjs.map +1 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/managers/StepManager.d.mts +2 -2
  38. package/dist/managers/StepManager.d.ts +2 -2
  39. package/dist/managers/StepManager.js.map +1 -1
  40. package/dist/managers/StepManager.mjs.map +1 -1
  41. package/dist/managers/index.js.map +1 -1
  42. package/dist/managers/index.mjs.map +1 -1
  43. package/dist/override/StepLabelProps.d.mts +2 -1
  44. package/dist/override/StepLabelProps.d.ts +2 -1
  45. package/dist/override/StepLabelResult.d.mts +2 -1
  46. package/dist/override/StepLabelResult.d.ts +2 -1
  47. package/dist/types/StepLabelType.d.mts +2 -2
  48. package/dist/types/StepLabelType.d.ts +2 -2
  49. package/package.json +1 -1
@@ -6,7 +6,8 @@
6
6
  * // pixi-vn.types.ts
7
7
  * declare module '@drincs/pixi-vn/dist/override' {
8
8
  * interface StepLabelProps {
9
- * navigate: (route: string) => void
9
+ * navigate: (route: string) => void,
10
+ * [key: string]: any
10
11
  * }
11
12
  * }
12
13
  * ```
@@ -6,7 +6,8 @@
6
6
  * // pixi-vn.types.ts
7
7
  * declare module '@drincs/pixi-vn/dist/override' {
8
8
  * interface StepLabelProps {
9
- * navigate: (route: string) => void
9
+ * navigate: (route: string) => void,
10
+ * [key: string]: any
10
11
  * }
11
12
  * }
12
13
  * ```
@@ -7,7 +7,8 @@
7
7
  * // pixi-vn.types.ts
8
8
  * declare module '@drincs/pixi-vn/dist/override' {
9
9
  * interface StepLabelResult {
10
- * newRoute: string
10
+ * newRoute?: string,
11
+ * [key: string]: any
11
12
  * }
12
13
  * }
13
14
  * ```
@@ -7,7 +7,8 @@
7
7
  * // pixi-vn.types.ts
8
8
  * declare module '@drincs/pixi-vn/dist/override' {
9
9
  * interface StepLabelResult {
10
- * newRoute: string
10
+ * newRoute?: string,
11
+ * [key: string]: any
11
12
  * }
12
13
  * }
13
14
  * ```
@@ -1,10 +1,10 @@
1
1
  import { StepLabelResult, StepLabelProps } from '@drincs/pixi-vn/dist/override';
2
2
 
3
3
  type StepLabelResultType = StepLabelResult | void;
4
- type StepLabelPropsType = StepLabelProps;
4
+ type StepLabelPropsType<T extends {} = {}> = StepLabelProps & T;
5
5
  /**
6
6
  * StepLabel is a function that will be executed as the game continues.
7
7
  */
8
- type StepLabelType = ((props?: StepLabelPropsType) => StepLabelResultType | Promise<StepLabelResultType>);
8
+ type StepLabelType<T extends {} = {}> = ((props?: StepLabelPropsType<T>) => StepLabelResultType | Promise<StepLabelResultType>);
9
9
 
10
10
  export type { StepLabelPropsType, StepLabelResultType, StepLabelType };
@@ -1,10 +1,10 @@
1
1
  import { StepLabelResult, StepLabelProps } from '@drincs/pixi-vn/dist/override';
2
2
 
3
3
  type StepLabelResultType = StepLabelResult | void;
4
- type StepLabelPropsType = StepLabelProps;
4
+ type StepLabelPropsType<T extends {} = {}> = StepLabelProps & T;
5
5
  /**
6
6
  * StepLabel is a function that will be executed as the game continues.
7
7
  */
8
- type StepLabelType = ((props?: StepLabelPropsType) => StepLabelResultType | Promise<StepLabelResultType>);
8
+ type StepLabelType<T extends {} = {}> = ((props?: StepLabelPropsType<T>) => StepLabelResultType | Promise<StepLabelResultType>);
9
9
 
10
10
  export type { StepLabelPropsType, StepLabelResultType, StepLabelType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drincs/pixi-vn",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "description": "Pixi'VN is a npm package that provides various features for creating visual novels.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",