export type GitlabOauthProjectType = { projectId: number; projectPath: string; hookId: number; encryptedWebhookToken: string; }; export type GitlabOauthInstallationType = { authorizedByUserId: number; authorizedByUsername: string; encryptedAccessToken: string; encryptedRefreshToken: string; tokenExpiresAt: Date | string; scope: string; projects: GitlabOauthProjectType[]; hostUrl?: string; }; export type GitlabSelfhostedOauthConfigType = { hostUrl: string; clientId: string; createdAt: Date | string; createdByUserId?: string; };