renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
14 lines (13 loc) • 747 B
TypeScript
import { Datasource } from '../datasource';
import type { GetReleasesConfig, ReleaseResult } from '../types';
export declare class GitlabReleasesDatasource extends Datasource {
static readonly id = "gitlab-releases";
readonly defaultRegistryUrls: string[];
static readonly registryStrategy = "first";
readonly releaseTimestampSupport = true;
readonly releaseTimestampNote = "The release timestamp is determined from the `released_at` field in the results.";
readonly sourceUrlSupport = "package";
readonly sourceUrlNote = "The source URL is determined by using the `packageName` and `registryUrl`.";
constructor();
getReleases({ registryUrl, packageName, }: GetReleasesConfig): Promise<ReleaseResult | null>;
}