widgets.copy
Copies a built-in or user widget into the workspace’s .omfp/widgets/ (DMN-981).
Params: CopyWidgetParams
Section titled “Params: CopyWidgetParams”/** `widgets.copy` params (DMN-981). */export type CopyWidgetParams = { /** Folder name in `.omfp/widgets/`; default: the widget's own name. */ name?: string | null; /** `omfp:<name>`, a built-in. */ widget: string; workspaceId: string;};Result: WidgetCopied
Section titled “Result: WidgetCopied”/** `widgets.copy` result: the new widget is `./widgets/<name>`. */export type WidgetCopied = { name: string;};