Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/v2/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export function getGlobalOptions(): GlobalOptions {
* Additional fields that can be set on any event-handling function.
*/
export interface EventHandlerOptions extends Omit<GlobalOptions, "enforceAppCheck"> {
/** Type of the event. Valid values are TODO */
/** Type of the event. */
eventType?: string;

/**
Expand All @@ -274,10 +274,9 @@ export interface EventHandlerOptions extends Omit<GlobalOptions, "enforceAppChec
/**
* 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
* Similar to eventFilters, but supports wildcard patterns for flexible matching where `*` matches
* any single path segment, `**` matches zero or more path segments, and `{param}` captures a path segment
* as a parameter
*/
eventFilterPathPatterns?: Record<string, string | Expression<string>>;

Expand Down
Loading