Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UpdateComponentData

import type { UpdateComponentData } from "https://aws-api.deno.dev/v0.3/services/amplifyuibuilder.ts?docs=full";

Updates and saves all of the information about a component, based on component ID.

interface UpdateComponentData {
bindingProperties?: {
[key: string]: ComponentBindingPropertiesValue | null | undefined;
}
| null;
children?: ComponentChild[] | null;
collectionProperties?: {
[key: string]: ComponentDataConfiguration | null | undefined;
}
| null;
componentType?: string | null;
id?: string | null;
name?: string | null;
overrides?: {
[key: string]: {
[key: string]: string | null | undefined;
}
| null | undefined
;
}
| null;
properties?: {
[key: string]: ComponentProperty | null | undefined;
}
| null;
sourceId?: string | null;
variants?: ComponentVariant[] | null;
}

§Properties

§
bindingProperties?: {
[key: string]: ComponentBindingPropertiesValue | null | undefined;
}
| null
[src]

The data binding information for the component's properties.

§
children?: ComponentChild[] | null
[src]

The components that are instances of the main component.

§
collectionProperties?: {
[key: string]: ComponentDataConfiguration | null | undefined;
}
| null
[src]

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

§
componentType?: string | null
[src]

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

§
id?: string | null
[src]

The unique ID of the component to update.

§
name?: string | null
[src]

The name of the component to update.

§
overrides?: {
[key: string]: {
[key: string]: string | null | undefined;
}
| null | undefined
;
}
| null
[src]

Describes the properties that can be overriden to customize the component.

§
properties?: {
[key: string]: ComponentProperty | null | undefined;
}
| null
[src]

Describes the component's properties.

§
sourceId?: string | null
[src]

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

§
variants?: ComponentVariant[] | null
[src]

A list of the unique variants of the main component being updated.