@prefecthq/prefect-ui-library 1.6.35 → 1.6.37

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.
@@ -1,7 +1,7 @@
1
1
  import { SchemaProperty, SchemaPropertyInputAttrs, Schema, SchemaValues, SchemaValue, SchemaPropertyAnyOf, SchemaPropertyAllOf } from '../../types/schemas';
2
2
  import { ValidationMethod } from '../../utilities/validation';
3
3
  export type SchemaPropertyComponentWithProps = ReturnType<typeof schemaPropertyComponentWithProps> | null;
4
- export declare const schemaPropertyComponentWithProps: <T extends import("../../index").ComponentDefinition>(...args: Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? [component: T, props?: Omit<InstanceType<T>["$props"], "modelValue"> | undefined] : [component: T, props: Omit<InstanceType<T>["$props"], "modelValue">]) => Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? {
4
+ export declare const schemaPropertyComponentWithProps: <T extends import("../../utilities/components").ComponentDefinition>(...args: Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? [component: T, props?: Omit<InstanceType<T>["$props"], "modelValue"> | undefined] : [component: T, props: Omit<InstanceType<T>["$props"], "modelValue">]) => Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? {
5
5
  component: T;
6
6
  props?: Omit<InstanceType<T>["$props"], "modelValue"> | undefined;
7
7
  } : {
@@ -15,11 +15,13 @@ export * from './math';
15
15
  export * from './numbers';
16
16
  export * from './object';
17
17
  export * from './parameters';
18
+ export * from './parseUnknownJson';
18
19
  export * from './processTypes';
19
20
  export * from './routes';
20
21
  export * from './savedFilters';
21
22
  export * from './seconds';
22
23
  export * from './state';
24
+ export * from './stringifyUnknownJson';
23
25
  export * from './strings';
24
26
  export * from './subscriptions';
25
27
  export * from './timeIntervals';
@@ -2,7 +2,5 @@ type JsonStringify = Parameters<typeof JSON.stringify>;
2
2
  type JsonValue = JsonStringify[0];
3
3
  type JsonReplacer = JsonStringify[1];
4
4
  export declare function stringify(value: JsonValue, replacer?: JsonReplacer): string;
5
- export declare function parseUnknownJson(value: unknown): unknown;
6
- export declare function stringifyUnknownJson(value: unknown): string | null | undefined;
7
5
  export declare function isValidJsonRecord(value: unknown): value is string;
8
6
  export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export type JsonSafeParse = {
2
+ success: boolean;
3
+ value: unknown;
4
+ };
5
+ export declare function jsonSafeParse(value: unknown): JsonSafeParse;
@@ -0,0 +1,5 @@
1
+ export type JsonSafeStringify = {
2
+ success: boolean;
3
+ value: unknown;
4
+ };
5
+ export declare function jsonSafeStringify(value: unknown): JsonSafeStringify;
@@ -0,0 +1 @@
1
+ export declare function parseUnknownJson(value: unknown): unknown;
@@ -0,0 +1 @@
1
+ export declare function stringifyUnknownJson(value: unknown): string | null | undefined;
@@ -1,4 +1,4 @@
1
- import { k as O, f as k, $ as b, l as c } from "./index-ed7f815f.mjs";
1
+ import { k as O, f as k, $ as b, l as c } from "./index-298c1ab5.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-6648df43.mjs.map
1538
+ //# sourceMappingURL=viewport.es-ae91b8e8-5505096e.mjs.map