narrat 3.9.0 → 3.9.1
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/config/common-config.d.ts +10 -0
- package/dist/config/config-input.d.ts +8 -0
- package/dist/data/all-stores.d.ts +20 -0
- package/dist/narrat.es.js +2743 -2735
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +44 -44
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/main-store.d.ts +16 -0
- package/dist/utils/data-helpers.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Static } from '@sinclair/typebox';
|
|
2
2
|
import { LayoutConfig } from './layout-config';
|
|
3
3
|
import { SettingsConfig } from './settings-config';
|
|
4
|
+
export declare const HotkeysConfigSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
5
|
+
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
6
|
+
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
+
}>>;
|
|
8
|
+
export type HotkeysConfig = Static<typeof HotkeysConfigSchema>;
|
|
4
9
|
export declare const DialogPanelConfigSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
5
10
|
animateText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
6
11
|
textSpeed: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -234,6 +239,10 @@ export declare const CommonConfigInputSchema: import("@sinclair/typebox").TObjec
|
|
|
234
239
|
runOnReload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
235
240
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
236
241
|
}>>;
|
|
242
|
+
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
243
|
+
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
244
|
+
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
245
|
+
}>>;
|
|
237
246
|
}>;
|
|
238
247
|
export type CommonConfigInput = Static<typeof CommonConfigInputSchema>;
|
|
239
248
|
export interface CommonConfig {
|
|
@@ -258,5 +267,6 @@ export interface CommonConfig {
|
|
|
258
267
|
menuButtons: MenuButtonsConfig;
|
|
259
268
|
debugging: DebuggingConfig;
|
|
260
269
|
saves: SavesConfig;
|
|
270
|
+
hotkeys: HotkeysConfig;
|
|
261
271
|
}
|
|
262
272
|
export declare const defaultCommonConfig: CommonConfig;
|
|
@@ -678,6 +678,10 @@ export declare const ConfigInputSchemaWithCommon: import("@sinclair/typebox").TI
|
|
|
678
678
|
runOnReload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
679
679
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
680
680
|
}>>;
|
|
681
|
+
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
682
|
+
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
683
|
+
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
684
|
+
}>>;
|
|
681
685
|
}>;
|
|
682
686
|
}>]>;
|
|
683
687
|
export type ConfigInputWithCommon = Static<typeof ConfigInputSchemaWithCommon>;
|
|
@@ -1490,6 +1494,10 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TUnion<[impo
|
|
|
1490
1494
|
runOnReload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1491
1495
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1492
1496
|
}>>;
|
|
1497
|
+
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1498
|
+
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1499
|
+
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1500
|
+
}>>;
|
|
1493
1501
|
}>;
|
|
1494
1502
|
}>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
1495
1503
|
screens: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
@@ -462,6 +462,10 @@ export declare const sourceAllStores: {
|
|
|
462
462
|
slots: number;
|
|
463
463
|
mode: string;
|
|
464
464
|
} | undefined;
|
|
465
|
+
hotkeys?: {
|
|
466
|
+
debugMenu?: string | undefined;
|
|
467
|
+
jumpMenu?: string | undefined;
|
|
468
|
+
} | undefined;
|
|
465
469
|
gameTitle: string;
|
|
466
470
|
saveFileName: string;
|
|
467
471
|
layout: {
|
|
@@ -1110,6 +1114,10 @@ export declare const sourceAllStores: {
|
|
|
1110
1114
|
slots: number;
|
|
1111
1115
|
mode: string;
|
|
1112
1116
|
} | undefined;
|
|
1117
|
+
hotkeys?: {
|
|
1118
|
+
debugMenu?: string | undefined;
|
|
1119
|
+
jumpMenu?: string | undefined;
|
|
1120
|
+
} | undefined;
|
|
1113
1121
|
gameTitle: string;
|
|
1114
1122
|
saveFileName: string;
|
|
1115
1123
|
layout: {
|
|
@@ -1758,6 +1766,10 @@ export declare const sourceAllStores: {
|
|
|
1758
1766
|
slots: number;
|
|
1759
1767
|
mode: string;
|
|
1760
1768
|
} | undefined;
|
|
1769
|
+
hotkeys?: {
|
|
1770
|
+
debugMenu?: string | undefined;
|
|
1771
|
+
jumpMenu?: string | undefined;
|
|
1772
|
+
} | undefined;
|
|
1761
1773
|
gameTitle: string;
|
|
1762
1774
|
saveFileName: string;
|
|
1763
1775
|
layout: {
|
|
@@ -2406,6 +2418,10 @@ export declare const sourceAllStores: {
|
|
|
2406
2418
|
slots: number;
|
|
2407
2419
|
mode: string;
|
|
2408
2420
|
} | undefined;
|
|
2421
|
+
hotkeys?: {
|
|
2422
|
+
debugMenu?: string | undefined;
|
|
2423
|
+
jumpMenu?: string | undefined;
|
|
2424
|
+
} | undefined;
|
|
2409
2425
|
gameTitle: string;
|
|
2410
2426
|
saveFileName: string;
|
|
2411
2427
|
layout: {
|
|
@@ -2854,6 +2870,10 @@ export declare const sourceAllStores: {
|
|
|
2854
2870
|
slots?: number | undefined;
|
|
2855
2871
|
mode?: string | undefined;
|
|
2856
2872
|
} | undefined;
|
|
2873
|
+
hotkeys?: {
|
|
2874
|
+
debugMenu?: string | undefined;
|
|
2875
|
+
jumpMenu?: string | undefined;
|
|
2876
|
+
} | undefined;
|
|
2857
2877
|
} | undefined;
|
|
2858
2878
|
screens?: {
|
|
2859
2879
|
screens?: {
|