renovate 40.0.0-next.2 → 40.0.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/decrypt/legacy.js +0 -1
- package/dist/config/decrypt/legacy.js.map +1 -1
- package/dist/config/decrypt.d.ts +3 -1
- package/dist/config/decrypt.js +56 -13
- package/dist/config/decrypt.js.map +1 -1
- package/dist/config/migrate-validate.js +3 -2
- package/dist/config/migrate-validate.js.map +1 -1
- package/dist/config/migration.js +2 -1
- package/dist/config/migration.js.map +1 -1
- package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -1
- package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
- package/dist/config/options/index.js +3 -3
- package/dist/config/options/index.js.map +1 -1
- package/dist/config/parse.js +2 -2
- package/dist/config/parse.js.map +1 -1
- package/dist/config/presets/gitea/index.js +0 -1
- package/dist/config/presets/gitea/index.js.map +1 -1
- package/dist/config/presets/github/index.js +0 -1
- package/dist/config/presets/github/index.js.map +1 -1
- package/dist/config/presets/gitlab/index.js +1 -1
- package/dist/config/presets/gitlab/index.js.map +1 -1
- package/dist/config/presets/http/index.js +1 -2
- package/dist/config/presets/http/index.js.map +1 -1
- package/dist/config/presets/index.js +0 -7
- package/dist/config/presets/index.js.map +1 -1
- package/dist/config/presets/internal/custom-managers.js +3 -4
- package/dist/config/presets/internal/custom-managers.js.map +1 -1
- package/dist/config/presets/internal/index.js +1 -3
- package/dist/config/presets/internal/index.js.map +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/validation.js +3 -5
- package/dist/config/validation.js.map +1 -1
- package/dist/config-validator.js +0 -1
- package/dist/config-validator.js.map +1 -1
- package/dist/constants/category.js +0 -1
- package/dist/constants/category.js.map +1 -1
- package/dist/data/monorepo.json +2 -1
- package/dist/instrumentation/index.js +5 -3
- package/dist/instrumentation/index.js.map +1 -1
- package/dist/instrumentation/utils.js +1 -1
- package/dist/instrumentation/utils.js.map +1 -1
- package/dist/logger/cmd-serializer.js +0 -1
- package/dist/logger/cmd-serializer.js.map +1 -1
- package/dist/logger/config-serializer.js +0 -1
- package/dist/logger/config-serializer.js.map +1 -1
- package/dist/logger/index.js +0 -3
- package/dist/logger/index.js.map +1 -1
- package/dist/logger/once.js +4 -2
- package/dist/logger/once.js.map +1 -1
- package/dist/logger/pretty-stdout.js +0 -1
- package/dist/logger/pretty-stdout.js.map +1 -1
- package/dist/logger/renovate-logger.js +1 -1
- package/dist/logger/renovate-logger.js.map +1 -1
- package/dist/logger/utils.js +6 -11
- package/dist/logger/utils.js.map +1 -1
- package/dist/modules/datasource/artifactory/index.js +1 -1
- package/dist/modules/datasource/artifactory/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js +11 -1
- package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
- package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +16 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js +2 -0
- package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
- package/dist/modules/datasource/crate/index.js +1 -1
- package/dist/modules/datasource/crate/index.js.map +1 -1
- package/dist/modules/datasource/custom/formats/html.js +1 -1
- package/dist/modules/datasource/custom/formats/html.js.map +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js +1 -1
- package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
- package/dist/modules/datasource/custom/schema.d.ts +5 -5
- package/dist/modules/datasource/deb/index.js +1 -1
- package/dist/modules/datasource/deb/index.js.map +1 -1
- package/dist/modules/datasource/deno/schema.d.ts +8 -8
- package/dist/modules/datasource/docker/common.js +1 -1
- package/dist/modules/datasource/docker/common.js.map +1 -1
- package/dist/modules/datasource/docker/index.js +5 -3
- package/dist/modules/datasource/docker/index.js.map +1 -1
- package/dist/modules/datasource/docker/schema.d.ts +32 -32
- package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
- package/dist/modules/datasource/galaxy-collection/schema.d.ts +3 -3
- package/dist/modules/datasource/gitea-releases/schema.d.ts +4 -4
- package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
- package/dist/modules/datasource/github-release-attachments/index.js +2 -2
- package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
- package/dist/modules/datasource/go/base.js +1 -1
- package/dist/modules/datasource/go/base.js.map +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js +1 -1
- package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
- package/dist/modules/datasource/golang-version/index.js +1 -1
- package/dist/modules/datasource/golang-version/index.js.map +1 -1
- package/dist/modules/datasource/hex/schema.d.ts +11 -11
- package/dist/modules/datasource/hexpm-bob/index.js +1 -1
- package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
- package/dist/modules/datasource/index.js +2 -2
- package/dist/modules/datasource/index.js.map +1 -1
- package/dist/modules/datasource/maven/util.js +1 -1
- package/dist/modules/datasource/maven/util.js.map +1 -1
- package/dist/modules/datasource/nuget/v2.js +1 -1
- package/dist/modules/datasource/nuget/v2.js.map +1 -1
- package/dist/modules/datasource/nuget/v3.js +1 -1
- package/dist/modules/datasource/nuget/v3.js.map +1 -1
- package/dist/modules/datasource/packagist/schema.d.ts +30 -30
- package/dist/modules/datasource/pod/index.js +1 -1
- package/dist/modules/datasource/pod/index.js.map +1 -1
- package/dist/modules/datasource/pypi/index.js +1 -1
- package/dist/modules/datasource/pypi/index.js.map +1 -1
- package/dist/modules/datasource/ruby-version/index.js +1 -1
- package/dist/modules/datasource/ruby-version/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/index.js +1 -1
- package/dist/modules/datasource/rubygems/index.js.map +1 -1
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +2 -2
- package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
- package/dist/modules/datasource/terraform-provider/index.js +1 -1
- package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
- package/dist/modules/datasource/unity3d/index.d.ts +4 -1
- package/dist/modules/datasource/unity3d/index.js +36 -42
- package/dist/modules/datasource/unity3d/index.js.map +1 -1
- package/dist/modules/datasource/unity3d/schema.d.ts +47 -0
- package/dist/modules/datasource/unity3d/schema.js +17 -0
- package/dist/modules/datasource/unity3d/schema.js.map +1 -0
- package/dist/modules/manager/argocd/schema.d.ts +10 -10
- package/dist/modules/manager/azure-pipelines/schema.d.ts +10 -10
- package/dist/modules/manager/batect/schema.d.ts +6 -6
- package/dist/modules/manager/batect-wrapper/artifacts.js +1 -1
- package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/bazel/rules/docker.d.ts +9 -9
- package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
- package/dist/modules/manager/bazel/rules/git.js +7 -1
- package/dist/modules/manager/bazel/rules/git.js.map +1 -1
- package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
- package/dist/modules/manager/bazel/rules/oci.d.ts +3 -3
- package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
- package/dist/modules/manager/bazel-module/parser/maven.d.ts +27 -27
- package/dist/modules/manager/bazel-module/parser/oci.d.ts +17 -17
- package/dist/modules/manager/bazel-module/rules.d.ts +40 -40
- package/dist/modules/manager/bundler/artifacts.js.map +1 -1
- package/dist/modules/manager/cargo/schema.d.ts +100 -100
- package/dist/modules/manager/circleci/schema.d.ts +6 -6
- package/dist/modules/manager/composer/schema.d.ts +40 -40
- package/dist/modules/manager/composer/utils.js +9 -6
- package/dist/modules/manager/composer/utils.js.map +1 -1
- package/dist/modules/manager/crossplane/schema.d.ts +2 -2
- package/dist/modules/manager/custom/jsonata/index.js +4 -0
- package/dist/modules/manager/custom/jsonata/index.js.map +1 -1
- package/dist/modules/manager/custom/jsonata/schema.d.ts +7 -7
- package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
- package/dist/modules/manager/devbox/artifacts.js +29 -11
- package/dist/modules/manager/devbox/artifacts.js.map +1 -1
- package/dist/modules/manager/fingerprint.generated.js +68 -68
- package/dist/modules/manager/fingerprint.generated.js.map +1 -1
- package/dist/modules/manager/fleet/schema.d.ts +12 -12
- package/dist/modules/manager/flux/schema.d.ts +50 -50
- package/dist/modules/manager/glasskube/schema.d.ts +8 -8
- package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -1
- package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
- package/dist/modules/manager/maven/extract.js +3 -1
- package/dist/modules/manager/maven/extract.js.map +1 -1
- package/dist/modules/manager/mise/extract.js +1 -1
- package/dist/modules/manager/mise/extract.js.map +1 -1
- package/dist/modules/manager/nix/schema.d.ts +24 -24
- package/dist/modules/manager/npm/schema.d.ts +13 -13
- package/dist/modules/manager/nuget/schema.d.ts +8 -8
- package/dist/modules/manager/ocb/schema.d.ts +6 -6
- package/dist/modules/manager/pep621/schema.d.ts +55 -55
- package/dist/modules/manager/pep621/utils.js +1 -1
- package/dist/modules/manager/pep621/utils.js.map +1 -1
- package/dist/modules/manager/poetry/artifacts.js +3 -3
- package/dist/modules/manager/poetry/artifacts.js.map +1 -1
- package/dist/modules/manager/poetry/extract.js +2 -1
- package/dist/modules/manager/poetry/extract.js.map +1 -1
- package/dist/modules/manager/poetry/schema.d.ts +48 -48
- package/dist/modules/manager/sveltos/schema.d.ts +12 -12
- package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
- package/dist/modules/manager/vendir/schema.d.ts +27 -27
- package/dist/modules/platform/api.d.ts +1 -1
- package/dist/modules/platform/bitbucket/index.d.ts +1 -0
- package/dist/modules/platform/bitbucket/index.js +6 -1
- package/dist/modules/platform/bitbucket/index.js.map +1 -1
- package/dist/modules/platform/bitbucket/schema.d.ts +17 -17
- package/dist/modules/platform/bitbucket-server/index.d.ts +1 -1
- package/dist/modules/platform/bitbucket-server/index.js +13 -11
- package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/schema.d.ts +75 -0
- package/dist/modules/platform/bitbucket-server/schema.js +14 -1
- package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/types.d.ts +2 -1
- package/dist/modules/platform/bitbucket-server/types.js.map +1 -1
- package/dist/modules/platform/bitbucket-server/utils.d.ts +0 -2
- package/dist/modules/platform/bitbucket-server/utils.js +1 -51
- package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
- package/dist/modules/platform/gerrit/client.js +1 -1
- package/dist/modules/platform/gerrit/client.js.map +1 -1
- package/dist/modules/platform/gitea/index.d.ts +1 -0
- package/dist/modules/platform/gitea/index.js +11 -0
- package/dist/modules/platform/gitea/index.js.map +1 -1
- package/dist/modules/platform/gitea/schema.d.ts +8 -8
- package/dist/modules/platform/github/common.d.ts +2 -0
- package/dist/modules/platform/github/common.js +16 -0
- package/dist/modules/platform/github/common.js.map +1 -1
- package/dist/modules/platform/github/index.d.ts +1 -1
- package/dist/modules/platform/github/index.js +6 -4
- package/dist/modules/platform/github/index.js.map +1 -1
- package/dist/modules/platform/github/issue.d.ts +12 -12
- package/dist/modules/platform/github/schema.d.ts +65 -65
- package/dist/modules/platform/gitlab/index.d.ts +1 -0
- package/dist/modules/platform/gitlab/index.js +9 -0
- package/dist/modules/platform/gitlab/index.js.map +1 -1
- package/dist/modules/platform/scm.d.ts +1 -1
- package/dist/modules/versioning/composer/index.js +10 -0
- package/dist/modules/versioning/composer/index.js.map +1 -1
- package/dist/modules/versioning/npm/index.js +2 -1
- package/dist/modules/versioning/npm/index.js.map +1 -1
- package/dist/modules/versioning/schema.js +1 -1
- package/dist/modules/versioning/schema.js.map +1 -1
- package/dist/modules/versioning/types.d.ts +4 -0
- package/dist/modules/versioning/types.js.map +1 -1
- package/dist/proxy.js +2 -1
- package/dist/proxy.js.map +1 -1
- package/dist/renovate.js +2 -2
- package/dist/renovate.js.map +1 -1
- package/dist/util/cache/package/decorator.js +2 -2
- package/dist/util/cache/package/decorator.js.map +1 -1
- package/dist/util/cache/package/redis.js +0 -1
- package/dist/util/cache/package/redis.js.map +1 -1
- package/dist/util/cache/repository/impl/base.d.ts +1 -1
- package/dist/util/exec/containerbase.js +12 -12
- package/dist/util/exec/containerbase.js.map +1 -1
- package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +5 -5
- package/dist/util/http/auth.js +0 -1
- package/dist/util/http/auth.js.map +1 -1
- package/dist/util/http/bitbucket-server.d.ts +5 -4
- package/dist/util/http/bitbucket-server.js +17 -20
- package/dist/util/http/bitbucket-server.js.map +1 -1
- package/dist/util/http/bitbucket.d.ts +6 -5
- package/dist/util/http/bitbucket.js +30 -31
- package/dist/util/http/bitbucket.js.map +1 -1
- package/dist/util/http/cache/abstract-http-cache-provider.js +1 -1
- package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
- package/dist/util/http/cache/schema.d.ts +2 -2
- package/dist/util/http/errors.d.ts +2 -0
- package/dist/util/http/errors.js +8 -0
- package/dist/util/http/errors.js.map +1 -0
- package/dist/util/http/gerrit.d.ts +6 -4
- package/dist/util/http/gerrit.js +11 -12
- package/dist/util/http/gerrit.js.map +1 -1
- package/dist/util/http/gitea.d.ts +5 -4
- package/dist/util/http/gitea.js +12 -13
- package/dist/util/http/gitea.js.map +1 -1
- package/dist/util/http/github.d.ts +14 -8
- package/dist/util/http/github.js +64 -60
- package/dist/util/http/github.js.map +1 -1
- package/dist/util/http/gitlab.d.ts +7 -5
- package/dist/util/http/gitlab.js +56 -46
- package/dist/util/http/gitlab.js.map +1 -1
- package/dist/util/http/got.d.ts +9 -0
- package/dist/util/http/got.js +54 -0
- package/dist/util/http/got.js.map +1 -0
- package/dist/util/http/host-rules.d.ts +2 -1
- package/dist/util/http/host-rules.js.map +1 -1
- package/dist/util/http/http.d.ts +93 -0
- package/dist/util/http/http.js +339 -0
- package/dist/util/http/http.js.map +1 -0
- package/dist/util/http/index.d.ts +6 -74
- package/dist/util/http/index.js +5 -359
- package/dist/util/http/index.js.map +1 -1
- package/dist/util/http/legacy.js +4 -1
- package/dist/util/http/legacy.js.map +1 -1
- package/dist/util/http/types.d.ts +9 -16
- package/dist/util/http/types.js.map +1 -1
- package/dist/util/string.d.ts +15 -0
- package/dist/util/string.js +75 -0
- package/dist/util/string.js.map +1 -1
- package/dist/util/toml.d.ts +1 -0
- package/dist/util/toml.js +6 -0
- package/dist/util/toml.js.map +1 -1
- package/dist/util/url.js +3 -8
- package/dist/util/url.js.map +1 -1
- package/dist/util/yaml.js +2 -6
- package/dist/util/yaml.js.map +1 -1
- package/dist/workers/global/config/parse/env.js +3 -2
- package/dist/workers/global/config/parse/env.js.map +1 -1
- package/dist/workers/global/config/parse/file.js +19 -9
- package/dist/workers/global/config/parse/file.js.map +1 -1
- package/dist/workers/global/config/parse/host-rules-from-env.js +6 -2
- package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
- package/dist/workers/repository/cache.js +0 -1
- package/dist/workers/repository/cache.js.map +1 -1
- package/dist/workers/repository/onboarding/pr/config-description.js +3 -1
- package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js +1 -1
- package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
- package/package.json +44 -49
- package/renovate-schema.json +2 -1
@@ -8,16 +8,16 @@ export declare const GithubIssue: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectU
|
|
8
8
|
updatedAt: z.ZodString;
|
9
9
|
}>, "strip", z.ZodTypeAny, {
|
10
10
|
number: number;
|
11
|
-
state: string;
|
12
11
|
body: string;
|
13
|
-
title: string;
|
14
12
|
updatedAt: string;
|
13
|
+
state: string;
|
14
|
+
title: string;
|
15
15
|
}, {
|
16
16
|
number: number;
|
17
|
-
state: string;
|
18
17
|
body: string;
|
19
|
-
title: string;
|
20
18
|
updatedAt: string;
|
19
|
+
state: string;
|
20
|
+
title: string;
|
21
21
|
}>, {
|
22
22
|
number: number;
|
23
23
|
state: string;
|
@@ -26,10 +26,10 @@ export declare const GithubIssue: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectU
|
|
26
26
|
lastModified: string;
|
27
27
|
}, {
|
28
28
|
number: number;
|
29
|
-
state: string;
|
30
29
|
body: string;
|
31
|
-
title: string;
|
32
30
|
updatedAt: string;
|
31
|
+
state: string;
|
32
|
+
title: string;
|
33
33
|
}>, z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
|
34
34
|
number: z.ZodNumber;
|
35
35
|
state: z.ZodEffects<z.ZodString, string, string>;
|
@@ -39,16 +39,16 @@ export declare const GithubIssue: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectU
|
|
39
39
|
updated_at: z.ZodString;
|
40
40
|
}>, "strip", z.ZodTypeAny, {
|
41
41
|
number: number;
|
42
|
-
state: string;
|
43
42
|
body: string;
|
44
|
-
|
43
|
+
state: string;
|
45
44
|
updated_at: string;
|
45
|
+
title: string;
|
46
46
|
}, {
|
47
47
|
number: number;
|
48
|
-
state: string;
|
49
48
|
body: string;
|
50
|
-
|
49
|
+
state: string;
|
51
50
|
updated_at: string;
|
51
|
+
title: string;
|
52
52
|
}>, {
|
53
53
|
number: number;
|
54
54
|
state: string;
|
@@ -57,10 +57,10 @@ export declare const GithubIssue: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectU
|
|
57
57
|
lastModified: string;
|
58
58
|
}, {
|
59
59
|
number: number;
|
60
|
-
state: string;
|
61
60
|
body: string;
|
62
|
-
|
61
|
+
state: string;
|
63
62
|
updated_at: string;
|
63
|
+
title: string;
|
64
64
|
}>]>;
|
65
65
|
export type GithubIssue = z.infer<typeof GithubIssue>;
|
66
66
|
export declare class GithubIssueCache {
|
@@ -16,7 +16,7 @@ export declare const VulnerabilityAlertSchema: z.ZodEffects<z.ZodArray<z.ZodAny,
|
|
16
16
|
security_vulnerability: {
|
17
17
|
package: {
|
18
18
|
name: string;
|
19
|
-
ecosystem: "
|
19
|
+
ecosystem: "rust" | "maven" | "npm" | "nuget" | "pip" | "rubygems" | "composer" | "go";
|
20
20
|
};
|
21
21
|
vulnerable_version_range: string;
|
22
22
|
first_patched_version?: {
|
@@ -31,13 +31,13 @@ export declare const GithubFileMeta: z.ZodObject<z.objectUtil.extendShape<{
|
|
31
31
|
}, {
|
32
32
|
type: z.ZodLiteral<"file">;
|
33
33
|
}>, "strip", z.ZodTypeAny, {
|
34
|
-
name: string;
|
35
|
-
type: "file";
|
36
34
|
path: string;
|
37
|
-
}, {
|
38
|
-
name: string;
|
39
35
|
type: "file";
|
36
|
+
name: string;
|
37
|
+
}, {
|
40
38
|
path: string;
|
39
|
+
type: "file";
|
40
|
+
name: string;
|
41
41
|
}>;
|
42
42
|
export type GithubFileMeta = z.infer<typeof GithubFileMeta>;
|
43
43
|
export declare const GithubFile: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
@@ -49,16 +49,16 @@ export declare const GithubFile: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
49
49
|
content: z.ZodString;
|
50
50
|
encoding: z.ZodString;
|
51
51
|
}>, "strip", z.ZodTypeAny, {
|
52
|
-
|
52
|
+
path: string;
|
53
53
|
type: "file";
|
54
54
|
content: string;
|
55
|
-
|
55
|
+
name: string;
|
56
56
|
encoding: string;
|
57
57
|
}, {
|
58
|
-
|
58
|
+
path: string;
|
59
59
|
type: "file";
|
60
60
|
content: string;
|
61
|
-
|
61
|
+
name: string;
|
62
62
|
encoding: string;
|
63
63
|
}>;
|
64
64
|
export type GithubFile = z.infer<typeof GithubFile>;
|
@@ -68,13 +68,13 @@ export declare const GithubDirectory: z.ZodObject<z.objectUtil.extendShape<{
|
|
68
68
|
}, {
|
69
69
|
type: z.ZodLiteral<"dir">;
|
70
70
|
}>, "strip", z.ZodTypeAny, {
|
71
|
-
name: string;
|
72
|
-
type: "dir";
|
73
71
|
path: string;
|
74
|
-
}, {
|
75
|
-
name: string;
|
76
72
|
type: "dir";
|
73
|
+
name: string;
|
74
|
+
}, {
|
77
75
|
path: string;
|
76
|
+
type: "dir";
|
77
|
+
name: string;
|
78
78
|
}>;
|
79
79
|
export type GithubDirectory = z.infer<typeof GithubDirectory>;
|
80
80
|
export declare const GithubOtherContent: z.ZodObject<z.objectUtil.extendShape<{
|
@@ -83,13 +83,13 @@ export declare const GithubOtherContent: z.ZodObject<z.objectUtil.extendShape<{
|
|
83
83
|
}, {
|
84
84
|
type: z.ZodUnion<[z.ZodLiteral<"symlink">, z.ZodLiteral<"submodule">]>;
|
85
85
|
}>, "strip", z.ZodTypeAny, {
|
86
|
-
name: string;
|
87
|
-
type: "symlink" | "submodule";
|
88
86
|
path: string;
|
89
|
-
}, {
|
90
|
-
name: string;
|
91
87
|
type: "symlink" | "submodule";
|
88
|
+
name: string;
|
89
|
+
}, {
|
92
90
|
path: string;
|
91
|
+
type: "symlink" | "submodule";
|
92
|
+
name: string;
|
93
93
|
}>;
|
94
94
|
export type GithubOtherContent = z.infer<typeof GithubOtherContent>;
|
95
95
|
export declare const GithubElement: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
@@ -101,16 +101,16 @@ export declare const GithubElement: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObj
|
|
101
101
|
content: z.ZodString;
|
102
102
|
encoding: z.ZodString;
|
103
103
|
}>, "strip", z.ZodTypeAny, {
|
104
|
-
|
104
|
+
path: string;
|
105
105
|
type: "file";
|
106
106
|
content: string;
|
107
|
-
|
107
|
+
name: string;
|
108
108
|
encoding: string;
|
109
109
|
}, {
|
110
|
-
|
110
|
+
path: string;
|
111
111
|
type: "file";
|
112
112
|
content: string;
|
113
|
-
|
113
|
+
name: string;
|
114
114
|
encoding: string;
|
115
115
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
116
116
|
name: z.ZodString;
|
@@ -118,39 +118,39 @@ export declare const GithubElement: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObj
|
|
118
118
|
}, {
|
119
119
|
type: z.ZodLiteral<"file">;
|
120
120
|
}>, "strip", z.ZodTypeAny, {
|
121
|
-
name: string;
|
122
|
-
type: "file";
|
123
121
|
path: string;
|
124
|
-
}, {
|
125
|
-
name: string;
|
126
122
|
type: "file";
|
123
|
+
name: string;
|
124
|
+
}, {
|
127
125
|
path: string;
|
126
|
+
type: "file";
|
127
|
+
name: string;
|
128
128
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
129
129
|
name: z.ZodString;
|
130
130
|
path: z.ZodString;
|
131
131
|
}, {
|
132
132
|
type: z.ZodLiteral<"dir">;
|
133
133
|
}>, "strip", z.ZodTypeAny, {
|
134
|
-
name: string;
|
135
|
-
type: "dir";
|
136
134
|
path: string;
|
137
|
-
}, {
|
138
|
-
name: string;
|
139
135
|
type: "dir";
|
136
|
+
name: string;
|
137
|
+
}, {
|
140
138
|
path: string;
|
139
|
+
type: "dir";
|
140
|
+
name: string;
|
141
141
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
142
142
|
name: z.ZodString;
|
143
143
|
path: z.ZodString;
|
144
144
|
}, {
|
145
145
|
type: z.ZodUnion<[z.ZodLiteral<"symlink">, z.ZodLiteral<"submodule">]>;
|
146
146
|
}>, "strip", z.ZodTypeAny, {
|
147
|
-
name: string;
|
148
|
-
type: "symlink" | "submodule";
|
149
147
|
path: string;
|
150
|
-
}, {
|
151
|
-
name: string;
|
152
148
|
type: "symlink" | "submodule";
|
149
|
+
name: string;
|
150
|
+
}, {
|
153
151
|
path: string;
|
152
|
+
type: "symlink" | "submodule";
|
153
|
+
name: string;
|
154
154
|
}>]>;
|
155
155
|
export type GithubElement = z.infer<typeof GithubElement>;
|
156
156
|
export declare const GithubContentResponse: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
@@ -162,16 +162,16 @@ export declare const GithubContentResponse: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z
|
|
162
162
|
content: z.ZodString;
|
163
163
|
encoding: z.ZodString;
|
164
164
|
}>, "strip", z.ZodTypeAny, {
|
165
|
-
|
165
|
+
path: string;
|
166
166
|
type: "file";
|
167
167
|
content: string;
|
168
|
-
|
168
|
+
name: string;
|
169
169
|
encoding: string;
|
170
170
|
}, {
|
171
|
-
|
171
|
+
path: string;
|
172
172
|
type: "file";
|
173
173
|
content: string;
|
174
|
-
|
174
|
+
name: string;
|
175
175
|
encoding: string;
|
176
176
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
177
177
|
name: z.ZodString;
|
@@ -179,39 +179,39 @@ export declare const GithubContentResponse: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z
|
|
179
179
|
}, {
|
180
180
|
type: z.ZodLiteral<"file">;
|
181
181
|
}>, "strip", z.ZodTypeAny, {
|
182
|
-
name: string;
|
183
|
-
type: "file";
|
184
182
|
path: string;
|
185
|
-
}, {
|
186
|
-
name: string;
|
187
183
|
type: "file";
|
184
|
+
name: string;
|
185
|
+
}, {
|
188
186
|
path: string;
|
187
|
+
type: "file";
|
188
|
+
name: string;
|
189
189
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
190
190
|
name: z.ZodString;
|
191
191
|
path: z.ZodString;
|
192
192
|
}, {
|
193
193
|
type: z.ZodLiteral<"dir">;
|
194
194
|
}>, "strip", z.ZodTypeAny, {
|
195
|
-
name: string;
|
196
|
-
type: "dir";
|
197
195
|
path: string;
|
198
|
-
}, {
|
199
|
-
name: string;
|
200
196
|
type: "dir";
|
197
|
+
name: string;
|
198
|
+
}, {
|
201
199
|
path: string;
|
200
|
+
type: "dir";
|
201
|
+
name: string;
|
202
202
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
203
203
|
name: z.ZodString;
|
204
204
|
path: z.ZodString;
|
205
205
|
}, {
|
206
206
|
type: z.ZodUnion<[z.ZodLiteral<"symlink">, z.ZodLiteral<"submodule">]>;
|
207
207
|
}>, "strip", z.ZodTypeAny, {
|
208
|
-
name: string;
|
209
|
-
type: "symlink" | "submodule";
|
210
208
|
path: string;
|
211
|
-
}, {
|
212
|
-
name: string;
|
213
209
|
type: "symlink" | "submodule";
|
210
|
+
name: string;
|
211
|
+
}, {
|
214
212
|
path: string;
|
213
|
+
type: "symlink" | "submodule";
|
214
|
+
name: string;
|
215
215
|
}>]>, "many">, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
216
216
|
name: z.ZodString;
|
217
217
|
path: z.ZodString;
|
@@ -221,16 +221,16 @@ export declare const GithubContentResponse: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z
|
|
221
221
|
content: z.ZodString;
|
222
222
|
encoding: z.ZodString;
|
223
223
|
}>, "strip", z.ZodTypeAny, {
|
224
|
-
|
224
|
+
path: string;
|
225
225
|
type: "file";
|
226
226
|
content: string;
|
227
|
-
|
227
|
+
name: string;
|
228
228
|
encoding: string;
|
229
229
|
}, {
|
230
|
-
|
230
|
+
path: string;
|
231
231
|
type: "file";
|
232
232
|
content: string;
|
233
|
-
|
233
|
+
name: string;
|
234
234
|
encoding: string;
|
235
235
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
236
236
|
name: z.ZodString;
|
@@ -238,37 +238,37 @@ export declare const GithubContentResponse: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z
|
|
238
238
|
}, {
|
239
239
|
type: z.ZodLiteral<"file">;
|
240
240
|
}>, "strip", z.ZodTypeAny, {
|
241
|
-
name: string;
|
242
|
-
type: "file";
|
243
241
|
path: string;
|
244
|
-
}, {
|
245
|
-
name: string;
|
246
242
|
type: "file";
|
243
|
+
name: string;
|
244
|
+
}, {
|
247
245
|
path: string;
|
246
|
+
type: "file";
|
247
|
+
name: string;
|
248
248
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
249
249
|
name: z.ZodString;
|
250
250
|
path: z.ZodString;
|
251
251
|
}, {
|
252
252
|
type: z.ZodLiteral<"dir">;
|
253
253
|
}>, "strip", z.ZodTypeAny, {
|
254
|
-
name: string;
|
255
|
-
type: "dir";
|
256
254
|
path: string;
|
257
|
-
}, {
|
258
|
-
name: string;
|
259
255
|
type: "dir";
|
256
|
+
name: string;
|
257
|
+
}, {
|
260
258
|
path: string;
|
259
|
+
type: "dir";
|
260
|
+
name: string;
|
261
261
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
262
262
|
name: z.ZodString;
|
263
263
|
path: z.ZodString;
|
264
264
|
}, {
|
265
265
|
type: z.ZodUnion<[z.ZodLiteral<"symlink">, z.ZodLiteral<"submodule">]>;
|
266
266
|
}>, "strip", z.ZodTypeAny, {
|
267
|
-
name: string;
|
268
|
-
type: "symlink" | "submodule";
|
269
267
|
path: string;
|
270
|
-
}, {
|
271
|
-
name: string;
|
272
268
|
type: "symlink" | "submodule";
|
269
|
+
name: string;
|
270
|
+
}, {
|
273
271
|
path: string;
|
272
|
+
type: "symlink" | "submodule";
|
273
|
+
name: string;
|
274
274
|
}>]>]>;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import type { BranchStatus } from '../../../types';
|
2
2
|
import type { AutodiscoverConfig, BranchStatusConfig, CreatePRConfig, EnsureCommentConfig, EnsureCommentRemovalConfig, EnsureIssueConfig, FindPRConfig, Issue, MergePRConfig, PlatformParams, PlatformResult, Pr, ReattemptPlatformAutomergeConfig, RepoParams, RepoResult, UpdatePrConfig } from '../types';
|
3
3
|
import type { GitlabIssue, GitlabPr } from './types';
|
4
|
+
export declare function resetPlatform(): void;
|
4
5
|
export declare const id = "gitlab";
|
5
6
|
export declare function initPlatform({ endpoint, token, gitAuthor, }: PlatformParams): Promise<PlatformResult>;
|
6
7
|
export declare function getRepos(config?: AutodiscoverConfig): Promise<string[]>;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.id = void 0;
|
4
|
+
exports.resetPlatform = resetPlatform;
|
4
5
|
exports.initPlatform = initPlatform;
|
5
6
|
exports.getRepos = getRepos;
|
6
7
|
exports.getRawFile = getRawFile;
|
@@ -58,6 +59,14 @@ const merge_request_1 = require("./merge-request");
|
|
58
59
|
const schema_1 = require("./schema");
|
59
60
|
const utils_1 = require("./utils");
|
60
61
|
let config = {};
|
62
|
+
function resetPlatform() {
|
63
|
+
config = {};
|
64
|
+
draftPrefix = utils_1.DRAFT_PREFIX;
|
65
|
+
defaults.hostType = 'gitlab';
|
66
|
+
defaults.endpoint = 'https://gitlab.com/api/v4/';
|
67
|
+
defaults.version = '0.0.0';
|
68
|
+
(0, gitlab_1.setBaseUrl)(defaults.endpoint);
|
69
|
+
}
|
61
70
|
const defaults = {
|
62
71
|
hostType: 'gitlab',
|
63
72
|
endpoint: 'https://gitlab.com/api/v4/',
|