Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventMatcher

Hierarchy

Index

Constructors

constructor

  • new EventMatcher(__namedParameters: { action: "show" | "create" | "edit" | "replace" | "delete" | ("show" | "create" | "edit" | "replace" | "delete")[]; subject_path: RegExp; when: "before" | "after" }): EventMatcher
  • Parameters

    • __namedParameters: { action: "show" | "create" | "edit" | "replace" | "delete" | ("show" | "create" | "edit" | "replace" | "delete")[]; subject_path: RegExp; when: "before" | "after" }
      • action: "show" | "create" | "edit" | "replace" | "delete" | ("show" | "create" | "edit" | "replace" | "delete")[]
      • subject_path: RegExp
      • when: "before" | "after"

    Returns EventMatcher

Properties

actions

actions: ActionName[]

collection_name

collection_name: null | string

subject_path

subject_path: RegExp

when

when: When

Methods

containsAction

  • containsAction(action_name: ActionName): boolean
  • Parameters

    Returns boolean

Generated using TypeDoc