2024-11-10 00:40:07 +00:00
|
|
|
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
|
|
|
|
|
|
|
|
export type PosthogEventMap = {
|
|
|
|
|
repo_created: {
|
|
|
|
|
vcs: string;
|
|
|
|
|
codeHost?: string;
|
|
|
|
|
},
|
2024-12-19 03:21:21 +00:00
|
|
|
repo_deleted: {
|
|
|
|
|
vcs: string;
|
|
|
|
|
codeHost?: string;
|
2025-02-25 01:06:29 +00:00
|
|
|
},
|
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
|
backend_connection_sync_job_failed: {
|
|
|
|
|
connectionId: number,
|
|
|
|
|
error: string,
|
|
|
|
|
},
|
|
|
|
|
backend_connection_sync_job_completed: {
|
|
|
|
|
connectionId: number,
|
|
|
|
|
repoCount: number,
|
|
|
|
|
},
|
|
|
|
|
//////////////////////////////////////////////////////////////////
|
2024-11-10 00:40:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PosthogEvent = keyof PosthogEventMap;
|