import type { UserGroup } from "./UserGroup"; import type { EntityBase } from "./Entity"; import type { Project } from "./Project"; import type { Issue } from "./Issue"; import type { User } from "./User"; export type VcsChange = EntityBase<"VcsChange"> & { date: number; fetched: number | null; files: number; author: User; processors: ChangesProcessor[]; text: string | null; urls: string[]; version: string | null; issue: Issue | null; state: 0 | 1 | 2 | 3; }; export type ChangesProcessor = EntityBase<"ChangesProcessor"> & { server: VcsServer | null; project: Project | null; relatedProjects: Project[]; enabled: boolean; visibleForGroups: UserGroup[]; addComments: boolean; lookupIssuesInBranchName: boolean; }; export type VcsServer = EntityBase<"VcsServer"> & { url: string | null; };