@bluecopa/react 0.1.20 → 0.1.21
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/hooks/useCreateAuditLog.d.ts +1 -17
- package/dist/hooks/useCreateAuditLog.d.ts.map +1 -1
- package/dist/hooks/useFileUpload.d.ts +1 -10
- package/dist/hooks/useFileUpload.d.ts.map +1 -1
- package/dist/hooks/useGetFormById.d.ts.map +1 -1
- package/dist/hooks/useRunRecon.d.ts +1 -10
- package/dist/hooks/useRunRecon.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
source: 'UI' | 'BACKEND';
|
|
4
|
-
userId: string;
|
|
5
|
-
entityId: string;
|
|
6
|
-
entityType: string;
|
|
7
|
-
entitySubType?: string;
|
|
8
|
-
action: 'CREATE' | 'UPDATE' | 'DELETE';
|
|
9
|
-
oldValue?: string;
|
|
10
|
-
newValue?: string;
|
|
11
|
-
additionalDetails?: any;
|
|
12
|
-
eventType: 'WORKFLOW' | 'API' | 'PROCESS' | 'DELEGATED_TASK';
|
|
13
|
-
eventId: string;
|
|
14
|
-
eventTimestamp: string;
|
|
15
|
-
}
|
|
16
|
-
export interface CreateAuditLogRequest {
|
|
17
|
-
auditRecords: AuditRecord[];
|
|
18
|
-
}
|
|
2
|
+
import { CreateAuditLogRequest } from '@bluecopa/core';
|
|
19
3
|
export interface CreateAuditLogResponse {
|
|
20
4
|
success: boolean;
|
|
21
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateAuditLog.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateAuditLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useCreateAuditLog.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateAuditLog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAW,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAGhE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,KAAK,GACX,iBAAiB,CAAC,sBAAsB,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAOzE"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
path?: string;
|
|
4
|
-
contentType?: string;
|
|
5
|
-
method?: string;
|
|
6
|
-
data: any;
|
|
7
|
-
uploadType?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface FileUploadResponse {
|
|
10
|
-
fileId: string;
|
|
11
|
-
}
|
|
2
|
+
import { FileUploadRequest, FileUploadResponse } from '@bluecopa/core';
|
|
12
3
|
/**
|
|
13
4
|
* Custom hook for uploading files to S3 using TanStack React Query
|
|
14
5
|
* @param options - Mutation options
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFileUpload.d.ts","sourceRoot":"","sources":["../../src/hooks/useFileUpload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useFileUpload.d.ts","sourceRoot":"","sources":["../../src/hooks/useFileUpload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAW,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEhF;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,OAAO,KAAK,GACX,iBAAiB,CAAC,kBAAkB,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAQjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetFormById.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetFormById.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useGetFormById.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetFormById.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,OAAO,KAAK,GACX,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CAY5B"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
-
|
|
3
|
-
workflowId: string;
|
|
4
|
-
runId?: string;
|
|
5
|
-
fullRefresh?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface RunReconResponse {
|
|
8
|
-
success: boolean;
|
|
9
|
-
data?: any;
|
|
10
|
-
message?: string;
|
|
11
|
-
}
|
|
2
|
+
import { RunReconRequest, RunReconResponse } from '@bluecopa/core';
|
|
12
3
|
/**
|
|
13
4
|
* Custom hook for running a reconciliation workflow using TanStack React Query
|
|
14
5
|
* @param options - Mutation options
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRunRecon.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunRecon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useRunRecon.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunRecon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAW,eAAe,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,OAAO,KAAK,GACX,iBAAiB,CAAC,gBAAgB,EAAE,KAAK,EAAE,eAAe,CAAC,CAQ7D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluecopa/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "Bluecopa react library with TanStack Query integration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react-dom": ">=18.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@bluecopa/core": "0.1.
|
|
30
|
+
"@bluecopa/core": "0.1.19",
|
|
31
31
|
"@tanstack/react-query": "5.59.0",
|
|
32
32
|
"@tanstack/react-query-devtools": "5.59.0"
|
|
33
33
|
},
|