@flashist/appframework 0.0.235 → 0.0.236

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.
@@ -1,4 +1,3 @@
1
- import { Rectangle } from "pixi.js";
2
1
  export declare const AppModuleInitialState: {
3
2
  app: {
4
3
  debug: boolean;
@@ -7,13 +6,20 @@ export declare const AppModuleInitialState: {
7
6
  sessionDuration: number;
8
7
  totalUsageDuration: number;
9
8
  previousSessionTotalUsageTime: number;
10
- config: {
11
- appName: any;
12
- appVersion: any;
13
- files: any;
14
- targetFps: any;
15
- sizeArea: Rectangle;
16
- };
9
+ config: IAppConfigVO;
17
10
  };
18
11
  };
19
12
  export type AppModuleState = typeof AppModuleInitialState;
13
+ export interface IAppConfigVO {
14
+ appName: string;
15
+ appVersion: number;
16
+ files: any[];
17
+ supportedLocales?: string[];
18
+ targetFps?: number;
19
+ sizeArea: {
20
+ x: number;
21
+ y: number;
22
+ width: number;
23
+ height: number;
24
+ };
25
+ }
@@ -11,6 +11,7 @@ export const AppModuleInitialState = {
11
11
  appVersion: null,
12
12
  files: null,
13
13
  // locale: null,
14
+ supportedLocales: null,
14
15
  targetFps: null,
15
16
  sizeArea: {
16
17
  x: 0,
@@ -1 +1 @@
1
- {"version":3,"file":"AppModuleState.js","sourceRoot":"","sources":["../../../../src/app/data/state/AppModuleState.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,GAAG,EAAE;QACD,KAAK,EAAE,KAAK;QAEZ,gBAAgB,EAAE,CAAC;QAEnB,gBAAgB,EAAE,CAAC;QACnB,eAAe,EAAE,CAAC;QAElB,kBAAkB,EAAE,CAAC;QACrB,6BAA6B,EAAE,CAAC;QAEhC,MAAM,EAAE;YACJ,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,IAAI;YACX,gBAAgB;YAChB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE;gBACN,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,CAAC;gBACJ,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACF;SACjB;KACJ;CACJ,CAAC"}
1
+ {"version":3,"file":"AppModuleState.js","sourceRoot":"","sources":["../../../../src/app/data/state/AppModuleState.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,GAAG,EAAE;QACD,KAAK,EAAE,KAAK;QAEZ,gBAAgB,EAAE,CAAC;QAEnB,gBAAgB,EAAE,CAAC;QACnB,eAAe,EAAE,CAAC;QAElB,kBAAkB,EAAE,CAAC;QACrB,6BAA6B,EAAE,CAAC;QAEhC,MAAM,EAAE;YACJ,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,IAAI;YACX,gBAAgB;YAChB,gBAAgB,EAAE,IAAI;YACtB,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE;gBACN,CAAC,EAAE,CAAC;gBACJ,CAAC,EAAE,CAAC;gBACJ,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACF;SACD;KACpB;CACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashist/appframework",
3
- "version": "0.0.235",
3
+ "version": "0.0.236",
4
4
  "scripts": {
5
5
  "build": "gulp",
6
6
  "publish:patch": "npm version patch && npm run build && cd ./dist && npm publish",
@@ -3,7 +3,7 @@ import { BaseObjectWithGlobalDispatcher } from "../../base/BaseObjectWithGlobalD
3
3
  import { IDeepKeyHelperVO } from "../tools/INestedPathHelperVO";
4
4
  import { DeepReadonly } from "./DeepReadableTypings";
5
5
  import { IPreChangeHook } from "./IPreChangeHook";
6
- import { IAppStateChangeConfigVO } from "./IappStateChangeConfigVO";
6
+ import { IAppStateChangeConfigVO } from "./IAppStateChangeConfigVO";
7
7
  import { DeepPartial } from "./DeepPartialTypings";
8
8
  export declare class AppStateStorage extends BaseObjectWithGlobalDispatcher {
9
9
  /**