@posx/core 5.5.132 → 5.5.133
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/build/index.d.ts +5 -0
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -291,6 +291,11 @@ declare module '@posx/core/service.factory' {
|
|
|
291
291
|
dataSource: Dexie;
|
|
292
292
|
private status;
|
|
293
293
|
constructor(options: IServiceOptions, win: any, withoutDbInit?: boolean);
|
|
294
|
+
/**
|
|
295
|
+
* Static factory method to create and initialize a ServiceFactory instance
|
|
296
|
+
* Use this instead of constructor + separate init call for proper async handling
|
|
297
|
+
*/
|
|
298
|
+
static init(options: IServiceOptions, win: any, withoutDbInit?: boolean): Promise<ServiceFactory>;
|
|
294
299
|
initializeDatabase(): Promise<Dexie>;
|
|
295
300
|
dropDatabase(): Promise<void>;
|
|
296
301
|
clearTableData(tableName: string): import("dexie").PromiseExtended<void>;
|