sourcebot/packages/backend/src/posthogEvents.ts
2024-11-09 16:40:07 -08:00

17 lines
No EOL
396 B
TypeScript

/* eslint-disable @typescript-eslint/no-empty-object-type */
export type PosthogEventMap = {
repo_created: {
vcs: string;
codeHost?: string;
},
repo_synced: {
vcs: string;
codeHost?: string;
fetchDuration_s?: number;
cloneDuration_s?: number;
indexDuration_s?: number;
}
}
export type PosthogEvent = keyof PosthogEventMap;