Type alias CRUDPermission<T>

CRUDPermission<T>: {
    create?: boolean;
    delete?: boolean;
    read?: boolean | T["projection"];
    update?: boolean;
}

Type Parameters

Type declaration

  • Optional create?: boolean
  • Optional delete?: boolean
  • Optional read?: boolean | T["projection"]
  • Optional update?: boolean

Generated using TypeDoc