@bluecopa/react 0.1.95 → 0.1.96
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/useCreateReconV2.d.ts +10 -0
- package/dist/hooks/useCreateReconV2.d.ts.map +1 -0
- package/dist/hooks/useDeleteReconV2.d.ts +9 -0
- package/dist/hooks/useDeleteReconV2.d.ts.map +1 -0
- package/dist/hooks/useGetAllReconV2.d.ts +10 -0
- package/dist/hooks/useGetAllReconV2.d.ts.map +1 -0
- package/dist/hooks/useGetReconV2CleanResult.d.ts +14 -0
- package/dist/hooks/useGetReconV2CleanResult.d.ts.map +1 -0
- package/dist/hooks/useGetReconV2Diff.d.ts +13 -0
- package/dist/hooks/useGetReconV2Diff.d.ts.map +1 -0
- package/dist/hooks/useGetReconV2Explanation.d.ts +13 -0
- package/dist/hooks/useGetReconV2Explanation.d.ts.map +1 -0
- package/dist/hooks/useGetReconV2ProfileResult.d.ts +14 -0
- package/dist/hooks/useGetReconV2ProfileResult.d.ts.map +1 -0
- package/dist/hooks/useGetReconV2RunResult.d.ts +12 -0
- package/dist/hooks/useGetReconV2RunResult.d.ts.map +1 -0
- package/dist/hooks/useGetReconV2SmartResult.d.ts +11 -0
- package/dist/hooks/useGetReconV2SmartResult.d.ts.map +1 -0
- package/dist/hooks/useReconV2RunStatus.d.ts +34 -0
- package/dist/hooks/useReconV2RunStatus.d.ts.map +1 -0
- package/dist/hooks/useRunReconV2.d.ts +12 -0
- package/dist/hooks/useRunReconV2.d.ts.map +1 -0
- package/dist/hooks/useStartReconV2Clean.d.ts +10 -0
- package/dist/hooks/useStartReconV2Clean.d.ts.map +1 -0
- package/dist/hooks/useStartReconV2Profile.d.ts +10 -0
- package/dist/hooks/useStartReconV2Profile.d.ts.map +1 -0
- package/dist/hooks/useUpdateReconV2.d.ts +10 -0
- package/dist/hooks/useUpdateReconV2.d.ts.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +692 -541
- package/package.json +5 -5
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { CreateReconV2Request, ReconV2Workflow } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for creating a recon v2 (SMART_RECONCILIATION) workflow using
|
|
5
|
+
* TanStack React Query
|
|
6
|
+
* @param options - Mutation options
|
|
7
|
+
* @returns useMutation for creating a recon v2 workflow
|
|
8
|
+
*/
|
|
9
|
+
export declare function useCreateReconV2(options?: {}): UseMutationResult<ReconV2Workflow, Error, CreateReconV2Request>;
|
|
10
|
+
//# sourceMappingURL=useCreateReconV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreateReconV2.d.ts","sourceRoot":"","sources":["../../src/hooks/useCreateReconV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAW,oBAAoB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEhF;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,KAAK,GACX,iBAAiB,CAAC,eAAe,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAOjE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { DeleteReconV2Request, DeleteReconV2Response } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for deleting a recon v2 workflow using TanStack React Query
|
|
5
|
+
* @param options - Mutation options
|
|
6
|
+
* @returns useMutation for deleting a recon v2 workflow
|
|
7
|
+
*/
|
|
8
|
+
export declare function useDeleteReconV2(options?: {}): UseMutationResult<DeleteReconV2Response, Error, DeleteReconV2Request>;
|
|
9
|
+
//# sourceMappingURL=useDeleteReconV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDeleteReconV2.d.ts","sourceRoot":"","sources":["../../src/hooks/useDeleteReconV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAEL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAExB;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,KAAK,GACX,iBAAiB,CAAC,qBAAqB,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAOvE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Workflow } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching all recon v2 (SMART_RECONCILIATION) workflows
|
|
5
|
+
* using TanStack React Query
|
|
6
|
+
* @param options - Query options including enabled state and cache settings
|
|
7
|
+
* @returns UseQueryResult with recon v2 workflows
|
|
8
|
+
*/
|
|
9
|
+
export declare function useGetAllReconV2(options?: {}): UseQueryResult<ReconV2Workflow[], Error>;
|
|
10
|
+
//# sourceMappingURL=useGetAllReconV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetAllReconV2.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetAllReconV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,KAAK,GACX,cAAc,CAAC,eAAe,EAAE,EAAE,KAAK,CAAC,CAQ1C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2CleanResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the dataset clean result of a recon v2 workflow
|
|
5
|
+
* side using TanStack React Query. The endpoint returns a "not found"
|
|
6
|
+
* message payload while the clean is still running — pass `refetchInterval`
|
|
7
|
+
* in options to poll.
|
|
8
|
+
* @param workflowId - The workflow ID
|
|
9
|
+
* @param side - 'left' (default) or 'right'
|
|
10
|
+
* @param options - Query options including enabled state and cache settings
|
|
11
|
+
* @returns UseQueryResult with the clean result
|
|
12
|
+
*/
|
|
13
|
+
export declare function useGetReconV2CleanResult(workflowId: string | null | undefined, side?: "left" | "right", options?: {}): UseQueryResult<ReconV2CleanResult, Error>;
|
|
14
|
+
//# sourceMappingURL=useGetReconV2CleanResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2CleanResult.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2CleanResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,IAAI,GAAE,MAAM,GAAG,OAAgB,EAC/B,OAAO,KAAK,GACX,cAAc,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAY3C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Diff } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the diff between a recon v2 run and a previous
|
|
5
|
+
* run using TanStack React Query
|
|
6
|
+
* @param runId - The current run ID
|
|
7
|
+
* @param workflowId - The workflow ID
|
|
8
|
+
* @param prevRunId - The previous run ID to compare against
|
|
9
|
+
* @param options - Query options including enabled state and cache settings
|
|
10
|
+
* @returns UseQueryResult with the run diff
|
|
11
|
+
*/
|
|
12
|
+
export declare function useGetReconV2Diff(runId: string | null | undefined, workflowId: string | null | undefined, prevRunId: string | null | undefined, options?: {}): UseQueryResult<ReconV2Diff, Error>;
|
|
13
|
+
//# sourceMappingURL=useGetReconV2Diff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2Diff.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2Diff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,KAAK,GACX,cAAc,CAAC,WAAW,EAAE,KAAK,CAAC,CAapC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Explanation } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the oracle explanation/analysis of a recon v2 run
|
|
5
|
+
* using TanStack React Query. Returns a message payload when no analysis is
|
|
6
|
+
* available yet.
|
|
7
|
+
* @param runId - The run ID
|
|
8
|
+
* @param workflowId - The workflow ID
|
|
9
|
+
* @param options - Query options including enabled state and cache settings
|
|
10
|
+
* @returns UseQueryResult with the oracle analysis
|
|
11
|
+
*/
|
|
12
|
+
export declare function useGetReconV2Explanation(runId: string | null | undefined, workflowId: string | null | undefined, options?: {}): UseQueryResult<ReconV2Explanation, Error>;
|
|
13
|
+
//# sourceMappingURL=useGetReconV2Explanation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2Explanation.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2Explanation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,OAAO,KAAK,GACX,cAAc,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAY3C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2ProfileResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the data profile result of a recon v2 workflow
|
|
5
|
+
* side using TanStack React Query. The endpoint returns a "not found"
|
|
6
|
+
* message payload while the profile is still being computed — pass
|
|
7
|
+
* `refetchInterval` in options to poll.
|
|
8
|
+
* @param workflowId - The workflow ID
|
|
9
|
+
* @param side - 'left' (default) or 'right'
|
|
10
|
+
* @param options - Query options including enabled state and cache settings
|
|
11
|
+
* @returns UseQueryResult with the profile result
|
|
12
|
+
*/
|
|
13
|
+
export declare function useGetReconV2ProfileResult(workflowId: string | null | undefined, side?: "left" | "right", options?: {}): UseQueryResult<ReconV2ProfileResult, Error>;
|
|
14
|
+
//# sourceMappingURL=useGetReconV2ProfileResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2ProfileResult.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2ProfileResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,IAAI,GAAE,MAAM,GAAG,OAAgB,EAC/B,OAAO,KAAK,GACX,cAAc,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAY7C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2RunResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the metadata/status of a recon v2 run using
|
|
5
|
+
* TanStack React Query. Pass `refetchInterval` in options to poll until the
|
|
6
|
+
* run reaches a terminal status.
|
|
7
|
+
* @param runId - The run ID returned by useRunReconV2
|
|
8
|
+
* @param options - Query options including enabled state and cache settings
|
|
9
|
+
* @returns UseQueryResult with the run metadata/status
|
|
10
|
+
*/
|
|
11
|
+
export declare function useGetReconV2RunResult(runId: string | null | undefined, options?: {}): UseQueryResult<ReconV2RunResult, Error>;
|
|
12
|
+
//# sourceMappingURL=useGetReconV2RunResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2RunResult.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2RunResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,OAAO,KAAK,GACX,cAAc,CAAC,gBAAgB,EAAE,KAAK,CAAC,CASzC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { GetReconV2SmartResultRequest, ReconV2SmartResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the detailed smart result data of a recon v2 run
|
|
5
|
+
* (matched/unmatched/exception records) using TanStack React Query
|
|
6
|
+
* @param params - The request parameters (runId + workflowId required)
|
|
7
|
+
* @param options - Query options including enabled state and cache settings
|
|
8
|
+
* @returns UseQueryResult with the detailed result data
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetReconV2SmartResult(params: Partial<GetReconV2SmartResultRequest>, options?: {}): UseQueryResult<ReconV2SmartResult, Error>;
|
|
11
|
+
//# sourceMappingURL=useGetReconV2SmartResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2SmartResult.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetReconV2SmartResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEtE,OAAO,KAAK,EACV,4BAA4B,EAC5B,kBAAkB,EACnB,MAAM,gBAAgB,CAAC;AAExB;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,OAAO,CAAC,4BAA4B,CAAC,EAC7C,OAAO,KAAK,GACX,cAAc,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAmB3C"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface ReconV2RunStatusPayload {
|
|
2
|
+
workflowId?: string;
|
|
3
|
+
runId?: string;
|
|
4
|
+
startedAt?: string;
|
|
5
|
+
finishedAt?: string;
|
|
6
|
+
status?: string;
|
|
7
|
+
artifactLocation?: string;
|
|
8
|
+
runType?: string;
|
|
9
|
+
matchConfigId?: string;
|
|
10
|
+
errorMessages?: string[];
|
|
11
|
+
error?: string;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface UseReconV2RunStatusOptions {
|
|
15
|
+
/** Called once when the run reaches a terminal status (SUCCEEDED/FAILED) */
|
|
16
|
+
onComplete?: (payload: ReconV2RunStatusPayload) => void;
|
|
17
|
+
}
|
|
18
|
+
export interface UseReconV2RunStatusResult {
|
|
19
|
+
/** Latest run-status payload received over the websocket */
|
|
20
|
+
data: ReconV2RunStatusPayload | undefined;
|
|
21
|
+
/** True once the run reached SUCCEEDED or FAILED */
|
|
22
|
+
isTerminal: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Custom hook for receiving recon v2 run status pushes over the websocket.
|
|
26
|
+
* Requires a websocket provider in the core config — create one via
|
|
27
|
+
* copaUtils.websocketUtils.WebsocketContextFactory.create(...) and pass it
|
|
28
|
+
* to copaSetConfig({ websocketProvider }). No-op when no provider is set.
|
|
29
|
+
* @param runId - The run ID returned by useRunReconV2
|
|
30
|
+
* @param options - onComplete callback for terminal statuses
|
|
31
|
+
* @returns The latest run-status payload and a terminal flag
|
|
32
|
+
*/
|
|
33
|
+
export declare function useReconV2RunStatus(runId: string | null | undefined, options?: UseReconV2RunStatusOptions): UseReconV2RunStatusResult;
|
|
34
|
+
//# sourceMappingURL=useReconV2RunStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2RunStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useReconV2RunStatus.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,4EAA4E;IAC5E,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,IAAI,CAAC;CACzD;AAED,MAAM,WAAW,yBAAyB;IACxC,4DAA4D;IAC5D,IAAI,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC1C,oDAAoD;IACpD,UAAU,EAAE,OAAO,CAAC;CACrB;AAID;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,OAAO,GAAE,0BAA+B,GACvC,yBAAyB,CAkD3B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { RunReconV2Request, RunReconV2Response } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for running a recon v2 workflow (RUN or TEST mode, optionally
|
|
5
|
+
* with a manual match config) using TanStack React Query.
|
|
6
|
+
* The response includes the runId — use it with useGetReconV2RunResult or
|
|
7
|
+
* useReconV2RunStatus to follow the run.
|
|
8
|
+
* @param options - Mutation options
|
|
9
|
+
* @returns useMutation for running a recon v2 workflow
|
|
10
|
+
*/
|
|
11
|
+
export declare function useRunReconV2(options?: {}): UseMutationResult<RunReconV2Response, Error, RunReconV2Request>;
|
|
12
|
+
//# sourceMappingURL=useRunReconV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRunReconV2.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunReconV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAW,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEhF;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,OAAO,KAAK,GACX,iBAAiB,CAAC,kBAAkB,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAOjE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2CleanResult, StartReconV2CleanRequest } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for starting dataset cleaning on one side of a recon v2
|
|
5
|
+
* workflow using TanStack React Query
|
|
6
|
+
* @param options - Mutation options
|
|
7
|
+
* @returns useMutation for starting a recon v2 clean
|
|
8
|
+
*/
|
|
9
|
+
export declare function useStartReconV2Clean(options?: {}): UseMutationResult<ReconV2CleanResult, Error, StartReconV2CleanRequest>;
|
|
10
|
+
//# sourceMappingURL=useStartReconV2Clean.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStartReconV2Clean.d.ts","sourceRoot":"","sources":["../../src/hooks/useStartReconV2Clean.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAEL,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AAExB;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,KAAK,GACX,iBAAiB,CAAC,kBAAkB,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAOxE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2ProfileRequest, ReconV2ProfileResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for starting data profiling on one side of a recon v2 workflow
|
|
5
|
+
* using TanStack React Query
|
|
6
|
+
* @param options - Mutation options
|
|
7
|
+
* @returns useMutation for starting a recon v2 profile
|
|
8
|
+
*/
|
|
9
|
+
export declare function useStartReconV2Profile(options?: {}): UseMutationResult<ReconV2ProfileResult, Error, ReconV2ProfileRequest>;
|
|
10
|
+
//# sourceMappingURL=useStartReconV2Profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStartReconV2Profile.d.ts","sourceRoot":"","sources":["../../src/hooks/useStartReconV2Profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAEL,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,gBAAgB,CAAC;AAExB;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,KAAK,GACX,iBAAiB,CAAC,oBAAoB,EAAE,KAAK,EAAE,qBAAqB,CAAC,CAOvE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Workflow, UpdateReconV2Request } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for updating (saving) a recon v2 workflow config using
|
|
5
|
+
* TanStack React Query
|
|
6
|
+
* @param options - Mutation options
|
|
7
|
+
* @returns useMutation for updating a recon v2 workflow
|
|
8
|
+
*/
|
|
9
|
+
export declare function useUpdateReconV2(options?: {}): UseMutationResult<ReconV2Workflow, Error, UpdateReconV2Request>;
|
|
10
|
+
//# sourceMappingURL=useUpdateReconV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateReconV2.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdateReconV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAW,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAEhF;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,KAAK,GACX,iBAAiB,CAAC,eAAe,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAOjE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -56,6 +56,20 @@ export * from './hooks/useGetAuditLogs';
|
|
|
56
56
|
export * from './hooks/useCreateAuditLog';
|
|
57
57
|
export * from './hooks/useGetAllTemplatedPipelines';
|
|
58
58
|
export * from './hooks/useGetAllRecon';
|
|
59
|
+
export * from './hooks/useCreateReconV2';
|
|
60
|
+
export * from './hooks/useUpdateReconV2';
|
|
61
|
+
export * from './hooks/useDeleteReconV2';
|
|
62
|
+
export * from './hooks/useRunReconV2';
|
|
63
|
+
export * from './hooks/useGetAllReconV2';
|
|
64
|
+
export * from './hooks/useGetReconV2RunResult';
|
|
65
|
+
export * from './hooks/useGetReconV2SmartResult';
|
|
66
|
+
export * from './hooks/useStartReconV2Profile';
|
|
67
|
+
export * from './hooks/useGetReconV2ProfileResult';
|
|
68
|
+
export * from './hooks/useStartReconV2Clean';
|
|
69
|
+
export * from './hooks/useGetReconV2CleanResult';
|
|
70
|
+
export * from './hooks/useGetReconV2Diff';
|
|
71
|
+
export * from './hooks/useGetReconV2Explanation';
|
|
72
|
+
export * from './hooks/useReconV2RunStatus';
|
|
59
73
|
export * from './hooks/useGetAllUsers';
|
|
60
74
|
export * from './hooks/useGetAllHttpTriggers';
|
|
61
75
|
export * from './hooks/useMarkTaskDone';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cA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