narrat 3.9.5 → 3.9.7

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/dist/app.vue.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { AppOptions } from './types/app-types';
2
+ import './data/all-stores';
2
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
4
  options: AppOptions;
4
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -5,6 +5,7 @@ export type StoreInfo = {
5
5
  config?: keyof Config;
6
6
  save?: keyof ExtractedGameSave;
7
7
  globalSave?: keyof GlobalGameSave;
8
+ avoidReset?: boolean;
8
9
  };
9
10
  export type SaveableStore = StoreInfo & {
10
11
  save: keyof GameSave;
@@ -3965,13 +3965,14 @@ export declare const sourceAllStores: {
3965
3965
  }, {
3966
3966
  generateSaveData(): import("../stores/scenes-store").ScenesStoreSave;
3967
3967
  loadSaveData(saveData: import("../stores/scenes-store").ScenesStoreSave): void;
3968
- changeScene(newScene: string, options?: Record<string, any> | undefined): void;
3968
+ changeScene(newScene: import("../scenes/scene-types").SceneKey, options?: Record<string, any> | undefined): void;
3969
3969
  getSceneConfig(sceneId: string): import("../lib").SceneConfig;
3970
3970
  onEngineSplashFinished(): void;
3971
3971
  finishedScene(sceneId: string): void;
3972
3972
  addNewScene(sceneConfig: import("../lib").SceneConfig): void;
3973
3973
  }>;
3974
3974
  readonly save: "scenes";
3975
+ readonly avoidReset: true;
3975
3976
  };
3976
3977
  };
3977
3978
  export type AllStores = typeof sourceAllStores;