Module Values.CreateFormDataSource

Represents all of the information that is required to create a form.

Sourcetype nonrec t = {
  1. name : FormName.t;
    (*

    The name of the form.

    *)
  2. dataType : FormDataTypeConfig.t;
    (*

    The type of data source to use to create the form.

    *)
  3. formActionType : FormActionType.t;
    (*

    Specifies whether to perform a create or update action on the form.

    *)
  4. fields : FieldsMap.t;
    (*

    The configuration information for the form's fields.

    *)
  5. style : FormStyle.t;
    (*

    The configuration for the form's style.

    *)
  6. sectionalElements : SectionalElementMap.t;
    (*

    The configuration information for the visual helper elements for the form. These elements are not associated with any data.

    *)
  7. schemaVersion : String_.t;
    (*

    The schema version of the form.

    *)
  8. cta : FormCTA.t option;
    (*

    The FormCTA object that stores the call to action configuration for the form.

    *)
  9. tags : Tags.t option;
    (*

    One or more key-value pairs to use when tagging the form data.

    *)
  10. labelDecorator : LabelDecorator.t option;
    (*

    Specifies an icon or decoration to display on the form.

    *)
}
Sourceval context_ : string
Sourceval make : ?cta:??? -> ?tags:??? -> ?labelDecorator:??? -> name:FormName.t -> dataType:FormDataTypeConfig.t -> formActionType:FormActionType.t -> fields:FieldsMap.t -> style:FormStyle.t -> sectionalElements:SectionalElementMap.t -> schemaVersion:String_.t -> unit -> t
Sourceval 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 FormName.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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t