The validation plugin trigger with optional capability URI, data type, and method filters
OptionalcapabilityUri?: keyof JMAPServerCapabilitiesThe capability URI of the invocation being processed.
This differs from requiredCapabilityUri in that it is the capability
URI of the specific invocation, rather than a general support requirement.
OptionaldataType?: JMAPDataTypeThe data type of the invocation being processed.
Optionalmethod?: JMAPMethodNameThe method name of the invocation being processed.
The validation plugin context containing the invocation to match against
Current invocation being processed
True if the trigger matches the invocation (omitted trigger properties match any value)
Determines if an invocation hook should run based on trigger conditions