narrat 2.10.1 → 2.10.3

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.
@@ -43,6 +43,7 @@ export declare type ScreenObjectsStoreSave = {
43
43
  [id: string]: ScreenObjectSaveState;
44
44
  };
45
45
  };
46
+ export declare function isScreenObject(entity: any): entity is ScreenObjectState;
46
47
  export declare function isSprite(entity: any): entity is SpriteState;
47
48
  export interface CreateSpriteOptions extends CreateObjectOptions {
48
49
  image: string;
@@ -0,0 +1,7 @@
1
+ import { CustomStartMenuButton } from '../lib';
2
+ export interface StartMenuState {
3
+ buttons: CustomStartMenuButton[];
4
+ }
5
+ export declare const useStartMenu: import("pinia").StoreDefinition<"startMenu", StartMenuState, {}, {
6
+ addButtonsFromPlugins(): void;
7
+ }>;
@@ -29,3 +29,4 @@ export declare function getModifiableDataPinia(): {
29
29
  };
30
30
  };
31
31
  export declare function deepCopy<T>(a: T): T;
32
+ export declare function deepCopyMap<T>(a: T, predicate: (value: any) => any): T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "2.10.1",
3
+ "version": "2.10.3",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",