Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventDescription

Hierarchy

  • EventDescription

Index

Constructors

constructor

  • new EventDescription(__namedParameters: { action: "show" | "create" | "edit" | "replace" | "delete"; metadata: { context: Context; params: any }; subject_path: string; when: "before" | "after" }): EventDescription
  • Parameters

    • __namedParameters: { action: "show" | "create" | "edit" | "replace" | "delete"; metadata: { context: Context; params: any }; subject_path: string; when: "before" | "after" }
      • action: "show" | "create" | "edit" | "replace" | "delete"
      • metadata: { context: Context; params: any }
      • subject_path: string
      • when: "before" | "after"

    Returns EventDescription

Properties

action

action: ActionName

metadata

metadata: { context: Context; params: any }

Type declaration

subject_path

subject_path: string

when

when: When

Methods

isEquivalentTo

  • Parameters

    Returns boolean

matchAction

  • Parameters

    Returns boolean

matchSubjectPath

  • Parameters

    Returns boolean

matchWhen

  • Parameters

    Returns boolean

Generated using TypeDoc