Skip to content

Commit

Permalink
fix: export type RBACErrorType
Browse files Browse the repository at this point in the history
  • Loading branch information
multipliedtwice committed Aug 9, 2024
1 parent 77ed747 commit fcb6b75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { RBACError } from ".";

export type CRUDOperations = "create" | "update" | "delete" | "read";

export interface ResourcePermissions {
Expand Down Expand Up @@ -47,3 +49,5 @@ export interface ExecuteRBACParams {
query: any;
args: any;
}

export type RBACErrorType = InstanceType<typeof RBACError>;

0 comments on commit fcb6b75

Please sign in to comment.