views.mount_update
Merges props into a mounted widget, or rewrites its inline code (AGT-062).
Params: MountUpdateParams
Section titled “Params: MountUpdateParams”/** `views.mount_update` params (AGT-062). */export type MountUpdateParams = { /** New source of `.omfp/widgets/<id>/index.tsx`, for a mount of `./widgets/<id>`. */ code?: string | null; id: string; /** Merged into the node's props; a `null` value deletes the prop. */ props?: Record<string, unknown> | null; workspaceId: string;};Result: Mounted
Section titled “Result: Mounted”/** `views.mount` and `views.mount_update` result (DMN-1275, AGT-062). */export type Mounted = { id: string; /** Whether it is the floating panel `id`. */ panel: boolean; /** The widget reference the node renders. */ reference: string; /** Whether a node of this mount id existed before, or the mount's code folder did (its code was replaced). */ replaced: boolean; /** The view showing it; `null` for a floating panel. */ view?: string | null;};