Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c04053

Browse files
committed
make gen
1 parent a1fec34 commit 4c04053

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
@@ -101,8 +101,7 @@ export interface CreateWorkspaceRequest {
101101
readonly template_id: string
102102
readonly name: string
103103
readonly autostart_schedule?: string
104-
// This is likely an enum in an external package ("time.Duration")
105-
readonly ttl?: number
104+
readonly ttl_ms?: number
106105
readonly parameter_values?: CreateParameterRequest[]
107106
}
108107

@@ -301,13 +300,12 @@ export interface UpdateUserProfileRequest {
301300

302301
// From codersdk/workspaces.go:141:6
303302
export interface UpdateWorkspaceAutostartRequest {
304-
readonly schedule: string
303+
readonly schedule?: string
305304
}
306305

307306
// From codersdk/workspaces.go:161:6
308307
export interface UpdateWorkspaceTTLRequest {
309-
// This is likely an enum in an external package ("time.Duration")
310-
readonly ttl?: number
308+
readonly ttl_ms?: number
311309
}
312310

313311
// From codersdk/files.go:16:6
@@ -372,9 +370,8 @@ export interface Workspace {
372370
readonly latest_build: WorkspaceBuild
373371
readonly outdated: boolean
374372
readonly name: string
375-
readonly autostart_schedule: string
376-
// This is likely an enum in an external package ("time.Duration")
377-
readonly ttl?: number
373+
readonly autostart_schedule?: string
374+
readonly ttl_ms?: number
378375
}
379376

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

0 commit comments

Comments
 (0)