Skip to content

Commit 0eb3f78

Browse files
committed
make gen
1 parent ce557a5 commit 0eb3f78

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

site/src/api/typesGenerated.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ export interface CreateWorkspaceRequest {
9595
readonly template_id: string
9696
readonly name: string
9797
readonly autostart_schedule?: string
98-
// This is likely an enum in an external package ("time.Duration")
99-
readonly ttl?: number
98+
readonly ttl_ms?: number
10099
readonly parameter_values?: CreateParameterRequest[]
101100
}
102101

@@ -294,13 +293,12 @@ export interface UpdateUserProfileRequest {
294293

295294
// From codersdk/workspaces.go:141:6
296295
export interface UpdateWorkspaceAutostartRequest {
297-
readonly schedule: string
296+
readonly schedule?: string
298297
}
299298

300299
// From codersdk/workspaces.go:161:6
301300
export interface UpdateWorkspaceTTLRequest {
302-
// This is likely an enum in an external package ("time.Duration")
303-
readonly ttl?: number
301+
readonly ttl_ms?: number
304302
}
305303

306304
// From codersdk/files.go:16:6
@@ -365,9 +363,8 @@ export interface Workspace {
365363
readonly latest_build: WorkspaceBuild
366364
readonly outdated: boolean
367365
readonly name: string
368-
readonly autostart_schedule: string
369-
// This is likely an enum in an external package ("time.Duration")
370-
readonly ttl?: number
366+
readonly autostart_schedule?: string
367+
readonly ttl_ms?: number
371368
}
372369

373370
// From codersdk/workspaceresources.go:31:6

0 commit comments

Comments
 (0)