Skip to content

Commit f28d58e

Browse files
committed
make gen
1 parent 60b3b01 commit f28d58e

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

site/src/api/typesGenerated.ts

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Code generated by 'make coder/scripts/apitypings/main.go'. DO NOT EDIT.
22

3-
// From codersdk/users.go:49:6
3+
// From codersdk/users.go:54:6
44
export interface APIKey {
55
readonly id: string
66
readonly user_id: string
@@ -12,7 +12,7 @@ export interface APIKey {
1212
readonly lifetime_seconds: number
1313
}
1414

15-
// From codersdk/workspaceagents.go:35:6
15+
// From codersdk/workspaceagents.go:36:6
1616
export interface AWSInstanceIdentityToken {
1717
readonly signature: string
1818
readonly document: string
@@ -24,6 +24,7 @@ export interface AgentGitSSHKey {
2424
readonly private_key: string
2525
}
2626

27+
// From codersdk/users.go:174:6
2728
export interface AuthMethods {
2829
readonly password: boolean
2930
readonly github: boolean
@@ -48,18 +49,21 @@ export interface ComputedParameter extends Parameter {
4849
readonly default_source_value: boolean
4950
}
5051

52+
// From codersdk/users.go:65:6
5153
export interface CreateFirstUserRequest {
5254
readonly email: string
5355
readonly username: string
5456
readonly password: string
5557
readonly organization: string
5658
}
5759

60+
// From codersdk/users.go:73:6
5861
export interface CreateFirstUserResponse {
5962
readonly user_id: string
6063
readonly organization_id: string
6164
}
6265

66+
// From codersdk/users.go:169:6
6367
export interface CreateOrganizationRequest {
6468
readonly name: string
6569
}
@@ -98,6 +102,7 @@ export interface CreateTemplateVersionRequest {
98102
readonly parameter_values?: CreateParameterRequest[]
99103
}
100104

105+
// From codersdk/users.go:78:6
101106
export interface CreateUserRequest {
102107
readonly email: string
103108
readonly username: string
@@ -122,6 +127,7 @@ export interface CreateWorkspaceRequest {
122127
readonly parameter_values?: CreateParameterRequest[]
123128
}
124129

130+
// From codersdk/users.go:165:6
125131
export interface GenerateAPIKeyResponse {
126132
readonly key: string
127133
}
@@ -139,11 +145,13 @@ export interface GoogleInstanceIdentityToken {
139145
readonly json_web_token: string
140146
}
141147

148+
// From codersdk/users.go:154:6
142149
export interface LoginWithPasswordRequest {
143150
readonly email: string
144151
readonly password: string
145152
}
146153

154+
// From codersdk/users.go:160:6
147155
export interface LoginWithPasswordResponse {
148156
readonly session_token: string
149157
}
@@ -286,6 +294,7 @@ export interface UpdateActiveTemplateVersion {
286294
readonly id: string
287295
}
288296

297+
// From codersdk/users.go:94:6
289298
export interface UpdateRoles {
290299
readonly roles: string[]
291300
}
@@ -297,11 +306,13 @@ export interface UpdateTemplateMeta {
297306
readonly min_autostart_interval_ms?: number
298307
}
299308

309+
// From codersdk/users.go:89:6
300310
export interface UpdateUserPasswordRequest {
301311
readonly old_password: string
302312
readonly password: string
303313
}
304314

315+
// From codersdk/users.go:85:6
305316
export interface UpdateUserProfileRequest {
306317
readonly username: string
307318
}
@@ -321,6 +332,7 @@ export interface UploadResponse {
321332
readonly hash: string
322333
}
323334

335+
// From codersdk/users.go:44:6
324336
export interface User {
325337
readonly id: string
326338
readonly email: string
@@ -331,31 +343,35 @@ export interface User {
331343
readonly roles: Role[]
332344
}
333345

346+
// From codersdk/users.go:119:6
334347
export interface UserAuthorization {
335348
readonly object: UserAuthorizationObject
336349
readonly action: string
337350
}
338351

352+
// From codersdk/users.go:135:6
339353
export interface UserAuthorizationObject {
340354
readonly resource_type: string
341355
readonly owner_id?: string
342356
readonly organization_id?: string
343357
readonly resource_id?: string
344358
}
345359

360+
// From codersdk/users.go:108:6
346361
export interface UserAuthorizationRequest {
347362
readonly checks: Record<string, UserAuthorization>
348363
}
349364

350-
// From codersdk/users.go:98:6
365+
// From codersdk/users.go:103:6
351366
export type UserAuthorizationResponse = Record<string, boolean>
352367

353-
// From codersdk/users.go:93:6
368+
// From codersdk/users.go:98:6
354369
export interface UserRoles {
355370
readonly roles: string[]
356371
readonly organization_roles: Record<string, string[]>
357372
}
358373

374+
// From codersdk/users.go:32:6
359375
export interface UsersRequest extends Pagination {
360376
readonly q?: string
361377
}
@@ -495,7 +511,7 @@ export type LogLevel = "debug" | "error" | "info" | "trace" | "warn"
495511
// From codersdk/provisionerdaemons.go:21:6
496512
export type LogSource = "provisioner" | "provisioner_daemon"
497513

498-
// From codersdk/users.go:24:6
514+
// From codersdk/users.go:25:6
499515
export type LoginType = "github" | "password"
500516

501517
// From codersdk/parameters.go:29:6

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