mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 09:06:25 +00:00
14 lines
334 B
TypeScript
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;
|
|
}
|