Initial commit
This commit is contained in:
22
src/PushWebhook.d.ts
vendored
Normal file
22
src/PushWebhook.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
export interface PushWebhook {
|
||||
type: string;
|
||||
occur_at: number;
|
||||
operator: string;
|
||||
event_data: EventData;
|
||||
}
|
||||
export interface EventData {
|
||||
resources?: (ResourcesEntity)[] | null;
|
||||
repository: Repository;
|
||||
}
|
||||
export interface ResourcesEntity {
|
||||
digest: string;
|
||||
tag: string;
|
||||
resource_url: string;
|
||||
}
|
||||
export interface Repository {
|
||||
date_created: number;
|
||||
name: string;
|
||||
namespace: string;
|
||||
repo_full_name: string;
|
||||
repo_type: string;
|
||||
}
|
||||
Reference in New Issue
Block a user