narrat 3.10.3 → 3.10.4
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 +2 -8
- package/dist/config/config-input.d.ts +2 -8
- package/dist/data/all-stores.d.ts +5 -18
- package/dist/inputs/Inputs.d.ts +1 -0
- package/dist/narrat.es.js +136 -131
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +21 -21
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/main-store.d.ts +4 -16
- package/dist/utils/data-helpers.d.ts +1 -4
- package/package.json +1 -1
|
@@ -1,10 +1,7 @@
|
|
|
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").
|
|
5
|
-
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
6
|
-
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
-
}>>;
|
|
4
|
+
export declare const HotkeysConfigSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TBoolean]>>>;
|
|
8
5
|
export type HotkeysConfig = Static<typeof HotkeysConfigSchema>;
|
|
9
6
|
export declare const DialogPanelConfigSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
10
7
|
animateText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -239,10 +236,7 @@ export declare const CommonConfigInputSchema: import("@sinclair/typebox").TObjec
|
|
|
239
236
|
runOnReload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
240
237
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
241
238
|
}>>;
|
|
242
|
-
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").
|
|
243
|
-
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
244
|
-
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
245
|
-
}>>;
|
|
239
|
+
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TBoolean]>>>;
|
|
246
240
|
}>;
|
|
247
241
|
export type CommonConfigInput = Static<typeof CommonConfigInputSchema>;
|
|
248
242
|
export interface CommonConfig {
|
|
@@ -700,10 +700,7 @@ export declare const ConfigInputSchemaWithCommon: import("@sinclair/typebox").TI
|
|
|
700
700
|
runOnReload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
701
701
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
702
702
|
}>>;
|
|
703
|
-
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").
|
|
704
|
-
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
705
|
-
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
706
|
-
}>>;
|
|
703
|
+
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TBoolean]>>>;
|
|
707
704
|
}>;
|
|
708
705
|
}>]>;
|
|
709
706
|
export type ConfigInputWithCommon = Static<typeof ConfigInputSchemaWithCommon>;
|
|
@@ -1538,10 +1535,7 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TUnion<[impo
|
|
|
1538
1535
|
runOnReload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1539
1536
|
disabled: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
1540
1537
|
}>>;
|
|
1541
|
-
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").
|
|
1542
|
-
debugMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1543
|
-
jumpMenu: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1544
|
-
}>>;
|
|
1538
|
+
hotkeys: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TBoolean]>>>;
|
|
1545
1539
|
}>;
|
|
1546
1540
|
}>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
1547
1541
|
screens: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
|
@@ -478,10 +478,7 @@ export declare const sourceAllStores: {
|
|
|
478
478
|
slots: number;
|
|
479
479
|
mode: string;
|
|
480
480
|
} | undefined;
|
|
481
|
-
hotkeys?:
|
|
482
|
-
debugMenu?: string | undefined;
|
|
483
|
-
jumpMenu?: string | undefined;
|
|
484
|
-
} | undefined;
|
|
481
|
+
hotkeys?: Record<string, string | boolean> | undefined;
|
|
485
482
|
gameTitle: string;
|
|
486
483
|
saveFileName: string;
|
|
487
484
|
layout: {
|
|
@@ -1146,10 +1143,7 @@ export declare const sourceAllStores: {
|
|
|
1146
1143
|
slots: number;
|
|
1147
1144
|
mode: string;
|
|
1148
1145
|
} | undefined;
|
|
1149
|
-
hotkeys?:
|
|
1150
|
-
debugMenu?: string | undefined;
|
|
1151
|
-
jumpMenu?: string | undefined;
|
|
1152
|
-
} | undefined;
|
|
1146
|
+
hotkeys?: Record<string, string | boolean> | undefined;
|
|
1153
1147
|
gameTitle: string;
|
|
1154
1148
|
saveFileName: string;
|
|
1155
1149
|
layout: {
|
|
@@ -1814,10 +1808,7 @@ export declare const sourceAllStores: {
|
|
|
1814
1808
|
slots: number;
|
|
1815
1809
|
mode: string;
|
|
1816
1810
|
} | undefined;
|
|
1817
|
-
hotkeys?:
|
|
1818
|
-
debugMenu?: string | undefined;
|
|
1819
|
-
jumpMenu?: string | undefined;
|
|
1820
|
-
} | undefined;
|
|
1811
|
+
hotkeys?: Record<string, string | boolean> | undefined;
|
|
1821
1812
|
gameTitle: string;
|
|
1822
1813
|
saveFileName: string;
|
|
1823
1814
|
layout: {
|
|
@@ -2482,10 +2473,7 @@ export declare const sourceAllStores: {
|
|
|
2482
2473
|
slots: number;
|
|
2483
2474
|
mode: string;
|
|
2484
2475
|
} | undefined;
|
|
2485
|
-
hotkeys?:
|
|
2486
|
-
debugMenu?: string | undefined;
|
|
2487
|
-
jumpMenu?: string | undefined;
|
|
2488
|
-
} | undefined;
|
|
2476
|
+
hotkeys?: Record<string, string | boolean> | undefined;
|
|
2489
2477
|
gameTitle: string;
|
|
2490
2478
|
saveFileName: string;
|
|
2491
2479
|
layout: {
|
|
@@ -2935,8 +2923,7 @@ export declare const sourceAllStores: {
|
|
|
2935
2923
|
mode?: string | undefined;
|
|
2936
2924
|
} | undefined;
|
|
2937
2925
|
hotkeys?: {
|
|
2938
|
-
|
|
2939
|
-
jumpMenu?: string | undefined;
|
|
2926
|
+
[x: string]: string | boolean | undefined;
|
|
2940
2927
|
} | undefined;
|
|
2941
2928
|
} | undefined;
|
|
2942
2929
|
screens?: {
|
package/dist/inputs/Inputs.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export declare class Inputs extends EventTarget {
|
|
|
100
100
|
previous: GamepadButton;
|
|
101
101
|
} | null;
|
|
102
102
|
debugGamepad(): void;
|
|
103
|
+
getKeybindKey(config: ButtonAction, keybind: ButtonKeybind): ButtonKeybind;
|
|
103
104
|
update(): void;
|
|
104
105
|
}
|
|
105
106
|
export declare const inputs: Inputs;
|