0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/datasource/java-version/common.ts

16 lines
327 B
TypeScript

// Api page size limit 50
export const pageSize = 50;
export const defaultRegistryUrl = 'https://api.adoptium.net/';
export const datasource = 'java-version';
export function getImageType(packageName: string): string {
switch (packageName) {
case 'java-jre':
return 'jre';
default:
return 'jdk';
}
}