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
Emyrk committed Mar 31, 2023
commit 4b5e219974e44529994debc68af2ff3ae3ef38e2
25 changes: 23 additions & 2 deletions site/src/api/typesGenerated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ export interface CreateWorkspaceBuildRequest {
readonly log_level?: ProvisionerLogLevel
}

// From codersdk/workspaceproxy.go
export interface CreateWorkspaceProxyRequest {
readonly name: string
readonly icon: string
readonly url: string
readonly wildcard_url: string
}

// From codersdk/organizations.go
export interface CreateWorkspaceRequest {
readonly template_id: string
Expand Down Expand Up @@ -1172,6 +1180,19 @@ export interface WorkspaceOptions {
readonly include_deleted?: boolean
}

// From codersdk/workspaceproxy.go
export interface WorkspaceProxy {
readonly id: string
readonly organization_id: string
readonly name: string
readonly icon: string
readonly url: string
readonly wildcard_url: string
readonly created_at: string
readonly updated_at: string
readonly deleted: boolean
}

// From codersdk/workspaces.go
export interface WorkspaceQuota {
readonly credits_consumed: number
Expand Down Expand Up @@ -1251,8 +1272,8 @@ export const Entitlements: Entitlement[] = [
]

// From codersdk/deployment.go
export type Experiment = "template_editor"
export const Experiments: Experiment[] = ["template_editor"]
export type Experiment = "moons" | "template_editor"
export const Experiments: Experiment[] = ["moons", "template_editor"]

// From codersdk/deployment.go
export type FeatureName =
Expand Down