ModelActionTypes
since v0.9.0ModelActionTypes =
LooseAutocomplete<ModelActionType>[]
Array of model action types, used to track all actions in a transaction or a single action. Supports both known action types with autocomplete and custom string action types.
Example
Section titled “Example”const middleware: Middleware = { name: 'logger', execute: (context, next) => { console.log('Action types:', context.modelActionTypes.join(', ')); next(); }};