Skip to content

Commit a0838b1

Browse files
committed
chore: add jsdoc to secret property
1 parent 9209f76 commit a0838b1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/clerk-js/src/ui/components/ApiKeys/ApiKeys.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ export const APIKeysPage = ({ subject, perPage, revokeModalRoot }: APIKeysPagePr
175175
rowInfo={{ allRowsCount: itemCount, startingRow, endingRow }}
176176
/>
177177
)}
178+
179+
{/* Modals */}
178180
<RevokeAPIKeyConfirmationModal
179181
subject={subject}
180182
isOpen={isRevokeModalOpen}

packages/shared/src/types/json.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,9 @@ export interface ApiKeyJSON extends ClerkResourceJSON {
854854
expiration: number | null;
855855
created_by: string | null;
856856
description: string | null;
857+
/**
858+
* This property is only present in the response from `create()`.
859+
*/
857860
secret?: string;
858861
last_used_at: number | null;
859862
created_at: number;

0 commit comments

Comments
 (0)