Skip to content

Commit

Permalink
fix: add missing installation key to registry_packag and `package…
Browse files Browse the repository at this point in the history
…` events

Fixes #812
  • Loading branch information
wolfy1339 committed Jun 29, 2023
1 parent c07bc57 commit 79c0951
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@
},
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"organization": { "$ref": "common/organization.schema.json" }
},
"additionalProperties": false,
Expand Down
1 change: 1 addition & 0 deletions payload-schemas/api.github.com/package/updated.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@
},
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"organization": { "$ref": "common/organization.schema.json" }
},
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
},
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"organization": { "$ref": "common/organization.schema.json" }
},
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
},
"repository": { "$ref": "common/repository.schema.json" },
"sender": { "$ref": "common/user.schema.json" },
"installation": { "$ref": "common/installation-lite.schema.json" },
"organization": { "$ref": "common/organization.schema.json" }
},
"additionalProperties": false,
Expand Down
4 changes: 4 additions & 0 deletions payload-types/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4967,6 +4967,7 @@ export interface PackagePublishedEvent {
};
repository: Repository;
sender: User;
installation?: InstallationLite;
organization?: Organization;
}
export interface PackageNPMMetadata {
Expand Down Expand Up @@ -5184,6 +5185,7 @@ export interface PackageUpdatedEvent {
};
repository: Repository;
sender: User;
installation?: InstallationLite;
organization?: Organization;
}
/**
Expand Down Expand Up @@ -6607,6 +6609,7 @@ export interface RegistryPackagePublishedEvent {
};
repository: Repository;
sender: User;
installation?: InstallationLite;
organization?: Organization;
}
export interface RegistryPackageUpdatedEvent {
Expand Down Expand Up @@ -6785,6 +6788,7 @@ export interface RegistryPackageUpdatedEvent {
};
repository: Repository;
sender: User;
installation?: InstallationLite;
organization?: Organization;
}
export interface ReleaseCreatedEvent {
Expand Down

0 comments on commit 79c0951

Please sign in to comment.