Skip to content

Commit 31ee143

Browse files
feat(types): Add permissions to meta field of fapi error (clerk#2282) (clerk#2285)
(cherry picked from commit 1db1f40) Co-authored-by: panteliselef <panteliselef@outlook.com>
1 parent 6b59735 commit 31ee143

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎.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)