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"
Properties
action
metadata
metadata
: { context
: Context; params
: any }
subject_path
subject_path: string
when
Methods
isEquivalentTo
-
Parameters
Returns boolean
matchAction
-
Parameters
Returns boolean
matchSubjectPath
-
Parameters
Returns boolean
matchWhen
-
Parameters
Returns boolean