diff --git a/src/v2/options.ts b/src/v2/options.ts index 2b1731a77..26f289371 100644 --- a/src/v2/options.ts +++ b/src/v2/options.ts @@ -263,10 +263,22 @@ export interface EventHandlerOptions extends Omit>; - /** TODO */ + /** + * Filters events based on path pattern matching on the CloudEvents attributes. + * + * Similar to eventFilters, but supports wildcard patterns for flexible matching: + * - `*` matches any single path segment + * - `**` matches zero or more path segments + * - `{param}` captures a path segment as a parameter + */ eventFilterPathPatterns?: Record>; /** Whether failed executions should be delivered again. */