diff --git a/lib/config/types.ts b/lib/config/types.ts index c9c5fce683..f84f333b34 100644 --- a/lib/config/types.ts +++ b/lib/config/types.ts @@ -2,7 +2,11 @@ import type { Category, PlatformId } from '../constants/index.ts'; import type { LogLevelRemap } from '../logger/types.ts'; import type { ManagerName } from '../manager-list.generated.ts'; import type { CustomManager } from '../modules/manager/custom/types.ts'; -import type { RepoSortMethod, SortMethod } from '../modules/platform/types.ts'; +import type { + GitUrlOption, + RepoSortMethod, + SortMethod, +} from '../modules/platform/types.ts'; import type { AutoMergeType, HostRule, @@ -506,6 +510,7 @@ export interface CustomDatasourceConfig { */ export interface AllConfig extends RenovateConfig, GlobalOnlyConfigLegacy, RepoGlobalConfig { + gitUrl?: GitUrlOption; password?: string; token?: string; username?: string; diff --git a/lib/config/validation.spec.ts b/lib/config/validation.spec.ts index 971ec19a4b..00f83d13f7 100644 --- a/lib/config/validation.spec.ts +++ b/lib/config/validation.spec.ts @@ -2353,7 +2353,6 @@ describe('config/validation', () => { }; const { warnings } = await configValidation.validateConfig( 'global', - // @ts-expect-error: contains invalid values config, ); expect(warnings).toEqual([