/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export type SortDirection = "ASC" | "DESC"; /** * Definition of AWS::AmplifyUIBuilder::Component Resource Type */ export interface AwsAmplifyuibuilderComponent { AppId?: string; BindingProperties: ComponentBindingProperties; Children?: ComponentChild[]; CollectionProperties?: ComponentCollectionProperties; ComponentType: string; EnvironmentName?: string; Events?: ComponentEvents; Id?: string; Name: string; Overrides: ComponentOverrides; Properties: ComponentProperties; SchemaVersion?: string; SourceId?: string; Tags?: Tags; Variants: ComponentVariant[]; } export interface ComponentBindingProperties { [k: string]: ComponentBindingPropertiesValue; } /** * This interface was referenced by `ComponentBindingProperties`'s JSON-Schema definition * via the `patternProperty` ".+". */ export interface ComponentBindingPropertiesValue { Type?: string; BindingProperties?: ComponentBindingPropertiesValueProperties; DefaultValue?: string; } export interface ComponentBindingPropertiesValueProperties { Model?: string; Field?: string; Predicates?: Predicate[]; UserAttribute?: string; Bucket?: string; Key?: string; DefaultValue?: string; } export interface Predicate { Or?: Predicate[]; And?: Predicate[]; Field?: string; Operator?: string; Operand?: string; } export interface ComponentChild { ComponentType: string; Name: string; Properties: ComponentProperties; Children?: ComponentChild[]; Events?: ComponentEvents; } export interface ComponentProperties { [k: string]: ComponentProperty; } /** * This interface was referenced by `ComponentProperties`'s JSON-Schema definition * via the `patternProperty` ".+". */ export interface ComponentProperty { Value?: string; BindingProperties?: ComponentPropertyBindingProperties; CollectionBindingProperties?: ComponentPropertyBindingProperties; DefaultValue?: string; Model?: string; Bindings?: FormBindings; Event?: string; UserAttribute?: string; Concat?: ComponentProperty[]; Condition?: ComponentConditionProperty; Configured?: boolean; Type?: string; ImportedValue?: string; ComponentName?: string; Property?: string; } export interface ComponentPropertyBindingProperties { Property: string; Field?: string; } export interface FormBindings { [k: string]: FormBindingElement; } /** * This interface was referenced by `FormBindings`'s JSON-Schema definition * via the `patternProperty` ".+". */ export interface FormBindingElement { Element: string; Property: string; } export interface ComponentConditionProperty { Property?: string; Field?: string; Operator?: string; Operand?: string; Then?: ComponentProperty; Else?: ComponentProperty; OperandType?: string; } export interface ComponentEvents { [k: string]: ComponentEvent; } /** * This interface was referenced by `ComponentEvents`'s JSON-Schema definition * via the `patternProperty` ".+". */ export interface ComponentEvent { Action?: string; Parameters?: ActionParameters; } export interface ActionParameters { Type?: ComponentProperty; Url?: ComponentProperty; Anchor?: ComponentProperty; Target?: ComponentProperty; Global?: ComponentProperty; Model?: string; Id?: ComponentProperty; Fields?: ComponentProperties; State?: MutationActionSetStateParameter; } export interface MutationActionSetStateParameter { ComponentName: string; Property: string; Set: ComponentProperty; } export interface ComponentCollectionProperties { [k: string]: ComponentDataConfiguration; } /** * This interface was referenced by `ComponentCollectionProperties`'s JSON-Schema definition * via the `patternProperty` ".+". */ export interface ComponentDataConfiguration { Model: string; Sort?: SortProperty[]; Predicate?: Predicate; Identifiers?: string[]; } export interface SortProperty { Field: string; Direction: SortDirection; } export interface ComponentOverrides { [k: string]: ComponentOverridesValue; } /** * This interface was referenced by `ComponentOverrides`'s JSON-Schema definition * via the `patternProperty` ".+". */ export interface ComponentOverridesValue { /** * This interface was referenced by `ComponentOverridesValue`'s JSON-Schema definition * via the `patternProperty` ".+". */ [k: string]: string; } export interface Tags { /** * This interface was referenced by `Tags`'s JSON-Schema definition * via the `patternProperty` "^(?!aws:)[a-zA-Z+-=._:/]+$". */ [k: string]: string; } export interface ComponentVariant { VariantValues?: ComponentVariantValues; Overrides?: ComponentOverrides; } export interface ComponentVariantValues { /** * This interface was referenced by `ComponentVariantValues`'s JSON-Schema definition * via the `patternProperty` ".+". */ [k: string]: string; }