mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 05:45:20 +00:00
28 lines
No EOL
746 B
TypeScript
28 lines
No EOL
746 B
TypeScript
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
|
|
export type PosthogEventMap = {
|
|
repo_created: {
|
|
vcs: string;
|
|
codeHost?: string;
|
|
},
|
|
repo_deleted: {
|
|
vcs: string;
|
|
codeHost?: string;
|
|
},
|
|
//////////////////////////////////////////////////////////////////
|
|
backend_connection_sync_job_failed: {
|
|
connectionId: number,
|
|
error: string,
|
|
},
|
|
backend_connection_sync_job_completed: {
|
|
connectionId: number,
|
|
repoCount: number,
|
|
},
|
|
backend_revisions_truncated: {
|
|
repoId: number,
|
|
revisionCount: number,
|
|
},
|
|
//////////////////////////////////////////////////////////////////
|
|
}
|
|
|
|
export type PosthogEvent = keyof PosthogEventMap; |