Module Values.CreateComponentDataSource

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

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

    The name of the component

    *)
  2. sourceId : String_.t option;
    (*

    The unique ID of the component in its original source system, such as Figma.

    *)
  3. componentType : ComponentType.t;
    (*

    The component type. This can be an Amplify custom UI component or another custom component.

    *)
  4. properties : ComponentProperties.t;
    (*

    Describes the component's properties.

    *)
  5. children : ComponentChildList.t option;
    (*

    A list of child components that are instances of the main component.

    *)
  6. variants : ComponentVariants.t;
    (*

    A list of the unique variants of this component.

    *)
  7. overrides : ComponentOverrides.t;
    (*

    Describes the component properties that can be overriden to customize an instance of the component.

    *)
  8. bindingProperties : ComponentBindingProperties.t;
    (*

    The data binding information for the component's properties.

    *)
  9. collectionProperties : ComponentCollectionProperties.t option;
    (*

    The data binding configuration for customizing a component's properties. Use this for a collection component.

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

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

    *)
  11. events : ComponentEvents.t option;
    (*

    The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

    *)
  12. schemaVersion : String_.t option;
    (*

    The schema version of the component when it was imported.

    *)
}
Sourceval context_ : string
Sourceval make : ?sourceId:??? -> ?children:??? -> ?collectionProperties:??? -> ?tags:??? -> ?events:??? -> ?schemaVersion:??? -> name:ComponentName.t -> componentType:ComponentType.t -> properties:ComponentProperties.t -> variants:ComponentVariants.t -> overrides:ComponentOverrides.t -> bindingProperties:ComponentBindingProperties.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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