Spaces:
Running
on
A10G
Running
on
A10G
File size: 723 Bytes
1123781 3207814 f45636e 1123781 d6fedfa 3207814 d6fedfa 1123781 46bd9ac 1123781 ff9325e f45636e 43148fd 0b5ceff 43148fd d6fedfa 1123781 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
export const enum FieldType {
RANGE = "range",
SEED = "seed",
TEXTAREA = "textarea",
CHECKBOX = "checkbox",
SELECT = "select",
}
export const enum PipelineMode {
IMAGE = "image",
VIDEO = "video",
TEXT = "text",
}
export interface Fields {
[key: string]: FieldProps;
}
export interface FieldProps {
default: number | string;
max?: number;
min?: number;
title: string;
field: FieldType;
step?: number;
disabled?: boolean;
hide?: boolean;
id: string;
values?: string[];
}
export interface PipelineInfo {
title: {
default: string;
}
name: string;
description: string;
input_mode: {
default: PipelineMode;
}
} |