Mark PermissionAuthorizer as deprecated
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
This commit is contained in:
@@ -139,7 +139,7 @@ export type PermissionAttributes = {
|
||||
action?: 'create' | 'read' | 'update' | 'delete';
|
||||
};
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export interface PermissionAuthorizer {
|
||||
// (undocumented)
|
||||
authorize(
|
||||
|
||||
@@ -91,6 +91,7 @@ export type ResourcePermission<TResourceType extends string = string> =
|
||||
/**
|
||||
* A client interacting with the permission backend can implement this authorizer interface.
|
||||
* @public
|
||||
* @deprecated Use PermissionEvaluator instead
|
||||
*/
|
||||
export interface PermissionAuthorizer {
|
||||
authorize(
|
||||
|
||||
Reference in New Issue
Block a user