@techextensor/tab-core-utility 2.2.199 → 2.2.201
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/esm2022/index.mjs +4 -3
- package/esm2022/lib/tab-core-utility/app/constants/api-constants.mjs +3 -3
- package/esm2022/lib/tab-core-utility/app/constants/common.mjs +2 -1
- package/esm2022/lib/tab-core-utility/app/crud/tab-crud.service.mjs +8 -18
- package/esm2022/lib/tab-core-utility/app/crud/tab-delete.service.mjs +5 -11
- package/esm2022/lib/tab-core-utility/app/crud/tab-get.service.mjs +1 -3
- package/esm2022/lib/tab-core-utility/app/crud/tab-release.service.mjs +3 -3
- package/esm2022/lib/tab-core-utility/app/crud/tab-workflow.service.mjs +3 -22
- package/esm2022/lib/tab-core-utility/app/interfaces/notification.interface.mjs +52 -0
- package/esm2022/lib/tab-core-utility/app/interfaces/release.interface.mjs +1 -1
- package/esm2022/lib/tab-core-utility/core/service/notification/notification-inbox.service.mjs +299 -0
- package/esm2022/lib/tab-core-utility/core/service/notification/notification-websocket.service.mjs +220 -0
- package/esm2022/lib/tab-core-utility/core/service/signalr/operation-tracker.service.mjs +23 -6
- package/esm2022/lib/tab-core-utility/core/service/signalr/signalr-infrastructure.service.mjs +53 -7
- package/esm2022/lib/tab-core-utility/core/service/signalr/signalr.service.mjs +21 -5
- package/index.d.ts +3 -2
- package/lib/tab-core-utility/app/constants/api-constants.d.ts +2 -2
- package/lib/tab-core-utility/app/constants/common.d.ts +2 -0
- package/lib/tab-core-utility/app/crud/tab-crud.service.d.ts +0 -2
- package/lib/tab-core-utility/app/crud/tab-delete.service.d.ts +0 -1
- package/lib/tab-core-utility/app/crud/tab-get.service.d.ts +0 -1
- package/lib/tab-core-utility/app/crud/tab-workflow.service.d.ts +1 -16
- package/lib/tab-core-utility/app/interfaces/notification.interface.d.ts +156 -0
- package/lib/tab-core-utility/app/interfaces/release.interface.d.ts +49 -18
- package/lib/tab-core-utility/core/service/notification/notification-inbox.service.d.ts +87 -0
- package/lib/tab-core-utility/core/service/notification/notification-websocket.service.d.ts +57 -0
- package/lib/tab-core-utility/core/service/signalr/operation-tracker.service.d.ts +9 -1
- package/lib/tab-core-utility/core/service/signalr/signalr-infrastructure.service.d.ts +11 -0
- package/lib/tab-core-utility/core/service/signalr/signalr.service.d.ts +15 -3
- package/package.json +1 -1
- package/esm2022/lib/tab-core-utility/app/helpers/common/dsq.helpers.mjs +0 -67
- package/esm2022/lib/tab-core-utility/app/helpers/common/req-res.helpers.mjs +0 -44
- package/lib/tab-core-utility/app/helpers/common/dsq.helpers.d.ts +0 -35
- package/lib/tab-core-utility/app/helpers/common/req-res.helpers.d.ts +0 -34
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { APIBulkInsertFieldsValueSets, APIFilterCriteria } from '../../models/api-query.class';
|
|
2
|
-
import { QueryType } from '../../enums/query.enum';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RequestResponseHelper {
|
|
5
|
-
/**
|
|
6
|
-
* Generates the payload for inserting data into a table in bulk
|
|
7
|
-
* @param table The table name to insert data into
|
|
8
|
-
* @param whereClause The filter criteria for the insert operation
|
|
9
|
-
* @param value The value sets to be inserted
|
|
10
|
-
* @param fields Optional list of fields to include in the insert operation
|
|
11
|
-
* @returns The payload for the bulk insert operation
|
|
12
|
-
*/
|
|
13
|
-
bulkInsertPayload(table: string, whereClause: APIFilterCriteria, value: APIBulkInsertFieldsValueSets[], fields?: string[]): {
|
|
14
|
-
QueryObjectID: string;
|
|
15
|
-
QueryType: QueryType;
|
|
16
|
-
Joins: never[];
|
|
17
|
-
WhereClause: APIFilterCriteria;
|
|
18
|
-
Values: APIBulkInsertFieldsValueSets[];
|
|
19
|
-
Fields: string[] | undefined;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Generates the payload for deleting data from a table
|
|
23
|
-
* NEW: Returns new format for /records/delete endpoint
|
|
24
|
-
* @param tableName The table name (entityName) to delete data from
|
|
25
|
-
* @param whereClause The filter criteria for the delete operation (NEW format with lowercase)
|
|
26
|
-
* @returns The payload for the delete operation in NEW format
|
|
27
|
-
*/
|
|
28
|
-
deletePayload(tableName: string, whereClause: APIFilterCriteria): {
|
|
29
|
-
entityName: string;
|
|
30
|
-
whereClause: APIFilterCriteria;
|
|
31
|
-
};
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RequestResponseHelper, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RequestResponseHelper>;
|
|
34
|
-
}
|