Values.ComponentSourceContains the configuration settings for a user interface (UI) element for an Amplify app. A component is configured as a primary, stand-alone UI element. Use ComponentChild to configure an instance of a Component. A ComponentChild instance inherits the configuration of the main Component.
type nonrec t = {appId : String_.t option;The unique ID of the Amplify app associated with the component.
*)environmentName : String_.t option;The name of the backend environment that is a part of the Amplify app.
*)sourceId : String_.t option;The unique ID of the component in its original source system, such as Figma.
*)id : Uuid.t option;The unique ID of the component.
*)name : ComponentName.t option;The name of the component.
*)componentType : ComponentType.t option;The type of the component. This can be an Amplify custom UI component or another custom component.
*)properties : ComponentProperties.t option;Describes the component's properties. You can't specify tags as a valid property for properties.
*)children : ComponentChildList.t option;A list of the component's ComponentChild instances.
*)variants : ComponentVariants.t option;A list of the component's variants. A variant is a unique style configuration of a main component.
*)overrides : ComponentOverrides.t option;Describes the component's properties that can be overriden in a customized instance of the component. You can't specify tags as a valid property for overrides.
*)bindingProperties : ComponentBindingProperties.t option;The information to connect a component's properties to data at runtime. You can't specify tags as a valid property for bindingProperties.
*)collectionProperties : ComponentCollectionProperties.t option;The data binding configuration for the component's properties. Use this for a collection component. You can't specify tags as a valid property for collectionProperties.
*)createdAt : SyntheticTimestamp_date_time.t option;The time that the component was created.
*)modifiedAt : SyntheticTimestamp_date_time.t option;The time that the component was modified.
*)events : ComponentEvents.t option;Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
*)schemaVersion : String_.t option;The schema version of the component when it was imported.
*)}val make :
?appId:??? ->
?environmentName:??? ->
?sourceId:??? ->
?id:??? ->
?name:??? ->
?componentType:??? ->
?properties:??? ->
?children:??? ->
?variants:??? ->
?overrides:??? ->
?bindingProperties:??? ->
?collectionProperties:??? ->
?createdAt:??? ->
?modifiedAt:??? ->
?tags:??? ->
?events:??? ->
?schemaVersion:??? ->
unit ->
t