epos 1.7.5 → 1.7.7
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/epos/epos.d.ts +2 -2
- package/package.json +1 -1
package/dist/epos/epos.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type Versioner = Record<number, (this: any, state: any) => void>;
|
|
|
11
11
|
export type ClassName = string | null | boolean | undefined | ClassName[];
|
|
12
12
|
export type ModelClass = new (...args: any[]) => any;
|
|
13
13
|
export type ConnectOptions<T extends Obj> = {
|
|
14
|
-
|
|
14
|
+
getInitialState?: () => T;
|
|
15
15
|
models?: Record<string, ModelClass>;
|
|
16
16
|
versioner?: Versioner;
|
|
17
17
|
};
|
|
@@ -99,7 +99,7 @@ export interface Epos {
|
|
|
99
99
|
};
|
|
100
100
|
assets: {
|
|
101
101
|
/** Get asset URL. Asset must be loaded first. */
|
|
102
|
-
url(path: string):
|
|
102
|
+
url(path: string): string;
|
|
103
103
|
/** Load asset by path. */
|
|
104
104
|
load(path: string): Promise<Blob>;
|
|
105
105
|
/** Load all assets. */
|