@datarecce/ui 0.1.23 → 0.1.24
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/{RecceCheckContext-_xzNlnbJ.js → RecceCheckContext-Cb41gigE.js} +4 -3
- package/dist/RecceCheckContext-Cb41gigE.js.map +1 -0
- package/dist/{RecceCheckContext-DIQjrvH8.mjs → RecceCheckContext-CzsuuXxT.mjs} +4 -3
- package/dist/RecceCheckContext-CzsuuXxT.mjs.map +1 -0
- package/dist/api.d.mts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +3 -2
- package/dist/api.mjs +3 -3
- package/dist/{components-CfY72Lq2.mjs → components-BHxcVq0D.mjs} +244 -208
- package/dist/components-BHxcVq0D.mjs.map +1 -0
- package/dist/{components-DXbVq9Cw.js → components-Bmc5X473.js} +244 -210
- package/dist/components-Bmc5X473.js.map +1 -0
- package/dist/components.d.mts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +4 -4
- package/dist/components.mjs +4 -4
- package/dist/{hooks-C8pyX9m_.mjs → hooks-B0XGswIh.mjs} +3 -3
- package/dist/{hooks-C8pyX9m_.mjs.map → hooks-B0XGswIh.mjs.map} +1 -1
- package/dist/{hooks-C4jkoryM.js → hooks-C99PZcmB.js} +3 -3
- package/dist/{hooks-C4jkoryM.js.map → hooks-C99PZcmB.js.map} +1 -1
- package/dist/hooks.d.mts +2 -2
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +4 -3
- package/dist/hooks.mjs +4 -4
- package/dist/{index-DIHuswfP.d.mts → index-04n48ic2.d.mts} +46 -40
- package/dist/index-04n48ic2.d.mts.map +1 -0
- package/dist/{index-CVPmrztP.d.ts → index-CgyLTrll.d.ts} +115 -109
- package/dist/index-CgyLTrll.d.ts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -5
- package/dist/index.mjs +6 -6
- package/dist/{state-AeoqV9ja.js → state-Ct-DP81O.js} +90 -79
- package/dist/state-Ct-DP81O.js.map +1 -0
- package/dist/{state-BbgVwFV2.mjs → state-CwepO01b.mjs} +85 -80
- package/dist/state-CwepO01b.mjs.map +1 -0
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{version-MxW9vrDY.js → version-BgsW-hXj.js} +22 -12
- package/dist/version-BgsW-hXj.js.map +1 -0
- package/dist/{version-C2NU3xyx.mjs → version-Bz2CiMHD.mjs} +18 -14
- package/dist/version-Bz2CiMHD.mjs.map +1 -0
- package/package.json +2 -1
- package/dist/RecceCheckContext-DIQjrvH8.mjs.map +0 -1
- package/dist/RecceCheckContext-_xzNlnbJ.js.map +0 -1
- package/dist/components-CfY72Lq2.mjs.map +0 -1
- package/dist/components-DXbVq9Cw.js.map +0 -1
- package/dist/index-CVPmrztP.d.ts.map +0 -1
- package/dist/index-DIHuswfP.d.mts.map +0 -1
- package/dist/state-AeoqV9ja.js.map +0 -1
- package/dist/state-BbgVwFV2.mjs.map +0 -1
- package/dist/version-C2NU3xyx.mjs.map +0 -1
- package/dist/version-MxW9vrDY.js.map +0 -1
|
@@ -1030,8 +1030,8 @@ async function getModelInfo(model) {
|
|
|
1030
1030
|
|
|
1031
1031
|
//#endregion
|
|
1032
1032
|
//#region recce-source/js/src/lib/api/cll.ts
|
|
1033
|
-
async function getCll(input) {
|
|
1034
|
-
return (await
|
|
1033
|
+
async function getCll(input, client = axiosClient) {
|
|
1034
|
+
return (await client.post("/api/cll", input)).data;
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
//#endregion
|
|
@@ -1528,37 +1528,37 @@ function mutateAddKey(run) {
|
|
|
1528
1528
|
});
|
|
1529
1529
|
return run;
|
|
1530
1530
|
}
|
|
1531
|
-
async function submitRun(type, params, options) {
|
|
1531
|
+
async function submitRun(type, params, options, client = axiosClient) {
|
|
1532
1532
|
const track_props = options?.trackProps ? { ...options.trackProps } : {};
|
|
1533
1533
|
if (getExperimentTrackingBreakingChangeEnabled()) track_props.breaking_change_analysis = true;
|
|
1534
|
-
return (await
|
|
1534
|
+
return (await client.post("/api/runs", {
|
|
1535
1535
|
type,
|
|
1536
1536
|
params,
|
|
1537
1537
|
nowait: options?.nowait,
|
|
1538
1538
|
track_props
|
|
1539
1539
|
})).data;
|
|
1540
1540
|
}
|
|
1541
|
-
async function getRun(runId) {
|
|
1542
|
-
return (await
|
|
1541
|
+
async function getRun(runId, client = axiosClient) {
|
|
1542
|
+
return (await client.get(`/api/runs/${runId}`)).data;
|
|
1543
1543
|
}
|
|
1544
|
-
async function waitRun(runId, timeout) {
|
|
1545
|
-
return mutateAddKey((await
|
|
1544
|
+
async function waitRun(runId, timeout, client = axiosClient) {
|
|
1545
|
+
return mutateAddKey((await client.get(`/api/runs/${runId}/wait`, { params: { timeout } })).data);
|
|
1546
1546
|
}
|
|
1547
|
-
async function cancelRun(runId) {
|
|
1548
|
-
return await
|
|
1547
|
+
async function cancelRun(runId, client = axiosClient) {
|
|
1548
|
+
return await client.post(`/api/runs/${runId}/cancel`);
|
|
1549
1549
|
}
|
|
1550
|
-
async function submitRunFromCheck(checkId, options) {
|
|
1551
|
-
return (await
|
|
1550
|
+
async function submitRunFromCheck(checkId, options, client = axiosClient) {
|
|
1551
|
+
return (await client.post(`/api/checks/${checkId}/run`, { nowait: options?.nowait })).data;
|
|
1552
1552
|
}
|
|
1553
|
-
async function searchRuns(type, params, limit) {
|
|
1554
|
-
return (await
|
|
1553
|
+
async function searchRuns(type, params, limit, client = axiosClient) {
|
|
1554
|
+
return (await client.post(`/api/runs/search`, {
|
|
1555
1555
|
type,
|
|
1556
1556
|
params,
|
|
1557
1557
|
limit
|
|
1558
1558
|
})).data;
|
|
1559
1559
|
}
|
|
1560
|
-
async function listRuns() {
|
|
1561
|
-
return (await
|
|
1560
|
+
async function listRuns(client = axiosClient) {
|
|
1561
|
+
return (await client.get("/api/runs")).data;
|
|
1562
1562
|
}
|
|
1563
1563
|
async function aggregateRuns(client = axiosClient) {
|
|
1564
1564
|
return (await client.post(`/api/runs/aggregate`, {})).data;
|
|
@@ -1566,20 +1566,20 @@ async function aggregateRuns(client = axiosClient) {
|
|
|
1566
1566
|
|
|
1567
1567
|
//#endregion
|
|
1568
1568
|
//#region recce-source/js/src/lib/api/adhocQuery.ts
|
|
1569
|
-
async function submitQuery(params, options) {
|
|
1570
|
-
return await submitRun("query", params, options);
|
|
1569
|
+
async function submitQuery(params, options, client = axiosClient) {
|
|
1570
|
+
return await submitRun("query", params, options, client);
|
|
1571
1571
|
}
|
|
1572
|
-
async function submitQueryBase(params, options) {
|
|
1573
|
-
return await submitRun("query_base", params, options);
|
|
1572
|
+
async function submitQueryBase(params, options, client = axiosClient) {
|
|
1573
|
+
return await submitRun("query_base", params, options, client);
|
|
1574
1574
|
}
|
|
1575
|
-
async function submitQueryDiff(params, options) {
|
|
1576
|
-
return await submitRun("query_diff", params, options);
|
|
1575
|
+
async function submitQueryDiff(params, options, client = axiosClient) {
|
|
1576
|
+
return await submitRun("query_diff", params, options, client);
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
1579
|
//#endregion
|
|
1580
1580
|
//#region recce-source/js/src/lib/api/lineagecheck.ts
|
|
1581
|
-
async function createLineageDiffCheck(viewOptions) {
|
|
1582
|
-
return (await
|
|
1581
|
+
async function createLineageDiffCheck(viewOptions, client = axiosClient) {
|
|
1582
|
+
return (await client.post("/api/checks", {
|
|
1583
1583
|
type: "lineage_diff",
|
|
1584
1584
|
params: {},
|
|
1585
1585
|
view_options: viewOptions
|
|
@@ -1588,17 +1588,17 @@ async function createLineageDiffCheck(viewOptions) {
|
|
|
1588
1588
|
|
|
1589
1589
|
//#endregion
|
|
1590
1590
|
//#region recce-source/js/src/lib/api/profile.ts
|
|
1591
|
-
async function submitProfileDiff(params, options) {
|
|
1592
|
-
return await submitRun("profile_diff", params, options);
|
|
1591
|
+
async function submitProfileDiff(params, options, client = axiosClient) {
|
|
1592
|
+
return await submitRun("profile_diff", params, options, client);
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
1595
|
//#endregion
|
|
1596
1596
|
//#region recce-source/js/src/lib/api/valuediff.ts
|
|
1597
|
-
async function submitValueDiff(params, options) {
|
|
1598
|
-
return await submitRun("value_diff", params, options);
|
|
1597
|
+
async function submitValueDiff(params, options, client = axiosClient) {
|
|
1598
|
+
return await submitRun("value_diff", params, options, client);
|
|
1599
1599
|
}
|
|
1600
|
-
async function submitValueDiffDetail(params, options) {
|
|
1601
|
-
return await submitRun("value_diff_detail", params, options);
|
|
1600
|
+
async function submitValueDiffDetail(params, options, client = axiosClient) {
|
|
1601
|
+
return await submitRun("value_diff_detail", params, options, client);
|
|
1602
1602
|
}
|
|
1603
1603
|
|
|
1604
1604
|
//#endregion
|
|
@@ -2164,14 +2164,15 @@ function setKeepAliveCallback(callback) {
|
|
|
2164
2164
|
* - Minimum 3 seconds between API calls
|
|
2165
2165
|
* - Prevents concurrent API calls with a lock
|
|
2166
2166
|
*
|
|
2167
|
+
* @param client - Optional axios instance for API configuration
|
|
2167
2168
|
* @returns true if keep-alive was sent, false if throttled/skipped
|
|
2168
2169
|
*/
|
|
2169
|
-
async function sendKeepAlive() {
|
|
2170
|
+
async function sendKeepAlive(client = axiosClient) {
|
|
2170
2171
|
if (Date.now() - lastKeepAliveTime < MIN_KEEP_ALIVE_INTERVAL_MS) return false;
|
|
2171
2172
|
if (isSending) return false;
|
|
2172
2173
|
try {
|
|
2173
2174
|
isSending = true;
|
|
2174
|
-
await
|
|
2175
|
+
await client.post("/api/keep-alive");
|
|
2175
2176
|
lastKeepAliveTime = Date.now();
|
|
2176
2177
|
if (onKeepAliveSuccess) onKeepAliveSuccess(lastKeepAliveTime);
|
|
2177
2178
|
return true;
|
|
@@ -2242,6 +2243,7 @@ const IDLE_DETECTION_CONFIG = {
|
|
|
2242
2243
|
function useIdleDetection() {
|
|
2243
2244
|
const { data: instanceInfo, isLoading, isError } = useRecceInstanceInfo();
|
|
2244
2245
|
const isDisconnected = useIdleTimeoutSafe()?.isDisconnected ?? false;
|
|
2246
|
+
const { apiClient } = useApiConfig();
|
|
2245
2247
|
const idleTimeout = instanceInfo?.idle_timeout;
|
|
2246
2248
|
const isEnabled = idleTimeout !== void 0 && idleTimeout > 0 && !isDisconnected;
|
|
2247
2249
|
debugLog("[Idle Detection] Instance info", {
|
|
@@ -2259,8 +2261,8 @@ function useIdleDetection() {
|
|
|
2259
2261
|
*/
|
|
2260
2262
|
const sendKeepAliveNow = useCallback(async () => {
|
|
2261
2263
|
if (document.hidden) return;
|
|
2262
|
-
if (await sendKeepAlive()) debugLog("[Idle Detection] Keep-alive sent successfully", { timestamp: (/* @__PURE__ */ new Date()).toISOString() });
|
|
2263
|
-
}, []);
|
|
2264
|
+
if (await sendKeepAlive(apiClient)) debugLog("[Idle Detection] Keep-alive sent successfully", { timestamp: (/* @__PURE__ */ new Date()).toISOString() });
|
|
2265
|
+
}, [apiClient]);
|
|
2264
2266
|
/**
|
|
2265
2267
|
* Handle any user activity event
|
|
2266
2268
|
* Attempts to send keep-alive (axios layer handles throttling)
|
|
@@ -3296,26 +3298,26 @@ function ProfileDiffForm({ params, onParamsChanged, setIsReadyToExecute }) {
|
|
|
3296
3298
|
|
|
3297
3299
|
//#endregion
|
|
3298
3300
|
//#region recce-source/js/src/lib/api/models.ts
|
|
3299
|
-
async function fetchModelRowCount(modelName) {
|
|
3300
|
-
return (await
|
|
3301
|
+
async function fetchModelRowCount(modelName, client = axiosClient) {
|
|
3302
|
+
return (await client.get(`/api/models/${modelName}/row_count`)).data;
|
|
3301
3303
|
}
|
|
3302
|
-
async function queryModelRowCount(modelName) {
|
|
3303
|
-
const { result } = await queryRowCount([modelName]);
|
|
3304
|
+
async function queryModelRowCount(modelName, client = axiosClient) {
|
|
3305
|
+
const { result } = await queryRowCount([modelName], client);
|
|
3304
3306
|
return result[modelName];
|
|
3305
3307
|
}
|
|
3306
|
-
async function queryRowCount(modelNames) {
|
|
3308
|
+
async function queryRowCount(modelNames, client = axiosClient) {
|
|
3307
3309
|
if (modelNames.length === 0) throw new Error("No model names provided");
|
|
3308
|
-
const { run_id } = await submitRowCountDiff({ node_names: modelNames }, { nowait: true });
|
|
3310
|
+
const { run_id } = await submitRowCountDiff({ node_names: modelNames }, { nowait: true }, client);
|
|
3309
3311
|
return {
|
|
3310
3312
|
runId: run_id,
|
|
3311
|
-
result: (await waitRun(run_id)).result
|
|
3313
|
+
result: (await waitRun(run_id, void 0, client)).result
|
|
3312
3314
|
};
|
|
3313
3315
|
}
|
|
3314
3316
|
|
|
3315
3317
|
//#endregion
|
|
3316
3318
|
//#region recce-source/js/src/lib/api/rowcount.ts
|
|
3317
|
-
async function submitRowCountDiff(params, options) {
|
|
3318
|
-
return await submitRun("row_count_diff", params, options);
|
|
3319
|
+
async function submitRowCountDiff(params, options, client = axiosClient) {
|
|
3320
|
+
return await submitRun("row_count_diff", params, options, client);
|
|
3319
3321
|
}
|
|
3320
3322
|
|
|
3321
3323
|
//#endregion
|
|
@@ -5509,6 +5511,7 @@ const useCloseModalEffect = (onClose) => {
|
|
|
5509
5511
|
}, [onClose, usePathname()]);
|
|
5510
5512
|
};
|
|
5511
5513
|
function RecceActionContextProvider({ children }) {
|
|
5514
|
+
const { apiClient } = useApiConfig();
|
|
5512
5515
|
const [action, setAction] = useState();
|
|
5513
5516
|
const [isModalOpen, setModalOpen] = useState(false);
|
|
5514
5517
|
const onModalOpen = useCallback(() => setModalOpen(true), []);
|
|
@@ -5536,7 +5539,7 @@ function RecceActionContextProvider({ children }) {
|
|
|
5536
5539
|
const session = (/* @__PURE__ */ new Date()).getTime().toString();
|
|
5537
5540
|
let lastRun = void 0;
|
|
5538
5541
|
if (options?.showLast) {
|
|
5539
|
-
const runs = await searchRuns(type, params, 1);
|
|
5542
|
+
const runs = await searchRuns(type, params, 1, apiClient);
|
|
5540
5543
|
if (runs.length === 1) lastRun = runs[0];
|
|
5541
5544
|
}
|
|
5542
5545
|
const run = findByRunType(type);
|
|
@@ -5547,7 +5550,7 @@ function RecceActionContextProvider({ children }) {
|
|
|
5547
5550
|
const { run_id } = await submitRun(type, params, {
|
|
5548
5551
|
nowait: true,
|
|
5549
5552
|
trackProps: options?.trackProps
|
|
5550
|
-
});
|
|
5553
|
+
}, apiClient);
|
|
5551
5554
|
await showRunId(run_id);
|
|
5552
5555
|
await queryClient.invalidateQueries({ queryKey: cacheKeys.runs() });
|
|
5553
5556
|
if (location.startsWith("/lineage")) setLocation("/lineage");
|
|
@@ -5577,7 +5580,8 @@ function RecceActionContextProvider({ children }) {
|
|
|
5577
5580
|
showRunId,
|
|
5578
5581
|
location,
|
|
5579
5582
|
setLocation,
|
|
5580
|
-
queryClient
|
|
5583
|
+
queryClient,
|
|
5584
|
+
apiClient
|
|
5581
5585
|
]);
|
|
5582
5586
|
useCloseModalEffect(onModalClose);
|
|
5583
5587
|
const handleExecute = async (type, params) => {
|
|
@@ -5586,7 +5590,7 @@ function RecceActionContextProvider({ children }) {
|
|
|
5586
5590
|
const { run_id } = await submitRun(type, params, {
|
|
5587
5591
|
nowait: true,
|
|
5588
5592
|
trackProps: action?.options?.trackProps
|
|
5589
|
-
});
|
|
5593
|
+
}, apiClient);
|
|
5590
5594
|
await showRunId(run_id);
|
|
5591
5595
|
} catch (e) {
|
|
5592
5596
|
toaster.create({
|
|
@@ -8126,66 +8130,67 @@ const findByRunType = (runType) => {
|
|
|
8126
8130
|
|
|
8127
8131
|
//#endregion
|
|
8128
8132
|
//#region recce-source/js/src/lib/api/checks.ts
|
|
8129
|
-
async function createSimpleCheck() {
|
|
8130
|
-
return (await
|
|
8133
|
+
async function createSimpleCheck(client = axiosClient) {
|
|
8134
|
+
return (await client.post("/api/checks", { type: "simple" })).data;
|
|
8131
8135
|
}
|
|
8132
|
-
async function createCheckByRun(runId, viewOptions) {
|
|
8136
|
+
async function createCheckByRun(runId, viewOptions, client = axiosClient) {
|
|
8133
8137
|
const track_props = getExperimentTrackingBreakingChangeEnabled() ? { breaking_change_analysis: true } : {};
|
|
8134
|
-
return (await
|
|
8138
|
+
return (await client.post("/api/checks", {
|
|
8135
8139
|
run_id: runId,
|
|
8136
8140
|
view_options: viewOptions,
|
|
8137
8141
|
track_props
|
|
8138
8142
|
})).data;
|
|
8139
8143
|
}
|
|
8140
|
-
async function listChecks() {
|
|
8141
|
-
return (await
|
|
8144
|
+
async function listChecks(client = axiosClient) {
|
|
8145
|
+
return (await client.get("/api/checks")).data;
|
|
8142
8146
|
}
|
|
8143
8147
|
function useChecks(enabled) {
|
|
8148
|
+
const { apiClient } = useApiConfig();
|
|
8144
8149
|
return useQuery({
|
|
8145
8150
|
queryKey: cacheKeys.checks(),
|
|
8146
|
-
queryFn: listChecks,
|
|
8151
|
+
queryFn: () => listChecks(apiClient),
|
|
8147
8152
|
enabled
|
|
8148
8153
|
});
|
|
8149
8154
|
}
|
|
8150
|
-
async function getCheck(checkId) {
|
|
8151
|
-
return (await
|
|
8155
|
+
async function getCheck(checkId, client = axiosClient) {
|
|
8156
|
+
return (await client.get(`/api/checks/${checkId}`)).data;
|
|
8152
8157
|
}
|
|
8153
|
-
async function updateCheck(checkId, payload) {
|
|
8154
|
-
return (await
|
|
8158
|
+
async function updateCheck(checkId, payload, client = axiosClient) {
|
|
8159
|
+
return (await client.patch(`/api/checks/${checkId}`, payload)).data;
|
|
8155
8160
|
}
|
|
8156
|
-
async function deleteCheck(checkId) {
|
|
8157
|
-
return (await
|
|
8161
|
+
async function deleteCheck(checkId, client = axiosClient) {
|
|
8162
|
+
return (await client.delete(`/api/checks/${checkId}`)).data;
|
|
8158
8163
|
}
|
|
8159
|
-
async function reorderChecks(order) {
|
|
8160
|
-
return await
|
|
8164
|
+
async function reorderChecks(order, client = axiosClient) {
|
|
8165
|
+
return await client.post("/api/checks/reorder", order);
|
|
8161
8166
|
}
|
|
8162
|
-
async function markAsPresetCheck(checkId) {
|
|
8163
|
-
await
|
|
8167
|
+
async function markAsPresetCheck(checkId, client = axiosClient) {
|
|
8168
|
+
await client.post(`/api/checks/${checkId}/mark-as-preset`);
|
|
8164
8169
|
}
|
|
8165
8170
|
|
|
8166
8171
|
//#endregion
|
|
8167
8172
|
//#region recce-source/js/src/lib/api/state.ts
|
|
8168
|
-
async function saveAs(input) {
|
|
8169
|
-
return (await
|
|
8173
|
+
async function saveAs(input, client = axiosClient) {
|
|
8174
|
+
return (await client.post("/api/save-as", input)).data;
|
|
8170
8175
|
}
|
|
8171
|
-
async function rename(input) {
|
|
8172
|
-
return (await
|
|
8176
|
+
async function rename(input, client = axiosClient) {
|
|
8177
|
+
return (await client.post("/api/rename", input)).data;
|
|
8173
8178
|
}
|
|
8174
|
-
async function exportState() {
|
|
8175
|
-
return (await
|
|
8179
|
+
async function exportState(client = axiosClient) {
|
|
8180
|
+
return (await client.post("/api/export")).data;
|
|
8176
8181
|
}
|
|
8177
|
-
async function importState(file, checksOnly) {
|
|
8182
|
+
async function importState(file, checksOnly, client = axiosClient) {
|
|
8178
8183
|
const formData = new FormData();
|
|
8179
8184
|
formData.append("file", file);
|
|
8180
8185
|
formData.append("checks_only", (!!checksOnly).toString());
|
|
8181
|
-
return (await
|
|
8186
|
+
return (await client.post("/api/import", formData)).data;
|
|
8182
8187
|
}
|
|
8183
|
-
async function isStateSyncing() {
|
|
8184
|
-
return (await
|
|
8188
|
+
async function isStateSyncing(client = axiosClient) {
|
|
8189
|
+
return (await client.get("/api/sync")).status === 208;
|
|
8185
8190
|
}
|
|
8186
|
-
async function syncState(input) {
|
|
8191
|
+
async function syncState(input, client = axiosClient) {
|
|
8187
8192
|
try {
|
|
8188
|
-
const response = await
|
|
8193
|
+
const response = await client.post("/api/sync", input);
|
|
8189
8194
|
if (response.status === 202) return { status: "accepted" };
|
|
8190
8195
|
if (response.status === 208) return { status: "syncing" };
|
|
8191
8196
|
} catch (error) {
|
|
@@ -8195,10 +8200,10 @@ async function syncState(input) {
|
|
|
8195
8200
|
}
|
|
8196
8201
|
throw new Error("Failed to sync state");
|
|
8197
8202
|
}
|
|
8198
|
-
async function shareState() {
|
|
8199
|
-
return (await
|
|
8203
|
+
async function shareState(client = axiosClient) {
|
|
8204
|
+
return (await client.post("/api/share")).data;
|
|
8200
8205
|
}
|
|
8201
8206
|
|
|
8202
8207
|
//#endregion
|
|
8203
|
-
export {
|
|
8204
|
-
//# sourceMappingURL=state-
|
|
8208
|
+
export { queryRowCount as $, trackLineageViewRender as $t, ColumnNameCell as A, getModelInfo as An, createLineageDiffCheck as At, IconExport as B, darkTheme as Bn, submitRunFromCheck as Bt, TopKSummaryList as C, selectUpstream as Cn, useApiConfigSafe as Ct, QueryDiffResultView as D, getLineage as Dn, submitValueDiff as Dt, QueryResultView as E, getCll as En, ScreenshotDataGrid as Et, RecceActionContextProvider as F, Toaster as Fn, cancelRun as Ft, deltaPercentageString as G, LINEAGE_SELECTION_ACTION as Gt, IconInfo as H, token as Hn, EXPLORE_ACTION as Ht, useRecceActionContext as I, ToasterProvider as In, getRun as It, mergeKeys as J, trackEnvironmentConfig as Jt, DiffText as K, trackColumnLevelLineage as Kt, useAppLocation as L, toaster as Ln, listRuns as Lt, useLineageViewContext as M, axiosClient as Mn, submitQueryBase as Mt, useLineageViewContextSafe as N, reactQueryClient as Nn, submitQueryDiff as Nt, ProfileDiffResultView as O, getLineageDiff as On, submitValueDiffDetail as Ot, RecceActionContext as P, ScreenshotBox as Pn, aggregateRuns as Pt, queryModelRowCount as Q, trackLineageSelection as Qt, RunModal as R, useToaster as Rn, searchRuns as Rt, TopKDiffResultView as S, selectDownstream as Sn, useApiConfig as St, RowCountDiffResultView as T, union as Tn, EmptyRowsRenderer as Tt, IconSave as U, EXPLORE_FORM_EVENT as Ut, IconImport as V, lightTheme as Vn, waitRun as Vt, IconSync as W, EXPLORE_SOURCE as Wt, submitRowCountDiff as X, trackExploreActionForm as Xt, mergeKeysWithStatus as Y, trackExploreAction as Yt, fetchModelRowCount as Z, trackHistoryAction as Zt, findByRunType as _, isValueDiffRun as _n, RecceInstanceInfoProvider as _t, saveAs as a, trackSingleEnvironment as an, supportsHistogramDiff as at, ValueDiffForm as b, isLineageGraphNode as bn, ApiConfigProvider as bt, createCheckByRun as c, isHistogramDiffRun as cn, useLineageGraphContext as ct, getCheck as d, isQueryDiffRun as dn, IdleTimeoutProvider as dt, trackMultiNodesAction as en, ProfileDiffForm as et, listChecks as f, isQueryRun as fn, useIdleTimeout as ft, useChecks as g, isValueDiffDetailRun as gn, formatDuration as gt, updateCheck as h, isTopKDiffRun as hn, markRelaunchHintCompleted as ht, rename as i, trackShareState as in, HistogramDiffForm as it, LineageViewContext as j, getServerInfo as jn, submitQuery as jt, createDataGridFromData as k, getLineageWithError as kn, submitProfileDiff as kt, createSimpleCheck as l, isProfileDiffRun as ln, useRunsAggregated as lt, reorderChecks as m, isRowCountRun as mn, markOnboardingCompleted as mt, importState as n, trackPreviewChange as nn, HistogramChart as nt, shareState as o, trackStateAction as on, useModelColumns_default as ot, markAsPresetCheck as p, isRowCountDiffRun as pn, getServerFlag as pt, useClipBoardToast as q, trackCopyToClipboard as qt, isStateSyncing as r, trackPreviewChangeFeedback as rn, SquareIcon as rt, syncState as s, RunToolbar as sn, LineageGraphContextProvider as st, exportState as t, trackNavigation as tn, HistogramDiffResultView as tt, deleteCheck as u, isQueryBaseRun as un, useRecceServerFlag as ut, runTypeHasRef as v, COLUMN_HEIGHT as vn, useRecceInstanceContext as vt, TopKDiffForm as w, toReactFlow as wn, cacheKeys as wt, ValueDiffDetailResultView as x, layout as xn, useApiClient as xt, ValueDiffResultView as y, isLineageGraphColumnNode as yn, useRecceInstanceInfo as yt, IconEdit as z, colors as zn, submitRun as zt };
|
|
8209
|
+
//# sourceMappingURL=state-CwepO01b.mjs.map
|