Skip to content

feat(api): manual updates #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 111
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-410f762771ac58738f3d165b19c5e2e9377ebbfa3f090f041e269142cfa2e7f4.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml
31 changes: 31 additions & 0 deletions src/resources/environments/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -887,9 +887,40 @@ export namespace EnvironmentSpec {
*/
devcontainerFilePath?: string;

/**
* Experimental: dotfiles is the dotfiles configuration of the devcontainer
*/
dotfiles?: Devcontainer.Dotfiles;

session?: string;
}

export namespace Devcontainer {
/**
* Experimental: dotfiles is the dotfiles configuration of the devcontainer
*/
export interface Dotfiles {
/**
* URL of a dotfiles Git repository (e.g. https://github.com/owner/repository)
*/
repository: string;

/**
* install_command is the command to run after cloning the dotfiles repository.
* Defaults to run the first file of `install.sh`, `install`, `bootstrap.sh`,
* `bootstrap`, `setup.sh` and `setup` found in the dotfiles repository's root
* folder.
*/
installCommand?: string;

/**
* target_path is the path to clone the dotfiles repository to. Defaults to
* `~/dotfiles`.
*/
targetPath?: string;
}
}

/**
* machine is the machine spec of the environment
*/
Expand Down
2 changes: 1 addition & 1 deletion src/resources/users/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export interface User {
/**
* id is a UUID of the user
*/
id?: string;
id: string;

/**
* avatar_url is a link to the user avatar
Expand Down