API reference / @docmentis/udoc-node / AutomationRole
Type Alias: AutomationRole
ts
type AutomationRole =
| {
template: {
id: string;
sampleData?: BindingData;
};
}
| {
instance: {
template: string;
data?: BindingData;
};
};What an [Automation] makes its document, and the data that goes with it in that role: a template's sample data, an instance's data applied.