renovate/lib/types/host-rules.ts
RahulGautamSingh 2eb7c76027 feat(http)!: remove dnsCache option (#29449)
BREAKING CHANGE: dnsCache is now removed
2024-07-25 15:28:16 +02:00

33 lines
792 B
TypeScript

export interface HostRule {
authType?: string;
token?: string;
username?: string;
password?: string;
insecureRegistry?: boolean;
timeout?: number;
abortOnError?: boolean;
abortIgnoreStatusCodes?: number[];
enabled?: boolean;
enableHttp2?: boolean;
concurrentRequestLimit?: number;
maxRequestsPerSecond?: number;
headers?: Record<string, string>;
maxRetryAfter?: number;
keepAlive?: boolean;
artifactAuth?: string[] | null;
httpsCertificateAuthority?: string;
httpsPrivateKey?: string;
httpsCertificate?: string;
encrypted?: HostRule;
hostType?: string;
matchHost?: string;
resolvedHost?: string;
readOnly?: boolean;
}
export type CombinedHostRule = Omit<
HostRule,
'encrypted' | 'hostType' | 'matchHost' | 'resolvedHost' | 'readOnly'
>;