feat: support interactive fields

This commit is contained in:
Ali BARIN
2023-03-16 22:55:09 +00:00
parent 71a7943d01
commit 75bbd16b0c
9 changed files with 222 additions and 18 deletions

View File

@@ -145,7 +145,18 @@ export interface IFieldText {
dependsOn?: string[];
}
export type IField = IFieldDropdown | IFieldText;
export interface IFieldDynamic {
key: string;
label: string;
type: 'dynamic';
required?: boolean;
readOnly?: boolean;
description?: string;
value?: Record<string, unknown>[];
fields: (IFieldDropdown | IFieldText)[];
}
export type IField = IFieldDropdown | IFieldText | IFieldDynamic;
export interface IAuthenticationStepField {
name: string;