renovate/lib/config/presets/common.ts
2020-05-09 09:04:39 +02:00

14 lines
334 B
TypeScript

import { RenovateConfig } from '../common';
// TODO: Proper typing
export type Preset = RenovateConfig & Record<string, unknown>;
export type PresetConfig = {
packageName: string;
presetName?: string;
baseConfig?: RenovateConfig;
};
export interface PresetApi {
getPreset(config: PresetConfig): Promise<Preset> | Preset;
}