@dependabit/manifest 0.1.1
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/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +32 -0
- package/dist/config.d.ts +27 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +79 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/manifest.d.ts +43 -0
- package/dist/manifest.d.ts.map +1 -0
- package/dist/manifest.js +191 -0
- package/dist/manifest.js.map +1 -0
- package/dist/schema.d.ts +488 -0
- package/dist/schema.d.ts.map +1 -0
- package/dist/schema.js +213 -0
- package/dist/schema.js.map +1 -0
- package/dist/size-check.d.ts +39 -0
- package/dist/size-check.d.ts.map +1 -0
- package/dist/size-check.js +84 -0
- package/dist/size-check.js.map +1 -0
- package/dist/validator.d.ts +53 -0
- package/dist/validator.d.ts.map +1 -0
- package/dist/validator.js +110 -0
- package/dist/validator.js.map +1 -0
- package/package.json +38 -0
- package/src/config.test.ts +266 -0
- package/src/config.ts +96 -0
- package/src/index.ts +16 -0
- package/src/manifest.test.ts +400 -0
- package/src/manifest.ts +261 -0
- package/src/schema.test.ts +293 -0
- package/src/schema.ts +265 -0
- package/src/size-check.test.ts +246 -0
- package/src/size-check.ts +124 -0
- package/src/validator.test.ts +161 -0
- package/src/validator.ts +131 -0
- package/tsconfig.json +10 -0
- package/tsconfig.tsbuildinfo +1 -0
package/dist/schema.d.ts
ADDED
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ManifestVersionSchema: z.ZodLiteral<"1.0.0">;
|
|
3
|
+
export declare const AccessMethodSchema: z.ZodEnum<{
|
|
4
|
+
arxiv: "arxiv";
|
|
5
|
+
context7: "context7";
|
|
6
|
+
"github-api": "github-api";
|
|
7
|
+
http: "http";
|
|
8
|
+
openapi: "openapi";
|
|
9
|
+
}>;
|
|
10
|
+
export declare const DependencyTypeSchema: z.ZodEnum<{
|
|
11
|
+
"api-example": "api-example";
|
|
12
|
+
documentation: "documentation";
|
|
13
|
+
other: "other";
|
|
14
|
+
"reference-implementation": "reference-implementation";
|
|
15
|
+
"research-paper": "research-paper";
|
|
16
|
+
schema: "schema";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const DetectionMethodSchema: z.ZodEnum<{
|
|
19
|
+
"code-comment": "code-comment";
|
|
20
|
+
"llm-analysis": "llm-analysis";
|
|
21
|
+
manual: "manual";
|
|
22
|
+
"package-json": "package-json";
|
|
23
|
+
"requirements-txt": "requirements-txt";
|
|
24
|
+
}>;
|
|
25
|
+
export declare const SeveritySchema: z.ZodEnum<{
|
|
26
|
+
breaking: "breaking";
|
|
27
|
+
major: "major";
|
|
28
|
+
minor: "minor";
|
|
29
|
+
}>;
|
|
30
|
+
export declare const AuthConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
type: z.ZodEnum<{
|
|
32
|
+
basic: "basic";
|
|
33
|
+
none: "none";
|
|
34
|
+
oauth: "oauth";
|
|
35
|
+
token: "token";
|
|
36
|
+
}>;
|
|
37
|
+
secretEnvVar: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
export declare const MonitoringRulesSchema: z.ZodObject<{
|
|
40
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
41
|
+
checkFrequency: z.ZodDefault<z.ZodEnum<{
|
|
42
|
+
daily: "daily";
|
|
43
|
+
hourly: "hourly";
|
|
44
|
+
monthly: "monthly";
|
|
45
|
+
weekly: "weekly";
|
|
46
|
+
}>>;
|
|
47
|
+
ignoreChanges: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
+
severityOverride: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
breaking: "breaking";
|
|
50
|
+
major: "major";
|
|
51
|
+
minor: "minor";
|
|
52
|
+
}>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export declare const DependencyEntrySchema: z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
url: z.ZodString;
|
|
57
|
+
type: z.ZodEnum<{
|
|
58
|
+
"api-example": "api-example";
|
|
59
|
+
documentation: "documentation";
|
|
60
|
+
other: "other";
|
|
61
|
+
"reference-implementation": "reference-implementation";
|
|
62
|
+
"research-paper": "research-paper";
|
|
63
|
+
schema: "schema";
|
|
64
|
+
}>;
|
|
65
|
+
accessMethod: z.ZodEnum<{
|
|
66
|
+
arxiv: "arxiv";
|
|
67
|
+
context7: "context7";
|
|
68
|
+
"github-api": "github-api";
|
|
69
|
+
http: "http";
|
|
70
|
+
openapi: "openapi";
|
|
71
|
+
}>;
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
description: z.ZodOptional<z.ZodString>;
|
|
74
|
+
currentVersion: z.ZodOptional<z.ZodString>;
|
|
75
|
+
currentStateHash: z.ZodString;
|
|
76
|
+
detectionMethod: z.ZodEnum<{
|
|
77
|
+
"code-comment": "code-comment";
|
|
78
|
+
"llm-analysis": "llm-analysis";
|
|
79
|
+
manual: "manual";
|
|
80
|
+
"package-json": "package-json";
|
|
81
|
+
"requirements-txt": "requirements-txt";
|
|
82
|
+
}>;
|
|
83
|
+
detectionConfidence: z.ZodNumber;
|
|
84
|
+
detectedAt: z.ZodString;
|
|
85
|
+
lastChecked: z.ZodString;
|
|
86
|
+
lastChanged: z.ZodOptional<z.ZodString>;
|
|
87
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
type: z.ZodEnum<{
|
|
89
|
+
basic: "basic";
|
|
90
|
+
none: "none";
|
|
91
|
+
oauth: "oauth";
|
|
92
|
+
token: "token";
|
|
93
|
+
}>;
|
|
94
|
+
secretEnvVar: z.ZodOptional<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
monitoring: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
98
|
+
checkFrequency: z.ZodDefault<z.ZodEnum<{
|
|
99
|
+
daily: "daily";
|
|
100
|
+
hourly: "hourly";
|
|
101
|
+
monthly: "monthly";
|
|
102
|
+
weekly: "weekly";
|
|
103
|
+
}>>;
|
|
104
|
+
ignoreChanges: z.ZodDefault<z.ZodBoolean>;
|
|
105
|
+
severityOverride: z.ZodOptional<z.ZodEnum<{
|
|
106
|
+
breaking: "breaking";
|
|
107
|
+
major: "major";
|
|
108
|
+
minor: "minor";
|
|
109
|
+
}>>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
referencedIn: z.ZodArray<z.ZodObject<{
|
|
112
|
+
file: z.ZodString;
|
|
113
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
context: z.ZodOptional<z.ZodString>;
|
|
115
|
+
}, z.core.$strip>>;
|
|
116
|
+
changeHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
117
|
+
detectedAt: z.ZodString;
|
|
118
|
+
oldVersion: z.ZodOptional<z.ZodString>;
|
|
119
|
+
newVersion: z.ZodOptional<z.ZodString>;
|
|
120
|
+
severity: z.ZodEnum<{
|
|
121
|
+
breaking: "breaking";
|
|
122
|
+
major: "major";
|
|
123
|
+
minor: "minor";
|
|
124
|
+
}>;
|
|
125
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
falsePositive: z.ZodDefault<z.ZodBoolean>;
|
|
127
|
+
}, z.core.$strip>>>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
export declare const DependencyManifestSchema: z.ZodObject<{
|
|
130
|
+
version: z.ZodLiteral<"1.0.0">;
|
|
131
|
+
generatedAt: z.ZodString;
|
|
132
|
+
generatedBy: z.ZodObject<{
|
|
133
|
+
action: z.ZodString;
|
|
134
|
+
version: z.ZodString;
|
|
135
|
+
llmProvider: z.ZodString;
|
|
136
|
+
llmModel: z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
repository: z.ZodObject<{
|
|
139
|
+
owner: z.ZodString;
|
|
140
|
+
name: z.ZodString;
|
|
141
|
+
branch: z.ZodString;
|
|
142
|
+
commit: z.ZodString;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
dependencies: z.ZodArray<z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
url: z.ZodString;
|
|
147
|
+
type: z.ZodEnum<{
|
|
148
|
+
"api-example": "api-example";
|
|
149
|
+
documentation: "documentation";
|
|
150
|
+
other: "other";
|
|
151
|
+
"reference-implementation": "reference-implementation";
|
|
152
|
+
"research-paper": "research-paper";
|
|
153
|
+
schema: "schema";
|
|
154
|
+
}>;
|
|
155
|
+
accessMethod: z.ZodEnum<{
|
|
156
|
+
arxiv: "arxiv";
|
|
157
|
+
context7: "context7";
|
|
158
|
+
"github-api": "github-api";
|
|
159
|
+
http: "http";
|
|
160
|
+
openapi: "openapi";
|
|
161
|
+
}>;
|
|
162
|
+
name: z.ZodString;
|
|
163
|
+
description: z.ZodOptional<z.ZodString>;
|
|
164
|
+
currentVersion: z.ZodOptional<z.ZodString>;
|
|
165
|
+
currentStateHash: z.ZodString;
|
|
166
|
+
detectionMethod: z.ZodEnum<{
|
|
167
|
+
"code-comment": "code-comment";
|
|
168
|
+
"llm-analysis": "llm-analysis";
|
|
169
|
+
manual: "manual";
|
|
170
|
+
"package-json": "package-json";
|
|
171
|
+
"requirements-txt": "requirements-txt";
|
|
172
|
+
}>;
|
|
173
|
+
detectionConfidence: z.ZodNumber;
|
|
174
|
+
detectedAt: z.ZodString;
|
|
175
|
+
lastChecked: z.ZodString;
|
|
176
|
+
lastChanged: z.ZodOptional<z.ZodString>;
|
|
177
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
type: z.ZodEnum<{
|
|
179
|
+
basic: "basic";
|
|
180
|
+
none: "none";
|
|
181
|
+
oauth: "oauth";
|
|
182
|
+
token: "token";
|
|
183
|
+
}>;
|
|
184
|
+
secretEnvVar: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
monitoring: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
188
|
+
checkFrequency: z.ZodDefault<z.ZodEnum<{
|
|
189
|
+
daily: "daily";
|
|
190
|
+
hourly: "hourly";
|
|
191
|
+
monthly: "monthly";
|
|
192
|
+
weekly: "weekly";
|
|
193
|
+
}>>;
|
|
194
|
+
ignoreChanges: z.ZodDefault<z.ZodBoolean>;
|
|
195
|
+
severityOverride: z.ZodOptional<z.ZodEnum<{
|
|
196
|
+
breaking: "breaking";
|
|
197
|
+
major: "major";
|
|
198
|
+
minor: "minor";
|
|
199
|
+
}>>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
referencedIn: z.ZodArray<z.ZodObject<{
|
|
202
|
+
file: z.ZodString;
|
|
203
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
context: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, z.core.$strip>>;
|
|
206
|
+
changeHistory: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
207
|
+
detectedAt: z.ZodString;
|
|
208
|
+
oldVersion: z.ZodOptional<z.ZodString>;
|
|
209
|
+
newVersion: z.ZodOptional<z.ZodString>;
|
|
210
|
+
severity: z.ZodEnum<{
|
|
211
|
+
breaking: "breaking";
|
|
212
|
+
major: "major";
|
|
213
|
+
minor: "minor";
|
|
214
|
+
}>;
|
|
215
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
216
|
+
falsePositive: z.ZodDefault<z.ZodBoolean>;
|
|
217
|
+
}, z.core.$strip>>>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
219
|
+
statistics: z.ZodObject<{
|
|
220
|
+
totalDependencies: z.ZodNumber;
|
|
221
|
+
byType: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
222
|
+
byAccessMethod: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
223
|
+
byDetectionMethod: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
224
|
+
averageConfidence: z.ZodNumber;
|
|
225
|
+
falsePositiveRate: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
}, z.core.$strip>;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
export declare const ScheduleSchema: z.ZodObject<{
|
|
229
|
+
interval: z.ZodEnum<{
|
|
230
|
+
daily: "daily";
|
|
231
|
+
hourly: "hourly";
|
|
232
|
+
monthly: "monthly";
|
|
233
|
+
weekly: "weekly";
|
|
234
|
+
}>;
|
|
235
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
236
|
+
friday: "friday";
|
|
237
|
+
monday: "monday";
|
|
238
|
+
saturday: "saturday";
|
|
239
|
+
sunday: "sunday";
|
|
240
|
+
thursday: "thursday";
|
|
241
|
+
tuesday: "tuesday";
|
|
242
|
+
wednesday: "wednesday";
|
|
243
|
+
}>>;
|
|
244
|
+
time: z.ZodOptional<z.ZodString>;
|
|
245
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
export declare const LLMConfigSchema: z.ZodObject<{
|
|
248
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
249
|
+
"azure-openai": "azure-openai";
|
|
250
|
+
claude: "claude";
|
|
251
|
+
"github-copilot": "github-copilot";
|
|
252
|
+
openai: "openai";
|
|
253
|
+
}>>;
|
|
254
|
+
model: z.ZodOptional<z.ZodString>;
|
|
255
|
+
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
256
|
+
temperature: z.ZodDefault<z.ZodNumber>;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
export declare const IssueConfigSchema: z.ZodObject<{
|
|
259
|
+
labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
260
|
+
assignees: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
261
|
+
aiAgentAssignment: z.ZodOptional<z.ZodObject<{
|
|
262
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
263
|
+
breaking: z.ZodOptional<z.ZodString>;
|
|
264
|
+
major: z.ZodOptional<z.ZodString>;
|
|
265
|
+
minor: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
titleTemplate: z.ZodDefault<z.ZodString>;
|
|
268
|
+
bodyTemplate: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, z.core.$strip>;
|
|
270
|
+
export declare const DependencyOverrideSchema: z.ZodObject<{
|
|
271
|
+
url: z.ZodString;
|
|
272
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
273
|
+
interval: z.ZodEnum<{
|
|
274
|
+
daily: "daily";
|
|
275
|
+
hourly: "hourly";
|
|
276
|
+
monthly: "monthly";
|
|
277
|
+
weekly: "weekly";
|
|
278
|
+
}>;
|
|
279
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
280
|
+
friday: "friday";
|
|
281
|
+
monday: "monday";
|
|
282
|
+
saturday: "saturday";
|
|
283
|
+
sunday: "sunday";
|
|
284
|
+
thursday: "thursday";
|
|
285
|
+
tuesday: "tuesday";
|
|
286
|
+
wednesday: "wednesday";
|
|
287
|
+
}>>;
|
|
288
|
+
time: z.ZodOptional<z.ZodString>;
|
|
289
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
monitoring: z.ZodOptional<z.ZodObject<{
|
|
292
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
293
|
+
checkFrequency: z.ZodDefault<z.ZodEnum<{
|
|
294
|
+
daily: "daily";
|
|
295
|
+
hourly: "hourly";
|
|
296
|
+
monthly: "monthly";
|
|
297
|
+
weekly: "weekly";
|
|
298
|
+
}>>;
|
|
299
|
+
ignoreChanges: z.ZodDefault<z.ZodBoolean>;
|
|
300
|
+
severityOverride: z.ZodOptional<z.ZodEnum<{
|
|
301
|
+
breaking: "breaking";
|
|
302
|
+
major: "major";
|
|
303
|
+
minor: "minor";
|
|
304
|
+
}>>;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
issues: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
308
|
+
assignees: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
309
|
+
aiAgentAssignment: z.ZodOptional<z.ZodObject<{
|
|
310
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
311
|
+
breaking: z.ZodOptional<z.ZodString>;
|
|
312
|
+
major: z.ZodOptional<z.ZodString>;
|
|
313
|
+
minor: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
titleTemplate: z.ZodDefault<z.ZodString>;
|
|
316
|
+
bodyTemplate: z.ZodOptional<z.ZodString>;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
export declare const DependabitConfigSchema: z.ZodObject<{
|
|
320
|
+
version: z.ZodLiteral<"1">;
|
|
321
|
+
llm: z.ZodOptional<z.ZodObject<{
|
|
322
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
323
|
+
"azure-openai": "azure-openai";
|
|
324
|
+
claude: "claude";
|
|
325
|
+
"github-copilot": "github-copilot";
|
|
326
|
+
openai: "openai";
|
|
327
|
+
}>>;
|
|
328
|
+
model: z.ZodOptional<z.ZodString>;
|
|
329
|
+
maxTokens: z.ZodDefault<z.ZodNumber>;
|
|
330
|
+
temperature: z.ZodDefault<z.ZodNumber>;
|
|
331
|
+
}, z.core.$strip>>;
|
|
332
|
+
schedule: z.ZodDefault<z.ZodObject<{
|
|
333
|
+
interval: z.ZodEnum<{
|
|
334
|
+
daily: "daily";
|
|
335
|
+
hourly: "hourly";
|
|
336
|
+
monthly: "monthly";
|
|
337
|
+
weekly: "weekly";
|
|
338
|
+
}>;
|
|
339
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
340
|
+
friday: "friday";
|
|
341
|
+
monday: "monday";
|
|
342
|
+
saturday: "saturday";
|
|
343
|
+
sunday: "sunday";
|
|
344
|
+
thursday: "thursday";
|
|
345
|
+
tuesday: "tuesday";
|
|
346
|
+
wednesday: "wednesday";
|
|
347
|
+
}>>;
|
|
348
|
+
time: z.ZodOptional<z.ZodString>;
|
|
349
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
350
|
+
}, z.core.$strip>>;
|
|
351
|
+
issues: z.ZodOptional<z.ZodObject<{
|
|
352
|
+
labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
353
|
+
assignees: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
354
|
+
aiAgentAssignment: z.ZodOptional<z.ZodObject<{
|
|
355
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
356
|
+
breaking: z.ZodOptional<z.ZodString>;
|
|
357
|
+
major: z.ZodOptional<z.ZodString>;
|
|
358
|
+
minor: z.ZodOptional<z.ZodString>;
|
|
359
|
+
}, z.core.$strip>>;
|
|
360
|
+
titleTemplate: z.ZodDefault<z.ZodString>;
|
|
361
|
+
bodyTemplate: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
monitoring: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
365
|
+
autoUpdate: z.ZodDefault<z.ZodBoolean>;
|
|
366
|
+
falsePositiveThreshold: z.ZodDefault<z.ZodNumber>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
368
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
369
|
+
url: z.ZodString;
|
|
370
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
interval: z.ZodEnum<{
|
|
372
|
+
daily: "daily";
|
|
373
|
+
hourly: "hourly";
|
|
374
|
+
monthly: "monthly";
|
|
375
|
+
weekly: "weekly";
|
|
376
|
+
}>;
|
|
377
|
+
day: z.ZodOptional<z.ZodEnum<{
|
|
378
|
+
friday: "friday";
|
|
379
|
+
monday: "monday";
|
|
380
|
+
saturday: "saturday";
|
|
381
|
+
sunday: "sunday";
|
|
382
|
+
thursday: "thursday";
|
|
383
|
+
tuesday: "tuesday";
|
|
384
|
+
wednesday: "wednesday";
|
|
385
|
+
}>>;
|
|
386
|
+
time: z.ZodOptional<z.ZodString>;
|
|
387
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
388
|
+
}, z.core.$strip>>;
|
|
389
|
+
monitoring: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
391
|
+
checkFrequency: z.ZodDefault<z.ZodEnum<{
|
|
392
|
+
daily: "daily";
|
|
393
|
+
hourly: "hourly";
|
|
394
|
+
monthly: "monthly";
|
|
395
|
+
weekly: "weekly";
|
|
396
|
+
}>>;
|
|
397
|
+
ignoreChanges: z.ZodDefault<z.ZodBoolean>;
|
|
398
|
+
severityOverride: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
breaking: "breaking";
|
|
400
|
+
major: "major";
|
|
401
|
+
minor: "minor";
|
|
402
|
+
}>>;
|
|
403
|
+
}, z.core.$strip>>;
|
|
404
|
+
issues: z.ZodOptional<z.ZodObject<{
|
|
405
|
+
labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
406
|
+
assignees: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
407
|
+
aiAgentAssignment: z.ZodOptional<z.ZodObject<{
|
|
408
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
409
|
+
breaking: z.ZodOptional<z.ZodString>;
|
|
410
|
+
major: z.ZodOptional<z.ZodString>;
|
|
411
|
+
minor: z.ZodOptional<z.ZodString>;
|
|
412
|
+
}, z.core.$strip>>;
|
|
413
|
+
titleTemplate: z.ZodDefault<z.ZodString>;
|
|
414
|
+
bodyTemplate: z.ZodOptional<z.ZodString>;
|
|
415
|
+
}, z.core.$strip>>;
|
|
416
|
+
}, z.core.$strip>>>;
|
|
417
|
+
ignore: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
419
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
420
|
+
"api-example": "api-example";
|
|
421
|
+
documentation: "documentation";
|
|
422
|
+
other: "other";
|
|
423
|
+
"reference-implementation": "reference-implementation";
|
|
424
|
+
"research-paper": "research-paper";
|
|
425
|
+
schema: "schema";
|
|
426
|
+
}>>>;
|
|
427
|
+
patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
428
|
+
}, z.core.$strip>>;
|
|
429
|
+
}, z.core.$strip>;
|
|
430
|
+
export declare const ChangeTypeSchema: z.ZodEnum<{
|
|
431
|
+
"content-changed": "content-changed";
|
|
432
|
+
deprecated: "deprecated";
|
|
433
|
+
released: "released";
|
|
434
|
+
unavailable: "unavailable";
|
|
435
|
+
unknown: "unknown";
|
|
436
|
+
"version-bump": "version-bump";
|
|
437
|
+
}>;
|
|
438
|
+
export declare const ChangeDetectionRecordSchema: z.ZodObject<{
|
|
439
|
+
id: z.ZodString;
|
|
440
|
+
timestamp: z.ZodString;
|
|
441
|
+
dependencyId: z.ZodString;
|
|
442
|
+
dependencyUrl: z.ZodString;
|
|
443
|
+
dependencyName: z.ZodString;
|
|
444
|
+
changeType: z.ZodEnum<{
|
|
445
|
+
"content-changed": "content-changed";
|
|
446
|
+
deprecated: "deprecated";
|
|
447
|
+
released: "released";
|
|
448
|
+
unavailable: "unavailable";
|
|
449
|
+
unknown: "unknown";
|
|
450
|
+
"version-bump": "version-bump";
|
|
451
|
+
}>;
|
|
452
|
+
severity: z.ZodEnum<{
|
|
453
|
+
breaking: "breaking";
|
|
454
|
+
major: "major";
|
|
455
|
+
minor: "minor";
|
|
456
|
+
}>;
|
|
457
|
+
oldState: z.ZodObject<{
|
|
458
|
+
version: z.ZodOptional<z.ZodString>;
|
|
459
|
+
hash: z.ZodString;
|
|
460
|
+
checkedAt: z.ZodString;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
newState: z.ZodObject<{
|
|
463
|
+
version: z.ZodOptional<z.ZodString>;
|
|
464
|
+
hash: z.ZodString;
|
|
465
|
+
checkedAt: z.ZodString;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
summary: z.ZodString;
|
|
468
|
+
details: z.ZodOptional<z.ZodString>;
|
|
469
|
+
breakingChanges: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
470
|
+
issueCreated: z.ZodDefault<z.ZodBoolean>;
|
|
471
|
+
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
472
|
+
issueUrl: z.ZodOptional<z.ZodString>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
export type DependencyManifest = z.infer<typeof DependencyManifestSchema>;
|
|
475
|
+
export type DependencyEntry = z.infer<typeof DependencyEntrySchema>;
|
|
476
|
+
export type DependencyType = z.infer<typeof DependencyTypeSchema>;
|
|
477
|
+
export type AccessMethod = z.infer<typeof AccessMethodSchema>;
|
|
478
|
+
export type DetectionMethod = z.infer<typeof DetectionMethodSchema>;
|
|
479
|
+
export type Severity = z.infer<typeof SeveritySchema>;
|
|
480
|
+
export type MonitoringRules = z.infer<typeof MonitoringRulesSchema>;
|
|
481
|
+
export type DependabitConfig = z.infer<typeof DependabitConfigSchema>;
|
|
482
|
+
export type Schedule = z.infer<typeof ScheduleSchema>;
|
|
483
|
+
export type LLMConfig = z.infer<typeof LLMConfigSchema>;
|
|
484
|
+
export type IssueConfig = z.infer<typeof IssueConfigSchema>;
|
|
485
|
+
export type DependencyOverride = z.infer<typeof DependencyOverrideSchema>;
|
|
486
|
+
export type ChangeType = z.infer<typeof ChangeTypeSchema>;
|
|
487
|
+
export type ChangeDetectionRecord = z.infer<typeof ChangeDetectionRecordSchema>;
|
|
488
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +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