@bluecopa/react 0.1.98 → 0.1.100
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/reconV2/useGetReconV2Workflow.d.ts +11 -0
- package/dist/hooks/reconV2/useGetReconV2Workflow.d.ts.map +1 -0
- package/dist/hooks/reconV2/useReconV2Detail.d.ts +15 -0
- package/dist/hooks/reconV2/useReconV2Detail.d.ts.map +1 -0
- package/dist/hooks/reconV2/useReconV2Editor.d.ts +17 -0
- package/dist/hooks/reconV2/useReconV2Editor.d.ts.map +1 -0
- package/dist/hooks/reconV2/useReconV2List.d.ts +23 -0
- package/dist/hooks/reconV2/useReconV2List.d.ts.map +1 -0
- package/dist/hooks/reconV2/useReconV2Results.d.ts +32 -0
- package/dist/hooks/reconV2/useReconV2Results.d.ts.map +1 -0
- package/dist/hooks/reconV2/useReconV2RunController.d.ts +35 -0
- package/dist/hooks/reconV2/useReconV2RunController.d.ts.map +1 -0
- package/dist/hooks/useDatabox.d.ts +24 -0
- package/dist/hooks/useDatabox.d.ts.map +1 -0
- package/dist/hooks/useDropFileToDatabox.d.ts +14 -0
- package/dist/hooks/useDropFileToDatabox.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFile.d.ts +11 -0
- package/dist/hooks/useGetDataboxFile.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFileDownloadUrl.d.ts +12 -0
- package/dist/hooks/useGetDataboxFileDownloadUrl.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFileRuns.d.ts +11 -0
- package/dist/hooks/useGetDataboxFileRuns.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFileStatus.d.ts +12 -0
- package/dist/hooks/useGetDataboxFileStatus.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFolder.d.ts +11 -0
- package/dist/hooks/useGetDataboxFolder.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFolderDatasets.d.ts +12 -0
- package/dist/hooks/useGetDataboxFolderDatasets.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFolderDuplicates.d.ts +13 -0
- package/dist/hooks/useGetDataboxFolderDuplicates.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFolderFiles.d.ts +11 -0
- package/dist/hooks/useGetDataboxFolderFiles.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxFolderSchema.d.ts +11 -0
- package/dist/hooks/useGetDataboxFolderSchema.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxSchemaHistory.d.ts +11 -0
- package/dist/hooks/useGetDataboxSchemaHistory.d.ts.map +1 -0
- package/dist/hooks/useGetDataboxTrashFiles.d.ts +11 -0
- package/dist/hooks/useGetDataboxTrashFiles.d.ts.map +1 -0
- package/dist/hooks/useGetDatasetDuplicates.d.ts +13 -0
- package/dist/hooks/useGetDatasetDuplicates.d.ts.map +1 -0
- package/dist/hooks/useGetDatasetExceptions.d.ts +12 -0
- package/dist/hooks/useGetDatasetExceptions.d.ts.map +1 -0
- package/dist/hooks/useMetric.d.ts.map +1 -1
- package/dist/hooks/usePermanentDeleteDataboxFiles.d.ts +12 -0
- package/dist/hooks/usePermanentDeleteDataboxFiles.d.ts.map +1 -0
- package/dist/hooks/useReconV2Templates.d.ts +11 -0
- package/dist/hooks/useReconV2Templates.d.ts.map +1 -0
- package/dist/hooks/useRestoreDataboxFile.d.ts +10 -0
- package/dist/hooks/useRestoreDataboxFile.d.ts.map +1 -0
- package/dist/hooks/useRunDataboxFolder.d.ts +11 -0
- package/dist/hooks/useRunDataboxFolder.d.ts.map +1 -0
- package/dist/hooks/useRunPublishedDefinition.d.ts +2 -0
- package/dist/hooks/useRunPublishedDefinition.d.ts.map +1 -1
- package/dist/hooks/useTrashDataboxFiles.d.ts +13 -0
- package/dist/hooks/useTrashDataboxFiles.d.ts.map +1 -0
- package/dist/hooks/useUpdateDataboxFolderSchema.d.ts +10 -0
- package/dist/hooks/useUpdateDataboxFolderSchema.d.ts.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +997 -667
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Workflow } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the detail/config of a single recon v2 workflow by
|
|
5
|
+
* id (or its backing workbook id) using TanStack React Query.
|
|
6
|
+
* @param id - The workflow (or workbook) id
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the workflow
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetReconV2Workflow(id: string | null | undefined, options?: Omit<UseQueryOptions<ReconV2Workflow, Error>, "queryKey" | "queryFn">): UseQueryResult<ReconV2Workflow, Error>;
|
|
11
|
+
//# sourceMappingURL=useGetReconV2Workflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetReconV2Workflow.d.ts","sourceRoot":"","sources":["../../../src/hooks/reconV2/useGetReconV2Workflow.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,eAAe,EAAE,KAAK,CAAC,EACvC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC,CAUxC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Workflow } from '@bluecopa/core';
|
|
3
|
+
export interface UseReconV2DetailResult {
|
|
4
|
+
workflow: ReconV2Workflow | undefined;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
error: Error | null;
|
|
7
|
+
refetch: () => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Headless controller for the detail/config of a single recon v2 workflow.
|
|
11
|
+
* @param id - The workflow (or backing workbook) id
|
|
12
|
+
* @param options - Query options forwarded to the underlying query
|
|
13
|
+
*/
|
|
14
|
+
export declare function useReconV2Detail(id: string | null | undefined, options?: Omit<UseQueryOptions<ReconV2Workflow, Error>, "queryKey" | "queryFn">): UseReconV2DetailResult;
|
|
15
|
+
//# sourceMappingURL=useReconV2Detail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2Detail.d.ts","sourceRoot":"","sources":["../../../src/hooks/reconV2/useReconV2Detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC7B,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,eAAe,EAAE,KAAK,CAAC,EACvC,UAAU,GAAG,SAAS,CAClB,GACL,sBAAsB,CAQxB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CreateReconV2Request, ReconV2Workflow, UpdateReconV2Request } from '@bluecopa/core';
|
|
2
|
+
export interface UseReconV2EditorResult {
|
|
3
|
+
create: (params: CreateReconV2Request) => Promise<ReconV2Workflow>;
|
|
4
|
+
update: (params: UpdateReconV2Request) => Promise<ReconV2Workflow>;
|
|
5
|
+
/** True while either a create or update is in flight */
|
|
6
|
+
isSaving: boolean;
|
|
7
|
+
/** The most recent create/update error, if any */
|
|
8
|
+
error: Error | null;
|
|
9
|
+
/** The most recently created/updated workflow */
|
|
10
|
+
data: ReconV2Workflow | undefined;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Headless controller bundling recon v2 create + update into one editor API.
|
|
14
|
+
* `create`/`update` return promises (mutateAsync) so callers can await results.
|
|
15
|
+
*/
|
|
16
|
+
export declare function useReconV2Editor(): UseReconV2EditorResult;
|
|
17
|
+
//# sourceMappingURL=useReconV2Editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2Editor.d.ts","sourceRoot":"","sources":["../../../src/hooks/reconV2/useReconV2Editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACrB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACnE,MAAM,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,OAAO,CAAC,eAAe,CAAC,CAAC;IACnE,wDAAwD;IACxD,QAAQ,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,iDAAiD;IACjD,IAAI,EAAE,eAAe,GAAG,SAAS,CAAC;CACnC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,sBAAsB,CAWzD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2Workflow } from '@bluecopa/core';
|
|
3
|
+
export interface ReconV2ListFilter {
|
|
4
|
+
/** Key to filter on — supports dotted paths, e.g. "customFields.region" */
|
|
5
|
+
key: string;
|
|
6
|
+
/** Value the resolved key must strictly equal */
|
|
7
|
+
value: unknown;
|
|
8
|
+
}
|
|
9
|
+
export interface UseReconV2ListResult {
|
|
10
|
+
workflows: ReconV2Workflow[];
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
error: Error | null;
|
|
13
|
+
refetch: () => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Headless controller for listing recon v2 workflows, optionally filtered by a
|
|
17
|
+
* single key:value pair (filtered in-memory over the full SMART_RECONCILIATION
|
|
18
|
+
* list — supports dotted key paths like "customFields.x").
|
|
19
|
+
* @param filter - Optional { key, value } to match
|
|
20
|
+
* @param options - Query options forwarded to the underlying list query
|
|
21
|
+
*/
|
|
22
|
+
export declare function useReconV2List(filter?: ReconV2ListFilter, options?: Omit<UseQueryOptions<ReconV2Workflow[], Error>, "queryKey" | "queryFn">): UseReconV2ListResult;
|
|
23
|
+
//# sourceMappingURL=useReconV2List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2List.d.ts","sourceRoot":"","sources":["../../../src/hooks/reconV2/useReconV2List.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,GAAG,EAAE,MAAM,CAAC;IACZ,iDAAiD;IACjD,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAeD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,MAAM,CAAC,EAAE,iBAAiB,EAC1B,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,eAAe,EAAE,EAAE,KAAK,CAAC,EACzC,UAAU,GAAG,SAAS,CAClB,GACL,oBAAoB,CAetB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReconV2RunResult } from '@bluecopa/core';
|
|
2
|
+
export interface UseReconV2ResultsParams {
|
|
3
|
+
runId: string | null | undefined;
|
|
4
|
+
workflowId: string | null | undefined;
|
|
5
|
+
/** Scope records to a single exception type (e.g. "amount_mismatch") */
|
|
6
|
+
exceptionType?: string;
|
|
7
|
+
ruleFilter?: string;
|
|
8
|
+
orderBy?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ReconV2ResultColumn {
|
|
11
|
+
name: string;
|
|
12
|
+
data_type?: string;
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
export interface UseReconV2ResultsResult {
|
|
16
|
+
/** Run metadata/status + summary */
|
|
17
|
+
runResult: ReconV2RunResult | undefined;
|
|
18
|
+
/** Detail records (matched/unmatched/exceptions, scoped by exceptionType) */
|
|
19
|
+
records: Array<Record<string, any>>;
|
|
20
|
+
/** Column schema for the records */
|
|
21
|
+
description: ReconV2ResultColumn[];
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
error: Error | null;
|
|
24
|
+
refetch: () => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Headless controller for recon v2 run results. Bundles the run status/summary
|
|
28
|
+
* with the detailed smart-result records. Passing `exceptionType` scopes the
|
|
29
|
+
* records to a single exception (capability "results for an exception").
|
|
30
|
+
*/
|
|
31
|
+
export declare function useReconV2Results({ runId, workflowId, exceptionType, ruleFilter, orderBy, }: UseReconV2ResultsParams): UseReconV2ResultsResult;
|
|
32
|
+
//# sourceMappingURL=useReconV2Results.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2Results.d.ts","sourceRoot":"","sources":["../../../src/hooks/reconV2/useReconV2Results.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,oCAAoC;IACpC,SAAS,EAAE,gBAAgB,GAAG,SAAS,CAAC;IACxC,6EAA6E;IAC7E,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACpC,oCAAoC;IACpC,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,UAAU,EACV,aAAa,EACb,UAAU,EACV,OAAO,GACR,EAAE,uBAAuB,GAAG,uBAAuB,CAoBnD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ReconV2MatchConfig, ReconV2Run } from '@bluecopa/core';
|
|
2
|
+
import { ReconV2RunStatusPayload } from '../useReconV2RunStatus';
|
|
3
|
+
export interface StartReconV2RunOptions {
|
|
4
|
+
fullRefresh?: boolean;
|
|
5
|
+
mode?: "RUN" | "TEST";
|
|
6
|
+
matchConfig?: ReconV2MatchConfig;
|
|
7
|
+
}
|
|
8
|
+
export interface UseReconV2RunControllerOptions {
|
|
9
|
+
/** Called once when the started run reaches a terminal status */
|
|
10
|
+
onComplete?: (payload: ReconV2RunStatusPayload) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface UseReconV2RunControllerResult {
|
|
13
|
+
/** Starts a run for the controller's workflow; returns the new runId */
|
|
14
|
+
startRun: (opts?: StartReconV2RunOptions) => Promise<string | undefined>;
|
|
15
|
+
/** The runId of the run started via this controller */
|
|
16
|
+
runId: string | undefined;
|
|
17
|
+
/** Latest run-status payload (websocket; undefined without a provider) */
|
|
18
|
+
status: ReconV2RunStatusPayload | undefined;
|
|
19
|
+
/** True while the run request is in flight or the run hasn't reached terminal */
|
|
20
|
+
isRunning: boolean;
|
|
21
|
+
/** True once the started run reached SUCCEEDED/FAILED */
|
|
22
|
+
isTerminal: boolean;
|
|
23
|
+
/** Run history for the workflow (newest first) */
|
|
24
|
+
runs: ReconV2Run[] | undefined;
|
|
25
|
+
refetchRuns: () => void;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Headless controller for starting a recon v2 run and following it. Bundles the
|
|
29
|
+
* run mutation, live websocket status, and run history. `startRun` captures the
|
|
30
|
+
* returned runId and wires it to the status subscription automatically.
|
|
31
|
+
* @param workflowId - The workflow to run / list runs for
|
|
32
|
+
* @param options - onComplete callback for terminal status
|
|
33
|
+
*/
|
|
34
|
+
export declare function useReconV2RunController(workflowId: string | null | undefined, options?: UseReconV2RunControllerOptions): UseReconV2RunControllerResult;
|
|
35
|
+
//# sourceMappingURL=useReconV2RunController.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2RunController.d.ts","sourceRoot":"","sources":["../../../src/hooks/reconV2/useReconV2RunController.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGrE,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAClC;AAED,MAAM,WAAW,8BAA8B;IAC7C,iEAAiE;IACjE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,IAAI,CAAC;CACzD;AAED,MAAM,WAAW,6BAA6B;IAC5C,wEAAwE;IACxE,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,sBAAsB,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzE,uDAAuD;IACvD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,0EAA0E;IAC1E,MAAM,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC5C,iFAAiF;IACjF,SAAS,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,UAAU,EAAE,OAAO,CAAC;IACpB,kDAAkD;IAClD,IAAI,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IAC/B,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACrC,OAAO,GAAE,8BAAmC,GAC3C,6BAA6B,CA2B/B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom hooks for databox operations using TanStack React Query
|
|
3
|
+
* This hook re-exports specific databox related hooks for convenience
|
|
4
|
+
*/
|
|
5
|
+
export { useGetDataboxFolder } from './useGetDataboxFolder';
|
|
6
|
+
export { useGetDataboxFolderFiles } from './useGetDataboxFolderFiles';
|
|
7
|
+
export { useGetDataboxFolderDatasets } from './useGetDataboxFolderDatasets';
|
|
8
|
+
export { useGetDataboxFolderDuplicates } from './useGetDataboxFolderDuplicates';
|
|
9
|
+
export { useGetDatasetExceptions } from './useGetDatasetExceptions';
|
|
10
|
+
export { useGetDatasetDuplicates } from './useGetDatasetDuplicates';
|
|
11
|
+
export { useGetDataboxFolderSchema } from './useGetDataboxFolderSchema';
|
|
12
|
+
export { useGetDataboxSchemaHistory } from './useGetDataboxSchemaHistory';
|
|
13
|
+
export { useGetDataboxTrashFiles } from './useGetDataboxTrashFiles';
|
|
14
|
+
export { useGetDataboxFile } from './useGetDataboxFile';
|
|
15
|
+
export { useGetDataboxFileStatus } from './useGetDataboxFileStatus';
|
|
16
|
+
export { useGetDataboxFileRuns } from './useGetDataboxFileRuns';
|
|
17
|
+
export { useGetDataboxFileDownloadUrl } from './useGetDataboxFileDownloadUrl';
|
|
18
|
+
export { useDropFileToDatabox } from './useDropFileToDatabox';
|
|
19
|
+
export { useRunDataboxFolder } from './useRunDataboxFolder';
|
|
20
|
+
export { useUpdateDataboxFolderSchema } from './useUpdateDataboxFolderSchema';
|
|
21
|
+
export { useTrashDataboxFiles } from './useTrashDataboxFiles';
|
|
22
|
+
export { useRestoreDataboxFile } from './useRestoreDataboxFile';
|
|
23
|
+
export { usePermanentDeleteDataboxFiles } from './usePermanentDeleteDataboxFiles';
|
|
24
|
+
//# sourceMappingURL=useDatabox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDatabox.d.ts","sourceRoot":"","sources":["../../src/hooks/useDatabox.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFile, DropFileToDataboxRequest } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for dropping (uploading) a file into a databox folder using
|
|
5
|
+
* TanStack React Query. Returns the created databox file — poll
|
|
6
|
+
* useGetDataboxFileStatus with its id for the run result.
|
|
7
|
+
*
|
|
8
|
+
* Supported types: csv, xlsx, xls, xlsb, json.
|
|
9
|
+
*
|
|
10
|
+
* @param options - Mutation options
|
|
11
|
+
* @returns useMutation for dropping a file to databox
|
|
12
|
+
*/
|
|
13
|
+
export declare function useDropFileToDatabox(options?: {}): UseMutationResult<DataboxFile, Error, DropFileToDataboxRequest>;
|
|
14
|
+
//# sourceMappingURL=useDropFileToDatabox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDropFileToDatabox.d.ts","sourceRoot":"","sources":["../../src/hooks/useDropFileToDatabox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE5E;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAOjE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFile } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a databox file's details (including processing
|
|
5
|
+
* status) using TanStack React Query
|
|
6
|
+
* @param fileId - The databox file ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the file details
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxFile(fileId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFile, Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFile, Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFile.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,WAAW,EAAE,KAAK,CAAC,EACnC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,WAAW,EAAE,KAAK,CAAC,CAapC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFileDownloadUrl } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a presigned download URL for a databox file using
|
|
5
|
+
* TanStack React Query. The caller downloads the content directly from the
|
|
6
|
+
* returned URL.
|
|
7
|
+
* @param fileId - The databox file ID
|
|
8
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
9
|
+
* @returns UseQueryResult with the presigned URL and file details
|
|
10
|
+
*/
|
|
11
|
+
export declare function useGetDataboxFileDownloadUrl(fileId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFileDownloadUrl, Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFileDownloadUrl, Error>;
|
|
12
|
+
//# sourceMappingURL=useGetDataboxFileDownloadUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFileDownloadUrl.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFileDownloadUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D;;;;;;;GAOG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,sBAAsB,EAAE,KAAK,CAAC,EAC9C,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAa/C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFileProcessingResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the full processing (run) result history of a
|
|
5
|
+
* databox file using TanStack React Query
|
|
6
|
+
* @param fileId - The databox file ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the run results
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxFileRuns(fileId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFileProcessingResult[], Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFileProcessingResult[], Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxFileRuns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFileRuns.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFileRuns.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,2BAA2B,EAAE,EAAE,KAAK,CAAC,EACrD,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,2BAA2B,EAAE,EAAE,KAAK,CAAC,CAatD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFileProcessingResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the latest processing (run) result of a databox
|
|
5
|
+
* file using TanStack React Query — poll this after dropping a file or
|
|
6
|
+
* triggering a folder run to get the run status.
|
|
7
|
+
* @param fileId - The databox file ID
|
|
8
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
9
|
+
* @returns UseQueryResult with the latest run result
|
|
10
|
+
*/
|
|
11
|
+
export declare function useGetDataboxFileStatus(fileId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFileProcessingResult, Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFileProcessingResult, Error>;
|
|
12
|
+
//# sourceMappingURL=useGetDataboxFileStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFileStatus.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFileStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAElE;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACjC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,2BAA2B,EAAE,KAAK,CAAC,EACnD,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,2BAA2B,EAAE,KAAK,CAAC,CAapD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFolder } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a databox folder's details using TanStack React
|
|
5
|
+
* Query
|
|
6
|
+
* @param folderId - The databox folder ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the folder details
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxFolder(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFolder, Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFolder, Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxFolder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFolder.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFolder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,aAAa,EAAE,KAAK,CAAC,EACrC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,aAAa,EAAE,KAAK,CAAC,CAatC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxDataset } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for listing the datasets produced by a databox folder using
|
|
5
|
+
* TanStack React Query. Use a returned dataset id with
|
|
6
|
+
* useGetDatasetExceptions to fetch its exception rows.
|
|
7
|
+
* @param folderId - The databox folder ID
|
|
8
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
9
|
+
* @returns UseQueryResult with the folder's datasets
|
|
10
|
+
*/
|
|
11
|
+
export declare function useGetDataboxFolderDatasets(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxDataset[], Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxDataset[], Error>;
|
|
12
|
+
//# sourceMappingURL=useGetDataboxFolderDatasets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFolderDatasets.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFolderDatasets.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,cAAc,EAAE,EAAE,KAAK,CAAC,EACxC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,cAAc,EAAE,EAAE,KAAK,CAAC,CAazC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxDatasetDuplicates } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the duplicate record combinations of every
|
|
5
|
+
* dataset produced by a databox folder using TanStack React Query — no
|
|
6
|
+
* dataset id required, datasets and their duplicate column groups are
|
|
7
|
+
* resolved automatically.
|
|
8
|
+
* @param folderId - The databox folder ID
|
|
9
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
10
|
+
* @returns UseQueryResult with duplicates per dataset and group
|
|
11
|
+
*/
|
|
12
|
+
export declare function useGetDataboxFolderDuplicates(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxDatasetDuplicates[], Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxDatasetDuplicates[], Error>;
|
|
13
|
+
//# sourceMappingURL=useGetDataboxFolderDuplicates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFolderDuplicates.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFolderDuplicates.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D;;;;;;;;GAQG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,wBAAwB,EAAE,EAAE,KAAK,CAAC,EAClD,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,wBAAwB,EAAE,EAAE,KAAK,CAAC,CAenD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFile } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for listing a databox folder's files (each with its processing
|
|
5
|
+
* status) using TanStack React Query
|
|
6
|
+
* @param folderId - The databox folder ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the folder's files
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxFolderFiles(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFile[], Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFile[], Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxFolderFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFolderFiles.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFolderFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,WAAW,EAAE,EAAE,KAAK,CAAC,EACrC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,WAAW,EAAE,EAAE,KAAK,CAAC,CAatC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFolderSchema } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a databox folder's schema available for update
|
|
5
|
+
* using TanStack React Query
|
|
6
|
+
* @param folderId - The databox folder ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the folder schema
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxFolderSchema(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFolderSchema, Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFolderSchema, Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxFolderSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxFolderSchema.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxFolderSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,mBAAmB,EAAE,KAAK,CAAC,EAC3C,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAa5C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxSchemaUpdateResult } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a databox folder's schema update history using
|
|
5
|
+
* TanStack React Query
|
|
6
|
+
* @param folderId - The databox folder ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the schema update results
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxSchemaHistory(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxSchemaUpdateResult[], Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxSchemaUpdateResult[], Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxSchemaHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxSchemaHistory.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxSchemaHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAEhE;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,yBAAyB,EAAE,EAAE,KAAK,CAAC,EACnD,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,yBAAyB,EAAE,EAAE,KAAK,CAAC,CAapD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFile } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for listing a databox folder's trashed files using TanStack
|
|
5
|
+
* React Query
|
|
6
|
+
* @param folderId - The databox folder ID
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the trashed files
|
|
9
|
+
*/
|
|
10
|
+
export declare function useGetDataboxTrashFiles(folderId: string | null | undefined, options?: Omit<UseQueryOptions<DataboxFile[], Error>, "queryKey" | "queryFn">): UseQueryResult<DataboxFile[], Error>;
|
|
11
|
+
//# sourceMappingURL=useGetDataboxTrashFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDataboxTrashFiles.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDataboxTrashFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,WAAW,EAAE,EAAE,KAAK,CAAC,EACrC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,WAAW,EAAE,EAAE,KAAK,CAAC,CAatC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DatasetDuplicates } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a dataset's duplicate record combinations (the
|
|
5
|
+
* catalog "Duplicates" tab) using TanStack React Query. One entry per
|
|
6
|
+
* configured duplicate column group.
|
|
7
|
+
* @param datasetId - The dataset ID
|
|
8
|
+
* @param group - Optional: a single duplicate column group name to scope to
|
|
9
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
10
|
+
* @returns UseQueryResult with duplicates per column group
|
|
11
|
+
*/
|
|
12
|
+
export declare function useGetDatasetDuplicates(datasetId: string | null | undefined, group?: string, options?: Omit<UseQueryOptions<DatasetDuplicates[], Error>, "queryKey" | "queryFn">): UseQueryResult<DatasetDuplicates[], Error>;
|
|
13
|
+
//# sourceMappingURL=useGetDatasetDuplicates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDatasetDuplicates.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDatasetDuplicates.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,iBAAiB,EAAE,EAAE,KAAK,CAAC,EAC3C,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,iBAAiB,EAAE,EAAE,KAAK,CAAC,CAgB5C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { DatasetExceptions } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching a dataset's exception rows (the catalog
|
|
5
|
+
* "Exceptions" tab) using TanStack React Query. Returns the same bounded
|
|
6
|
+
* sample shown in the UI grid: `{ schema, data }`.
|
|
7
|
+
* @param datasetId - The dataset ID (databox datasets are keyed `<folderId>_<streamName>`)
|
|
8
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
9
|
+
* @returns UseQueryResult with the dataset's exception rows and schema
|
|
10
|
+
*/
|
|
11
|
+
export declare function useGetDatasetExceptions(datasetId: string | null | undefined, options?: Omit<UseQueryOptions<DatasetExceptions, Error>, "queryKey" | "queryFn">): UseQueryResult<DatasetExceptions, Error>;
|
|
12
|
+
//# sourceMappingURL=useGetDatasetExceptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGetDatasetExceptions.d.ts","sourceRoot":"","sources":["../../src/hooks/useGetDatasetExceptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,iBAAiB,EAAE,KAAK,CAAC,EACzC,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAa1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMetric.d.ts","sourceRoot":"","sources":["../../src/hooks/useMetric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"useMetric.d.ts","sourceRoot":"","sources":["../../src/hooks/useMetric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C;;;;;GAKG;AACH,wBAAgB,SAAS,CACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,OAAO,GAAE,gBAAqB,GAC7B,cAAc,CAAC,GAAG,EAAE,KAAK,CAAC,CA2B5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi, PermanentDeleteDataboxFilesRequest } from '@bluecopa/core';
|
|
3
|
+
type PermanentDeleteDataboxFilesResult = Awaited<ReturnType<typeof copaApi.databox.permanentDeleteDataboxFiles>>;
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for permanently deleting databox files using TanStack React
|
|
6
|
+
* Query. This action is irreversible.
|
|
7
|
+
* @param options - Mutation options
|
|
8
|
+
* @returns useMutation for permanently deleting databox files
|
|
9
|
+
*/
|
|
10
|
+
export declare function usePermanentDeleteDataboxFiles(options?: {}): UseMutationResult<PermanentDeleteDataboxFilesResult, Error, PermanentDeleteDataboxFilesRequest>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=usePermanentDeleteDataboxFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePermanentDeleteDataboxFiles.d.ts","sourceRoot":"","sources":["../../src/hooks/usePermanentDeleteDataboxFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,gBAAgB,CAAC;AAEzE,KAAK,iCAAiC,GAAG,OAAO,CAC9C,UAAU,CAAC,OAAO,OAAO,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAC/D,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,KAAK,GACX,iBAAiB,CAClB,iCAAiC,EACjC,KAAK,EACL,kCAAkC,CACnC,CAOA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
import { ReconV2TemplateCatalog } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for fetching the predefined recon v2 domain/exception templates
|
|
5
|
+
* used while configuring a workflow. Returns the typed catalog keyed by
|
|
6
|
+
* domainId.
|
|
7
|
+
* @param options - Query options (queryKey/queryFn are managed by the hook)
|
|
8
|
+
* @returns UseQueryResult with the template catalog
|
|
9
|
+
*/
|
|
10
|
+
export declare function useReconV2Templates(options?: Omit<UseQueryOptions<ReconV2TemplateCatalog, Error>, "queryKey" | "queryFn">): UseQueryResult<ReconV2TemplateCatalog, Error>;
|
|
11
|
+
//# sourceMappingURL=useReconV2Templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReconV2Templates.d.ts","sourceRoot":"","sources":["../../src/hooks/useReconV2Templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAW,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAEtE;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,IAAI,CACX,eAAe,CAAC,sBAAsB,EAAE,KAAK,CAAC,EAC9C,UAAU,GAAG,SAAS,CAClB,GACL,cAAc,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAQ/C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFile, RestoreDataboxFileRequest } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for restoring a trashed databox file back to its folder using
|
|
5
|
+
* TanStack React Query
|
|
6
|
+
* @param options - Mutation options
|
|
7
|
+
* @returns useMutation for restoring a databox file
|
|
8
|
+
*/
|
|
9
|
+
export declare function useRestoreDataboxFile(options?: {}): UseMutationResult<DataboxFile, Error, RestoreDataboxFileRequest>;
|
|
10
|
+
//# sourceMappingURL=useRestoreDataboxFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRestoreDataboxFile.d.ts","sourceRoot":"","sources":["../../src/hooks/useRestoreDataboxFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAE7E;;;;;GAKG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,KAAK,GACX,iBAAiB,CAAC,WAAW,EAAE,KAAK,EAAE,yBAAyB,CAAC,CAOlE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { RunDataboxFolderRequest } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for triggering processing of a databox folder's contents (the
|
|
5
|
+
* "Run" action) using TanStack React Query. Processing is asynchronous — poll
|
|
6
|
+
* useGetDataboxFileStatus / useGetDataboxFolderFiles for run results.
|
|
7
|
+
* @param options - Mutation options
|
|
8
|
+
* @returns useMutation for running a databox folder
|
|
9
|
+
*/
|
|
10
|
+
export declare function useRunDataboxFolder(options?: {}): UseMutationResult<void, Error, RunDataboxFolderRequest>;
|
|
11
|
+
//# sourceMappingURL=useRunDataboxFolder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRunDataboxFolder.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunDataboxFolder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,KAAK,GACX,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAOzD"}
|
|
@@ -19,6 +19,8 @@ export declare function useRunPublishedDefinition(options?: {}): UseMutationResu
|
|
|
19
19
|
* falls through to the original `published/run` pass-through.
|
|
20
20
|
*/
|
|
21
21
|
solutionBindings?: Record<string, unknown>;
|
|
22
|
+
/** Optional row limit; BFF falls back to ROW_LIMIT when omitted. */
|
|
23
|
+
limit?: number;
|
|
22
24
|
source?: any;
|
|
23
25
|
}>;
|
|
24
26
|
//# sourceMappingURL=useRunPublishedDefinition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRunPublishedDefinition.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunPublishedDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,KAAK,GACX,iBAAiB,CAClB,GAAG,EACH,KAAK,EACL;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CACF,
|
|
1
|
+
{"version":3,"file":"useRunPublishedDefinition.d.ts","sourceRoot":"","sources":["../../src/hooks/useRunPublishedDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG5E;;;;GAIG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,KAAK,GACX,iBAAiB,CAClB,GAAG,EACH,KAAK,EACL;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAA;KAAE,CAAC;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CACF,CAeA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { copaApi, TrashDataboxFilesRequest } from '@bluecopa/core';
|
|
3
|
+
type TrashDataboxFilesResult = Awaited<ReturnType<typeof copaApi.databox.trashDataboxFiles>>;
|
|
4
|
+
/**
|
|
5
|
+
* Custom hook for moving databox files to trash (scheduled delete) using
|
|
6
|
+
* TanStack React Query. Trashed files can be restored via
|
|
7
|
+
* useRestoreDataboxFile.
|
|
8
|
+
* @param options - Mutation options
|
|
9
|
+
* @returns useMutation for trashing databox files
|
|
10
|
+
*/
|
|
11
|
+
export declare function useTrashDataboxFiles(options?: {}): UseMutationResult<TrashDataboxFilesResult, Error, TrashDataboxFilesRequest>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=useTrashDataboxFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTrashDataboxFiles.d.ts","sourceRoot":"","sources":["../../src/hooks/useTrashDataboxFiles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE/D,KAAK,uBAAuB,GAAG,OAAO,CACpC,UAAU,CAAC,OAAO,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CACrD,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,KAAK,GACX,iBAAiB,CAAC,uBAAuB,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAO7E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { DataboxFolder, UpdateDataboxFolderSchemaRequest } from '@bluecopa/core';
|
|
3
|
+
/**
|
|
4
|
+
* Custom hook for submitting an updated sync catalog for a databox folder
|
|
5
|
+
* (the "Update Schema" action) using TanStack React Query
|
|
6
|
+
* @param options - Mutation options
|
|
7
|
+
* @returns useMutation for updating a databox folder schema
|
|
8
|
+
*/
|
|
9
|
+
export declare function useUpdateDataboxFolderSchema(options?: {}): UseMutationResult<DataboxFolder, Error, UpdateDataboxFolderSchemaRequest>;
|
|
10
|
+
//# sourceMappingURL=useUpdateDataboxFolderSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateDataboxFolderSchema.d.ts","sourceRoot":"","sources":["../../src/hooks/useUpdateDataboxFolderSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE5E,OAAO,KAAK,EACV,aAAa,EACb,gCAAgC,EACjC,MAAM,gBAAgB,CAAC;AAExB;;;;;GAKG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,KAAK,GACX,iBAAiB,CAAC,aAAa,EAAE,KAAK,EAAE,gCAAgC,CAAC,CAO3E"}
|