@flashist/appframework 0.0.141 → 0.0.143

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.
@@ -16,4 +16,4 @@ export declare const AppModuleInitialState: {
16
16
  };
17
17
  };
18
18
  };
19
- export declare type AppModuleState = typeof AppModuleInitialState;
19
+ export type AppModuleState = typeof AppModuleInitialState;
@@ -4,4 +4,4 @@ export declare const DebugModuleInitialState: {
4
4
  fconsole: Partial<IFConsoleConfigVO>;
5
5
  };
6
6
  };
7
- export declare type DebugModuleState = typeof DebugModuleInitialState;
7
+ export type DebugModuleState = typeof DebugModuleInitialState;
@@ -1,4 +1,4 @@
1
1
  export declare const DeviceModuleInitialState: {
2
2
  device: import("@flashist/flibs").IDeviceInfoVO;
3
3
  };
4
- export declare type DeviceModuleState = typeof DeviceModuleInitialState;
4
+ export type DeviceModuleState = typeof DeviceModuleInitialState;
@@ -11,4 +11,4 @@ export declare const SimpleButtonDefaultConfig: {
11
11
  export interface ISingleButtonStateConfig {
12
12
  alpha: number;
13
13
  }
14
- export declare type SimpleButtonConfig = Partial<typeof SimpleButtonDefaultConfig>;
14
+ export type SimpleButtonConfig = Partial<typeof SimpleButtonDefaultConfig>;
@@ -5,4 +5,4 @@ export interface ISimpleImageButtonStateVO {
5
5
  imageId?: string;
6
6
  alpha?: number;
7
7
  }
8
- export declare type SimpleImageButtonConfig = typeof SimpleImageButtonDefaultConfig;
8
+ export type SimpleImageButtonConfig = typeof SimpleImageButtonDefaultConfig;
@@ -1,2 +1,2 @@
1
1
  import { DisplayObjectContainer } from "@flashist/flibs";
2
- export declare type ILayoutableChild = DisplayObjectContainer;
2
+ export type ILayoutableChild = DisplayObjectContainer;
@@ -5,4 +5,4 @@ export declare const RenderComponentDefaultValue: {
5
5
  view: DisplayObject;
6
6
  containerId: string;
7
7
  };
8
- export declare type RenderComponent = typeof RenderComponentDefaultValue;
8
+ export type RenderComponent = typeof RenderComponentDefaultValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flashist/appframework",
3
- "version": "0.0.141",
3
+ "version": "0.0.143",
4
4
  "scripts": {
5
5
  "build": "gulp",
6
6
  "publish:patch": "npm version patch && npm run build && cd ./dist && npm publish",
@@ -11,4 +11,4 @@ export declare const PagesModuleInitialState: {
11
11
  };
12
12
  };
13
13
  };
14
- export declare type PagesModuleState = typeof PagesModuleInitialState;
14
+ export type PagesModuleState = typeof PagesModuleInitialState;
@@ -1,23 +1,23 @@
1
- declare type Writable<T, O> = T extends O ? T : {
1
+ type Writable<T, O> = T extends O ? T : {
2
2
  [P in keyof T as IfEquals<{
3
3
  [Q in P]: T[P];
4
4
  }, {
5
5
  -readonly [Q in P]: T[P];
6
6
  }, P>]: T[P];
7
7
  };
8
- declare type IfEquals<X, Y, A = X, B = never> = (<T>() => T extends X ? 1 : 2) extends (<T>() => T extends Y ? 1 : 2) ? A : B;
9
- declare type Cleanup<T> = 0 extends (1 & T) ? unknown : T extends readonly any[] ? (Exclude<keyof T, keyof any[]> extends never ? {
8
+ type IfEquals<X, Y, A = X, B = never> = (<T>() => T extends X ? 1 : 2) extends (<T>() => T extends Y ? 1 : 2) ? A : B;
9
+ type Cleanup<T> = 0 extends (1 & T) ? unknown : T extends readonly any[] ? (Exclude<keyof T, keyof any[]> extends never ? {
10
10
  [k: `${number}`]: T[number];
11
11
  } : Omit<T, keyof any[]>) : T;
12
- declare type PrefixKeys<V, K extends PropertyKey, O> = V extends O ? {
12
+ type PrefixKeys<V, K extends PropertyKey, O> = V extends O ? {
13
13
  [P in K]: V;
14
14
  } : V extends object ? {
15
15
  [P in keyof V as `${Extract<K, string | number>}.${Extract<P, string | number>}`]: V[P];
16
16
  } : {
17
17
  [P in K]: V;
18
18
  };
19
- declare type ValueOf<T> = T[keyof T];
20
- export declare type Flatten<T, O = never> = Writable<Cleanup<T>, O> extends infer U ? U extends O ? U : U extends object ? ValueOf<{
19
+ type ValueOf<T> = T[keyof T];
20
+ export type Flatten<T, O = never> = Writable<Cleanup<T>, O> extends infer U ? U extends O ? U : U extends object ? ValueOf<{
21
21
  [K in keyof U]-?: (x: PrefixKeys<Flatten<U[K], O>, K, O>) => void;
22
22
  }> | ((x: U) => void) extends (x: infer I) => void ? {
23
23
  [K in keyof I]: I[K];
@@ -1,3 +1,3 @@
1
- export declare type DeepReadonly<T> = T extends Function ? T : T extends object ? {
1
+ export type DeepReadonly<T> = T extends Function ? T : T extends object ? {
2
2
  readonly [K in keyof T]: DeepReadonly<T[K]>;
3
3
  } : T;
@@ -8,4 +8,4 @@ export declare const TimeModuleInitialAppState: {
8
8
  maxTimeDelta: number;
9
9
  };
10
10
  };
11
- export declare type TimeModuleAppState = typeof TimeModuleInitialAppState;
11
+ export type TimeModuleAppState = typeof TimeModuleInitialAppState;