@posx/core 5.5.38 → 5.5.41
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/LICENSE +21 -21
- package/README.md +85 -85
- package/package.json +1 -1
- package/package.publish.json +116 -116
- package/build/index.d.ts +0 -4693
- package/build/index.js +0 -1
- package/build/service.factory.d.ts +0 -35
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IServiceOptions } from './types/misc.type';
|
|
2
|
-
import { IAppRemoteService } from './services/abstract.service';
|
|
3
|
-
import Dexie from 'dexie';
|
|
4
|
-
export declare const dbSchemas: {
|
|
5
|
-
items: string;
|
|
6
|
-
sections: string;
|
|
7
|
-
section_items: string;
|
|
8
|
-
categories: string;
|
|
9
|
-
shifts: string;
|
|
10
|
-
tills: string;
|
|
11
|
-
employees: string;
|
|
12
|
-
payment_methods: string;
|
|
13
|
-
invoices: string;
|
|
14
|
-
configs: string;
|
|
15
|
-
reports: string;
|
|
16
|
-
printers: string;
|
|
17
|
-
print_jobs: string;
|
|
18
|
-
print_templates: string;
|
|
19
|
-
employee_roles: string;
|
|
20
|
-
order_displays: string;
|
|
21
|
-
};
|
|
22
|
-
export declare class ServiceFactory {
|
|
23
|
-
readonly options: IServiceOptions;
|
|
24
|
-
readonly win: any;
|
|
25
|
-
private mode;
|
|
26
|
-
private readonly http;
|
|
27
|
-
private dataSource;
|
|
28
|
-
private status;
|
|
29
|
-
constructor(options: IServiceOptions, win: any);
|
|
30
|
-
initializeDatabase(): Promise<Dexie>;
|
|
31
|
-
dropDatabase(): Promise<void>;
|
|
32
|
-
clearTableData(tableName: string): import("dexie").PromiseExtended<void>;
|
|
33
|
-
getService<T>(serviceClass: any): Promise<T>;
|
|
34
|
-
getServiceByName(modelName: string): Promise<IAppRemoteService<any>>;
|
|
35
|
-
}
|