Skip to content

Commit 69af903

Browse files
committed
Add missing TS types
1 parent b9dbd64 commit 69af903

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

site/src/api/typesGenerated.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface AgentGitSSHKey {
1212
readonly private_key: string
1313
}
1414

15-
// From codersdk/users.go:105:6
15+
// From codersdk/users.go:111:6
1616
export interface AuthMethods {
1717
readonly password: boolean
1818
readonly github: boolean
@@ -44,7 +44,7 @@ export interface CreateFirstUserResponse {
4444
readonly organization_id: string
4545
}
4646

47-
// From codersdk/users.go:100:6
47+
// From codersdk/users.go:106:6
4848
export interface CreateOrganizationRequest {
4949
readonly name: string
5050
}
@@ -101,7 +101,7 @@ export interface CreateWorkspaceRequest {
101101
readonly parameter_values: CreateParameterRequest[]
102102
}
103103

104-
// From codersdk/users.go:96:6
104+
// From codersdk/users.go:102:6
105105
export interface GenerateAPIKeyResponse {
106106
readonly key: string
107107
}
@@ -119,13 +119,13 @@ export interface GoogleInstanceIdentityToken {
119119
readonly json_web_token: string
120120
}
121121

122-
// From codersdk/users.go:85:6
122+
// From codersdk/users.go:91:6
123123
export interface LoginWithPasswordRequest {
124124
readonly email: string
125125
readonly password: string
126126
}
127127

128-
// From codersdk/users.go:91:6
128+
// From codersdk/users.go:97:6
129129
export interface LoginWithPasswordResponse {
130130
readonly session_token: string
131131
}
@@ -255,11 +255,18 @@ export interface UpdateActiveTemplateVersion {
255255
readonly id: string
256256
}
257257

258-
// From codersdk/users.go:75:6
258+
// From codersdk/users.go:81:6
259259
export interface UpdateRoles {
260260
readonly roles: string[]
261261
}
262262

263+
// From codersdk/users.go:75:6
264+
export interface UpdateUserPasswordRequest {
265+
readonly password: string
266+
readonly new_password: string
267+
readonly confirm_new_password: string
268+
}
269+
263270
// From codersdk/users.go:70:6
264271
export interface UpdateUserProfileRequest {
265272
readonly email: string
@@ -291,7 +298,7 @@ export interface User {
291298
readonly organization_ids: string[]
292299
}
293300

294-
// From codersdk/users.go:79:6
301+
// From codersdk/users.go:85:6
295302
export interface UserRoles {
296303
readonly roles: string[]
297304
readonly organization_roles: Record<string, string[]>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy