@sixb/client 0.1.10 → 0.1.12
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/README.md +26 -0
- package/dist/browser.js +2 -2
- package/dist/{chunk-rvaq39w5.js → chunk-bsy1hg20.js} +1 -1
- package/dist/{chunk-62nthgkf.js → chunk-e8qjsvha.js} +12 -2
- package/dist/chunk-e8qjsvha.js.map +19 -0
- package/dist/{chunk-6pmyt76w.js → chunk-hx3n4fer.js} +8 -6
- package/dist/{chunk-6pmyt76w.js.map → chunk-hx3n4fer.js.map} +3 -3
- package/dist/{chunk-cs98dfbc.js → chunk-kh20z2mt.js} +6 -4
- package/dist/chunk-kh20z2mt.js.map +10 -0
- package/dist/{chunk-d0m9gz29.js → chunk-sjb188se.js} +1 -1
- package/dist/{chunk-dp68jpeq.js → chunk-t50n91tk.js} +2 -2
- package/dist/connectors/connection.d.ts.map +1 -1
- package/dist/connectors/mutations.d.ts.map +1 -1
- package/dist/connectors/queries.d.ts +0 -4
- package/dist/connectors/queries.d.ts.map +1 -1
- package/dist/file.d.ts +3 -1
- package/dist/file.d.ts.map +1 -1
- package/dist/generated/@tanstack/react-query.gen.d.ts +1087 -120
- package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/sdk.gen.d.ts +9 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/types.gen.d.ts +466 -16
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/hooks.js +92 -32
- package/dist/hooks.js.map +6 -6
- package/dist/index.js +10 -6
- package/dist/index.js.map +1 -1
- package/dist/logs.js +3 -3
- package/dist/models.js +6 -2
- package/dist/models.js.map +1 -1
- package/dist/query.d.ts.map +1 -1
- package/dist/query.js +3 -3
- package/package.json +2 -2
- package/src/connectors/connection.ts +45 -7
- package/src/connectors/mutations.ts +9 -4
- package/src/file.ts +11 -6
- package/src/generated/@tanstack/react-query.gen.ts +63 -0
- package/src/generated/index.ts +13 -0
- package/src/generated/sdk.gen.ts +38 -0
- package/src/generated/types.gen.ts +540 -16
- package/src/query.ts +3 -1
- package/dist/chunk-62nthgkf.js.map +0 -19
- package/dist/chunk-cs98dfbc.js.map +0 -10
- /package/dist/{chunk-rvaq39w5.js.map → chunk-bsy1hg20.js.map} +0 -0
- /package/dist/{chunk-d0m9gz29.js.map → chunk-sjb188se.js.map} +0 -0
- /package/dist/{chunk-dp68jpeq.js.map → chunk-t50n91tk.js.map} +0 -0
package/dist/hooks.js
CHANGED
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
listConnectorConnections2,
|
|
44
44
|
disconnectConnectorConnection2,
|
|
45
45
|
revokeConnectorConnection2,
|
|
46
|
+
listPendingConnectorConnectionRuns2,
|
|
46
47
|
startConnectorConnectionRun2,
|
|
47
48
|
getConnectorConnectionRun2,
|
|
48
49
|
addConnectorConnection2,
|
|
@@ -112,6 +113,7 @@ import {
|
|
|
112
113
|
listAgentThreads2,
|
|
113
114
|
createAgentThread2,
|
|
114
115
|
getAgentThread2,
|
|
116
|
+
recreateAgentThreadSandbox2,
|
|
115
117
|
listAgentThreadMessages2,
|
|
116
118
|
postAgentThreadMessage2,
|
|
117
119
|
getAgentMessageFileContent2,
|
|
@@ -133,7 +135,7 @@ import {
|
|
|
133
135
|
listProjectionRuns2,
|
|
134
136
|
getProjectionRun2,
|
|
135
137
|
listWebhookRuns2
|
|
136
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-e8qjsvha.js";
|
|
137
139
|
import {
|
|
138
140
|
encodeObjectId2,
|
|
139
141
|
decodeObjectId2,
|
|
@@ -161,27 +163,22 @@ import {
|
|
|
161
163
|
ActionRunFailedError2,
|
|
162
164
|
requestActionAndWait2,
|
|
163
165
|
uploadFile2
|
|
164
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-hx3n4fer.js";
|
|
165
167
|
import {
|
|
166
168
|
isSixbApiError2
|
|
167
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-bsy1hg20.js";
|
|
168
170
|
import {
|
|
169
171
|
createHttpQueryExecutor2
|
|
170
|
-
} from "./chunk-
|
|
171
|
-
import"./chunk-
|
|
172
|
+
} from "./chunk-kh20z2mt.js";
|
|
173
|
+
import"./chunk-sjb188se.js";
|
|
172
174
|
import"./chunk-0ka9ykez.js";
|
|
173
175
|
|
|
174
176
|
// src/hooks.ts
|
|
175
177
|
import { infiniteQueryOptions as infiniteQueryOptions3, queryOptions as queryOptions4 } from "@tanstack/react-query";
|
|
176
178
|
// src/connectors/connection.ts
|
|
179
|
+
import { useQuery as useQuery2, useQueryClient as useQueryClient2 } from "@tanstack/react-query";
|
|
177
180
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
178
181
|
|
|
179
|
-
// src/connectors/mutations.ts
|
|
180
|
-
import {
|
|
181
|
-
useMutation,
|
|
182
|
-
useQueryClient
|
|
183
|
-
} from "@tanstack/react-query";
|
|
184
|
-
|
|
185
182
|
// src/client-provider.ts
|
|
186
183
|
import { createContext, createElement, useContext } from "react";
|
|
187
184
|
var SixbClientContext = createContext(undefined);
|
|
@@ -872,6 +869,19 @@ var revokeConnectorConnectionMutation = (options) => {
|
|
|
872
869
|
};
|
|
873
870
|
return mutationOptions;
|
|
874
871
|
};
|
|
872
|
+
var listPendingConnectorConnectionRunsQueryKey = (options) => createQueryKey("listPendingConnectorConnectionRuns", options);
|
|
873
|
+
var listPendingConnectorConnectionRunsOptions = (options) => queryOptions({
|
|
874
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
875
|
+
const { data } = await listPendingConnectorConnectionRuns2({
|
|
876
|
+
...options,
|
|
877
|
+
...queryKey[0],
|
|
878
|
+
signal,
|
|
879
|
+
throwOnError: true
|
|
880
|
+
});
|
|
881
|
+
return data;
|
|
882
|
+
},
|
|
883
|
+
queryKey: listPendingConnectorConnectionRunsQueryKey(options)
|
|
884
|
+
});
|
|
875
885
|
var startConnectorConnectionRunMutation = (options) => {
|
|
876
886
|
const mutationOptions = {
|
|
877
887
|
mutationFn: async (fnOptions) => {
|
|
@@ -1914,6 +1924,19 @@ var getAgentThreadOptions = (options) => queryOptions({
|
|
|
1914
1924
|
},
|
|
1915
1925
|
queryKey: getAgentThreadQueryKey(options)
|
|
1916
1926
|
});
|
|
1927
|
+
var recreateAgentThreadSandboxMutation = (options) => {
|
|
1928
|
+
const mutationOptions = {
|
|
1929
|
+
mutationFn: async (fnOptions) => {
|
|
1930
|
+
const { data } = await recreateAgentThreadSandbox2({
|
|
1931
|
+
...options,
|
|
1932
|
+
...fnOptions,
|
|
1933
|
+
throwOnError: true
|
|
1934
|
+
});
|
|
1935
|
+
return data;
|
|
1936
|
+
}
|
|
1937
|
+
};
|
|
1938
|
+
return mutationOptions;
|
|
1939
|
+
};
|
|
1917
1940
|
var listAgentThreadMessagesQueryKey = (options) => createQueryKey("listAgentThreadMessages", options);
|
|
1918
1941
|
var listAgentThreadMessagesOptions = (options) => queryOptions({
|
|
1919
1942
|
queryFn: async ({ queryKey, signal }) => {
|
|
@@ -2252,6 +2275,10 @@ var listWebhookRunsInfiniteOptions = (options) => infiniteQueryOptions({
|
|
|
2252
2275
|
});
|
|
2253
2276
|
|
|
2254
2277
|
// src/connectors/mutations.ts
|
|
2278
|
+
import {
|
|
2279
|
+
useMutation,
|
|
2280
|
+
useQueryClient
|
|
2281
|
+
} from "@tanstack/react-query";
|
|
2255
2282
|
function addConnectorConnectionMutationOptions(options) {
|
|
2256
2283
|
const {
|
|
2257
2284
|
connectorId,
|
|
@@ -2347,7 +2374,7 @@ function selectConnectorAccountMutationOptions(options) {
|
|
|
2347
2374
|
onSuccess: async (run, variables, context, mutation) => {
|
|
2348
2375
|
const resolvedPath = path();
|
|
2349
2376
|
queryClient?.setQueryData(getConnectorConnectionRunQueryKey({ path: resolvedPath }), run);
|
|
2350
|
-
await invalidateConnectorConnections(queryClient, resolvedPath.connectorId);
|
|
2377
|
+
await invalidateConnectorConnections(queryClient, resolvedPath.connectorId, client);
|
|
2351
2378
|
await onSuccess?.(run, variables, context, mutation);
|
|
2352
2379
|
}
|
|
2353
2380
|
};
|
|
@@ -2380,7 +2407,7 @@ function disconnectConnectorMutationOptions(options) {
|
|
|
2380
2407
|
return data;
|
|
2381
2408
|
},
|
|
2382
2409
|
onSuccess: async (result, variables, context, mutation) => {
|
|
2383
|
-
await invalidateConnectorConnections(queryClient, normalizedConnectorId);
|
|
2410
|
+
await invalidateConnectorConnections(queryClient, normalizedConnectorId, client);
|
|
2384
2411
|
await onSuccess?.(result, variables, context, mutation);
|
|
2385
2412
|
}
|
|
2386
2413
|
};
|
|
@@ -2413,7 +2440,7 @@ function revokeConnectorMutationOptions(options) {
|
|
|
2413
2440
|
return data;
|
|
2414
2441
|
},
|
|
2415
2442
|
onSuccess: async (result, variables, context, mutation) => {
|
|
2416
|
-
await invalidateConnectorConnections(queryClient, normalizedConnectorId);
|
|
2443
|
+
await invalidateConnectorConnections(queryClient, normalizedConnectorId, client);
|
|
2417
2444
|
await onSuccess?.(result, variables, context, mutation);
|
|
2418
2445
|
}
|
|
2419
2446
|
};
|
|
@@ -2476,9 +2503,12 @@ function resolveReturnTo(value) {
|
|
|
2476
2503
|
}
|
|
2477
2504
|
}
|
|
2478
2505
|
}
|
|
2479
|
-
async function invalidateConnectorConnections(queryClient, connectorId) {
|
|
2506
|
+
async function invalidateConnectorConnections(queryClient, connectorId, client) {
|
|
2480
2507
|
if (!queryClient)
|
|
2481
2508
|
return;
|
|
2509
|
+
await queryClient.invalidateQueries({
|
|
2510
|
+
queryKey: listPendingConnectorConnectionRunsQueryKey({ client, path: { connectorId } })
|
|
2511
|
+
});
|
|
2482
2512
|
await queryClient.invalidateQueries({
|
|
2483
2513
|
queryKey: listConnectorConnectionsQueryKey({ path: { connectorId } })
|
|
2484
2514
|
});
|
|
@@ -2568,10 +2598,25 @@ function useConnectorConnection({
|
|
|
2568
2598
|
returnTo
|
|
2569
2599
|
}) {
|
|
2570
2600
|
const [callback, setCallback] = useState(readConnectorConnectionCallback);
|
|
2601
|
+
const providerClient = useSixbProviderClient();
|
|
2602
|
+
const queryClient = useQueryClient2();
|
|
2603
|
+
const [dismissedRunIds, setDismissedRunIds] = useState([]);
|
|
2571
2604
|
const connectInFlightRef = useRef(null);
|
|
2572
2605
|
const callbackRunId = callback?.connectorId === connectorId ? callback.runId : null;
|
|
2606
|
+
const pendingRunsQuery = useQuery2({
|
|
2607
|
+
...listPendingConnectorConnectionRunsOptions({ client: providerClient, path: { connectorId } }),
|
|
2608
|
+
enabled: callbackRunId === null,
|
|
2609
|
+
staleTime: 0
|
|
2610
|
+
});
|
|
2611
|
+
const recoveryPending = callbackRunId === null && pendingRunsQuery.isPending;
|
|
2612
|
+
const recoveryError = callbackRunId === null ? pendingRunsQuery.error : null;
|
|
2573
2613
|
const connectionsQuery = useConnectorConnections({ connectorId });
|
|
2574
2614
|
const connection = useMemo(() => connectionsQuery.data?.find((candidate) => candidate.slot === slot), [connectionsQuery.data, slot]);
|
|
2615
|
+
const pendingRun = pendingRunsQuery.data?.find((run) => run.slot === slot && !dismissedRunIds.includes(run.id));
|
|
2616
|
+
useEffect(() => {
|
|
2617
|
+
if (callbackRunId === null && !connectionsQuery.isPending && !connectionsQuery.error && pendingRun)
|
|
2618
|
+
setCallback({ connectorId, runId: pendingRun.id });
|
|
2619
|
+
}, [callbackRunId, connectorId, pendingRun, connectionsQuery.isPending, connectionsQuery.error]);
|
|
2575
2620
|
const runQuery = useConnectorConnectionRun({
|
|
2576
2621
|
connectorId,
|
|
2577
2622
|
runId: callbackRunId,
|
|
@@ -2603,9 +2648,18 @@ function useConnectorConnection({
|
|
|
2603
2648
|
return;
|
|
2604
2649
|
if (!result.data?.some((candidate) => candidate.slot === slot))
|
|
2605
2650
|
return;
|
|
2651
|
+
await queryClient.invalidateQueries({
|
|
2652
|
+
queryKey: listPendingConnectorConnectionRunsQueryKey({
|
|
2653
|
+
client: providerClient,
|
|
2654
|
+
path: { connectorId }
|
|
2655
|
+
})
|
|
2656
|
+
});
|
|
2657
|
+
if (!canConsume())
|
|
2658
|
+
return;
|
|
2659
|
+
setDismissedRunIds((current) => [...current, expectedCallback.runId]);
|
|
2606
2660
|
clearConnectorConnectionCallback(expectedCallback);
|
|
2607
2661
|
setCallback((current) => sameConnectorConnectionCallback(current, expectedCallback) ? null : current);
|
|
2608
|
-
}, [connectionsQuery.refetch, slot]);
|
|
2662
|
+
}, [connectionsQuery.refetch, slot, queryClient, connectorId, providerClient]);
|
|
2609
2663
|
const completedRunId = resumedRun?.status === "succeeded" ? resumedRun.id : null;
|
|
2610
2664
|
useEffect(() => {
|
|
2611
2665
|
if (!completedRunId || !callback)
|
|
@@ -2653,6 +2707,8 @@ function useConnectorConnection({
|
|
|
2653
2707
|
await revokeMutation.mutateAsync();
|
|
2654
2708
|
}
|
|
2655
2709
|
async function refresh() {
|
|
2710
|
+
if (callbackRunId === null)
|
|
2711
|
+
await pendingRunsQuery.refetch();
|
|
2656
2712
|
let completedCallback;
|
|
2657
2713
|
if (callbackRunId !== null) {
|
|
2658
2714
|
const runResult = await runQuery.refetch();
|
|
@@ -2668,6 +2724,7 @@ function useConnectorConnection({
|
|
|
2668
2724
|
function dismiss() {
|
|
2669
2725
|
if (!callback)
|
|
2670
2726
|
return;
|
|
2727
|
+
setDismissedRunIds((current) => [...current, callback.runId]);
|
|
2671
2728
|
clearConnectorConnectionCallback(callback);
|
|
2672
2729
|
setCallback(null);
|
|
2673
2730
|
resetError();
|
|
@@ -2681,8 +2738,8 @@ function useConnectorConnection({
|
|
|
2681
2738
|
}
|
|
2682
2739
|
const status = connectionStatus({
|
|
2683
2740
|
callbackRunId,
|
|
2684
|
-
connectionsPending: connectionsQuery.isPending,
|
|
2685
|
-
connectionsError: connectionsQuery.error,
|
|
2741
|
+
connectionsPending: connectionsQuery.isPending || recoveryPending,
|
|
2742
|
+
connectionsError: connectionsQuery.error ?? recoveryError,
|
|
2686
2743
|
runPending: runQuery.isPending,
|
|
2687
2744
|
runError: runQuery.error,
|
|
2688
2745
|
run: resumedRun,
|
|
@@ -2691,7 +2748,7 @@ function useConnectorConnection({
|
|
|
2691
2748
|
const mutationPending = connectMutation.isPending || reauthorizeMutation.isPending || selectMutation.isPending || disconnectMutation.isPending || revokeMutation.isPending;
|
|
2692
2749
|
const canConnect = connectorCanConnect({
|
|
2693
2750
|
status,
|
|
2694
|
-
connectionsError: connectionsQuery.error,
|
|
2751
|
+
connectionsError: connectionsQuery.error ?? recoveryError,
|
|
2695
2752
|
runError: runQuery.error,
|
|
2696
2753
|
run: resumedRun,
|
|
2697
2754
|
connection,
|
|
@@ -2701,7 +2758,7 @@ function useConnectorConnection({
|
|
|
2701
2758
|
status,
|
|
2702
2759
|
connection,
|
|
2703
2760
|
accounts: accountSelection(resumedRun),
|
|
2704
|
-
error: mutationFailure("connect", connectMutation.error) ?? mutationFailure("connect", reauthorizeMutation.error) ?? mutationFailure("select_account", selectMutation.error) ?? mutationFailure("disconnect", disconnectMutation.error) ?? mutationFailure("revoke", revokeMutation.error) ?? runFailure(callbackRunId, resumedRun, runQuery.error) ?? mutationFailure("load", connectionsQuery.error),
|
|
2761
|
+
error: mutationFailure("connect", connectMutation.error) ?? mutationFailure("connect", reauthorizeMutation.error) ?? mutationFailure("select_account", selectMutation.error) ?? mutationFailure("disconnect", disconnectMutation.error) ?? mutationFailure("revoke", revokeMutation.error) ?? runFailure(callbackRunId, resumedRun, runQuery.error) ?? mutationFailure("load", connectionsQuery.error ?? recoveryError),
|
|
2705
2762
|
canConnect,
|
|
2706
2763
|
isPending: status === "loading" || status === "authorizing" || mutationPending,
|
|
2707
2764
|
selectedAccountId: selectMutation.variables?.accountId,
|
|
@@ -2829,7 +2886,7 @@ function redirectToAuthorization(authorizationUrl) {
|
|
|
2829
2886
|
globalThis.location.assign(authorizationUrl);
|
|
2830
2887
|
}
|
|
2831
2888
|
// src/events-hooks.ts
|
|
2832
|
-
import { useQueryClient as
|
|
2889
|
+
import { useQueryClient as useQueryClient3 } from "@tanstack/react-query";
|
|
2833
2890
|
import { startTransition, useCallback as useCallback2, useEffect as useEffect3, useRef as useRef2, useState as useState2 } from "react";
|
|
2834
2891
|
|
|
2835
2892
|
// src/events-provider.ts
|
|
@@ -2996,7 +3053,7 @@ function useLatestByObject(builder, options) {
|
|
|
2996
3053
|
return { byObject, connected };
|
|
2997
3054
|
}
|
|
2998
3055
|
function useInvalidateOnEvent(builder, resolveKeys, options) {
|
|
2999
|
-
const queryClient =
|
|
3056
|
+
const queryClient = useQueryClient3();
|
|
3000
3057
|
const resolveKeysRef = useRef2(resolveKeys);
|
|
3001
3058
|
resolveKeysRef.current = resolveKeys;
|
|
3002
3059
|
const pendingRef = useRef2(new Map);
|
|
@@ -3110,8 +3167,8 @@ import {
|
|
|
3110
3167
|
queryOptions as queryOptions3,
|
|
3111
3168
|
useInfiniteQuery,
|
|
3112
3169
|
useMutation as useMutation2,
|
|
3113
|
-
useQuery as
|
|
3114
|
-
useQueryClient as
|
|
3170
|
+
useQuery as useQuery3,
|
|
3171
|
+
useQueryClient as useQueryClient4
|
|
3115
3172
|
} from "@tanstack/react-query";
|
|
3116
3173
|
import { useMemo as useMemo3 } from "react";
|
|
3117
3174
|
var objectQueryBaseKey = ["sixb", "objects"];
|
|
@@ -3303,7 +3360,7 @@ function createActionRunMutationOptions(options) {
|
|
|
3303
3360
|
}
|
|
3304
3361
|
function useActionRunMutation(options) {
|
|
3305
3362
|
const providerClient = useSixbProviderClient();
|
|
3306
|
-
const queryClient =
|
|
3363
|
+
const queryClient = useQueryClient4();
|
|
3307
3364
|
return useMutation2(createActionRunMutationOptions({
|
|
3308
3365
|
...options,
|
|
3309
3366
|
client: options?.client ?? providerClient,
|
|
@@ -3512,7 +3569,7 @@ function useTelemetryHistoryQuery(options) {
|
|
|
3512
3569
|
...historyOptions,
|
|
3513
3570
|
client: historyOptions.client ?? client
|
|
3514
3571
|
};
|
|
3515
|
-
return
|
|
3572
|
+
return useQuery3({
|
|
3516
3573
|
...telemetryHistoryQueryOptions(historyInput),
|
|
3517
3574
|
enabled,
|
|
3518
3575
|
staleTime,
|
|
@@ -3537,7 +3594,7 @@ function useBulkTelemetryHistoryQuery(options) {
|
|
|
3537
3594
|
...historyOptions,
|
|
3538
3595
|
client: historyOptions.client ?? client
|
|
3539
3596
|
};
|
|
3540
|
-
return
|
|
3597
|
+
return useQuery3({
|
|
3541
3598
|
...bulkTelemetryHistoryQueryOptions(historyInput),
|
|
3542
3599
|
enabled,
|
|
3543
3600
|
staleTime,
|
|
@@ -3550,7 +3607,7 @@ function useBulkTelemetryHistoryQuery(options) {
|
|
|
3550
3607
|
function useObjectsQuery(query, options) {
|
|
3551
3608
|
const executor = useClientQueryExecutor();
|
|
3552
3609
|
const ir = query.ir;
|
|
3553
|
-
return
|
|
3610
|
+
return useQuery3({
|
|
3554
3611
|
queryKey: objectQueryKeys.list(query),
|
|
3555
3612
|
queryFn: async () => {
|
|
3556
3613
|
const result = await executor.list(ir);
|
|
@@ -3567,7 +3624,7 @@ function useObjectsQuery(query, options) {
|
|
|
3567
3624
|
function useObjectsCount(query, options) {
|
|
3568
3625
|
const executor = useClientQueryExecutor();
|
|
3569
3626
|
const ir = query.ir;
|
|
3570
|
-
return
|
|
3627
|
+
return useQuery3({
|
|
3571
3628
|
queryKey: objectQueryKeys.count(query),
|
|
3572
3629
|
queryFn: () => executor.count(ir),
|
|
3573
3630
|
...options
|
|
@@ -3576,7 +3633,7 @@ function useObjectsCount(query, options) {
|
|
|
3576
3633
|
function useObjectsExists(query, options) {
|
|
3577
3634
|
const executor = useClientQueryExecutor();
|
|
3578
3635
|
const ir = query.ir;
|
|
3579
|
-
return
|
|
3636
|
+
return useQuery3({
|
|
3580
3637
|
queryKey: objectQueryKeys.exists(query),
|
|
3581
3638
|
queryFn: () => executor.exists(ir),
|
|
3582
3639
|
...options
|
|
@@ -3589,7 +3646,7 @@ function useObjectsFacets(query, facets, options) {
|
|
|
3589
3646
|
propertyId: facet.property.id,
|
|
3590
3647
|
limit: facet.limit
|
|
3591
3648
|
}));
|
|
3592
|
-
return
|
|
3649
|
+
return useQuery3({
|
|
3593
3650
|
queryKey: objectQueryKeys.facets(query, facets),
|
|
3594
3651
|
queryFn: () => executor.facets(ir, facetRequests),
|
|
3595
3652
|
...options
|
|
@@ -4164,6 +4221,8 @@ export {
|
|
|
4164
4221
|
listObjectsPageOptions,
|
|
4165
4222
|
listObjectsPageQueryKey,
|
|
4166
4223
|
listObjectsQueryKey,
|
|
4224
|
+
listPendingConnectorConnectionRunsOptions,
|
|
4225
|
+
listPendingConnectorConnectionRunsQueryKey,
|
|
4167
4226
|
listPipelineRunsInfiniteOptions,
|
|
4168
4227
|
listPipelineRunsInfiniteQueryKey,
|
|
4169
4228
|
listPipelineRunsOptions,
|
|
@@ -4226,6 +4285,7 @@ export {
|
|
|
4226
4285
|
reactivateAuthMemberMutation,
|
|
4227
4286
|
reauthorizeConnectorConnectionMutation,
|
|
4228
4287
|
reauthorizeConnectorMutationOptions,
|
|
4288
|
+
recreateAgentThreadSandboxMutation,
|
|
4229
4289
|
removeObjectLinkMutation,
|
|
4230
4290
|
requestActionMutation,
|
|
4231
4291
|
requestPipelineRunMutation,
|
|
@@ -4288,4 +4348,4 @@ export {
|
|
|
4288
4348
|
useUploadFile
|
|
4289
4349
|
};
|
|
4290
4350
|
|
|
4291
|
-
//# debugId=
|
|
4351
|
+
//# debugId=D95528493871918564756E2164756E21
|