Skip to content

Commit e179ba6

Browse files
feat(api): add oldPath field to EnvironmentStatus file changes
1 parent 3a33f2b commit e179ba6

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-c96c88897f8d19fbdbc198611166980daa0448074a92a083b3db2014e670c474.yml
3-
openapi_spec_hash: 4a1f0f6bbd23a8943700da97162255ab
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-95aec32d54661e6522d78deca8c182908b30bae1db5762b365a3ef338dbaccfa.yml
3+
openapi_spec_hash: cd08bb12843c15e0fe783957866deb83
44
config_hash: d73914a733b27d121d59aa43bc7c710e

src/resources/environments/environments.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,6 +1291,12 @@ export namespace EnvironmentStatus {
12911291
| 'CHANGE_TYPE_UPDATED_BUT_UNMERGED'
12921292
| 'CHANGE_TYPE_UNTRACKED';
12931293

1294+
/**
1295+
* old_path is the previous path of the file before a rename or copy. Only set when
1296+
* change_type is RENAMED or COPIED.
1297+
*/
1298+
oldPath?: string;
1299+
12941300
/**
12951301
* path is the path of the file
12961302
*/

0 commit comments

Comments
 (0)