esi-cap 1.7.36 → 1.7.37
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/index.js +1 -1
- package/dist/lib/_classes/index.js +1 -1
- package/dist/lib/_config/index.js +1 -1
- package/dist/lib/_interface/appender/index.js +1 -1
- package/dist/lib/_interface/file/index.js +1 -1
- package/dist/lib/_interface/formatter/index.js +1 -1
- package/dist/lib/_interface/index.js +1 -1
- package/dist/lib/_interface/layout/index.js +1 -1
- package/dist/lib/_interface/log/index.js +1 -1
- package/dist/lib/_interface/path/index.js +1 -1
- package/dist/lib/connect/index.js +1 -1
- package/dist/lib/impl/index.js +1 -1
- package/dist/lib/log/index.js +1 -1
- package/dist/lib/query/index.js +1 -1
- package/dist/lib/service/index.js +1 -1
- package/dist/lib/utils/index.js +1 -1
- package/package.json +1 -1
- package/types/lib/impl/index.d.ts +44 -4
- package/types/lib/impl/index.d.ts.map +1 -1
|
@@ -1,6 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* impl module
|
|
3
|
+
*/
|
|
4
|
+
export type ServiceEvents = import("../service").service.events;
|
|
5
|
+
export type ServiceEventInterceptor = (oService: object) => Promise<void>;
|
|
6
|
+
/**
|
|
7
|
+
* impl module
|
|
8
|
+
* @class
|
|
9
|
+
* @public
|
|
10
|
+
* @typedef {import('../service').service.events} ServiceEvents
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @callback ServiceEventInterceptor
|
|
14
|
+
* @param {object} oService - Service object for which request to be executed
|
|
15
|
+
* @returns {Promise<void>}
|
|
16
|
+
*/
|
|
17
|
+
export class impl {
|
|
18
|
+
/**
|
|
19
|
+
* @param {object} oService - Service object for which request to be executed
|
|
20
|
+
* @param {Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>} oEvent
|
|
21
|
+
* @returns {Promise<void>}
|
|
22
|
+
*/
|
|
23
|
+
static DBService(oService: object, oEvent: Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* @param {object} oService - Service object for which request to be executed
|
|
26
|
+
* @param {string} sServiceName - Service Name
|
|
27
|
+
* @param {Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>} oEvent
|
|
28
|
+
* @param {string|any[]} oLocalEntities
|
|
29
|
+
* @param {Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>} oRemoteEvent
|
|
30
|
+
* @param {string|any[]} [oRemoteEntities]
|
|
31
|
+
* @param {any[]} [oRemoteHandlers]
|
|
32
|
+
* @param {boolean} bRefreshUserContext
|
|
33
|
+
* @returns {Promise<void>}
|
|
34
|
+
*/
|
|
35
|
+
static LocalService(oService: object, sServiceName: string, oEvent?: Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>, oLocalEntities?: string | any[], oRemoteEvent?: Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>, oRemoteEntities?: string | any[], oRemoteHandlers?: any[], bRefreshUserContext?: boolean): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* @param {object} oService - Service object for which request to be executed
|
|
38
|
+
* @param {Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>} oEvent
|
|
39
|
+
* @param {string|any[]} oEntities
|
|
40
|
+
* @param {any[]} [oHandlers]
|
|
41
|
+
* @param {boolean} bRefreshUserContext
|
|
42
|
+
* @returns {Promise<void>}
|
|
43
|
+
*/
|
|
44
|
+
static RemoteService(oService: object, oEvent?: Partial<Record<keyof ServiceEvents, ServiceEventInterceptor>>, oEntities?: string | any[], oHandlers?: any[], bRefreshUserContext?: boolean): Promise<void>;
|
|
5
45
|
}
|
|
6
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.types/lib/impl/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../.types/lib/impl/index.js"],"names":[],"mappings":";;;4BAmBa,OAAO,YAAY,EAAE,OAAO,CAAC,MAAM;iDAKrC,MAAM,KACJ,OAAO,CAAC,IAAI,CAAC;AAV1B;;;;;GAKG;AAEH;;;;GAIG;AACH;IACI;;;;OAIG;IACH,2BAJW,MAAM,UACN,OAAO,CAAC,MAAM,CAAC,MAAM,aAAa,EAAE,uBAAuB,CAAC,CAAC,GAC3D,OAAO,CAAC,IAAI,CAAC,CAMzB;IAED;;;;;;;;;;OAUG;IACH,8BAVW,MAAM,gBACN,MAAM,WACN,OAAO,CAAC,MAAM,CAAC,MAAM,aAAa,EAAE,uBAAuB,CAAC,CAAC,mBAC7D,MAAM,GAAC,GAAG,EAAE,iBACZ,OAAO,CAAC,MAAM,CAAC,MAAM,aAAa,EAAE,uBAAuB,CAAC,CAAC,oBAC7D,MAAM,GAAC,GAAG,EAAE,oBACZ,GAAG,EAAE,wBACL,OAAO,GACL,OAAO,CAAC,IAAI,CAAC,CA0BzB;IAED;;;;;;;OAOG;IACH,+BAPW,MAAM,WACN,OAAO,CAAC,MAAM,CAAC,MAAM,aAAa,EAAE,uBAAuB,CAAC,CAAC,cAC7D,MAAM,GAAC,GAAG,EAAE,cACZ,GAAG,EAAE,wBACL,OAAO,GACL,OAAO,CAAC,IAAI,CAAC,CA8EzB;CACJ"}
|