chore: ensures generate types works with named tabs

This commit is contained in:
James
2022-09-11 21:19:20 -07:00
parent 21eb19edd1
commit 016f3e47ab
2 changed files with 45 additions and 10 deletions

View File

@@ -300,14 +300,34 @@ export interface TabsField {
};
textInRow: string;
numberInRow: number;
text?: string;
defaultValue?: string;
beforeValidate?: boolean;
beforeChange?: boolean;
afterChange?: boolean;
afterRead?: boolean;
tab?: {
array: {
text: string;
id?: string;
}[];
text?: string;
defaultValue?: string;
};
namedTabWithDefaultValue?: {
defaultValue?: string;
};
localizedTab?: {
text?: string;
};
accessControlTab?: {
text?: string;
};
hooksTab?: {
beforeValidate?: boolean;
beforeChange?: boolean;
afterChange?: boolean;
afterRead?: boolean;
};
textarea?: string;
anotherText: string;
nestedTab?: {
text?: string;
};
createdAt: string;
updatedAt: string;
}