Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CollectionMatcher

Hierarchy

Index

Constructors

constructor

  • new CollectionMatcher(__namedParameters: { action: "show" | "create" | "edit" | "replace" | "delete" | ("show" | "create" | "edit" | "replace" | "delete")[]; collection_name: string; when: "before" | "after" }): CollectionMatcher
  • Parameters

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

    Returns CollectionMatcher

Properties

actions

actions: ActionName[]

collection_name

collection_name: string

subject_path

subject_path: RegExp

when

when: When

Methods

containsAction

  • containsAction(action_name: ActionName): boolean

Generated using TypeDoc