Skip to content

Commit a160efb

Browse files
committed
feat(types): Add permissions to meta field of fapi error (#2282)
(cherry picked from commit 1db1f40)
1 parent 6b59735 commit a160efb

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/bright-knives-jump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/types': patch
3+
---
4+
5+
Add `permissions` to `meta` field of fapi error.

packages/types/src/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface ClerkAPIError {
1616
message: string;
1717
}[];
1818
};
19+
permissions?: string[];
1920
};
2021
}
2122

0 commit comments

Comments
 (0)