UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

17 lines (16 loc) 957 B
import { Schema, SchemaProperty, SchemaPropertyType } from '../../schemas/types/schema'; import { SchemaValue } from '../../schemas/types/schemaValues'; import { Require } from '../../types/utilities'; import { CreateApi } from '../../utilities/api'; export declare function getSchemaPropertyTypeLabel(type: SchemaPropertyType | undefined): string; export declare function getSchemaPropertyLabel(property: SchemaProperty): string; export declare function getSchemaPropertyDefaultValue(property: SchemaProperty): SchemaValue; export declare function getSchemaPropertyAllOfDefinitions(property: Require<SchemaProperty, 'anyOf'>, schema: Schema): SchemaProperty[]; type InitialIndexContext = { property: Require<SchemaProperty, 'anyOf'>; value: SchemaValue; schema: Schema; api: CreateApi; }; export declare function getInitialIndexForSchemaPropertyAnyOfValue({ value, property, schema, api }: InitialIndexContext): Promise<number>; export {};