Skip to content

API reference / @docmentis/udoc-node / AutomationCommand

Type Alias: AutomationCommand ​

ts
type AutomationCommand = 
  | "makeTemplate"
  | "makePlain"
  | {
  setSampleData: {
     data: BindingData;
  };
}
  | {
  applyData: {
     data: BindingData;
  };
};

An edit of a document's automation: what makes it a template or an instance. Each doc type that carries automation runs it through its own editor, as one undo step.