mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
4d0c1b1371
* all * all * all * fix lock * fix lock * fix lock * fix lock
34 lines
786 B
TypeScript
34 lines
786 B
TypeScript
export type EnumType = string[] | undefined;
|
|
|
|
export interface SchemaProperty {
|
|
type: string | undefined;
|
|
description?: string;
|
|
pattern?: string;
|
|
default?: any;
|
|
enum?: EnumType;
|
|
contentEncoding?: "base64" | "binary";
|
|
format?: string;
|
|
items?: {
|
|
type?: "string" | "number" | "bytes" | "object";
|
|
contentEncoding?: "base64";
|
|
enum?: string[];
|
|
};
|
|
min?: number;
|
|
max?: number;
|
|
currency?: string;
|
|
currencyLocale?: string;
|
|
multiselect?: boolean;
|
|
customErrorMessage?: string;
|
|
properties?: { [name: string]: SchemaProperty };
|
|
required?: string[];
|
|
showExpr?: string;
|
|
password?: boolean;
|
|
order?: string[];
|
|
nullable?: boolean;
|
|
dateFormat?: string;
|
|
title?: string;
|
|
placeholder?: string;
|
|
oneOf?: SchemaProperty[];
|
|
originalType?: string;
|
|
}
|