@prefecthq/prefect-ui-library 1.4.5 → 1.4.6

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.
@@ -0,0 +1,9 @@
1
+ import { SubscriptionOptions } from '@prefecthq/vue-compositions';
2
+ import { ComputedRef } from 'vue';
3
+ import { MaybeRef } from '../types';
4
+ type StateResource = {
5
+ stateName: string | null;
6
+ };
7
+ export declare function useStatePolling(stateName: MaybeRef<string | null>, interval?: number): ComputedRef<SubscriptionOptions>;
8
+ export declare function useStatePolling(resource: MaybeRef<StateResource>, interval?: number): ComputedRef<SubscriptionOptions>;
9
+ export {};
@@ -9,7 +9,7 @@ export interface IWorkPool {
9
9
  isPaused: boolean;
10
10
  defaultQueueId: string;
11
11
  concurrencyLimit: number | null;
12
- baseJobTemplate: Record<string, unknown>;
12
+ baseJobTemplate: BaseJobTemplateRequest;
13
13
  }
14
14
  export declare class WorkPool implements IWorkPool {
15
15
  readonly id: string;
@@ -7,4 +7,5 @@ export declare class SchemaPropertyBlock extends SchemaPropertyService {
7
7
  protected get component(): SchemaPropertyComponentWithProps;
8
8
  protected request(value: SchemaValue): unknown;
9
9
  protected response(value: SchemaValue): unknown;
10
+ private getDefaultBlockDocumentId;
10
11
  }
@@ -0,0 +1,2 @@
1
+ import { SchemaResolver } from '../../../services/schemas/resolvers/schemas';
2
+ export declare const schemaBlockReferenceDefaultValuesResolver: SchemaResolver;
@@ -25,7 +25,7 @@ export type SchemaPropertyMetaOptions = {
25
25
  validators?: ValidationMethod | ValidationMethod[];
26
26
  required?: boolean;
27
27
  };
28
- export type SchemaPropertyMeta = SchemaPropertyComponentWithProps & SchemaPropertyMetaOptions;
28
+ export type SchemaPropertyMeta = Partial<SchemaPropertyComponentWithProps> & SchemaPropertyMetaOptions;
29
29
  export type SchemaProperty = {
30
30
  blockTypeSlug?: string;
31
31
  meta?: SchemaPropertyMeta;
@@ -1,4 +1,4 @@
1
- import { u as c, Q as b, X as O, l as k } from "./index-ce741345.mjs";
1
+ import { u as c, Q as b, X as O, l as k } from "./index-fc10472d.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-84fb8076-891a43a9.mjs.map
1538
+ //# sourceMappingURL=viewport.es-84fb8076-717d5319.mjs.map