Skip to content

Commit 2f87f2d

Browse files
feat(db): add webhooks table with trigger reference
1 parent aaabdd2 commit 2f87f2d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
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: 160
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-d27df409d7979dbb29733500872b84823b37257c1b3a93f7ba2b0d95bd4faac6.yml
3-
openapi_spec_hash: 1c7c624b62b6a216486c8150074d5237
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-3935e467f9c15925790aada293124db82bb5d6840eeac52d81fbac6a9b0fd154.yml
3+
openapi_spec_hash: b417d7f10ea430216e9b70e4468a3212
44
config_hash: d3267594264bfb76d2ee7e881d5f8a5a

src/resources/groups/role-assignments.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ export type ResourceRole =
214214
| 'RESOURCE_ROLE_WORKFLOW_VIEWER'
215215
| 'RESOURCE_ROLE_WORKFLOW_EXECUTOR'
216216
| 'RESOURCE_ROLE_SNAPSHOT_ADMIN'
217-
| 'RESOURCE_ROLE_SNAPSHOT_RUNNER';
217+
| 'RESOURCE_ROLE_SNAPSHOT_RUNNER'
218+
| 'RESOURCE_ROLE_WEBHOOK_ADMIN'
219+
| 'RESOURCE_ROLE_WEBHOOK_VIEWER';
218220

219221
/**
220222
* RoleAssignment represents a role assigned to a group on a specific resource

src/resources/shared.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ export type ResourceType =
224224
| 'RESOURCE_TYPE_ORGANIZATION_LLM_INTEGRATION'
225225
| 'RESOURCE_TYPE_CUSTOM_DOMAIN'
226226
| 'RESOURCE_TYPE_ROLE_ASSIGNMENT_CHANGED'
227-
| 'RESOURCE_TYPE_GROUP_MEMBERSHIP_CHANGED';
227+
| 'RESOURCE_TYPE_GROUP_MEMBERSHIP_CHANGED'
228+
| 'RESOURCE_TYPE_WEBHOOK';
228229

229230
export interface RunsOn {
230231
docker?: RunsOn.Docker;

0 commit comments

Comments
 (0)