narrat 3.11.0 → 3.11.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/config/common-config.d.ts +2 -0
- package/dist/config/config-input.d.ts +2 -0
- package/dist/data/all-stores.d.ts +6 -0
- package/dist/narrat.es.js +360 -355
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +17 -17
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/main-store.d.ts +4 -0
- package/dist/stores/scenes-store.d.ts +1 -0
- package/dist/utils/data-helpers.d.ts +1 -0
- package/package.json +1 -1
|
@@ -109,6 +109,7 @@ export declare const defaultScriptsConfig: never[];
|
|
|
109
109
|
export declare const ScenesConfigSchema: import("@sinclair/typebox").TObject<{
|
|
110
110
|
startMenuScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
111
111
|
gameScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
112
|
+
gameSplashScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
112
113
|
}>;
|
|
113
114
|
export type ScenesConfig = Static<typeof ScenesConfigSchema>;
|
|
114
115
|
export declare const CommonConfigInputSchema: import("@sinclair/typebox").TObject<{
|
|
@@ -245,6 +246,7 @@ export declare const CommonConfigInputSchema: import("@sinclair/typebox").TObjec
|
|
|
245
246
|
scenes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
246
247
|
startMenuScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
247
248
|
gameScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
249
|
+
gameSplashScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
248
250
|
}>>;
|
|
249
251
|
}>;
|
|
250
252
|
export type CommonConfigInput = Static<typeof CommonConfigInputSchema>;
|
|
@@ -704,6 +704,7 @@ export declare const ConfigInputSchemaWithCommon: import("@sinclair/typebox").TI
|
|
|
704
704
|
scenes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
705
705
|
startMenuScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
706
706
|
gameScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
707
|
+
gameSplashScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
707
708
|
}>>;
|
|
708
709
|
}>;
|
|
709
710
|
}>]>;
|
|
@@ -1543,6 +1544,7 @@ export declare const ConfigInputSchema: import("@sinclair/typebox").TUnion<[impo
|
|
|
1543
1544
|
scenes: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
1544
1545
|
startMenuScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1545
1546
|
gameScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1547
|
+
gameSplashScene: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
1546
1548
|
}>>;
|
|
1547
1549
|
}>;
|
|
1548
1550
|
}>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
|
|
@@ -482,6 +482,7 @@ export declare const sourceAllStores: {
|
|
|
482
482
|
scenes?: {
|
|
483
483
|
startMenuScene?: string | undefined;
|
|
484
484
|
gameScene?: string | undefined;
|
|
485
|
+
gameSplashScene?: string | undefined;
|
|
485
486
|
} | undefined;
|
|
486
487
|
gameTitle: string;
|
|
487
488
|
saveFileName: string;
|
|
@@ -1151,6 +1152,7 @@ export declare const sourceAllStores: {
|
|
|
1151
1152
|
scenes?: {
|
|
1152
1153
|
startMenuScene?: string | undefined;
|
|
1153
1154
|
gameScene?: string | undefined;
|
|
1155
|
+
gameSplashScene?: string | undefined;
|
|
1154
1156
|
} | undefined;
|
|
1155
1157
|
gameTitle: string;
|
|
1156
1158
|
saveFileName: string;
|
|
@@ -1820,6 +1822,7 @@ export declare const sourceAllStores: {
|
|
|
1820
1822
|
scenes?: {
|
|
1821
1823
|
startMenuScene?: string | undefined;
|
|
1822
1824
|
gameScene?: string | undefined;
|
|
1825
|
+
gameSplashScene?: string | undefined;
|
|
1823
1826
|
} | undefined;
|
|
1824
1827
|
gameTitle: string;
|
|
1825
1828
|
saveFileName: string;
|
|
@@ -2489,6 +2492,7 @@ export declare const sourceAllStores: {
|
|
|
2489
2492
|
scenes?: {
|
|
2490
2493
|
startMenuScene?: string | undefined;
|
|
2491
2494
|
gameScene?: string | undefined;
|
|
2495
|
+
gameSplashScene?: string | undefined;
|
|
2492
2496
|
} | undefined;
|
|
2493
2497
|
gameTitle: string;
|
|
2494
2498
|
saveFileName: string;
|
|
@@ -2944,6 +2948,7 @@ export declare const sourceAllStores: {
|
|
|
2944
2948
|
scenes?: {
|
|
2945
2949
|
startMenuScene?: string | undefined;
|
|
2946
2950
|
gameScene?: string | undefined;
|
|
2951
|
+
gameSplashScene?: string | undefined;
|
|
2947
2952
|
} | undefined;
|
|
2948
2953
|
} | undefined;
|
|
2949
2954
|
screens?: {
|
|
@@ -3982,6 +3987,7 @@ export declare const sourceAllStores: {
|
|
|
3982
3987
|
getSceneConfig(sceneId: string): import("../lib").SceneConfig;
|
|
3983
3988
|
onEngineSplashFinished(): void;
|
|
3984
3989
|
finishedScene(sceneId: string): void;
|
|
3990
|
+
goToGameSplashScene(): void;
|
|
3985
3991
|
goToStartMenuScene(): void;
|
|
3986
3992
|
goToGameScene(): void;
|
|
3987
3993
|
addNewScene(sceneConfig: import("../lib").SceneConfig): void;
|