@prefecthq/prefect-ui-library 1.6.19 → 1.6.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-70906549.mjs → index-8a2cd533.mjs} +16880 -16383
- package/dist/index-8a2cd533.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +85 -85
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/compositions/index.d.ts +1 -0
- package/dist/types/src/compositions/useFlowRuns.d.ts +0 -1
- package/dist/types/src/compositions/useFlowRunsInfiniteScroll.d.ts +14 -0
- package/dist/types/src/compositions/usePaginatedSubscription.d.ts +1 -1
- package/dist/{viewport.es-ae91b8e8-e1baab1d.mjs → viewport.es-ae91b8e8-d48dd6a3.mjs} +2 -2
- package/dist/{viewport.es-ae91b8e8-e1baab1d.mjs.map → viewport.es-ae91b8e8-d48dd6a3.mjs.map} +1 -1
- package/package.json +2 -1
- package/dist/index-70906549.mjs.map +0 -1
- package/dist/types/src/utilities/infiniteScroll.d.ts +0 -15
|
@@ -16,6 +16,7 @@ export * from './useFlow';
|
|
|
16
16
|
export * from './useFlowRun';
|
|
17
17
|
export * from './useFlowRuns';
|
|
18
18
|
export * from './useFlowRunsCount';
|
|
19
|
+
export * from './useFlowRunsInfiniteScroll';
|
|
19
20
|
export * from './useFlows';
|
|
20
21
|
export * from './useFlowsCount';
|
|
21
22
|
export * from './useForm';
|
|
@@ -8,4 +8,3 @@ export type UseFlowRuns = {
|
|
|
8
8
|
subscription: UseSubscription<WorkspaceFlowRunsApi['getFlowRuns']>;
|
|
9
9
|
};
|
|
10
10
|
export declare function useFlowRuns(filter: FlowRunsFilter | Ref<FlowRunsFilter | null | undefined>, page?: MaybeRef<number>, options?: SubscriptionOptions): UseFlowRuns;
|
|
11
|
-
export declare const useFlowRunsInfiniteScroll: import("../utilities/infiniteScroll").InfiniteScroll<FlowRunsFilter, (filter?: FlowRunsFilter) => Promise<FlowRun[]>, "flowRuns">;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SubscriptionOptions } from '@prefecthq/vue-compositions';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { UseSubscriptions } from '../compositions/useSubscriptions';
|
|
4
|
+
import { FlowRunsFilter } from '../models/Filters';
|
|
5
|
+
import { FlowRun } from '../models/FlowRun';
|
|
6
|
+
import { WorkspaceFlowRunsApi } from '../services/WorkspaceFlowRunsApi';
|
|
7
|
+
type FlowRunsAction = WorkspaceFlowRunsApi['getFlowRuns'] | (() => undefined);
|
|
8
|
+
export type UseFlowRunsInfiniteScroll = {
|
|
9
|
+
flowRuns: ComputedRef<FlowRun[]>;
|
|
10
|
+
subscriptions: UseSubscriptions<FlowRunsAction>['subscriptions'];
|
|
11
|
+
loadMore: () => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function useFlowRunsInfiniteScroll(filter: FlowRunsFilter | Ref<FlowRunsFilter | null | undefined>, options?: SubscriptionOptions): UseFlowRunsInfiniteScroll;
|
|
14
|
+
export {};
|
|
@@ -8,6 +8,6 @@ export type UsePaginatedSubscription<T extends PaginatedAction> = {
|
|
|
8
8
|
loadMore: () => void;
|
|
9
9
|
} & Omit<UseSubscription<T>, 'promise'>;
|
|
10
10
|
/**
|
|
11
|
-
* @deprecated Use
|
|
11
|
+
* @deprecated Use dedicated compositions such as useFlowRunInfiniteScroll instead
|
|
12
12
|
*/
|
|
13
13
|
export declare function usePaginatedSubscription<T extends PaginatedAction>(...[action, args, options]: SubscribeArguments<T>): UsePaginatedSubscription<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as O, f as k, $ as b, l as c } from "./index-
|
|
1
|
+
import { k as O, f as k, $ as b, l as c } from "./index-8a2cd533.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@prefecthq/vue-charts";
|
|
4
4
|
import "@prefecthq/prefect-design";
|
|
@@ -1535,4 +1535,4 @@ export {
|
|
|
1535
1535
|
C as Viewport,
|
|
1536
1536
|
N as Wheel
|
|
1537
1537
|
};
|
|
1538
|
-
//# sourceMappingURL=viewport.es-ae91b8e8-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-ae91b8e8-d48dd6a3.mjs.map
|