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.
- package/dist/data/all-stores.d.ts +5 -0
- package/dist/{index-zXbswTbE.js → index-ka4ApQFg.js} +2 -2
- package/dist/{index-zXbswTbE.js.map → index-ka4ApQFg.js.map} +1 -1
- package/dist/{lib-pAMzV307.js → lib-20Ml5KM1.js} +4928 -4924
- package/dist/lib-20Ml5KM1.js.map +1 -0
- package/dist/narrat.es.js +1 -1
- package/dist/narrat.umd.js +33 -33
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/config-store.d.ts +2 -0
- package/dist/stores/main-store.d.ts +4 -0
- package/dist/types/app-types.d.ts +1 -0
- package/dist/utils/data-helpers.d.ts +1 -0
- package/package.json +1 -1
- package/dist/lib-pAMzV307.js.map +0 -1
|
@@ -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;
|