@@ -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 */
@@ -1509,14 +1540,14 @@ export interface EnvironmentCreateResponse {
15091540 /**
15101541 * +resource get environment
15111542 */
1512- environment ? : Environment ;
1543+ environment : Environment ;
15131544}
15141545
15151546export interface EnvironmentRetrieveResponse {
15161547 /**
15171548 * +resource get environment
15181549 */
1519- environment ? : Environment ;
1550+ environment : Environment ;
15201551}
15211552
15221553export type EnvironmentUpdateResponse = unknown ;
@@ -1527,14 +1558,14 @@ export interface EnvironmentCreateFromProjectResponse {
15271558 /**
15281559 * +resource get environment
15291560 */
1530- environment ? : Environment ;
1561+ environment : Environment ;
15311562}
15321563
15331564export interface EnvironmentCreateLogsTokenResponse {
15341565 /**
15351566 * access_token is the token that can be used to access the logs of the environment
15361567 */
1537- accessToken ? : string ;
1568+ accessToken : string ;
15381569}
15391570
15401571export type EnvironmentMarkActiveResponse = unknown ;
0 commit comments