44 lines
872 B
TypeScript
44 lines
872 B
TypeScript
export interface ReleasesVersionFilter {
|
|
prefix?: string;
|
|
precision: number;
|
|
suffix?: string;
|
|
}
|
|
|
|
export interface ReleasesRepository {
|
|
id: string;
|
|
providerIntegrationId?: string;
|
|
identifier: string;
|
|
name?: string;
|
|
versionFilter?: ReleasesVersionFilter;
|
|
iconUrl?: string;
|
|
}
|
|
|
|
export interface ReleasesRepositoryResponse extends ReleasesRepository {
|
|
latestRelease?: string;
|
|
latestReleaseAt?: Date;
|
|
isNewRelease: boolean;
|
|
isStaleRelease: boolean;
|
|
|
|
releaseUrl?: string;
|
|
releaseDescription?: string;
|
|
isPreRelease?: boolean;
|
|
|
|
projectUrl?: string;
|
|
projectDescription?: string;
|
|
isFork?: boolean;
|
|
isArchived?: boolean;
|
|
createdAt?: Date;
|
|
starsCount?: number;
|
|
forksCount?: number;
|
|
openIssues?: number;
|
|
|
|
integration?: {
|
|
name: string;
|
|
iconUrl?: string;
|
|
};
|
|
|
|
viewed: boolean;
|
|
|
|
error?: { code?: string; message?: string };
|
|
}
|