@@ -887,9 +887,40 @@ export namespace EnvironmentSpec {
887
887
*/
888
888
devcontainerFilePath ?: string ;
889
889
890
+ /**
891
+ * Experimental: dotfiles is the dotfiles configuration of the devcontainer
892
+ */
893
+ dotfiles ?: Devcontainer . Dotfiles ;
894
+
890
895
session ?: string ;
891
896
}
892
897
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
+
893
924
/**
894
925
* machine is the machine spec of the environment
895
926
*/
@@ -1509,14 +1540,14 @@ export interface EnvironmentCreateResponse {
1509
1540
/**
1510
1541
* +resource get environment
1511
1542
*/
1512
- environment ? : Environment ;
1543
+ environment : Environment ;
1513
1544
}
1514
1545
1515
1546
export interface EnvironmentRetrieveResponse {
1516
1547
/**
1517
1548
* +resource get environment
1518
1549
*/
1519
- environment ? : Environment ;
1550
+ environment : Environment ;
1520
1551
}
1521
1552
1522
1553
export type EnvironmentUpdateResponse = unknown ;
@@ -1527,14 +1558,14 @@ export interface EnvironmentCreateFromProjectResponse {
1527
1558
/**
1528
1559
* +resource get environment
1529
1560
*/
1530
- environment ? : Environment ;
1561
+ environment : Environment ;
1531
1562
}
1532
1563
1533
1564
export interface EnvironmentCreateLogsTokenResponse {
1534
1565
/**
1535
1566
* access_token is the token that can be used to access the logs of the environment
1536
1567
*/
1537
- accessToken ? : string ;
1568
+ accessToken : string ;
1538
1569
}
1539
1570
1540
1571
export type EnvironmentMarkActiveResponse = unknown ;
0 commit comments