23 lines
447 B
TypeScript
23 lines
447 B
TypeScript
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;
|
|
}
|