@prefecthq/prefect-ui-library 2.0.8 → 2.0.10
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-75dba3d7.mjs → index-0dcc1712.mjs} +15876 -15815
- package/dist/index-0dcc1712.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +719 -715
- package/dist/prefect-ui-library.umd.js +83 -83
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/services/mockWorkspaceConcurrencyLimitsApi.d.ts +1 -0
- package/dist/types/src/components/ConcurrencyLimitResetModal.vue.d.ts +32 -0
- package/dist/types/src/components/DeploymentCombobox.vue.d.ts +3 -14
- package/dist/types/src/components/DeploymentRelationships.vue.d.ts +13 -0
- package/dist/types/src/components/FlowCombobox.vue.d.ts +0 -12
- package/dist/types/src/components/UseDeploymentSlot.vue.d.ts +21 -0
- package/dist/types/src/components/UseFlowSlot.vue.d.ts +21 -0
- package/dist/types/src/components/index.d.ts +7 -4
- package/dist/types/src/compositions/useDeployments.d.ts +3 -4
- package/dist/types/src/compositions/useFlows.d.ts +3 -5
- package/dist/types/src/compositions/usePagination.d.ts +37 -0
- package/dist/types/src/compositions/useSubscriptions.d.ts +5 -1
- package/dist/types/src/localization/index.d.ts +2 -0
- package/dist/types/src/localization/locale/en.d.ts +2 -0
- package/dist/types/src/services/WorkspaceConcurrencyLimitsApi.d.ts +2 -0
- package/dist/types/src/services/can.d.ts +1 -1
- package/dist/types/src/utilities/arrays.d.ts +1 -1
- package/dist/types/src/utilities/index.d.ts +1 -0
- package/dist/{viewport.es-88169ec4-f864c76f.mjs → viewport.es-88169ec4-e7cd1038.mjs} +2 -2
- package/dist/{viewport.es-88169ec4-f864c76f.mjs.map → viewport.es-88169ec4-e7cd1038.mjs.map} +1 -1
- package/package.json +6 -6
- package/dist/index-75dba3d7.mjs.map +0 -1
- package/dist/types/src/components/WorkPoolCreateForm.vue.d.ts +0 -2
|
@@ -3,15 +3,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
3
3
|
type: import("vue").PropType<string | string[] | null | undefined>;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
emptyMessage: {
|
|
7
|
-
type: import("vue").PropType<string>;
|
|
8
|
-
};
|
|
9
6
|
allowUnset: {
|
|
10
7
|
type: import("vue").PropType<boolean>;
|
|
11
8
|
};
|
|
12
|
-
multiple: {
|
|
13
|
-
type: import("vue").PropType<boolean>;
|
|
14
|
-
};
|
|
15
9
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
10
|
"update:selected": (value: string | string[] | null) => void;
|
|
17
11
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -19,15 +13,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
13
|
type: import("vue").PropType<string | string[] | null | undefined>;
|
|
20
14
|
required: true;
|
|
21
15
|
};
|
|
22
|
-
emptyMessage: {
|
|
23
|
-
type: import("vue").PropType<string>;
|
|
24
|
-
};
|
|
25
16
|
allowUnset: {
|
|
26
17
|
type: import("vue").PropType<boolean>;
|
|
27
18
|
};
|
|
28
|
-
multiple: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
};
|
|
31
19
|
}>> & {
|
|
32
20
|
"onUpdate:selected"?: ((value: string | string[] | null) => any) | undefined;
|
|
33
21
|
}, {}, {}>, {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
deploymentId: {
|
|
3
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
deploymentId: {
|
|
8
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>, {
|
|
12
|
+
default?(_: {
|
|
13
|
+
deployment: import("..").Deployment;
|
|
14
|
+
}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
flowId: {
|
|
3
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
flowId: {
|
|
8
|
+
type: import("vue").PropType<string | null | undefined>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>, {
|
|
12
|
+
default?(_: {
|
|
13
|
+
flow: import("..").Flow;
|
|
14
|
+
}): any;
|
|
15
|
+
}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -43,14 +43,15 @@ export { default as ColorModeSelectOption } from './ColorModeSelectOption.vue';
|
|
|
43
43
|
export { default as ConcurrencyLimitActiveRuns } from './ConcurrencyLimitActiveRuns.vue';
|
|
44
44
|
export { default as ConcurrencyLimitDetails } from './ConcurrencyLimitDetails.vue';
|
|
45
45
|
export { default as ConcurrencyLimitMenu } from './ConcurrencyLimitMenu.vue';
|
|
46
|
+
export { default as ConcurrencyLimitResetModal } from '../components/ConcurrencyLimitResetModal.vue';
|
|
46
47
|
export { default as ConcurrencyLimitsCreateModal } from './ConcurrencyLimitsCreateModal.vue';
|
|
47
48
|
export { default as ConcurrencyLimitsPageEmptyState } from './ConcurrencyLimitsPageEmptyState.vue';
|
|
48
49
|
export { default as ConcurrencyLimitsTable } from './ConcurrencyLimitsTable.vue';
|
|
49
|
-
export { default as ConcurrencyLimitV2Menu } from '../components/ConcurrencyLimitV2Menu.vue';
|
|
50
|
-
export { default as ConcurrencyLimitsV2Table } from './ConcurrencyLimitsV2Table.vue';
|
|
51
50
|
export { default as ConcurrencyLimitsV2CreateModal } from './ConcurrencyLimitsV2CreateModal.vue';
|
|
52
51
|
export { default as ConcurrencyLimitsV2EmptyState } from './ConcurrencyLimitsV2EmptyState.vue';
|
|
52
|
+
export { default as ConcurrencyLimitsV2Table } from './ConcurrencyLimitsV2Table.vue';
|
|
53
53
|
export { default as ConcurrencyLimitsV2UpdateModal } from './ConcurrencyLimitsV2UpdateModal.vue';
|
|
54
|
+
export { default as ConcurrencyLimitV2Menu } from '../components/ConcurrencyLimitV2Menu.vue';
|
|
54
55
|
export { default as ConcurrencyLimitV2Toggle } from './ConcurrencyLimitV2Toggle.vue';
|
|
55
56
|
export { default as ConcurrencyTableActiveSlots } from './ConcurrencyTableActiveSlots.vue';
|
|
56
57
|
export { default as ConfirmDeleteModal } from './ConfirmDeleteModal.vue';
|
|
@@ -77,6 +78,7 @@ export { default as DeploymentList } from './DeploymentList.vue';
|
|
|
77
78
|
export { default as DeploymentListItem } from './DeploymentListItem.vue';
|
|
78
79
|
export { default as DeploymentMenu } from './DeploymentMenu.vue';
|
|
79
80
|
export { default as DeploymentQuickRunOverflowMenuItem } from './DeploymentQuickRunOverflowMenuItem.vue';
|
|
81
|
+
export { default as DeploymentRelationships } from './DeploymentRelationships.vue';
|
|
80
82
|
export { default as DeploymentsCount } from './DeploymentsCount.vue';
|
|
81
83
|
export { default as DeploymentsDeleteButton } from './DeploymentsDeleteButton.vue';
|
|
82
84
|
export { default as DeploymentsPageEmptyState } from './DeploymentsPageEmptyState.vue';
|
|
@@ -94,7 +96,6 @@ export { default as FlowList } from './FlowList.vue';
|
|
|
94
96
|
export { default as FlowListItem } from './FlowListItem.vue';
|
|
95
97
|
export { default as FlowMenu } from './FlowMenu.vue';
|
|
96
98
|
export { default as FlowRouterLink } from './FlowRouterLink.vue';
|
|
97
|
-
export { default as FlowRunStateTypeTab } from './FlowRunStateTypeTabs.vue';
|
|
98
99
|
export { default as FlowRunArtifacts } from './FlowRunArtifacts.vue';
|
|
99
100
|
export { default as FlowRunBreadCrumbs } from './FlowRunBreadCrumbs.vue';
|
|
100
101
|
export { default as FlowRunCancelButton } from './FlowRunCancelButton.vue';
|
|
@@ -124,6 +125,7 @@ export { default as FlowRunsPageEmptyState } from './FlowRunsPageEmptyState.vue'
|
|
|
124
125
|
export { default as FlowRunsScatterPlot } from './FlowRunsScatterPlot.vue';
|
|
125
126
|
export { default as FlowRunsSort } from './FlowRunsSort.vue';
|
|
126
127
|
export { default as FlowRunStartTime } from './FlowRunStartTime.vue';
|
|
128
|
+
export { default as FlowRunStateTypeTab } from './FlowRunStateTypeTabs.vue';
|
|
127
129
|
export { default as FlowRunSubFlows } from './FlowRunSubFlows.vue';
|
|
128
130
|
export { default as FlowRunTagsInput } from './FlowRunTagsInput.vue';
|
|
129
131
|
export { default as FlowRunTaskCount } from './FlowRunTaskCount.vue';
|
|
@@ -239,6 +241,8 @@ export { default as TaskRunsSort } from './TaskRunsSort.vue';
|
|
|
239
241
|
export { default as TimeSpanFilter } from './TimeSpanFilter.vue';
|
|
240
242
|
export { default as TimezoneSelect } from './TimezoneSelect.vue';
|
|
241
243
|
export { default as ToastFlowRunCreate } from './ToastFlowRunCreate.vue';
|
|
244
|
+
export { default as UseDeploymentSlot } from './UseDeploymentSlot.vue';
|
|
245
|
+
export { default as UseFlowSlot } from './UseFlowSlot.vue';
|
|
242
246
|
export { default as VariableCreateModal } from './VariableCreateModal.vue';
|
|
243
247
|
export { default as VariableEditModal } from './VariableEditModal.vue';
|
|
244
248
|
export { default as VariableMenu } from './VariableMenu.vue';
|
|
@@ -252,7 +256,6 @@ export { default as WorkerStatusBadge } from './WorkerStatusBadge.vue';
|
|
|
252
256
|
export { default as WorkPoolBaseJobTemplateFormSection } from './WorkPoolBaseJobTemplateFormSection.vue';
|
|
253
257
|
export { default as WorkPoolCard } from './WorkPoolCard.vue';
|
|
254
258
|
export { default as WorkPoolCombobox } from './WorkPoolCombobox.vue';
|
|
255
|
-
export { default as WorkPoolCreateForm } from './WorkPoolCreateForm.vue';
|
|
256
259
|
export { default as WorkPoolCreateWizard } from './WorkPoolCreateWizard.vue';
|
|
257
260
|
export { default as WorkPoolCreateWizardStepInformation } from './WorkPoolCreateWizardStepInformation.vue';
|
|
258
261
|
export { default as WorkPoolCreateWizardStepInfrastructureConfiguration } from './WorkPoolCreateWizardStepInfrastructureConfiguration.vue';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { PaginationOptions, UsePaginationEntity } from '../compositions/usePagination';
|
|
2
3
|
import { DeploymentsFilter } from '../models';
|
|
3
4
|
import { WorkspaceDeploymentsApi } from '../services';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export declare function useDeployments(filter: MaybeRefOrGetter<DeploymentsFilter>): UseDeployments;
|
|
7
|
-
export declare function useDeployments(deploymentIds: MaybeRefOrGetter<string[] | null | undefined>): UseDeployments;
|
|
5
|
+
export type UseDeployments = UsePaginationEntity<WorkspaceDeploymentsApi['getDeployments'], WorkspaceDeploymentsApi['getDeploymentsCount'], 'deployments'>;
|
|
6
|
+
export declare function useDeployments(filter?: MaybeRefOrGetter<DeploymentsFilter | null | undefined>, options?: PaginationOptions): UseDeployments;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { SubscriptionOptions } from '@prefecthq/vue-compositions';
|
|
2
1
|
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
+
import { PaginationOptions, UsePaginationEntity } from '../compositions/usePagination';
|
|
3
3
|
import { FlowsFilter } from '../models';
|
|
4
4
|
import { WorkspaceFlowsApi } from '../services';
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
export declare function useFlows(filter: MaybeRefOrGetter<FlowsFilter | null | undefined>, options?: SubscriptionOptions): UseFlows;
|
|
8
|
-
export declare function useFlows(flowIds: MaybeRefOrGetter<string[] | null | undefined>, options?: SubscriptionOptions): UseFlows;
|
|
5
|
+
export type UseFlows = UsePaginationEntity<WorkspaceFlowsApi['getFlows'], WorkspaceFlowsApi['getFlowsCount'], 'flows'>;
|
|
6
|
+
export declare function useFlows(filter?: MaybeRefOrGetter<FlowsFilter | null | undefined>, options?: PaginationOptions): UseFlows;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Getter } from '@prefecthq/prefect-design';
|
|
2
|
+
import { SubscriptionOptions } from '@prefecthq/vue-compositions';
|
|
3
|
+
import { ComputedRef, MaybeRef, Ref } from 'vue';
|
|
4
|
+
import { UseSubscriptions } from '../compositions/useSubscriptions';
|
|
5
|
+
type PaginationFilter = {
|
|
6
|
+
limit?: number;
|
|
7
|
+
offset?: number;
|
|
8
|
+
};
|
|
9
|
+
type PaginationParameters = [filter?: PaginationFilter, ...any[]];
|
|
10
|
+
type PaginationFetchAction = (...parameters: PaginationParameters) => Promise<unknown[]>;
|
|
11
|
+
type PaginationCountAction = (...parameters: PaginationParameters) => Promise<number>;
|
|
12
|
+
type FetchSubscriptionAction<TFetch extends PaginationFetchAction> = (parameters: Parameters<TFetch>[]) => Promise<Awaited<ReturnType<TFetch>>>;
|
|
13
|
+
export type PaginationOptions = SubscriptionOptions & {
|
|
14
|
+
mode?: 'page' | 'infinite';
|
|
15
|
+
page?: MaybeRef<number>;
|
|
16
|
+
};
|
|
17
|
+
export type UsePaginationParameters<TFetch extends PaginationFetchAction, TFetchParameters extends Getter<Parameters<TFetch> | null>, TCount extends PaginationCountAction, TCountParameters extends Getter<Parameters<TCount> | null>> = {
|
|
18
|
+
fetchMethod: TFetch;
|
|
19
|
+
fetchParameters: TFetchParameters;
|
|
20
|
+
countMethod: TCount;
|
|
21
|
+
countParameters: TCountParameters;
|
|
22
|
+
options?: PaginationOptions;
|
|
23
|
+
};
|
|
24
|
+
export type UsePaginationEntity<TFetch extends PaginationFetchAction, TCount extends PaginationCountAction, TProperty extends string> = Omit<UsePagination<TFetch, TCount>, 'results'> & {
|
|
25
|
+
[P in TProperty]: ComputedRef<Awaited<ReturnType<TFetch>>>;
|
|
26
|
+
};
|
|
27
|
+
export type UsePagination<TFetch extends PaginationFetchAction, TCount extends PaginationCountAction> = {
|
|
28
|
+
subscriptions: UseSubscriptions<TCount | FetchSubscriptionAction<TFetch> | (() => undefined)>['subscriptions'];
|
|
29
|
+
results: ComputedRef<Awaited<ReturnType<TFetch>>>;
|
|
30
|
+
total: ComputedRef<number>;
|
|
31
|
+
pages: ComputedRef<number>;
|
|
32
|
+
page: Ref<number>;
|
|
33
|
+
next: () => void;
|
|
34
|
+
previous: () => void;
|
|
35
|
+
};
|
|
36
|
+
export declare function usePagination<TFetch extends PaginationFetchAction, TFetchParameters extends Getter<Parameters<TFetch> | null>, TCount extends PaginationCountAction, TCountParameters extends Getter<Parameters<TCount> | null>>({ fetchMethod, fetchParameters: fetchParametersGetter, countMethod, countParameters: countParametersGetter, options, }: UsePaginationParameters<TFetch, TFetchParameters, TCount, TCountParameters>): UsePagination<TFetch, TCount>;
|
|
37
|
+
export {};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Action, UseSubscription } from '@prefecthq/vue-compositions';
|
|
2
|
+
type ExtractAction<T extends readonly UseSubscription<Action>[]> = {
|
|
3
|
+
[K in keyof T]: T[K] extends UseSubscription<infer V> ? V : never;
|
|
4
|
+
};
|
|
2
5
|
export type UseSubscriptions<T extends Action> = {
|
|
3
6
|
subscriptions: Omit<UseSubscription<T>, 'promise' | 'response' | 'error'> & {
|
|
4
7
|
responses: UseSubscription<T>['response'][];
|
|
5
8
|
errors: UseSubscription<T>['error'][];
|
|
6
9
|
};
|
|
7
10
|
};
|
|
8
|
-
export declare function useSubscriptions<T extends Action>(subscriptions:
|
|
11
|
+
export declare function useSubscriptions<T extends UseSubscription<Action>[]>(subscriptions: T): UseSubscriptions<ExtractAction<T>[number]>;
|
|
12
|
+
export {};
|
|
@@ -27,6 +27,7 @@ export declare const localization: {
|
|
|
27
27
|
changeTaskRunState: string;
|
|
28
28
|
createBlock: string;
|
|
29
29
|
createConcurrencyLimit: string;
|
|
30
|
+
resetConcurrencyLimit: string;
|
|
30
31
|
createNotification: string;
|
|
31
32
|
createSavedSearch: string;
|
|
32
33
|
createSchedule: string;
|
|
@@ -74,6 +75,7 @@ export declare const localization: {
|
|
|
74
75
|
changeTaskRunState: string;
|
|
75
76
|
createBlock: string;
|
|
76
77
|
createConcurrencyLimit: string;
|
|
78
|
+
resetConcurrencyLimit: string;
|
|
77
79
|
createNotification: string;
|
|
78
80
|
createSavedSearch: string;
|
|
79
81
|
createSchedule: string;
|
|
@@ -27,6 +27,7 @@ export declare const en: {
|
|
|
27
27
|
changeTaskRunState: string;
|
|
28
28
|
createBlock: string;
|
|
29
29
|
createConcurrencyLimit: string;
|
|
30
|
+
resetConcurrencyLimit: string;
|
|
30
31
|
createNotification: string;
|
|
31
32
|
createSavedSearch: string;
|
|
32
33
|
createSchedule: string;
|
|
@@ -74,6 +75,7 @@ export declare const en: {
|
|
|
74
75
|
changeTaskRunState: string;
|
|
75
76
|
createBlock: string;
|
|
76
77
|
createConcurrencyLimit: string;
|
|
78
|
+
resetConcurrencyLimit: string;
|
|
77
79
|
createNotification: string;
|
|
78
80
|
createSavedSearch: string;
|
|
79
81
|
createSchedule: string;
|
|
@@ -9,6 +9,7 @@ export interface IWorkspaceConcurrencyLimitsApi {
|
|
|
9
9
|
getConcurrencyLimitByTag: (tag: string) => Promise<ConcurrencyLimit>;
|
|
10
10
|
deleteConcurrencyLimit: (concurrencyLimitId: string) => Promise<void>;
|
|
11
11
|
deleteConcurrencyLimitByTag: (tag: string) => Promise<void>;
|
|
12
|
+
resetConcurrencyLimitByTag: (tag: string) => Promise<ConcurrencyLimit>;
|
|
12
13
|
}
|
|
13
14
|
export declare class WorkspaceConcurrencyLimitsApi extends WorkspaceApi {
|
|
14
15
|
protected routePrefix: string;
|
|
@@ -18,4 +19,5 @@ export declare class WorkspaceConcurrencyLimitsApi extends WorkspaceApi {
|
|
|
18
19
|
createConcurrencyLimit(limit: ConcurrencyLimitCreate): Promise<ConcurrencyLimit>;
|
|
19
20
|
deleteConcurrencyLimit(id: string): Promise<void>;
|
|
20
21
|
deleteConcurrencyLimitByTag(tag: string): Promise<void>;
|
|
22
|
+
resetConcurrencyLimitByTag(tag: string): Promise<ConcurrencyLimit>;
|
|
21
23
|
}
|
|
@@ -2,7 +2,7 @@ import { InjectionKey } from 'vue';
|
|
|
2
2
|
import { MaybeRef } from '../types/reactivity';
|
|
3
3
|
export declare const workspaceFeatureFlags: readonly [];
|
|
4
4
|
export type WorkspaceFeatureFlag = typeof workspaceFeatureFlags[number];
|
|
5
|
-
export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
5
|
+
export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:concurrency_limit", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
6
6
|
export type WorkspacePermission = typeof workspacePermissions[number];
|
|
7
7
|
export type PermissionValue = boolean | undefined;
|
|
8
8
|
export type PermissionVerb<T extends string> = T extends `${infer Action}:${string}` ? Action : never;
|
|
@@ -13,7 +13,7 @@ export declare function isEmptyArray(value: unknown): value is unknown[];
|
|
|
13
13
|
export declare function isStringArray(value: unknown): value is string[];
|
|
14
14
|
export declare function isNumberArray(value: unknown): value is number[];
|
|
15
15
|
export declare function asSingle<T>(value: T | T[]): T;
|
|
16
|
-
export declare function repeat<T>(count: number, method: (index
|
|
16
|
+
export declare function repeat<T>(count: number, method: (index: number) => T): T[];
|
|
17
17
|
export declare function some<T>(source: T[], min?: number, max?: number): T[];
|
|
18
18
|
export declare function intersects(first: unknown[], ...rest: unknown[][]): boolean;
|
|
19
19
|
export declare function groupBy<T, K extends keyof T>(source: T[], key: K): Map<T[K], T[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as O, c as k, J as b, f as c } from "./index-
|
|
1
|
+
import { X as O, c as k, J as b, f as c } from "./index-0dcc1712.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-88169ec4-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-88169ec4-e7cd1038.mjs.map
|