@prefecthq/prefect-ui-library 1.4.2 → 1.4.3

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.
@@ -175,7 +175,7 @@ export declare const maps: {
175
175
  };
176
176
  RunHistory: {
177
177
  FlowRunHistoryResponse: import("..").MapFunction<import("..").RunHistory, import("..").FlowRunHistoryResponse>;
178
- DivergingBarChartItem: import("..").MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem<Record<string, number>>>;
178
+ DivergingBarChartItem: import("..").MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem>;
179
179
  };
180
180
  SavedSearchCreate: {
181
181
  SavedSearchCreateRequest: import("..").MapFunction<import("..").SavedSearchCreate, import("..").SavedSearchCreateRequest>;
@@ -199,7 +199,7 @@ export declare const mapper: Mapper<{
199
199
  };
200
200
  RunHistory: {
201
201
  FlowRunHistoryResponse: MapFunction<import("..").RunHistory, import("..").FlowRunHistoryResponse>;
202
- DivergingBarChartItem: MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem<Record<string, number>>>;
202
+ DivergingBarChartItem: MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem>;
203
203
  };
204
204
  SavedSearchCreate: {
205
205
  SavedSearchCreateRequest: MapFunction<import("..").SavedSearchCreate, import("..").SavedSearchCreateRequest>;
@@ -6,5 +6,5 @@ export type CloudApiConfig = PrefectConfig & {
6
6
  export type WorkspaceApiConfig = PrefectConfig | CloudApiConfig;
7
7
  export declare function isCloudConfig(config: WorkspaceApiConfig): config is CloudApiConfig;
8
8
  export declare class WorkspaceApi extends Api<WorkspaceApiConfig> {
9
- protected apiBaseUrl: ApiBaseUrl<PrefectConfig>;
9
+ protected apiBaseUrl: ApiBaseUrl;
10
10
  }
@@ -18,3 +18,4 @@ 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[]>;
20
20
  export declare function separate<T>(source: T[], filter: (value: T) => boolean): [found: T[], notFound: T[]];
21
+ export declare function toggle<T>(source: T[], value: T, force?: boolean): T[];
@@ -1,4 +1,4 @@
1
- import { u as c, Q as b, X as O, l as k } from "./index-60275489.mjs";
1
+ import { u as c, Q as b, X as O, l as k } from "./index-d3611b56.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
  $ as Wheel
1537
1537
  };
1538
- //# sourceMappingURL=viewport.es-ff98659c-69ca68ac.mjs.map
1538
+ //# sourceMappingURL=viewport.es-ff98659c-f500916f.mjs.map