Skip to content

Commit 56d5f57

Browse files
feat(api): manual updates
1 parent d762a2d commit 56d5f57

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Types:
44

5-
- <code><a href="./src/resources/shared.ts">AutomationTrigge</a></code>
5+
- <code><a href="./src/resources/shared.ts">AutomationTrigger</a></code>
66
- <code><a href="./src/resources/shared.ts">EnvironmentClass</a></code>
77
- <code><a href="./src/resources/shared.ts">FieldValue</a></code>
88
- <code><a href="./src/resources/shared.ts">OrganizationRole</a></code>

src/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ export declare namespace Gitpod {
11631163
type UserSetSuspendedParams as UserSetSuspendedParams,
11641164
};
11651165

1166-
export type AutomationTrigge = API.AutomationTrigge;
1166+
export type AutomationTrigger = API.AutomationTrigger;
11671167
export type EnvironmentClass = API.EnvironmentClass;
11681168
export type FieldValue = API.FieldValue;
11691169
export type OrganizationRole = API.OrganizationRole;

src/resources/environments/automations/services.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export interface ServiceMetadata {
203203
/**
204204
* triggered_by is a list of trigger that start the service.
205205
*/
206-
triggeredBy?: Array<Shared.AutomationTrigge>;
206+
triggeredBy?: Array<Shared.AutomationTrigger>;
207207
}
208208

209209
export type ServicePhase =
@@ -375,7 +375,7 @@ export namespace ServiceUpdateParams {
375375

376376
export namespace Metadata {
377377
export interface TriggeredBy {
378-
trigger?: Array<Shared.AutomationTrigge>;
378+
trigger?: Array<Shared.AutomationTrigger>;
379379
}
380380
}
381381

src/resources/environments/automations/tasks/tasks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export namespace TaskUpdateParams {
122122

123123
export namespace Metadata {
124124
export interface TriggeredBy {
125-
trigger?: Array<Shared.AutomationTrigge>;
125+
trigger?: Array<Shared.AutomationTrigger>;
126126
}
127127
}
128128

src/resources/shared.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { EnvironmentClassesPage, TaskExecutionsPage, TasksPage } from '../pagina
99
* after the environment has started. The `post_devcontainer_start` field indicates
1010
* that the automation should be triggered after the dev container has started.
1111
*/
12-
export interface AutomationTrigge {
12+
export interface AutomationTrigger {
1313
manual?: boolean;
1414

1515
postDevcontainerStart?: boolean;
@@ -647,7 +647,7 @@ export interface TaskMetadata {
647647
/**
648648
* triggered_by is a list of trigger that start the task.
649649
*/
650-
triggeredBy?: Array<AutomationTrigge>;
650+
triggeredBy?: Array<AutomationTrigger>;
651651
}
652652

653653
export interface TaskSpec {

0 commit comments

Comments
 (0)