Values.FormSourceContains the configuration settings for a Form user interface (UI) element for an Amplify app. A form is a component you can add to your project by specifying a data source as the default configuration for the form.
type nonrec t = {appId : String_.t option;The unique ID of the Amplify app associated with the form.
*)environmentName : String_.t option;The name of the backend environment that is a part of the Amplify app.
*)id : Uuid.t option;The unique ID of the form.
*)name : FormName.t option;The name of the form.
*)formActionType : FormActionType.t option;The operation to perform on the specified form.
*)style : FormStyle.t option;Stores the configuration for the form's style.
*)dataType : FormDataTypeConfig.t option;The type of data source to use to create the form.
*)fields : FieldsMap.t option;Stores the information about the form's fields.
*)sectionalElements : SectionalElementMap.t option;Stores the visual helper elements for the form that are not associated with any data.
*)schemaVersion : String_.t option;The schema version of the form when it was imported.
*)cta : FormCTA.t option;Stores the call to action configuration for the form.
*)labelDecorator : LabelDecorator.t option;Specifies an icon or decoration to display on the form.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of String_.t ]
* [> `String of TagValue.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `List of
[> `Integer of Integer.t
| `String of String_.t ]
list
| `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Float of Float_.t
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `List of
[> `String of String_.t
| `Structure of
(string * Awso.Botodata.value) list ]
list
| `Map of
([> `String of String_.t ]
* [> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `String of String_.t ])
list ])
list ])
list ])
list ])
list ])
list ])
list
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `String of String_.t
| `Structure of
(string * [> `Enum of string | `String of String_.t ])
list ])
list ])
list ])
list ]