import { ACTIVITY_SOURCE } from '../enums/project.js'; import { ValueOf } from './Utils.js'; import { GithubSourceData } from './Github.js'; export interface GithubActivitySource extends GithubSourceData { authorEmail: string; authorName: string; branchName: string; branch: string; commitHash: string; committersUsername: string; ownerName: string; owner: string; repositoryName: string; type: typeof ACTIVITY_SOURCE.GITHUB_USER; } export type HubspotActivitySource = { userId?: number; type: ValueOf; }; export type ActivitySource = GithubActivitySource | HubspotActivitySource;