Functions
Const modelPolicy
- modelPolicy(operation: "getAll" | "getOne" | "post" | "put" | "delete" | "globalModel", policy?: ModelAccessPolicy): (target: any) => void
-
Parameters
-
operation: "getAll" | "getOne" | "post" | "put" | "delete" | "globalModel"
-
Returns (target: any) => void
Const propertyPolicy
- propertyPolicy(operation: "input" | "output" | "globalIO", policies: IOPolicy[]): (target: any) => void
-
Parameters
-
operation: "input" | "output" | "globalIO"
-
Returns (target: any) => void