Skip to content

Commit

Permalink
chore: sort config types
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Mar 12, 2024
1 parent 289944e commit 480b11f
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions lib/config/types.ts
Expand Up @@ -28,70 +28,70 @@ export type RecreateWhen = 'auto' | 'never' | 'always';
// TODO: Proper typings
export interface RenovateSharedConfig {
$schema?: string;
addLabels?: string[];
autoReplaceGlobalMatch?: boolean;
automerge?: boolean;
automergeSchedule?: string[];
automergeStrategy?: MergeStrategy;
autoReplaceGlobalMatch?: boolean;
pruneBranchAfterAutomerge?: boolean;
branchPrefix?: string;
branchPrefixOld?: string;
branchName?: string;
branchNameStrict?: boolean;
manager?: string;
branchPrefix?: string;
branchPrefixOld?: string;
commitMessage?: string;
commitMessagePrefix?: string;
commitMessageTopic?: string;
commitMessageAction?: string;
commitMessageExtra?: string;
commitMessageLowerCase?: 'auto' | 'never';
commitMessagePrefix?: string;
commitMessageTopic?: string;
confidential?: boolean;
customChangelogUrl?: string;
dependencyDashboardApproval?: boolean;
draftPR?: boolean;
enabled?: boolean;
enabledManagers?: string[];
extends?: string[];
fileMatch?: string[];
force?: RenovateConfig;
gitIgnoredAuthors?: string[];
group?: GroupConfig;
groupName?: string;
groupSlug?: string;
includePaths?: string[];
hashedBranchLength?: number;
ignoreDeps?: string[];
ignorePaths?: string[];
ignoreTests?: boolean;
includePaths?: string[];
internalChecksAsSuccess?: boolean;
keepUpdatedLabel?: string;
labels?: string[];
addLabels?: string[];
dependencyDashboardApproval?: boolean;
hashedBranchLength?: number;
manager?: string;
milestone?: number;
npmrc?: string;
npmrcMerge?: boolean;
platformCommit?: boolean;
postUpgradeTasks?: PostUpgradeTasks;
prBodyColumns?: string[];
prBodyDefinitions?: Record<string, string>;
prCreation?: 'immediate' | 'not-pending' | 'status-success' | 'approval';
productLinks?: Record<string, string>;
prPriority?: number;
productLinks?: Record<string, string>;
pruneBranchAfterAutomerge?: boolean;
rebaseLabel?: string;
respectLatest?: boolean;
stopUpdatingLabel?: string;
rebaseWhen?: string;
recreateWhen?: RecreateWhen;
recreateClosed?: boolean;
recreateWhen?: RecreateWhen;
repository?: string;
repositoryCache?: RepositoryCacheConfig;
repositoryCacheType?: RepositoryCacheType;
respectLatest?: boolean;
schedule?: string[];
automergeSchedule?: string[];
semanticCommits?: 'auto' | 'enabled' | 'disabled';
semanticCommitScope?: string | null;
commitMessageLowerCase?: 'auto' | 'never';
semanticCommitType?: string;
semanticCommits?: 'auto' | 'enabled' | 'disabled';
stopUpdatingLabel?: string;
suppressNotifications?: string[];
timezone?: string;
unicodeEmoji?: boolean;
gitIgnoredAuthors?: string[];
platformCommit?: boolean;
milestone?: number;
}

// Config options used only within the global worker
Expand All @@ -106,20 +106,20 @@ export interface GlobalOnlyConfig {
containerbaseDir?: string;
detectHostRulesFromEnv?: boolean;
dockerCliOptions?: string;
endpoint?: string;
forceCli?: boolean;
gitNoVerify?: GitNoVerifyOption[];
gitPrivateKey?: string;
globalExtends?: string[];
logFile?: string;
logFileLevel?: LogLevel;
platform?: PlatformId;
prCommitsPerRunLimit?: number;
privateKeyPath?: string;
privateKeyPathOld?: string;
redisUrl?: string;
redisPrefix?: string;
redisUrl?: string;
repositories?: RenovateRepository[];
platform?: PlatformId;
endpoint?: string;
useCloudMetadataServices?: boolean;
}

Expand All @@ -130,32 +130,32 @@ export interface RepoGlobalConfig {
allowPlugins?: boolean;
allowPostUpgradeCommandTemplating?: boolean;
allowScripts?: boolean;
allowedEnv?: string[];
allowedHeaders?: string[];
allowedPostUpgradeCommands?: string[];
binarySource?: 'docker' | 'global' | 'install' | 'hermit';
cacheDir?: string;
cacheHardTtlMinutes?: number;
cacheTtlOverride?: Record<string, number>;
containerbaseDir?: string;
customEnvVariables?: Record<string, string>;
dockerChildPrefix?: string;
dockerCliOptions?: string;
dockerSidecarImage?: string;
dockerUser?: string;
dryRun?: DryRunConfig;
endpoint?: string;
executionTimeout?: number;
gitTimeout?: number;
exposeAllEnv?: boolean;
gitTimeout?: number;
githubTokenWarn?: boolean;
includeMirrors?: boolean;
localDir?: string;
migratePresets?: Record<string, string>;
platform?: PlatformId;
presetCachePersistence?: boolean;
privateKey?: string;
privateKeyOld?: string;
localDir?: string;
cacheDir?: string;
containerbaseDir?: string;
platform?: PlatformId;
endpoint?: string;
includeMirrors?: boolean;
allowedEnv?: string[];
}

export interface LegacyAdminConfig {
Expand Down Expand Up @@ -341,33 +341,33 @@ export interface PackageRule
UpdateConfig,
Record<string, unknown> {
description?: string | string[];
excludeDepNames?: string[];
excludeDepPatterns?: string[];
excludePackageNames?: string[];
excludePackagePatterns?: string[];
excludePackagePrefixes?: string[];
excludeRepositories?: string[];
isVulnerabilityAlert?: boolean;
matchFileNames?: string[];
matchBaseBranches?: string[];
matchCategories?: string[];
matchConfidence?: MergeConfidence[];
matchCurrentAge?: string;
matchManagers?: string[];
matchCurrentValue?: string;
matchCurrentVersion?: string;
matchDatasources?: string[];
matchDepTypes?: string[];
matchDepNames?: string[];
matchDepPatterns?: string[];
matchDepTypes?: string[];
matchFileNames?: string[];
matchManagers?: string[];
matchNewValue?: string;
matchPackageNames?: string[];
matchPackagePatterns?: string[];
matchPackagePrefixes?: string[];
matchRepositories?: string[];
excludeDepNames?: string[];
excludeDepPatterns?: string[];
excludePackageNames?: string[];
excludePackagePatterns?: string[];
excludePackagePrefixes?: string[];
excludeRepositories?: string[];
matchNewValue?: string;
matchCurrentValue?: string;
matchCurrentVersion?: string;
matchSourceUrlPrefixes?: string[];
matchSourceUrls?: string[];
matchUpdateTypes?: UpdateType[];
matchCategories?: string[];
matchConfidence?: MergeConfidence[];
registryUrls?: string[] | null;
vulnerabilitySeverity?: string;
}
Expand Down

0 comments on commit 480b11f

Please sign in to comment.