- Notifications
You must be signed in to change notification settings - Fork1k
Description
Description
- Update
codersdk.APIKey
and related request/response structs to use[]APIKeyScope
(or[]string
) and[]string allow_list
. - Preserve
application_connect
andall
for backward compatibility; mark legacy singlescope
as deprecated in code comments.
Key files/areas
codersdk/apikey.go
and dependents.- Regenerate TS types for the site via existing pipeline.
Acceptance criteria
site/src/api/typesGenerated.ts
reflects arrays forscopes
andallow_list
.- CLI and UI compile against the new SDK without regressions.