IModelAction <T>
Type parameters
- T: UnknownModule
Index
Methods
filter
This function determines if the handle is applicable to the diff.
Parameters
diff: Diff
Returns boolean
handle
This function contains the logic to apply the diff(s) to the underlying infrastructure.
Parameters
diff: Diff
actionInputs: EnhancedModuleSchema<T>
actionOutputs: ActionOutputs
Returns Promise<ActionOutputs>
Model Actions are translation functions between Diff and underlying resources. These actions can translate a specific type of Diff into individual resources.
Models