Files
showbridge-webui/src/app/models/form.model.ts
T
2026-04-03 19:11:07 -05:00

29 lines
461 B
TypeScript

import { FormGroup } from '@angular/forms';
export type ObjectInfo = {
name: string;
type: string;
schema: any;
};
export type ParamsFormInfo = {
formGroup: FormGroup;
paramsInfo: ParamsInfo;
};
export type ParamsInfo = {
[key: string]: ParamInfo;
};
export type ParamInfo = {
key: string;
display: string;
hint?: string;
type: string;
placeholder?: string;
options?: string[];
isConst: boolean;
schema: any;
default?: any;
};