renovate 39.181.0 → 40.0.0-next.10
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/schema.d.ts +2 -2
- package/dist/modules/datasource/custom/schema.d.ts +5 -5
- package/dist/modules/datasource/deno/schema.d.ts +8 -8
- 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/hex/schema.d.ts +11 -11
- package/dist/modules/datasource/packagist/schema.d.ts +30 -30
- 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/bazel/rules/docker.d.ts +9 -9
- package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
- 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/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/crossplane/schema.d.ts +2 -2
- package/dist/modules/manager/custom/jsonata/schema.d.ts +7 -7
- package/dist/modules/manager/fingerprint.generated.js +66 -66
- 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/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/poetry/schema.d.ts +48 -48
- package/dist/modules/manager/sveltos/schema.d.ts +12 -12
- package/dist/modules/manager/vendir/schema.d.ts +27 -27
- package/dist/modules/platform/api.d.ts +1 -1
- package/dist/modules/platform/bitbucket/schema.d.ts +17 -17
- package/dist/modules/platform/gitea/schema.d.ts +8 -8
- package/dist/modules/platform/github/issue.d.ts +12 -12
- package/dist/modules/platform/github/schema.d.ts +65 -65
- package/dist/modules/platform/scm.d.ts +1 -1
- package/dist/util/cache/repository/impl/base.d.ts +1 -1
- package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +5 -5
- package/dist/util/http/cache/schema.d.ts +2 -2
- package/dist/util/http/legacy.js +4 -0
- package/dist/util/http/legacy.js.map +1 -1
- package/package.json +17 -19
@@ -16,42 +16,42 @@ export declare const PagedSourceResultsSchema: z.ZodObject<z.objectUtil.extendSh
|
|
16
16
|
hash: string;
|
17
17
|
}>;
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
19
|
-
type: "commit_directory" | "commit_file";
|
20
19
|
path: string;
|
21
20
|
commit: {
|
22
21
|
hash: string;
|
23
22
|
};
|
24
|
-
}, {
|
25
23
|
type: "commit_directory" | "commit_file";
|
24
|
+
}, {
|
26
25
|
path: string;
|
27
26
|
commit: {
|
28
27
|
hash: string;
|
29
28
|
};
|
29
|
+
type: "commit_directory" | "commit_file";
|
30
30
|
}>, "many">;
|
31
31
|
}>, "strip", z.ZodTypeAny, {
|
32
32
|
values: {
|
33
|
-
type: "commit_directory" | "commit_file";
|
34
33
|
path: string;
|
35
34
|
commit: {
|
36
35
|
hash: string;
|
37
36
|
};
|
37
|
+
type: "commit_directory" | "commit_file";
|
38
38
|
}[];
|
39
39
|
pagelen: number;
|
40
|
-
page?: number | undefined;
|
41
40
|
size?: number | undefined;
|
42
41
|
next?: string | undefined;
|
42
|
+
page?: number | undefined;
|
43
43
|
}, {
|
44
44
|
values: {
|
45
|
-
type: "commit_directory" | "commit_file";
|
46
45
|
path: string;
|
47
46
|
commit: {
|
48
47
|
hash: string;
|
49
48
|
};
|
49
|
+
type: "commit_directory" | "commit_file";
|
50
50
|
}[];
|
51
51
|
pagelen: number;
|
52
|
-
page?: number | undefined;
|
53
52
|
size?: number | undefined;
|
54
53
|
next?: string | undefined;
|
54
|
+
page?: number | undefined;
|
55
55
|
}>;
|
56
56
|
export declare const RepoInfo: z.ZodEffects<z.ZodObject<{
|
57
57
|
parent: z.ZodCatch<z.ZodOptional<z.ZodUnknown>>;
|
@@ -74,10 +74,10 @@ export declare const RepoInfo: z.ZodEffects<z.ZodObject<{
|
|
74
74
|
name: string;
|
75
75
|
}>>>;
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
77
|
-
uuid: string;
|
78
77
|
project: {
|
79
78
|
name: string;
|
80
79
|
} | null;
|
80
|
+
uuid: string;
|
81
81
|
mainbranch: {
|
82
82
|
name: string;
|
83
83
|
};
|
@@ -91,8 +91,8 @@ export declare const RepoInfo: z.ZodEffects<z.ZodObject<{
|
|
91
91
|
name: string;
|
92
92
|
};
|
93
93
|
full_name: string;
|
94
|
-
parent?: unknown;
|
95
94
|
project?: unknown;
|
95
|
+
parent?: unknown;
|
96
96
|
has_issues?: unknown;
|
97
97
|
is_private?: unknown;
|
98
98
|
}>, {
|
@@ -111,8 +111,8 @@ export declare const RepoInfo: z.ZodEffects<z.ZodObject<{
|
|
111
111
|
name: string;
|
112
112
|
};
|
113
113
|
full_name: string;
|
114
|
-
parent?: unknown;
|
115
114
|
project?: unknown;
|
115
|
+
parent?: unknown;
|
116
116
|
has_issues?: unknown;
|
117
117
|
is_private?: unknown;
|
118
118
|
}>;
|
@@ -168,16 +168,16 @@ declare const PrTask: z.ZodObject<{
|
|
168
168
|
}>;
|
169
169
|
}, "strip", z.ZodTypeAny, {
|
170
170
|
id: number;
|
171
|
-
state: "RESOLVED" | "UNRESOLVED";
|
172
171
|
content: {
|
173
172
|
raw: string;
|
174
173
|
};
|
174
|
+
state: "RESOLVED" | "UNRESOLVED";
|
175
175
|
}, {
|
176
176
|
id: number;
|
177
|
-
state: "RESOLVED" | "UNRESOLVED";
|
178
177
|
content: {
|
179
178
|
raw: string;
|
180
179
|
};
|
180
|
+
state: "RESOLVED" | "UNRESOLVED";
|
181
181
|
}>;
|
182
182
|
export type PrTask = z.infer<typeof PrTask>;
|
183
183
|
export declare const UnresolvedPrTasks: z.ZodEffects<z.ZodObject<{
|
@@ -193,46 +193,46 @@ export declare const UnresolvedPrTasks: z.ZodEffects<z.ZodObject<{
|
|
193
193
|
}>;
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
195
195
|
id: number;
|
196
|
-
state: "RESOLVED" | "UNRESOLVED";
|
197
196
|
content: {
|
198
197
|
raw: string;
|
199
198
|
};
|
199
|
+
state: "RESOLVED" | "UNRESOLVED";
|
200
200
|
}, {
|
201
201
|
id: number;
|
202
|
-
state: "RESOLVED" | "UNRESOLVED";
|
203
202
|
content: {
|
204
203
|
raw: string;
|
205
204
|
};
|
205
|
+
state: "RESOLVED" | "UNRESOLVED";
|
206
206
|
}>, "many">;
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
208
208
|
values: {
|
209
209
|
id: number;
|
210
|
-
state: "RESOLVED" | "UNRESOLVED";
|
211
210
|
content: {
|
212
211
|
raw: string;
|
213
212
|
};
|
213
|
+
state: "RESOLVED" | "UNRESOLVED";
|
214
214
|
}[];
|
215
215
|
}, {
|
216
216
|
values: {
|
217
217
|
id: number;
|
218
|
-
state: "RESOLVED" | "UNRESOLVED";
|
219
218
|
content: {
|
220
219
|
raw: string;
|
221
220
|
};
|
221
|
+
state: "RESOLVED" | "UNRESOLVED";
|
222
222
|
}[];
|
223
223
|
}>, {
|
224
224
|
id: number;
|
225
|
-
state: "RESOLVED" | "UNRESOLVED";
|
226
225
|
content: {
|
227
226
|
raw: string;
|
228
227
|
};
|
228
|
+
state: "RESOLVED" | "UNRESOLVED";
|
229
229
|
}[], {
|
230
230
|
values: {
|
231
231
|
id: number;
|
232
|
-
state: "RESOLVED" | "UNRESOLVED";
|
233
232
|
content: {
|
234
233
|
raw: string;
|
235
234
|
};
|
235
|
+
state: "RESOLVED" | "UNRESOLVED";
|
236
236
|
}[];
|
237
237
|
}>;
|
238
238
|
export {};
|
@@ -5,15 +5,15 @@ export declare const ContentsResponseSchema: z.ZodObject<{
|
|
5
5
|
type: z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"dir">]>;
|
6
6
|
content: z.ZodNullable<z.ZodString>;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
|
-
|
8
|
+
path: string;
|
9
9
|
type: "file" | "dir";
|
10
10
|
content: string | null;
|
11
|
-
path: string;
|
12
|
-
}, {
|
13
11
|
name: string;
|
12
|
+
}, {
|
13
|
+
path: string;
|
14
14
|
type: "file" | "dir";
|
15
15
|
content: string | null;
|
16
|
-
|
16
|
+
name: string;
|
17
17
|
}>;
|
18
18
|
export type ContentsResponse = z.infer<typeof ContentsResponseSchema>;
|
19
19
|
export declare const ContentsListResponseSchema: z.ZodArray<z.ZodObject<{
|
@@ -22,13 +22,13 @@ export declare const ContentsListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
22
22
|
type: z.ZodUnion<[z.ZodLiteral<"file">, z.ZodLiteral<"dir">]>;
|
23
23
|
content: z.ZodNullable<z.ZodString>;
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
25
|
-
|
25
|
+
path: string;
|
26
26
|
type: "file" | "dir";
|
27
27
|
content: string | null;
|
28
|
-
path: string;
|
29
|
-
}, {
|
30
28
|
name: string;
|
29
|
+
}, {
|
30
|
+
path: string;
|
31
31
|
type: "file" | "dir";
|
32
32
|
content: string | null;
|
33
|
-
|
33
|
+
name: string;
|
34
34
|
}>, "many">;
|
@@ -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,6 @@
|
|
1
1
|
import type { Constructor } from 'type-fest';
|
2
2
|
import type { PlatformId } from '../../constants';
|
3
3
|
import type { PlatformScm } from './types';
|
4
|
-
export declare const platformScmImpls: Map<"
|
4
|
+
export declare const platformScmImpls: Map<"azure" | "bitbucket" | "bitbucket-server" | "codecommit" | "gerrit" | "gitea" | "github" | "gitlab" | "local", Constructor<PlatformScm>>;
|
5
5
|
export declare const scm: PlatformScm;
|
6
6
|
export declare function setPlatformScmApi(name: PlatformId): void;
|
@@ -3,7 +3,7 @@ import type { RepoCache, RepoCacheData } from '../types';
|
|
3
3
|
export declare abstract class RepoCacheBase implements RepoCache {
|
4
4
|
protected readonly repository: string;
|
5
5
|
protected readonly fingerprint: string;
|
6
|
-
protected platform: "
|
6
|
+
protected platform: "azure" | "bitbucket" | "bitbucket-server" | "codecommit" | "gerrit" | "gitea" | "github" | "gitlab" | "local";
|
7
7
|
private oldHash;
|
8
8
|
private data;
|
9
9
|
protected constructor(repository: string, fingerprint: string);
|
@@ -11,21 +11,21 @@ declare const GithubGraphqlRelease: z.ZodObject<{
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
12
12
|
description: z.ZodNullable<z.ZodString>;
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
14
|
-
name: string | null;
|
15
14
|
id: number | null;
|
16
|
-
url: string;
|
17
15
|
description: string | null;
|
18
|
-
version: string;
|
19
16
|
releaseTimestamp: string & {
|
20
17
|
__timestamp: never;
|
21
18
|
};
|
19
|
+
name: string | null;
|
20
|
+
url: string;
|
21
|
+
version: string;
|
22
22
|
isDraft: boolean;
|
23
23
|
isPrerelease: boolean;
|
24
24
|
}, {
|
25
|
-
name: string | null;
|
26
25
|
id: number | null;
|
27
|
-
url: string;
|
28
26
|
description: string | null;
|
27
|
+
name: string | null;
|
28
|
+
url: string;
|
29
29
|
version: string;
|
30
30
|
isDraft: boolean;
|
31
31
|
isPrerelease: boolean;
|
@@ -6,13 +6,13 @@ export declare const HttpCacheSchema: z.ZodCatch<z.ZodNullable<z.ZodObject<{
|
|
6
6
|
timestamp: z.ZodString;
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
8
8
|
timestamp: string;
|
9
|
-
lastModified?: string | undefined;
|
10
9
|
etag?: string | undefined;
|
10
|
+
lastModified?: string | undefined;
|
11
11
|
httpResponse?: unknown;
|
12
12
|
}, {
|
13
13
|
timestamp: string;
|
14
|
-
lastModified?: string | undefined;
|
15
14
|
etag?: string | undefined;
|
15
|
+
lastModified?: string | undefined;
|
16
16
|
httpResponse?: unknown;
|
17
17
|
}>>>;
|
18
18
|
export type HttpCache = z.infer<typeof HttpCacheSchema>;
|
package/dist/util/http/legacy.js
CHANGED
@@ -8,6 +8,7 @@ Object.defineProperty(got_1.RequestError.prototype, 'statusCode', {
|
|
8
8
|
get: function statusCode() {
|
9
9
|
return this.response?.statusCode;
|
10
10
|
},
|
11
|
+
configurable: true, // required by azure tests
|
11
12
|
});
|
12
13
|
Object.defineProperty(got_1.RequestError.prototype, 'body', {
|
13
14
|
get: function body() {
|
@@ -18,6 +19,7 @@ Object.defineProperty(got_1.RequestError.prototype, 'body', {
|
|
18
19
|
this.response.body = value;
|
19
20
|
}
|
20
21
|
},
|
22
|
+
configurable: true,
|
21
23
|
});
|
22
24
|
Object.defineProperty(got_1.RequestError.prototype, 'headers', {
|
23
25
|
get: function headers() {
|
@@ -28,6 +30,7 @@ Object.defineProperty(got_1.RequestError.prototype, 'url', {
|
|
28
30
|
get: function url() {
|
29
31
|
return this.response?.url;
|
30
32
|
},
|
33
|
+
configurable: true,
|
31
34
|
});
|
32
35
|
Object.defineProperty(got_1.RequestError.prototype, 'host', {
|
33
36
|
get: function url() {
|
@@ -35,5 +38,6 @@ Object.defineProperty(got_1.RequestError.prototype, 'host', {
|
|
35
38
|
const url = urlStr ? (0, url_1.parseUrl)(urlStr) : null;
|
36
39
|
return url?.host;
|
37
40
|
},
|
41
|
+
configurable: true,
|
38
42
|
});
|
39
43
|
//# sourceMappingURL=legacy.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../lib/util/http/legacy.ts"],"names":[],"mappings":";;AAAA,uBAAuB;AACvB,6BAAgD;AAChD,gCAAkC;AAElC,+CAA+C;AAE/C,MAAM,CAAC,cAAc,CAAC,kBAAS,CAAC,SAAS,EAAE,YAAY,EAAE;IACvD,GAAG,EAAE,SAAS,UAAU;QACtB,OAAO,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC;IACnC,CAAC;
|
1
|
+
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../lib/util/http/legacy.ts"],"names":[],"mappings":";;AAAA,uBAAuB;AACvB,6BAAgD;AAChD,gCAAkC;AAElC,+CAA+C;AAE/C,MAAM,CAAC,cAAc,CAAC,kBAAS,CAAC,SAAS,EAAE,YAAY,EAAE;IACvD,GAAG,EAAE,SAAS,UAAU;QACtB,OAAO,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC;IACnC,CAAC;IACD,YAAY,EAAE,IAAI,EAAE,0BAA0B;CAC/C,CAAC,CAAC;AAEH,MAAM,CAAC,cAAc,CAAC,kBAAS,CAAC,SAAS,EAAE,MAAM,EAAE;IACjD,GAAG,EAAE,SAAS,IAAI;QAChB,OAAO,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;IAC7B,CAAC;IACD,GAAG,EAAE,SAAS,IAAI,CAAkB,KAAc;QAChD,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAC;QAC7B,CAAC;IACH,CAAC;IACD,YAAY,EAAE,IAAI;CACnB,CAAC,CAAC;AAEH,MAAM,CAAC,cAAc,CAAC,kBAAS,CAAC,SAAS,EAAE,SAAS,EAAE;IACpD,GAAG,EAAE,SAAS,OAAO;QACnB,OAAO,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC;IAChC,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,cAAc,CAAC,kBAAS,CAAC,SAAS,EAAE,KAAK,EAAE;IAChD,GAAG,EAAE,SAAS,GAAG;QACf,OAAO,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC;IAC5B,CAAC;IACD,YAAY,EAAE,IAAI;CACnB,CAAC,CAAC;AAEH,MAAM,CAAC,cAAc,CAAC,kBAAS,CAAC,SAAS,EAAE,MAAM,EAAE;IACjD,GAAG,EAAE,SAAS,GAAG;QACf,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC;QAClC,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,IAAA,cAAQ,EAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC7C,OAAO,GAAG,EAAE,IAAI,CAAC;IACnB,CAAC;IACD,YAAY,EAAE,IAAI;CACnB,CAAC,CAAC","sourcesContent":["// istanbul ignore file\nimport { RequestError as HttpError } from 'got';\nimport { parseUrl } from '../url';\n\n// TODO: remove when code is refactored (#9651)\n\nObject.defineProperty(HttpError.prototype, 'statusCode', {\n get: function statusCode(this: HttpError) {\n return this.response?.statusCode;\n },\n configurable: true, // required by azure tests\n});\n\nObject.defineProperty(HttpError.prototype, 'body', {\n get: function body(this: HttpError): unknown {\n return this.response?.body;\n },\n set: function body(this: HttpError, value: unknown): void {\n if (this.response) {\n this.response.body = value;\n }\n },\n configurable: true,\n});\n\nObject.defineProperty(HttpError.prototype, 'headers', {\n get: function headers(this: HttpError) {\n return this.response?.headers;\n },\n});\n\nObject.defineProperty(HttpError.prototype, 'url', {\n get: function url(this: HttpError) {\n return this.response?.url;\n },\n configurable: true,\n});\n\nObject.defineProperty(HttpError.prototype, 'host', {\n get: function url(this: HttpError) {\n const urlStr = this.response?.url;\n const url = urlStr ? parseUrl(urlStr) : null;\n return url?.host;\n },\n configurable: true,\n});\n\nexport type GotLegacyError<E = unknown, T = unknown> = HttpError & {\n statusCode?: number;\n body: {\n message?: string;\n errors?: E[];\n };\n headers?: Record<string, T>;\n};\n"]}
|