renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
14 lines (13 loc) • 746 B
TypeScript
import { Datasource } from '../datasource';
import type { GetReleasesConfig, ReleaseResult } from '../types';
export declare class DartDatasource extends Datasource {
static readonly id = "dart";
constructor();
readonly customRegistrySupport = true;
readonly defaultRegistryUrls: string[];
readonly releaseTimestampSupport = true;
readonly releaseTimestampNote = "The release timestamp is determined from the `published` field in the results.";
readonly sourceUrlSupport = "package";
readonly sourceUrlNote = "The source URL is determined from the `repository` field of the latest release object in the results.";
getReleases({ packageName, registryUrl, }: GetReleasesConfig): Promise<ReleaseResult | null>;
}