Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make gen
  • Loading branch information
sreya committed Jul 12, 2022
commit c7b4ce3ed7492f44fe380789476a47ee33157ea4
35 changes: 25 additions & 10 deletions site/src/api/typesGenerated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface APIKey {
readonly lifetime_seconds: number
}

// From codersdk/workspaceagents.go:36:6
// From codersdk/workspaceagents.go:35:6
export interface AWSInstanceIdentityToken {
readonly signature: string
readonly document: string
Expand All @@ -30,7 +30,7 @@ export interface AuthMethods {
readonly github: boolean
}

// From codersdk/workspaceagents.go:41:6
// From codersdk/workspaceagents.go:40:6
export interface AzureInstanceIdentityToken {
readonly signature: string
readonly encoding: string
Expand Down Expand Up @@ -141,11 +141,19 @@ export interface GitSSHKey {
readonly public_key: string
}

// From codersdk/workspaceagents.go:32:6
// From codersdk/workspaceagents.go:31:6
export interface GoogleInstanceIdentityToken {
readonly json_web_token: string
}

// From codersdk/client.go:174:6
export interface HTTPError extends Response {
readonly statusCode: number
readonly method: string
readonly url: string
readonly Helper: string
}

// From codersdk/users.go:154:6
export interface LoginWithPasswordRequest {
readonly email: string
Expand Down Expand Up @@ -214,7 +222,7 @@ export interface ParameterSchema {
readonly validation_contains?: string[]
}

// From codersdk/provisionerdaemons.go:38:6
// From codersdk/provisionerdaemons.go:36:6
export interface ProvisionerDaemon {
readonly id: string
readonly created_at: string
Expand All @@ -223,7 +231,7 @@ export interface ProvisionerDaemon {
readonly provisioners: ProvisionerType[]
}

// From codersdk/provisionerdaemons.go:67:6
// From codersdk/provisionerdaemons.go:65:6
export interface ProvisionerJob {
readonly id: string
readonly created_at: string
Expand All @@ -235,7 +243,7 @@ export interface ProvisionerJob {
readonly storage_source: string
}

// From codersdk/provisionerdaemons.go:78:6
// From codersdk/provisionerdaemons.go:76:6
export interface ProvisionerJobLog {
readonly id: string
readonly created_at: string
Expand All @@ -250,6 +258,13 @@ export interface PutExtendWorkspaceRequest {
readonly deadline: string
}

// From codersdk/error.go:4:6
export interface Response {
readonly message: string
readonly detail?: string
readonly validations?: Error[]
}

// From codersdk/roles.go:12:6
export interface Role {
readonly name: string
Expand Down Expand Up @@ -422,7 +437,7 @@ export interface WorkspaceAgent {
readonly ipv6: any
}

// From codersdk/workspaceagents.go:48:6
// From codersdk/workspaceagents.go:47:6
export interface WorkspaceAgentAuthenticateResponse {
readonly session_token: string
}
Expand Down Expand Up @@ -506,10 +521,10 @@ export interface WorkspaceResource {
// From codersdk/workspacebuilds.go:22:6
export type BuildReason = "autostart" | "autostop" | "initiator"

// From codersdk/provisionerdaemons.go:28:6
// From codersdk/provisionerdaemons.go:26:6
export type LogLevel = "debug" | "error" | "info" | "trace" | "warn"

// From codersdk/provisionerdaemons.go:21:6
// From codersdk/provisionerdaemons.go:19:6
export type LogSource = "provisioner" | "provisioner_daemon"

// From codersdk/users.go:25:6
Expand All @@ -527,7 +542,7 @@ export type ParameterSourceScheme = "data" | "none"
// From codersdk/parameters.go:37:6
export type ParameterTypeSystem = "hcl" | "none"

// From codersdk/provisionerdaemons.go:47:6
// From codersdk/provisionerdaemons.go:45:6
export type ProvisionerJobStatus =
| "canceled"
| "canceling"
Expand Down