Initial commit

This commit is contained in:
Sebastian Seedorf
2022-01-24 16:04:58 +01:00
commit 06241729e2
14 changed files with 1176 additions and 0 deletions

22
src/PushWebhook.d.ts vendored Normal file
View 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;
}