@prefecthq/prefect-ui-library 2.2.7 → 2.4.0
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/{FlowRunsPageWithDefaultFilter-22e4d3d8.mjs → FlowRunsPageWithDefaultFilter-998f0635.mjs} +2 -2
- package/dist/{FlowRunsPageWithDefaultFilter-22e4d3d8.mjs.map → FlowRunsPageWithDefaultFilter-998f0635.mjs.map} +1 -1
- package/dist/{index-76c9479e.mjs → index-32569c91.mjs} +11788 -11790
- package/dist/index-32569c91.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +556 -554
- package/dist/prefect-ui-library.umd.js +80 -80
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/BlockDocumentsTable.vue.d.ts +3 -3
- package/dist/types/src/components/BlockSchemaCapabilitySelect.vue.d.ts +6 -4
- package/dist/types/src/components/BlockTypeSelect.vue.d.ts +6 -4
- package/dist/types/src/components/index.d.ts +0 -1
- package/dist/types/src/compositions/index.d.ts +2 -1
- package/dist/types/src/formatters/BlockDocumentSortValuesParam.d.ts +7 -0
- package/dist/types/src/models/Filters.d.ts +3 -1
- package/dist/types/src/models/api/Filters.d.ts +1 -1
- package/dist/types/src/types/SortOptionTypes.d.ts +5 -0
- package/package.json +1 -1
- package/dist/index-76c9479e.mjs.map +0 -1
- package/dist/types/src/components/FlowRunSubFlows.vue.d.ts +0 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArtifactSortValues, FlowSortValues, FlowRunSortValues, TaskRunSortValues, DeploymentSortValues, LogSortValues, VariableSortValues } from '../types';
|
|
1
|
+
import { ArtifactSortValues, FlowSortValues, FlowRunSortValues, TaskRunSortValues, DeploymentSortValues, LogSortValues, VariableSortValues, BlockDocumentSortValues } from '../types';
|
|
2
2
|
export type Operation = 'and' | 'or';
|
|
3
3
|
export declare function isOperation(value: string): value is Operation;
|
|
4
4
|
export type TagFilter = {
|
|
@@ -138,6 +138,7 @@ export type BlockDocumentFilter = {
|
|
|
138
138
|
isAnonymous?: boolean | null;
|
|
139
139
|
blockTypeId?: string[];
|
|
140
140
|
name?: string[];
|
|
141
|
+
nameLike?: string;
|
|
141
142
|
};
|
|
142
143
|
export type FlowsFilter = UnionFilter<FlowSortValues>;
|
|
143
144
|
export type FlowRunsFilter = UnionFilter<FlowRunSortValues>;
|
|
@@ -193,6 +194,7 @@ export type BlockDocumentsFilter = {
|
|
|
193
194
|
blockTypes?: BlockTypeFilter;
|
|
194
195
|
blockSchemas?: BlockSchemaFilter;
|
|
195
196
|
includeSecrets?: boolean;
|
|
197
|
+
sort?: BlockDocumentSortValues;
|
|
196
198
|
offset?: number;
|
|
197
199
|
limit?: number;
|
|
198
200
|
};
|
|
@@ -134,7 +134,7 @@ export type BlockDocumentFilterRequest = {
|
|
|
134
134
|
id?: Any;
|
|
135
135
|
is_anonymous?: NullableEquals;
|
|
136
136
|
block_type_id?: Any;
|
|
137
|
-
name?: Any;
|
|
137
|
+
name?: Any & Like;
|
|
138
138
|
};
|
|
139
139
|
export type FlowsFilterRequest = UnionFilterRequest<FlowSortValues>;
|
|
140
140
|
export type FlowRunsFilterRequest = UnionFilterRequest<FlowRunSortValues>;
|
|
@@ -62,4 +62,9 @@ export type LogSortOptions = {
|
|
|
62
62
|
label: string;
|
|
63
63
|
value: LogSortValues;
|
|
64
64
|
}[];
|
|
65
|
+
declare const blockDocumentSortValues: readonly ["NAME_DESC", "NAME_ASC", "BLOCK_TYPE_AND_NAME_ASC"];
|
|
66
|
+
export type BlockDocumentSortValues = typeof blockDocumentSortValues[number];
|
|
67
|
+
export declare const defaultBlockDocumentsSort: BlockDocumentSortValues;
|
|
68
|
+
export declare function isBlockDocumentSortValue(value: unknown): value is BlockDocumentSortValues;
|
|
69
|
+
export declare function isBlockDocumentSortValue(value: Ref<unknown>): value is Ref<BlockDocumentSortValues>;
|
|
65
70
|
export {};
|