narrat 3.17.1 → 3.17.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.
@@ -8,12 +8,14 @@ export type ConfigStoreSave = {
8
8
  export interface ConfigStore {
9
9
  config: Config;
10
10
  configModules: Record<ConfigKey, ConfigModule>;
11
+ savePathPrefix: string | null;
11
12
  }
12
13
  export declare const useConfig: import("pinia").StoreDefinition<"config", ConfigStore, {
13
14
  playerCharacter(): string;
14
15
  gameCharacter(): string;
15
16
  }, {
16
17
  setConfig(config: Config): Promise<void>;
18
+ setSavePathPrefix(prefix: string): void;
17
19
  extendConfig(config: DeepPartial<Config>): void;
18
20
  generateSaveData(): ConfigStoreSave;
19
21
  addConfigModule(key: ConfigKey, module: ConfigModule): void;
@@ -66,6 +66,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
66
66
  options: {
67
67
  baseAssetsPath?: string | undefined;
68
68
  baseDataPath?: string | undefined;
69
+ savePathPrefix?: string | undefined;
69
70
  configPath?: string | undefined;
70
71
  scripts: {
71
72
  code: any;
@@ -778,6 +779,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
778
779
  options: {
779
780
  baseAssetsPath?: string | undefined;
780
781
  baseDataPath?: string | undefined;
782
+ savePathPrefix?: string | undefined;
781
783
  configPath?: string | undefined;
782
784
  scripts: {
783
785
  code: any;
@@ -1490,6 +1492,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
1490
1492
  options: {
1491
1493
  baseAssetsPath?: string | undefined;
1492
1494
  baseDataPath?: string | undefined;
1495
+ savePathPrefix?: string | undefined;
1493
1496
  configPath?: string | undefined;
1494
1497
  scripts: {
1495
1498
  code: any;
@@ -2202,6 +2205,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
2202
2205
  options: {
2203
2206
  baseAssetsPath?: string | undefined;
2204
2207
  baseDataPath?: string | undefined;
2208
+ savePathPrefix?: string | undefined;
2205
2209
  configPath?: string | undefined;
2206
2210
  scripts: {
2207
2211
  code: any;
@@ -44,6 +44,7 @@ export interface ConfigFiles {
44
44
  export interface AppOptions {
45
45
  baseAssetsPath?: string;
46
46
  baseDataPath?: string;
47
+ savePathPrefix?: string;
47
48
  configPath?: string;
48
49
  scripts: NarratScript[];
49
50
  logging?: boolean;
@@ -27,6 +27,7 @@ export declare function getModifiableDataPinia(): {
27
27
  gameOptions: {
28
28
  baseAssetsPath?: string | undefined;
29
29
  baseDataPath?: string | undefined;
30
+ savePathPrefix?: string | undefined;
30
31
  configPath?: string | undefined;
31
32
  scripts: {
32
33
  code: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "narrat",
3
- "version": "3.17.1",
3
+ "version": "3.17.2",
4
4
  "description": "narrat narrative engine",
5
5
  "main": "dist/narrat.umd.js",
6
6
  "module": "dist/narrat.es.js",