Skip to content

Commit 47cae14

Browse files
committed
fix(types): add limits field to API key request types
CI typecheck failed because CreateAPIKeyRequest / UpdateAPIKeyRequest were missing the limits field that APIKeys.tsx is sending. Vite's dev build doesn't run tsc, which is why this slipped past local npm run build.
1 parent 98b6825 commit 47cae14

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

frontend/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ export interface CreateAPIKeyRequest {
651651
expires_at?: string
652652
expires_in_days?: number
653653
allowed_group_ids?: number[]
654+
limits?: APIKeyLimits
654655
}
655656

656657
export interface UpdateAPIKeyRequest {
@@ -660,6 +661,7 @@ export interface UpdateAPIKeyRequest {
660661
expires_at?: string | null
661662
expires_in_days?: number
662663
allowed_group_ids?: number[]
664+
limits?: APIKeyLimits
663665
}
664666

665667
export interface CreateAPIKeyResponse {

0 commit comments

Comments
 (0)