AiUpdateComponentPropsOperation
Interface: AiUpdateComponentPropsOperation
Defined in: ai.ts:435
Операция: изменение props и/или layout у существующего компонента.
Remarks
Патчи применяются поверх текущих значений (shallow merge).
Extends
Properties
componentId
componentId:
string
Defined in: ai.ts:441
Идентификатор изменяемого компонента.
kind
kind:
"updateComponentProps"
Defined in: ai.ts:436
Тип операции.
Overrides
layoutPatch?
optionallayoutPatch:Record<string,PropValue>
Defined in: ai.ts:447
Патч для layout (shallow).
pageId
pageId:
string
Defined in: ai.ts:439
Страница, на которой находится компонент.
propsPatch?
optionalpropsPatch:Record<string,PropValue>
Defined in: ai.ts:444
Патч для props (shallow).
stylePatch?
optionalstylePatch:Record<string,PropValue>
Defined in: ai.ts:450
Патч для style (shallow).