Skip to content

Commit 27276e0

Browse files
feat(api): manual updates (#26)
1 parent 696d0c2 commit 27276e0

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-410f762771ac58738f3d165b19c5e2e9377ebbfa3f090f041e269142cfa2e7f4.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml

src/resources/environments/environments.ts

+31
Original file line numberDiff line numberDiff line change
@@ -887,9 +887,40 @@ export namespace EnvironmentSpec {
887887
*/
888888
devcontainerFilePath?: string;
889889

890+
/**
891+
* Experimental: dotfiles is the dotfiles configuration of the devcontainer
892+
*/
893+
dotfiles?: Devcontainer.Dotfiles;
894+
890895
session?: string;
891896
}
892897

898+
export namespace Devcontainer {
899+
/**
900+
* Experimental: dotfiles is the dotfiles configuration of the devcontainer
901+
*/
902+
export interface Dotfiles {
903+
/**
904+
* URL of a dotfiles Git repository (e.g. https://github.com/owner/repository)
905+
*/
906+
repository: string;
907+
908+
/**
909+
* install_command is the command to run after cloning the dotfiles repository.
910+
* Defaults to run the first file of `install.sh`, `install`, `bootstrap.sh`,
911+
* `bootstrap`, `setup.sh` and `setup` found in the dotfiles repository's root
912+
* folder.
913+
*/
914+
installCommand?: string;
915+
916+
/**
917+
* target_path is the path to clone the dotfiles repository to. Defaults to
918+
* `~/dotfiles`.
919+
*/
920+
targetPath?: string;
921+
}
922+
}
923+
893924
/**
894925
* machine is the machine spec of the environment
895926
*/

src/resources/users/users.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface User {
8484
/**
8585
* id is a UUID of the user
8686
*/
87-
id?: string;
87+
id: string;
8888

8989
/**
9090
* avatar_url is a link to the user avatar

0 commit comments

Comments
 (0)