@pg-atlas/data-sdk 0.6.0 → 0.8.0
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/generated/client/client.gen.js +104 -123
- package/dist/generated/client/index.d.ts +2 -0
- package/dist/generated/client/types.gen.d.ts +6 -3
- package/dist/generated/client/utils.gen.d.ts +8 -4
- package/dist/generated/client/utils.gen.js +3 -3
- package/dist/generated/client.gen.d.ts +2 -2
- package/dist/generated/core/auth.gen.d.ts +7 -0
- package/dist/generated/core/params.gen.d.ts +2 -2
- package/dist/generated/core/params.gen.js +23 -14
- package/dist/generated/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/generated/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/generated/core/serverSentEvents.gen.js +3 -4
- package/dist/generated/core/types.gen.d.ts +5 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/schemas.gen.d.ts +958 -742
- package/dist/generated/schemas.gen.js +1363 -1091
- package/dist/generated/sdk.gen.d.ts +53 -31
- package/dist/generated/sdk.gen.js +31 -9
- package/dist/generated/types.gen.d.ts +773 -551
- package/package.json +16 -6
|
@@ -1,164 +1,166 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const ActivityStatusSchema: {
|
|
2
2
|
readonly type: "string";
|
|
3
|
-
readonly enum: readonly ["
|
|
4
|
-
readonly title: "
|
|
5
|
-
readonly description: "
|
|
3
|
+
readonly enum: readonly ["live", "in-dev", "discontinued", "non-responsive"];
|
|
4
|
+
readonly title: "ActivityStatus";
|
|
5
|
+
readonly description: "Lifecycle status of a Project.\n\nUpdated by the SCF Impact Survey (yearly) and higher-frequency signals;\nsee the Activity Status Update Logic in the architecture docs.";
|
|
6
6
|
};
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ContributionEntrySchema: {
|
|
8
8
|
readonly properties: {
|
|
9
|
-
readonly
|
|
10
|
-
readonly items: {
|
|
11
|
-
readonly anyOf: readonly [{
|
|
12
|
-
readonly type: "string";
|
|
13
|
-
}, {
|
|
14
|
-
readonly type: "integer";
|
|
15
|
-
}];
|
|
16
|
-
};
|
|
17
|
-
readonly type: "array";
|
|
18
|
-
readonly title: "Location";
|
|
19
|
-
};
|
|
20
|
-
readonly msg: {
|
|
9
|
+
readonly repo_canonical_id: {
|
|
21
10
|
readonly type: "string";
|
|
22
|
-
readonly title: "
|
|
11
|
+
readonly title: "Repo Canonical Id";
|
|
23
12
|
};
|
|
24
|
-
readonly
|
|
13
|
+
readonly repo_display_name: {
|
|
25
14
|
readonly type: "string";
|
|
26
|
-
readonly title: "
|
|
15
|
+
readonly title: "Repo Display Name";
|
|
27
16
|
};
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
17
|
+
readonly project_canonical_id: {
|
|
18
|
+
readonly anyOf: readonly [{
|
|
19
|
+
readonly type: "string";
|
|
20
|
+
}, {
|
|
21
|
+
readonly type: "null";
|
|
22
|
+
}];
|
|
23
|
+
readonly title: "Project Canonical Id";
|
|
30
24
|
};
|
|
31
|
-
readonly
|
|
32
|
-
readonly type: "
|
|
33
|
-
readonly title: "
|
|
25
|
+
readonly number_of_commits: {
|
|
26
|
+
readonly type: "integer";
|
|
27
|
+
readonly title: "Number Of Commits";
|
|
34
28
|
};
|
|
35
|
-
|
|
36
|
-
readonly type: "object";
|
|
37
|
-
readonly required: readonly ["loc", "msg", "type"];
|
|
38
|
-
readonly title: "ValidationError";
|
|
39
|
-
};
|
|
40
|
-
export declare const SubmissionStatusSchema: {
|
|
41
|
-
readonly type: "string";
|
|
42
|
-
readonly enum: readonly ["pending", "processed", "failed"];
|
|
43
|
-
readonly title: "SubmissionStatus";
|
|
44
|
-
readonly description: "Processing state of an artifact-linked audit record.";
|
|
45
|
-
};
|
|
46
|
-
export declare const ScfSubmissionSchema: {
|
|
47
|
-
readonly properties: {
|
|
48
|
-
readonly round: {
|
|
29
|
+
readonly first_commit_date: {
|
|
49
30
|
readonly type: "string";
|
|
50
|
-
readonly
|
|
31
|
+
readonly format: "date-time";
|
|
32
|
+
readonly title: "First Commit Date";
|
|
51
33
|
};
|
|
52
|
-
readonly
|
|
34
|
+
readonly last_commit_date: {
|
|
53
35
|
readonly type: "string";
|
|
54
|
-
readonly
|
|
36
|
+
readonly format: "date-time";
|
|
37
|
+
readonly title: "Last Commit Date";
|
|
55
38
|
};
|
|
56
39
|
};
|
|
57
40
|
readonly type: "object";
|
|
58
|
-
readonly required: readonly ["
|
|
59
|
-
readonly title: "
|
|
60
|
-
readonly description: "A single
|
|
41
|
+
readonly required: readonly ["repo_canonical_id", "repo_display_name", "project_canonical_id", "number_of_commits", "first_commit_date", "last_commit_date"];
|
|
42
|
+
readonly title: "ContributionEntry";
|
|
43
|
+
readonly description: "A single repo that a contributor has committed to.";
|
|
61
44
|
};
|
|
62
|
-
export declare const
|
|
45
|
+
export declare const ContributorDetailResponseSchema: {
|
|
63
46
|
readonly properties: {
|
|
64
47
|
readonly id: {
|
|
65
48
|
readonly type: "integer";
|
|
66
49
|
readonly title: "Id";
|
|
67
50
|
};
|
|
68
|
-
readonly
|
|
69
|
-
readonly type: "string";
|
|
70
|
-
readonly title: "Repository Claim";
|
|
71
|
-
};
|
|
72
|
-
readonly actor_claim: {
|
|
51
|
+
readonly name: {
|
|
73
52
|
readonly type: "string";
|
|
74
|
-
readonly title: "
|
|
53
|
+
readonly title: "Name";
|
|
75
54
|
};
|
|
76
|
-
readonly
|
|
55
|
+
readonly email_hash: {
|
|
77
56
|
readonly type: "string";
|
|
78
|
-
readonly title: "
|
|
57
|
+
readonly title: "Email Hash";
|
|
79
58
|
};
|
|
80
|
-
readonly
|
|
81
|
-
readonly type: "
|
|
82
|
-
readonly title: "
|
|
59
|
+
readonly total_repos: {
|
|
60
|
+
readonly type: "integer";
|
|
61
|
+
readonly title: "Total Repos";
|
|
83
62
|
};
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
63
|
+
readonly total_commits: {
|
|
64
|
+
readonly type: "integer";
|
|
65
|
+
readonly title: "Total Commits";
|
|
86
66
|
};
|
|
87
|
-
readonly
|
|
67
|
+
readonly first_contribution: {
|
|
88
68
|
readonly anyOf: readonly [{
|
|
89
69
|
readonly type: "string";
|
|
70
|
+
readonly format: "date-time";
|
|
90
71
|
}, {
|
|
91
72
|
readonly type: "null";
|
|
92
73
|
}];
|
|
93
|
-
readonly title: "
|
|
94
|
-
};
|
|
95
|
-
readonly submitted_at: {
|
|
96
|
-
readonly type: "string";
|
|
97
|
-
readonly format: "date-time";
|
|
98
|
-
readonly title: "Submitted At";
|
|
74
|
+
readonly title: "First Contribution";
|
|
99
75
|
};
|
|
100
|
-
readonly
|
|
76
|
+
readonly last_contribution: {
|
|
101
77
|
readonly anyOf: readonly [{
|
|
102
78
|
readonly type: "string";
|
|
103
79
|
readonly format: "date-time";
|
|
104
80
|
}, {
|
|
105
81
|
readonly type: "null";
|
|
106
82
|
}];
|
|
107
|
-
readonly title: "
|
|
83
|
+
readonly title: "Last Contribution";
|
|
108
84
|
};
|
|
109
|
-
|
|
110
|
-
readonly type: "object";
|
|
111
|
-
readonly required: readonly ["id", "repository_claim", "actor_claim", "sbom_content_hash", "artifact_path", "status", "error_detail", "submitted_at", "processed_at"];
|
|
112
|
-
readonly title: "SbomSubmissionResponse";
|
|
113
|
-
readonly description: "Full SBOM submission record.\n\nSerialised from the ``SbomSubmission`` ORM model. The ``sbom_content_hash``\nfield is the SHA-256 hex digest of the raw submitted payload.";
|
|
114
|
-
};
|
|
115
|
-
export declare const SbomSubmissionListResponseSchema: {
|
|
116
|
-
readonly properties: {
|
|
117
|
-
readonly items: {
|
|
85
|
+
readonly repos: {
|
|
118
86
|
readonly items: {
|
|
119
|
-
readonly $ref: "#/components/schemas/
|
|
87
|
+
readonly $ref: "#/components/schemas/ContributionEntry";
|
|
120
88
|
};
|
|
121
89
|
readonly type: "array";
|
|
122
|
-
readonly title: "
|
|
90
|
+
readonly title: "Repos";
|
|
123
91
|
};
|
|
124
|
-
|
|
92
|
+
};
|
|
93
|
+
readonly type: "object";
|
|
94
|
+
readonly required: readonly ["id", "name", "email_hash", "total_repos", "total_commits", "first_contribution", "last_contribution", "repos"];
|
|
95
|
+
readonly title: "ContributorDetailResponse";
|
|
96
|
+
readonly description: "Full contributor detail with aggregated statistics and per-repo activity.";
|
|
97
|
+
};
|
|
98
|
+
export declare const ContributorSummarySchema: {
|
|
99
|
+
readonly properties: {
|
|
100
|
+
readonly id: {
|
|
125
101
|
readonly type: "integer";
|
|
126
|
-
readonly title: "
|
|
102
|
+
readonly title: "Id";
|
|
127
103
|
};
|
|
128
|
-
readonly
|
|
104
|
+
readonly name: {
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
readonly title: "Name";
|
|
107
|
+
};
|
|
108
|
+
readonly email_hash: {
|
|
109
|
+
readonly type: "string";
|
|
110
|
+
readonly title: "Email Hash";
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly type: "object";
|
|
114
|
+
readonly required: readonly ["id", "name", "email_hash"];
|
|
115
|
+
readonly title: "ContributorSummary";
|
|
116
|
+
readonly description: "Compact contributor reference embedded in repo detail responses.";
|
|
117
|
+
};
|
|
118
|
+
export declare const DepCountsSchema: {
|
|
119
|
+
readonly properties: {
|
|
120
|
+
readonly repos: {
|
|
129
121
|
readonly type: "integer";
|
|
130
|
-
readonly title: "
|
|
122
|
+
readonly title: "Repos";
|
|
131
123
|
};
|
|
132
|
-
readonly
|
|
124
|
+
readonly external_repos: {
|
|
133
125
|
readonly type: "integer";
|
|
134
|
-
readonly title: "
|
|
126
|
+
readonly title: "External Repos";
|
|
135
127
|
};
|
|
136
128
|
};
|
|
137
129
|
readonly type: "object";
|
|
138
|
-
readonly required: readonly ["
|
|
139
|
-
readonly title: "
|
|
140
|
-
readonly description: "
|
|
130
|
+
readonly required: readonly ["repos", "external_repos"];
|
|
131
|
+
readonly title: "DepCounts";
|
|
132
|
+
readonly description: "Counts of dependency edges grouped by target vertex type.\n\nProvided as part of the repo detail response so the frontend can show\n\"depends on N repos + M external\" without fetching the full edge list.";
|
|
141
133
|
};
|
|
142
|
-
export declare const
|
|
134
|
+
export declare const EdgeConfidenceSchema: {
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly enum: readonly ["verified-sbom", "inferred-shadow"];
|
|
137
|
+
readonly title: "EdgeConfidence";
|
|
138
|
+
readonly description: "How firmly an edge was established.";
|
|
139
|
+
};
|
|
140
|
+
export declare const GitLogArtifactDetailResponseSchema: {
|
|
143
141
|
readonly properties: {
|
|
144
142
|
readonly id: {
|
|
145
143
|
readonly type: "integer";
|
|
146
144
|
readonly title: "Id";
|
|
147
145
|
};
|
|
148
|
-
readonly
|
|
149
|
-
readonly type: "
|
|
150
|
-
readonly title: "
|
|
146
|
+
readonly repo_id: {
|
|
147
|
+
readonly type: "integer";
|
|
148
|
+
readonly title: "Repo Id";
|
|
151
149
|
};
|
|
152
|
-
readonly
|
|
150
|
+
readonly repo_canonical_id: {
|
|
153
151
|
readonly type: "string";
|
|
154
|
-
readonly title: "
|
|
152
|
+
readonly title: "Repo Canonical Id";
|
|
155
153
|
};
|
|
156
|
-
readonly
|
|
154
|
+
readonly repo_display_name: {
|
|
157
155
|
readonly type: "string";
|
|
158
|
-
readonly title: "
|
|
156
|
+
readonly title: "Repo Display Name";
|
|
159
157
|
};
|
|
160
158
|
readonly artifact_path: {
|
|
161
|
-
readonly
|
|
159
|
+
readonly anyOf: readonly [{
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
}, {
|
|
162
|
+
readonly type: "null";
|
|
163
|
+
}];
|
|
162
164
|
readonly title: "Artifact Path";
|
|
163
165
|
};
|
|
164
166
|
readonly status: {
|
|
@@ -172,6 +174,10 @@ export declare const SbomSubmissionDetailResponseSchema: {
|
|
|
172
174
|
}];
|
|
173
175
|
readonly title: "Error Detail";
|
|
174
176
|
};
|
|
177
|
+
readonly since_months: {
|
|
178
|
+
readonly type: "integer";
|
|
179
|
+
readonly title: "Since Months";
|
|
180
|
+
};
|
|
175
181
|
readonly submitted_at: {
|
|
176
182
|
readonly type: "string";
|
|
177
183
|
readonly format: "date-time";
|
|
@@ -196,392 +202,595 @@ export declare const SbomSubmissionDetailResponseSchema: {
|
|
|
196
202
|
};
|
|
197
203
|
};
|
|
198
204
|
readonly type: "object";
|
|
199
|
-
readonly required: readonly ["id", "
|
|
200
|
-
readonly title: "
|
|
201
|
-
readonly description: "
|
|
205
|
+
readonly required: readonly ["id", "repo_id", "repo_canonical_id", "repo_display_name", "artifact_path", "status", "error_detail", "since_months", "submitted_at", "processed_at"];
|
|
206
|
+
readonly title: "GitLogArtifactDetailResponse";
|
|
207
|
+
readonly description: "Full gitlog artifact audit record including raw artifact content.";
|
|
202
208
|
};
|
|
203
|
-
export declare const
|
|
209
|
+
export declare const GitLogArtifactSummarySchema: {
|
|
204
210
|
readonly properties: {
|
|
205
|
-
readonly
|
|
206
|
-
readonly type: "string";
|
|
207
|
-
readonly title: "Message";
|
|
208
|
-
};
|
|
209
|
-
readonly repository: {
|
|
210
|
-
readonly type: "string";
|
|
211
|
-
readonly title: "Repository";
|
|
212
|
-
};
|
|
213
|
-
readonly package_count: {
|
|
211
|
+
readonly id: {
|
|
214
212
|
readonly type: "integer";
|
|
215
|
-
readonly title: "
|
|
213
|
+
readonly title: "Id";
|
|
216
214
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
readonly title: "SbomAcceptedResponse";
|
|
221
|
-
readonly description: "Response body returned on successful SBOM submission (202 Accepted).";
|
|
222
|
-
};
|
|
223
|
-
export declare const RepoVertexTypeSchema: {
|
|
224
|
-
readonly type: "string";
|
|
225
|
-
readonly enum: readonly ["repo", "external-repo"];
|
|
226
|
-
readonly title: "RepoVertexType";
|
|
227
|
-
readonly description: "Discriminator values for the RepoVertex joined-table-inheritance hierarchy.";
|
|
228
|
-
};
|
|
229
|
-
export declare const RepoSummarySchema: {
|
|
230
|
-
readonly properties: {
|
|
231
|
-
readonly canonical_id: {
|
|
232
|
-
readonly type: "string";
|
|
233
|
-
readonly title: "Canonical Id";
|
|
215
|
+
readonly repo_id: {
|
|
216
|
+
readonly type: "integer";
|
|
217
|
+
readonly title: "Repo Id";
|
|
234
218
|
};
|
|
235
|
-
readonly
|
|
219
|
+
readonly repo_canonical_id: {
|
|
236
220
|
readonly type: "string";
|
|
237
|
-
readonly title: "
|
|
238
|
-
};
|
|
239
|
-
readonly visibility: {
|
|
240
|
-
readonly $ref: "#/components/schemas/Visibility";
|
|
221
|
+
readonly title: "Repo Canonical Id";
|
|
241
222
|
};
|
|
242
|
-
readonly
|
|
223
|
+
readonly repo_display_name: {
|
|
243
224
|
readonly type: "string";
|
|
244
|
-
readonly title: "
|
|
225
|
+
readonly title: "Repo Display Name";
|
|
245
226
|
};
|
|
246
|
-
readonly
|
|
227
|
+
readonly artifact_path: {
|
|
247
228
|
readonly anyOf: readonly [{
|
|
248
229
|
readonly type: "string";
|
|
249
|
-
readonly format: "date-time";
|
|
250
230
|
}, {
|
|
251
231
|
readonly type: "null";
|
|
252
232
|
}];
|
|
253
|
-
readonly title: "
|
|
233
|
+
readonly title: "Artifact Path";
|
|
254
234
|
};
|
|
255
|
-
readonly
|
|
235
|
+
readonly status: {
|
|
236
|
+
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
237
|
+
};
|
|
238
|
+
readonly error_detail: {
|
|
256
239
|
readonly anyOf: readonly [{
|
|
257
240
|
readonly type: "string";
|
|
258
241
|
}, {
|
|
259
242
|
readonly type: "null";
|
|
260
243
|
}];
|
|
261
|
-
readonly title: "
|
|
244
|
+
readonly title: "Error Detail";
|
|
262
245
|
};
|
|
263
|
-
readonly
|
|
264
|
-
readonly
|
|
265
|
-
|
|
266
|
-
}, {
|
|
267
|
-
readonly type: "null";
|
|
268
|
-
}];
|
|
269
|
-
readonly title: "Project Id";
|
|
246
|
+
readonly since_months: {
|
|
247
|
+
readonly type: "integer";
|
|
248
|
+
readonly title: "Since Months";
|
|
270
249
|
};
|
|
271
|
-
readonly
|
|
272
|
-
readonly
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
readonly type: "null";
|
|
276
|
-
}];
|
|
277
|
-
readonly title: "Pony Factor";
|
|
250
|
+
readonly submitted_at: {
|
|
251
|
+
readonly type: "string";
|
|
252
|
+
readonly format: "date-time";
|
|
253
|
+
readonly title: "Submitted At";
|
|
278
254
|
};
|
|
279
|
-
readonly
|
|
255
|
+
readonly processed_at: {
|
|
280
256
|
readonly anyOf: readonly [{
|
|
281
|
-
readonly type: "
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
readonly format: "date-time";
|
|
282
259
|
}, {
|
|
283
260
|
readonly type: "null";
|
|
284
261
|
}];
|
|
285
|
-
readonly title: "
|
|
262
|
+
readonly title: "Processed At";
|
|
286
263
|
};
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
264
|
+
};
|
|
265
|
+
readonly type: "object";
|
|
266
|
+
readonly required: readonly ["id", "repo_id", "repo_canonical_id", "repo_display_name", "artifact_path", "status", "error_detail", "since_months", "submitted_at", "processed_at"];
|
|
267
|
+
readonly title: "GitLogArtifactSummary";
|
|
268
|
+
readonly description: "Compact gitlog artifact audit record for list endpoints.";
|
|
269
|
+
};
|
|
270
|
+
export declare const GithubDependentObservationItemSchema: {
|
|
271
|
+
readonly properties: {
|
|
272
|
+
readonly dependent_canonical_id: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
readonly title: "Dependent Canonical Id";
|
|
294
275
|
};
|
|
295
|
-
readonly
|
|
276
|
+
readonly dependent_repo_url: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly title: "Dependent Repo Url";
|
|
279
|
+
};
|
|
280
|
+
readonly observed_owner: {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
readonly title: "Observed Owner";
|
|
283
|
+
};
|
|
284
|
+
readonly observed_repo_name: {
|
|
285
|
+
readonly type: "string";
|
|
286
|
+
readonly title: "Observed Repo Name";
|
|
287
|
+
};
|
|
288
|
+
readonly resolved_repo_canonical_id: {
|
|
296
289
|
readonly anyOf: readonly [{
|
|
297
|
-
readonly type: "
|
|
290
|
+
readonly type: "string";
|
|
298
291
|
}, {
|
|
299
292
|
readonly type: "null";
|
|
300
293
|
}];
|
|
301
|
-
readonly title: "
|
|
294
|
+
readonly title: "Resolved Repo Canonical Id";
|
|
302
295
|
};
|
|
303
|
-
readonly
|
|
296
|
+
readonly package_ids: {
|
|
304
297
|
readonly anyOf: readonly [{
|
|
305
|
-
readonly
|
|
298
|
+
readonly items: {
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
};
|
|
301
|
+
readonly type: "array";
|
|
306
302
|
}, {
|
|
307
303
|
readonly type: "null";
|
|
308
304
|
}];
|
|
309
|
-
readonly title: "
|
|
305
|
+
readonly title: "Package Ids";
|
|
310
306
|
};
|
|
311
|
-
readonly
|
|
307
|
+
readonly first_seen_at: {
|
|
312
308
|
readonly type: "string";
|
|
313
309
|
readonly format: "date-time";
|
|
314
|
-
readonly title: "
|
|
310
|
+
readonly title: "First Seen At";
|
|
311
|
+
};
|
|
312
|
+
readonly last_seen_at: {
|
|
313
|
+
readonly type: "string";
|
|
314
|
+
readonly format: "date-time";
|
|
315
|
+
readonly title: "Last Seen At";
|
|
315
316
|
};
|
|
316
317
|
};
|
|
317
318
|
readonly type: "object";
|
|
318
|
-
readonly required: readonly ["
|
|
319
|
-
readonly title: "
|
|
320
|
-
readonly description: "
|
|
319
|
+
readonly required: readonly ["dependent_canonical_id", "dependent_repo_url", "observed_owner", "observed_repo_name", "first_seen_at", "last_seen_at"];
|
|
320
|
+
readonly title: "GithubDependentObservationItem";
|
|
321
|
+
readonly description: "One active GitHub dependent observation for a source repo.";
|
|
321
322
|
};
|
|
322
|
-
export declare const
|
|
323
|
+
export declare const GithubDependentsResponseSchema: {
|
|
323
324
|
readonly properties: {
|
|
324
|
-
readonly
|
|
325
|
-
readonly
|
|
326
|
-
readonly title: "Canonical Id";
|
|
327
|
-
};
|
|
328
|
-
readonly display_name: {
|
|
329
|
-
readonly type: "string";
|
|
330
|
-
readonly title: "Display Name";
|
|
331
|
-
};
|
|
332
|
-
readonly visibility: {
|
|
333
|
-
readonly $ref: "#/components/schemas/Visibility";
|
|
325
|
+
readonly summary: {
|
|
326
|
+
readonly $ref: "#/components/schemas/GithubDependentsSummary";
|
|
334
327
|
};
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
337
|
-
readonly title: "Latest Version";
|
|
328
|
+
readonly observations: {
|
|
329
|
+
readonly $ref: "#/components/schemas/PaginatedResponse_GithubDependentObservationItem_";
|
|
338
330
|
};
|
|
339
|
-
|
|
331
|
+
};
|
|
332
|
+
readonly type: "object";
|
|
333
|
+
readonly required: readonly ["summary", "observations"];
|
|
334
|
+
readonly title: "GithubDependentsResponse";
|
|
335
|
+
readonly description: "Summary plus paginated active observations for one source repo.";
|
|
336
|
+
};
|
|
337
|
+
export declare const GithubDependentsSummarySchema: {
|
|
338
|
+
readonly properties: {
|
|
339
|
+
readonly latest_attempt_at: {
|
|
340
340
|
readonly anyOf: readonly [{
|
|
341
341
|
readonly type: "string";
|
|
342
342
|
readonly format: "date-time";
|
|
343
343
|
}, {
|
|
344
344
|
readonly type: "null";
|
|
345
345
|
}];
|
|
346
|
-
readonly title: "Latest
|
|
346
|
+
readonly title: "Latest Attempt At";
|
|
347
347
|
};
|
|
348
|
-
readonly
|
|
348
|
+
readonly latest_attempt_status: {
|
|
349
349
|
readonly anyOf: readonly [{
|
|
350
350
|
readonly type: "string";
|
|
351
351
|
}, {
|
|
352
352
|
readonly type: "null";
|
|
353
353
|
}];
|
|
354
|
-
readonly title: "
|
|
354
|
+
readonly title: "Latest Attempt Status";
|
|
355
355
|
};
|
|
356
|
-
readonly
|
|
356
|
+
readonly latest_attempt_listing_incomplete_reason: {
|
|
357
357
|
readonly anyOf: readonly [{
|
|
358
|
-
readonly type: "
|
|
358
|
+
readonly type: "string";
|
|
359
359
|
}, {
|
|
360
360
|
readonly type: "null";
|
|
361
361
|
}];
|
|
362
|
-
readonly title: "
|
|
362
|
+
readonly title: "Latest Attempt Listing Incomplete Reason";
|
|
363
363
|
};
|
|
364
|
-
readonly
|
|
364
|
+
readonly latest_attempt_counts_incomplete_reason: {
|
|
365
365
|
readonly anyOf: readonly [{
|
|
366
|
-
readonly type: "
|
|
366
|
+
readonly type: "string";
|
|
367
367
|
}, {
|
|
368
368
|
readonly type: "null";
|
|
369
369
|
}];
|
|
370
|
-
readonly title: "
|
|
370
|
+
readonly title: "Latest Attempt Counts Incomplete Reason";
|
|
371
371
|
};
|
|
372
|
-
readonly
|
|
372
|
+
readonly observations_as_of: {
|
|
373
373
|
readonly anyOf: readonly [{
|
|
374
|
-
readonly type: "
|
|
374
|
+
readonly type: "string";
|
|
375
|
+
readonly format: "date-time";
|
|
375
376
|
}, {
|
|
376
377
|
readonly type: "null";
|
|
377
378
|
}];
|
|
378
|
-
readonly title: "
|
|
379
|
+
readonly title: "Observations As Of";
|
|
379
380
|
};
|
|
380
|
-
readonly
|
|
381
|
+
readonly reported_counts_as_of: {
|
|
381
382
|
readonly anyOf: readonly [{
|
|
382
|
-
readonly type: "
|
|
383
|
+
readonly type: "string";
|
|
384
|
+
readonly format: "date-time";
|
|
383
385
|
}, {
|
|
384
386
|
readonly type: "null";
|
|
385
387
|
}];
|
|
386
|
-
readonly title: "
|
|
388
|
+
readonly title: "Reported Counts As Of";
|
|
387
389
|
};
|
|
388
|
-
readonly
|
|
390
|
+
readonly repos_total_reported: {
|
|
389
391
|
readonly anyOf: readonly [{
|
|
390
392
|
readonly type: "integer";
|
|
391
393
|
}, {
|
|
392
394
|
readonly type: "null";
|
|
393
395
|
}];
|
|
394
|
-
readonly title: "
|
|
396
|
+
readonly title: "Repos Total Reported";
|
|
395
397
|
};
|
|
396
|
-
readonly
|
|
398
|
+
readonly packages_total_reported: {
|
|
397
399
|
readonly anyOf: readonly [{
|
|
398
400
|
readonly type: "integer";
|
|
399
401
|
}, {
|
|
400
402
|
readonly type: "null";
|
|
401
403
|
}];
|
|
402
|
-
readonly title: "
|
|
403
|
-
};
|
|
404
|
-
readonly updated_at: {
|
|
405
|
-
readonly type: "string";
|
|
406
|
-
readonly format: "date-time";
|
|
407
|
-
readonly title: "Updated At";
|
|
404
|
+
readonly title: "Packages Total Reported";
|
|
408
405
|
};
|
|
409
|
-
readonly
|
|
406
|
+
readonly packages_scanned: {
|
|
410
407
|
readonly anyOf: readonly [{
|
|
411
|
-
readonly
|
|
412
|
-
readonly properties: {
|
|
413
|
-
readonly purl: {
|
|
414
|
-
readonly type: "string";
|
|
415
|
-
};
|
|
416
|
-
readonly version: {
|
|
417
|
-
readonly type: "string";
|
|
418
|
-
};
|
|
419
|
-
readonly release_date: {
|
|
420
|
-
readonly type: "string";
|
|
421
|
-
readonly default: "";
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
readonly type: "object";
|
|
425
|
-
readonly required: readonly ["purl", "version"];
|
|
426
|
-
readonly title: "Release";
|
|
427
|
-
readonly description: "One normalized release record keyed by package PURL + version.";
|
|
428
|
-
};
|
|
429
|
-
readonly type: "array";
|
|
408
|
+
readonly type: "integer";
|
|
430
409
|
}, {
|
|
431
410
|
readonly type: "null";
|
|
432
411
|
}];
|
|
433
|
-
readonly title: "
|
|
412
|
+
readonly title: "Packages Scanned";
|
|
434
413
|
};
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
readonly type: "null";
|
|
440
|
-
}];
|
|
414
|
+
readonly active_observations: {
|
|
415
|
+
readonly type: "integer";
|
|
416
|
+
readonly title: "Active Observations";
|
|
417
|
+
readonly default: 0;
|
|
441
418
|
};
|
|
442
|
-
|
|
419
|
+
};
|
|
420
|
+
readonly type: "object";
|
|
421
|
+
readonly title: "GithubDependentsSummary";
|
|
422
|
+
readonly description: "Freshness and completeness summary for a source repo's observations.\n\n``observations_as_of`` is the finish time of the latest applied\nlisting-complete run; ``reported_counts_as_of`` is the finish time of the\nlatest applied counts-complete run. The two can point to different runs,\nso the reported totals always carry their own timestamp. Reported header\ntotals may exceed the enumerable public entries and, for multi-package\nrepositories, are per-package sums that can double count a dependent\nusing several packages.";
|
|
423
|
+
};
|
|
424
|
+
export declare const HTTPValidationErrorSchema: {
|
|
425
|
+
readonly properties: {
|
|
426
|
+
readonly detail: {
|
|
443
427
|
readonly items: {
|
|
444
|
-
readonly $ref: "#/components/schemas/
|
|
428
|
+
readonly $ref: "#/components/schemas/ValidationError";
|
|
445
429
|
};
|
|
446
430
|
readonly type: "array";
|
|
447
|
-
readonly title: "
|
|
448
|
-
};
|
|
449
|
-
readonly outgoing_dep_counts: {
|
|
450
|
-
readonly $ref: "#/components/schemas/DepCounts";
|
|
451
|
-
};
|
|
452
|
-
readonly incoming_dep_counts: {
|
|
453
|
-
readonly $ref: "#/components/schemas/DepCounts";
|
|
454
|
-
};
|
|
455
|
-
readonly active_contributors_30d: {
|
|
456
|
-
readonly type: "integer";
|
|
457
|
-
readonly title: "Active Contributors 30D";
|
|
458
|
-
};
|
|
459
|
-
readonly active_contributors_90d: {
|
|
460
|
-
readonly type: "integer";
|
|
461
|
-
readonly title: "Active Contributors 90D";
|
|
431
|
+
readonly title: "Detail";
|
|
462
432
|
};
|
|
463
433
|
};
|
|
464
434
|
readonly type: "object";
|
|
465
|
-
readonly
|
|
466
|
-
readonly title: "RepoDetailResponse";
|
|
467
|
-
readonly description: "Full repo detail with parent project, contributors, releases, dependency counts,\nand active contributor stats.";
|
|
435
|
+
readonly title: "HTTPValidationError";
|
|
468
436
|
};
|
|
469
|
-
export declare const
|
|
437
|
+
export declare const HealthComponentsSchema: {
|
|
470
438
|
readonly properties: {
|
|
471
|
-
readonly
|
|
472
|
-
readonly type: "
|
|
473
|
-
readonly
|
|
439
|
+
readonly artifact_store: {
|
|
440
|
+
readonly type: "string";
|
|
441
|
+
readonly enum: readonly ["local", "IPFS"];
|
|
442
|
+
readonly title: "Artifact Store";
|
|
474
443
|
};
|
|
475
|
-
readonly
|
|
476
|
-
readonly type: "
|
|
477
|
-
readonly
|
|
444
|
+
readonly database: {
|
|
445
|
+
readonly type: "string";
|
|
446
|
+
readonly enum: readonly ["ready", "not-configured"];
|
|
447
|
+
readonly title: "Database";
|
|
448
|
+
};
|
|
449
|
+
readonly schema_version: {
|
|
450
|
+
readonly anyOf: readonly [{
|
|
451
|
+
readonly type: "string";
|
|
452
|
+
}, {
|
|
453
|
+
readonly type: "null";
|
|
454
|
+
}];
|
|
455
|
+
readonly title: "Schema Version";
|
|
478
456
|
};
|
|
479
457
|
};
|
|
480
458
|
readonly type: "object";
|
|
481
|
-
readonly required: readonly ["
|
|
482
|
-
readonly title: "
|
|
483
|
-
readonly description: "
|
|
459
|
+
readonly required: readonly ["artifact_store", "database", "schema_version"];
|
|
460
|
+
readonly title: "HealthComponents";
|
|
461
|
+
readonly description: "Component-level readiness details for GET /health.";
|
|
484
462
|
};
|
|
485
|
-
export declare const
|
|
463
|
+
export declare const HealthResponseSchema: {
|
|
486
464
|
readonly properties: {
|
|
487
|
-
readonly
|
|
488
|
-
readonly type: "integer";
|
|
489
|
-
readonly title: "Id";
|
|
490
|
-
};
|
|
491
|
-
readonly name: {
|
|
465
|
+
readonly status: {
|
|
492
466
|
readonly type: "string";
|
|
493
|
-
readonly
|
|
467
|
+
readonly enum: readonly ["live", "ready"];
|
|
468
|
+
readonly title: "Status";
|
|
494
469
|
};
|
|
495
|
-
readonly
|
|
470
|
+
readonly version: {
|
|
496
471
|
readonly type: "string";
|
|
497
|
-
readonly title: "
|
|
472
|
+
readonly title: "Version";
|
|
473
|
+
};
|
|
474
|
+
readonly components: {
|
|
475
|
+
readonly $ref: "#/components/schemas/HealthComponents";
|
|
498
476
|
};
|
|
499
477
|
};
|
|
500
478
|
readonly type: "object";
|
|
501
|
-
readonly required: readonly ["
|
|
502
|
-
readonly title: "
|
|
503
|
-
readonly description: "
|
|
504
|
-
};
|
|
505
|
-
export declare const ActivityStatusSchema: {
|
|
506
|
-
readonly type: "string";
|
|
507
|
-
readonly enum: readonly ["live", "in-dev", "discontinued", "non-responsive"];
|
|
508
|
-
readonly title: "ActivityStatus";
|
|
509
|
-
readonly description: "Lifecycle status of a Project.\n\nUpdated by the SCF Impact Survey (yearly) and higher-frequency signals;\nsee the Activity Status Update Logic in the architecture docs.";
|
|
510
|
-
};
|
|
511
|
-
export declare const ProjectTypeSchema: {
|
|
512
|
-
readonly type: "string";
|
|
513
|
-
readonly enum: readonly ["public-good", "scf-project"];
|
|
514
|
-
readonly title: "ProjectType";
|
|
515
|
-
readonly description: "Classification of a Project within the PG Atlas universe.";
|
|
479
|
+
readonly required: readonly ["status", "version", "components"];
|
|
480
|
+
readonly title: "HealthResponse";
|
|
481
|
+
readonly description: "Response body for GET /health.";
|
|
516
482
|
};
|
|
517
|
-
export declare const
|
|
483
|
+
export declare const MaintenanceProfileResponseSchema: {
|
|
518
484
|
readonly properties: {
|
|
519
|
-
readonly
|
|
520
|
-
readonly type: "
|
|
521
|
-
readonly title: "
|
|
485
|
+
readonly schema_version: {
|
|
486
|
+
readonly type: "integer";
|
|
487
|
+
readonly title: "Schema Version";
|
|
522
488
|
};
|
|
523
|
-
readonly
|
|
489
|
+
readonly as_of: {
|
|
524
490
|
readonly type: "string";
|
|
525
|
-
readonly title: "
|
|
491
|
+
readonly title: "As Of";
|
|
526
492
|
};
|
|
527
|
-
readonly
|
|
528
|
-
readonly
|
|
493
|
+
readonly window_days: {
|
|
494
|
+
readonly type: "integer";
|
|
495
|
+
readonly title: "Window Days";
|
|
529
496
|
};
|
|
530
|
-
readonly
|
|
531
|
-
readonly
|
|
497
|
+
readonly response_interval_days: {
|
|
498
|
+
readonly type: "integer";
|
|
499
|
+
readonly title: "Response Interval Days";
|
|
532
500
|
};
|
|
533
|
-
readonly
|
|
534
|
-
readonly
|
|
535
|
-
|
|
536
|
-
}, {
|
|
537
|
-
readonly type: "null";
|
|
538
|
-
}];
|
|
539
|
-
readonly title: "Category";
|
|
501
|
+
readonly eligible_population: {
|
|
502
|
+
readonly type: "integer";
|
|
503
|
+
readonly title: "Eligible Population";
|
|
540
504
|
};
|
|
541
|
-
readonly
|
|
505
|
+
readonly signals: {
|
|
506
|
+
readonly additionalProperties: {
|
|
507
|
+
readonly additionalProperties: true;
|
|
508
|
+
readonly type: "object";
|
|
509
|
+
};
|
|
510
|
+
readonly type: "object";
|
|
511
|
+
readonly title: "Signals";
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
readonly type: "object";
|
|
515
|
+
readonly required: readonly ["schema_version", "as_of", "window_days", "response_interval_days", "eligible_population", "signals"];
|
|
516
|
+
readonly title: "MaintenanceProfileResponse";
|
|
517
|
+
readonly description: "Stored maintenance profile for one repo, as materialized.";
|
|
518
|
+
};
|
|
519
|
+
export declare const MetadataResponseSchema: {
|
|
520
|
+
readonly properties: {
|
|
521
|
+
readonly total_projects: {
|
|
522
|
+
readonly type: "integer";
|
|
523
|
+
readonly title: "Total Projects";
|
|
524
|
+
};
|
|
525
|
+
readonly active_projects: {
|
|
526
|
+
readonly type: "integer";
|
|
527
|
+
readonly title: "Active Projects";
|
|
528
|
+
};
|
|
529
|
+
readonly total_repos: {
|
|
530
|
+
readonly type: "integer";
|
|
531
|
+
readonly title: "Total Repos";
|
|
532
|
+
};
|
|
533
|
+
readonly active_repos_90d: {
|
|
534
|
+
readonly type: "integer";
|
|
535
|
+
readonly title: "Active Repos 90D";
|
|
536
|
+
};
|
|
537
|
+
readonly total_external_repos: {
|
|
538
|
+
readonly type: "integer";
|
|
539
|
+
readonly title: "Total External Repos";
|
|
540
|
+
};
|
|
541
|
+
readonly total_dependency_edges: {
|
|
542
|
+
readonly type: "integer";
|
|
543
|
+
readonly title: "Total Dependency Edges";
|
|
544
|
+
};
|
|
545
|
+
readonly total_contributor_edges: {
|
|
546
|
+
readonly type: "integer";
|
|
547
|
+
readonly title: "Total Contributor Edges";
|
|
548
|
+
};
|
|
549
|
+
readonly active_contributors_30d: {
|
|
550
|
+
readonly type: "integer";
|
|
551
|
+
readonly title: "Active Contributors 30D";
|
|
552
|
+
};
|
|
553
|
+
readonly active_contributors_90d: {
|
|
554
|
+
readonly type: "integer";
|
|
555
|
+
readonly title: "Active Contributors 90D";
|
|
556
|
+
};
|
|
557
|
+
readonly last_updated: {
|
|
542
558
|
readonly anyOf: readonly [{
|
|
543
559
|
readonly type: "string";
|
|
560
|
+
readonly format: "date-time";
|
|
544
561
|
}, {
|
|
545
562
|
readonly type: "null";
|
|
546
563
|
}];
|
|
547
|
-
readonly title: "
|
|
564
|
+
readonly title: "Last Updated";
|
|
548
565
|
};
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
566
|
+
};
|
|
567
|
+
readonly type: "object";
|
|
568
|
+
readonly required: readonly ["total_projects", "active_projects", "total_repos", "active_repos_90d", "total_external_repos", "total_dependency_edges", "total_contributor_edges", "active_contributors_30d", "active_contributors_90d", "last_updated"];
|
|
569
|
+
readonly title: "MetadataResponse";
|
|
570
|
+
readonly description: "Ecosystem-wide summary statistics returned by ``GET /metadata``.";
|
|
571
|
+
};
|
|
572
|
+
export declare const PaginatedResponse_ContributorSummary_Schema: {
|
|
573
|
+
readonly properties: {
|
|
574
|
+
readonly items: {
|
|
575
|
+
readonly items: {
|
|
576
|
+
readonly $ref: "#/components/schemas/ContributorSummary";
|
|
577
|
+
};
|
|
578
|
+
readonly type: "array";
|
|
579
|
+
readonly title: "Items";
|
|
556
580
|
};
|
|
557
|
-
readonly
|
|
558
|
-
readonly
|
|
559
|
-
|
|
560
|
-
}, {
|
|
561
|
-
readonly type: "null";
|
|
562
|
-
}];
|
|
563
|
-
readonly title: "Criticality Score";
|
|
581
|
+
readonly total: {
|
|
582
|
+
readonly type: "integer";
|
|
583
|
+
readonly title: "Total";
|
|
564
584
|
};
|
|
565
|
-
readonly
|
|
566
|
-
readonly
|
|
567
|
-
|
|
568
|
-
}, {
|
|
569
|
-
readonly type: "null";
|
|
570
|
-
}];
|
|
571
|
-
readonly title: "Adoption Score";
|
|
585
|
+
readonly limit: {
|
|
586
|
+
readonly type: "integer";
|
|
587
|
+
readonly title: "Limit";
|
|
572
588
|
};
|
|
573
|
-
readonly
|
|
589
|
+
readonly offset: {
|
|
590
|
+
readonly type: "integer";
|
|
591
|
+
readonly title: "Offset";
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
readonly type: "object";
|
|
595
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
596
|
+
readonly title: "PaginatedResponse[ContributorSummary]";
|
|
597
|
+
};
|
|
598
|
+
export declare const PaginatedResponse_GitLogArtifactSummary_Schema: {
|
|
599
|
+
readonly properties: {
|
|
600
|
+
readonly items: {
|
|
601
|
+
readonly items: {
|
|
602
|
+
readonly $ref: "#/components/schemas/GitLogArtifactSummary";
|
|
603
|
+
};
|
|
604
|
+
readonly type: "array";
|
|
605
|
+
readonly title: "Items";
|
|
606
|
+
};
|
|
607
|
+
readonly total: {
|
|
608
|
+
readonly type: "integer";
|
|
609
|
+
readonly title: "Total";
|
|
610
|
+
};
|
|
611
|
+
readonly limit: {
|
|
612
|
+
readonly type: "integer";
|
|
613
|
+
readonly title: "Limit";
|
|
614
|
+
};
|
|
615
|
+
readonly offset: {
|
|
616
|
+
readonly type: "integer";
|
|
617
|
+
readonly title: "Offset";
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
readonly type: "object";
|
|
621
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
622
|
+
readonly title: "PaginatedResponse[GitLogArtifactSummary]";
|
|
623
|
+
};
|
|
624
|
+
export declare const PaginatedResponse_GithubDependentObservationItem_Schema: {
|
|
625
|
+
readonly properties: {
|
|
626
|
+
readonly items: {
|
|
627
|
+
readonly items: {
|
|
628
|
+
readonly $ref: "#/components/schemas/GithubDependentObservationItem";
|
|
629
|
+
};
|
|
630
|
+
readonly type: "array";
|
|
631
|
+
readonly title: "Items";
|
|
632
|
+
};
|
|
633
|
+
readonly total: {
|
|
634
|
+
readonly type: "integer";
|
|
635
|
+
readonly title: "Total";
|
|
636
|
+
};
|
|
637
|
+
readonly limit: {
|
|
638
|
+
readonly type: "integer";
|
|
639
|
+
readonly title: "Limit";
|
|
640
|
+
};
|
|
641
|
+
readonly offset: {
|
|
642
|
+
readonly type: "integer";
|
|
643
|
+
readonly title: "Offset";
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
readonly type: "object";
|
|
647
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
648
|
+
readonly title: "PaginatedResponse[GithubDependentObservationItem]";
|
|
649
|
+
};
|
|
650
|
+
export declare const PaginatedResponse_ProjectContributorSummary_Schema: {
|
|
651
|
+
readonly properties: {
|
|
652
|
+
readonly items: {
|
|
653
|
+
readonly items: {
|
|
654
|
+
readonly $ref: "#/components/schemas/ProjectContributorSummary";
|
|
655
|
+
};
|
|
656
|
+
readonly type: "array";
|
|
657
|
+
readonly title: "Items";
|
|
658
|
+
};
|
|
659
|
+
readonly total: {
|
|
660
|
+
readonly type: "integer";
|
|
661
|
+
readonly title: "Total";
|
|
662
|
+
};
|
|
663
|
+
readonly limit: {
|
|
664
|
+
readonly type: "integer";
|
|
665
|
+
readonly title: "Limit";
|
|
666
|
+
};
|
|
667
|
+
readonly offset: {
|
|
668
|
+
readonly type: "integer";
|
|
669
|
+
readonly title: "Offset";
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
readonly type: "object";
|
|
673
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
674
|
+
readonly title: "PaginatedResponse[ProjectContributorSummary]";
|
|
675
|
+
};
|
|
676
|
+
export declare const PaginatedResponse_ProjectSummary_Schema: {
|
|
677
|
+
readonly properties: {
|
|
678
|
+
readonly items: {
|
|
679
|
+
readonly items: {
|
|
680
|
+
readonly $ref: "#/components/schemas/ProjectSummary";
|
|
681
|
+
};
|
|
682
|
+
readonly type: "array";
|
|
683
|
+
readonly title: "Items";
|
|
684
|
+
};
|
|
685
|
+
readonly total: {
|
|
686
|
+
readonly type: "integer";
|
|
687
|
+
readonly title: "Total";
|
|
688
|
+
};
|
|
689
|
+
readonly limit: {
|
|
690
|
+
readonly type: "integer";
|
|
691
|
+
readonly title: "Limit";
|
|
692
|
+
};
|
|
693
|
+
readonly offset: {
|
|
694
|
+
readonly type: "integer";
|
|
695
|
+
readonly title: "Offset";
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
readonly type: "object";
|
|
699
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
700
|
+
readonly title: "PaginatedResponse[ProjectSummary]";
|
|
701
|
+
};
|
|
702
|
+
export declare const PaginatedResponse_RepoContributorSummary_Schema: {
|
|
703
|
+
readonly properties: {
|
|
704
|
+
readonly items: {
|
|
705
|
+
readonly items: {
|
|
706
|
+
readonly $ref: "#/components/schemas/RepoContributorSummary";
|
|
707
|
+
};
|
|
708
|
+
readonly type: "array";
|
|
709
|
+
readonly title: "Items";
|
|
710
|
+
};
|
|
711
|
+
readonly total: {
|
|
712
|
+
readonly type: "integer";
|
|
713
|
+
readonly title: "Total";
|
|
714
|
+
};
|
|
715
|
+
readonly limit: {
|
|
716
|
+
readonly type: "integer";
|
|
717
|
+
readonly title: "Limit";
|
|
718
|
+
};
|
|
719
|
+
readonly offset: {
|
|
720
|
+
readonly type: "integer";
|
|
721
|
+
readonly title: "Offset";
|
|
722
|
+
};
|
|
723
|
+
};
|
|
724
|
+
readonly type: "object";
|
|
725
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
726
|
+
readonly title: "PaginatedResponse[RepoContributorSummary]";
|
|
727
|
+
};
|
|
728
|
+
export declare const PaginatedResponse_RepoSummary_Schema: {
|
|
729
|
+
readonly properties: {
|
|
730
|
+
readonly items: {
|
|
731
|
+
readonly items: {
|
|
732
|
+
readonly $ref: "#/components/schemas/RepoSummary";
|
|
733
|
+
};
|
|
734
|
+
readonly type: "array";
|
|
735
|
+
readonly title: "Items";
|
|
736
|
+
};
|
|
737
|
+
readonly total: {
|
|
738
|
+
readonly type: "integer";
|
|
739
|
+
readonly title: "Total";
|
|
740
|
+
};
|
|
741
|
+
readonly limit: {
|
|
742
|
+
readonly type: "integer";
|
|
743
|
+
readonly title: "Limit";
|
|
744
|
+
};
|
|
745
|
+
readonly offset: {
|
|
746
|
+
readonly type: "integer";
|
|
747
|
+
readonly title: "Offset";
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
readonly type: "object";
|
|
751
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
752
|
+
readonly title: "PaginatedResponse[RepoSummary]";
|
|
753
|
+
};
|
|
754
|
+
export declare const ProjectContributorSummarySchema: {
|
|
755
|
+
readonly properties: {
|
|
756
|
+
readonly id: {
|
|
757
|
+
readonly type: "integer";
|
|
758
|
+
readonly title: "Id";
|
|
759
|
+
};
|
|
760
|
+
readonly name: {
|
|
574
761
|
readonly type: "string";
|
|
575
|
-
readonly
|
|
576
|
-
|
|
762
|
+
readonly title: "Name";
|
|
763
|
+
};
|
|
764
|
+
readonly email_hash: {
|
|
765
|
+
readonly type: "string";
|
|
766
|
+
readonly title: "Email Hash";
|
|
767
|
+
};
|
|
768
|
+
readonly total_commits_in_project: {
|
|
769
|
+
readonly type: "integer";
|
|
770
|
+
readonly title: "Total Commits In Project";
|
|
577
771
|
};
|
|
578
772
|
};
|
|
579
773
|
readonly type: "object";
|
|
580
|
-
readonly required: readonly ["
|
|
581
|
-
readonly title: "
|
|
582
|
-
readonly description: "
|
|
774
|
+
readonly required: readonly ["id", "name", "email_hash", "total_commits_in_project"];
|
|
775
|
+
readonly title: "ProjectContributorSummary";
|
|
776
|
+
readonly description: "Contributor summary aggregated across all repos in a project.";
|
|
583
777
|
};
|
|
584
|
-
export declare const
|
|
778
|
+
export declare const ProjectDependencySchema: {
|
|
779
|
+
readonly properties: {
|
|
780
|
+
readonly project: {
|
|
781
|
+
readonly $ref: "#/components/schemas/ProjectSummary";
|
|
782
|
+
};
|
|
783
|
+
readonly edge_count: {
|
|
784
|
+
readonly type: "integer";
|
|
785
|
+
readonly title: "Edge Count";
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
readonly type: "object";
|
|
789
|
+
readonly required: readonly ["project", "edge_count"];
|
|
790
|
+
readonly title: "ProjectDependency";
|
|
791
|
+
readonly description: "A collapsed project-level dependency: aggregates repo-level edges\nbetween two projects into a single summary.";
|
|
792
|
+
};
|
|
793
|
+
export declare const ProjectDetailResponseSchema: {
|
|
585
794
|
readonly properties: {
|
|
586
795
|
readonly canonical_id: {
|
|
587
796
|
readonly type: "string";
|
|
@@ -591,65 +800,77 @@ export declare const RepoDependencySchema: {
|
|
|
591
800
|
readonly type: "string";
|
|
592
801
|
readonly title: "Display Name";
|
|
593
802
|
};
|
|
594
|
-
readonly
|
|
595
|
-
readonly $ref: "#/components/schemas/
|
|
803
|
+
readonly project_type: {
|
|
804
|
+
readonly $ref: "#/components/schemas/ProjectType";
|
|
596
805
|
};
|
|
597
|
-
readonly
|
|
806
|
+
readonly activity_status: {
|
|
807
|
+
readonly $ref: "#/components/schemas/ActivityStatus";
|
|
808
|
+
};
|
|
809
|
+
readonly category: {
|
|
598
810
|
readonly anyOf: readonly [{
|
|
599
811
|
readonly type: "string";
|
|
600
812
|
}, {
|
|
601
813
|
readonly type: "null";
|
|
602
814
|
}];
|
|
603
|
-
readonly title: "
|
|
815
|
+
readonly title: "Category";
|
|
604
816
|
};
|
|
605
|
-
readonly
|
|
606
|
-
readonly
|
|
817
|
+
readonly git_owner_url: {
|
|
818
|
+
readonly anyOf: readonly [{
|
|
819
|
+
readonly type: "string";
|
|
820
|
+
}, {
|
|
821
|
+
readonly type: "null";
|
|
822
|
+
}];
|
|
823
|
+
readonly title: "Git Owner Url";
|
|
607
824
|
};
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
};
|
|
614
|
-
|
|
615
|
-
readonly type: "string";
|
|
616
|
-
readonly enum: readonly ["verified-sbom", "inferred-shadow"];
|
|
617
|
-
readonly title: "EdgeConfidence";
|
|
618
|
-
readonly description: "How firmly an edge was established.";
|
|
619
|
-
};
|
|
620
|
-
export declare const RepoContributorSummarySchema: {
|
|
621
|
-
readonly properties: {
|
|
622
|
-
readonly id: {
|
|
623
|
-
readonly type: "integer";
|
|
624
|
-
readonly title: "Id";
|
|
825
|
+
readonly pony_factor: {
|
|
826
|
+
readonly anyOf: readonly [{
|
|
827
|
+
readonly type: "integer";
|
|
828
|
+
}, {
|
|
829
|
+
readonly type: "null";
|
|
830
|
+
}];
|
|
831
|
+
readonly title: "Pony Factor";
|
|
625
832
|
};
|
|
626
|
-
readonly
|
|
627
|
-
readonly
|
|
628
|
-
|
|
833
|
+
readonly criticality_score: {
|
|
834
|
+
readonly anyOf: readonly [{
|
|
835
|
+
readonly type: "integer";
|
|
836
|
+
}, {
|
|
837
|
+
readonly type: "null";
|
|
838
|
+
}];
|
|
839
|
+
readonly title: "Criticality Score";
|
|
629
840
|
};
|
|
630
|
-
readonly
|
|
841
|
+
readonly adoption_score: {
|
|
842
|
+
readonly anyOf: readonly [{
|
|
843
|
+
readonly type: "number";
|
|
844
|
+
}, {
|
|
845
|
+
readonly type: "null";
|
|
846
|
+
}];
|
|
847
|
+
readonly title: "Adoption Score";
|
|
848
|
+
};
|
|
849
|
+
readonly updated_at: {
|
|
631
850
|
readonly type: "string";
|
|
632
|
-
readonly
|
|
851
|
+
readonly format: "date-time";
|
|
852
|
+
readonly title: "Updated At";
|
|
633
853
|
};
|
|
634
|
-
readonly
|
|
854
|
+
readonly project_id: {
|
|
635
855
|
readonly type: "integer";
|
|
636
|
-
readonly title: "
|
|
856
|
+
readonly title: "Project Id";
|
|
637
857
|
};
|
|
638
|
-
readonly
|
|
639
|
-
readonly type: "
|
|
640
|
-
readonly
|
|
641
|
-
readonly title: "First Commit Date";
|
|
858
|
+
readonly active_contributors_30d: {
|
|
859
|
+
readonly type: "integer";
|
|
860
|
+
readonly title: "Active Contributors 30D";
|
|
642
861
|
};
|
|
643
|
-
readonly
|
|
644
|
-
readonly type: "
|
|
645
|
-
readonly
|
|
646
|
-
|
|
862
|
+
readonly active_contributors_90d: {
|
|
863
|
+
readonly type: "integer";
|
|
864
|
+
readonly title: "Active Contributors 90D";
|
|
865
|
+
};
|
|
866
|
+
readonly metadata: {
|
|
867
|
+
readonly $ref: "#/components/schemas/ProjectMetadata";
|
|
647
868
|
};
|
|
648
869
|
};
|
|
649
870
|
readonly type: "object";
|
|
650
|
-
readonly required: readonly ["
|
|
651
|
-
readonly title: "
|
|
652
|
-
readonly description: "
|
|
871
|
+
readonly required: readonly ["canonical_id", "display_name", "project_type", "activity_status", "category", "git_owner_url", "pony_factor", "criticality_score", "adoption_score", "updated_at", "project_id", "active_contributors_30d", "active_contributors_90d", "metadata"];
|
|
872
|
+
readonly title: "ProjectDetailResponse";
|
|
873
|
+
readonly description: "Full project detail including contributor stats and metadata.\n\n``metadata`` is the normalised form of the ``project_metadata`` JSONB column.";
|
|
653
874
|
};
|
|
654
875
|
export declare const ProjectMetadataSchema: {
|
|
655
876
|
readonly properties: {
|
|
@@ -767,7 +988,7 @@ export declare const ProjectMetadataSchema: {
|
|
|
767
988
|
readonly title: "ProjectMetadata";
|
|
768
989
|
readonly description: "Validates and normalises the ``project_metadata`` JSONB column on ``Project``.\n\nThe single write path (``_build_project_metadata`` in the OpenGrants crawler)\nguarantees consistent key names and types. ``extra = \"allow\"`` ensures that\nany future keys added by the crawler pass through without breaking the API.\nFuture keys must still be added in this model for clarity.";
|
|
769
990
|
};
|
|
770
|
-
export declare const
|
|
991
|
+
export declare const ProjectSummarySchema: {
|
|
771
992
|
readonly properties: {
|
|
772
993
|
readonly canonical_id: {
|
|
773
994
|
readonly type: "string";
|
|
@@ -828,43 +1049,19 @@ export declare const ProjectDetailResponseSchema: {
|
|
|
828
1049
|
readonly format: "date-time";
|
|
829
1050
|
readonly title: "Updated At";
|
|
830
1051
|
};
|
|
831
|
-
readonly project_id: {
|
|
832
|
-
readonly type: "integer";
|
|
833
|
-
readonly title: "Project Id";
|
|
834
|
-
};
|
|
835
|
-
readonly active_contributors_30d: {
|
|
836
|
-
readonly type: "integer";
|
|
837
|
-
readonly title: "Active Contributors 30D";
|
|
838
|
-
};
|
|
839
|
-
readonly active_contributors_90d: {
|
|
840
|
-
readonly type: "integer";
|
|
841
|
-
readonly title: "Active Contributors 90D";
|
|
842
|
-
};
|
|
843
|
-
readonly metadata: {
|
|
844
|
-
readonly $ref: "#/components/schemas/ProjectMetadata";
|
|
845
|
-
};
|
|
846
1052
|
};
|
|
847
1053
|
readonly type: "object";
|
|
848
|
-
readonly required: readonly ["canonical_id", "display_name", "project_type", "activity_status", "category", "git_owner_url", "pony_factor", "criticality_score", "adoption_score", "updated_at"
|
|
849
|
-
readonly title: "
|
|
850
|
-
readonly description: "
|
|
1054
|
+
readonly required: readonly ["canonical_id", "display_name", "project_type", "activity_status", "category", "git_owner_url", "pony_factor", "criticality_score", "adoption_score", "updated_at"];
|
|
1055
|
+
readonly title: "ProjectSummary";
|
|
1056
|
+
readonly description: "Compact project representation used in list endpoints and as an embedded\nreference in repo detail responses.";
|
|
851
1057
|
};
|
|
852
|
-
export declare const
|
|
853
|
-
readonly
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
readonly edge_count: {
|
|
858
|
-
readonly type: "integer";
|
|
859
|
-
readonly title: "Edge Count";
|
|
860
|
-
};
|
|
861
|
-
};
|
|
862
|
-
readonly type: "object";
|
|
863
|
-
readonly required: readonly ["project", "edge_count"];
|
|
864
|
-
readonly title: "ProjectDependency";
|
|
865
|
-
readonly description: "A collapsed project-level dependency: aggregates repo-level edges\nbetween two projects into a single summary.";
|
|
1058
|
+
export declare const ProjectTypeSchema: {
|
|
1059
|
+
readonly type: "string";
|
|
1060
|
+
readonly enum: readonly ["public-good", "scf-project"];
|
|
1061
|
+
readonly title: "ProjectType";
|
|
1062
|
+
readonly description: "Classification of a Project within the PG Atlas universe.";
|
|
866
1063
|
};
|
|
867
|
-
export declare const
|
|
1064
|
+
export declare const RepoContributorSummarySchema: {
|
|
868
1065
|
readonly properties: {
|
|
869
1066
|
readonly id: {
|
|
870
1067
|
readonly type: "integer";
|
|
@@ -878,369 +1075,342 @@ export declare const ProjectContributorSummarySchema: {
|
|
|
878
1075
|
readonly type: "string";
|
|
879
1076
|
readonly title: "Email Hash";
|
|
880
1077
|
};
|
|
881
|
-
readonly
|
|
882
|
-
readonly type: "integer";
|
|
883
|
-
readonly title: "Total Commits In Project";
|
|
884
|
-
};
|
|
885
|
-
};
|
|
886
|
-
readonly type: "object";
|
|
887
|
-
readonly required: readonly ["id", "name", "email_hash", "total_commits_in_project"];
|
|
888
|
-
readonly title: "ProjectContributorSummary";
|
|
889
|
-
readonly description: "Contributor summary aggregated across all repos in a project.";
|
|
890
|
-
};
|
|
891
|
-
export declare const PaginatedResponse_RepoSummary_Schema: {
|
|
892
|
-
readonly properties: {
|
|
893
|
-
readonly items: {
|
|
894
|
-
readonly items: {
|
|
895
|
-
readonly $ref: "#/components/schemas/RepoSummary";
|
|
896
|
-
};
|
|
897
|
-
readonly type: "array";
|
|
898
|
-
readonly title: "Items";
|
|
899
|
-
};
|
|
900
|
-
readonly total: {
|
|
901
|
-
readonly type: "integer";
|
|
902
|
-
readonly title: "Total";
|
|
903
|
-
};
|
|
904
|
-
readonly limit: {
|
|
905
|
-
readonly type: "integer";
|
|
906
|
-
readonly title: "Limit";
|
|
907
|
-
};
|
|
908
|
-
readonly offset: {
|
|
909
|
-
readonly type: "integer";
|
|
910
|
-
readonly title: "Offset";
|
|
911
|
-
};
|
|
912
|
-
};
|
|
913
|
-
readonly type: "object";
|
|
914
|
-
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
915
|
-
readonly title: "PaginatedResponse[RepoSummary]";
|
|
916
|
-
};
|
|
917
|
-
export declare const PaginatedResponse_RepoContributorSummary_Schema: {
|
|
918
|
-
readonly properties: {
|
|
919
|
-
readonly items: {
|
|
920
|
-
readonly items: {
|
|
921
|
-
readonly $ref: "#/components/schemas/RepoContributorSummary";
|
|
922
|
-
};
|
|
923
|
-
readonly type: "array";
|
|
924
|
-
readonly title: "Items";
|
|
925
|
-
};
|
|
926
|
-
readonly total: {
|
|
927
|
-
readonly type: "integer";
|
|
928
|
-
readonly title: "Total";
|
|
929
|
-
};
|
|
930
|
-
readonly limit: {
|
|
931
|
-
readonly type: "integer";
|
|
932
|
-
readonly title: "Limit";
|
|
933
|
-
};
|
|
934
|
-
readonly offset: {
|
|
935
|
-
readonly type: "integer";
|
|
936
|
-
readonly title: "Offset";
|
|
937
|
-
};
|
|
938
|
-
};
|
|
939
|
-
readonly type: "object";
|
|
940
|
-
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
941
|
-
readonly title: "PaginatedResponse[RepoContributorSummary]";
|
|
942
|
-
};
|
|
943
|
-
export declare const PaginatedResponse_ProjectSummary_Schema: {
|
|
944
|
-
readonly properties: {
|
|
945
|
-
readonly items: {
|
|
946
|
-
readonly items: {
|
|
947
|
-
readonly $ref: "#/components/schemas/ProjectSummary";
|
|
948
|
-
};
|
|
949
|
-
readonly type: "array";
|
|
950
|
-
readonly title: "Items";
|
|
951
|
-
};
|
|
952
|
-
readonly total: {
|
|
1078
|
+
readonly number_of_commits: {
|
|
953
1079
|
readonly type: "integer";
|
|
954
|
-
readonly title: "
|
|
1080
|
+
readonly title: "Number Of Commits";
|
|
955
1081
|
};
|
|
956
|
-
readonly
|
|
957
|
-
readonly type: "
|
|
958
|
-
readonly
|
|
1082
|
+
readonly first_commit_date: {
|
|
1083
|
+
readonly type: "string";
|
|
1084
|
+
readonly format: "date-time";
|
|
1085
|
+
readonly title: "First Commit Date";
|
|
959
1086
|
};
|
|
960
|
-
readonly
|
|
961
|
-
readonly type: "
|
|
962
|
-
readonly
|
|
1087
|
+
readonly last_commit_date: {
|
|
1088
|
+
readonly type: "string";
|
|
1089
|
+
readonly format: "date-time";
|
|
1090
|
+
readonly title: "Last Commit Date";
|
|
963
1091
|
};
|
|
964
1092
|
};
|
|
965
1093
|
readonly type: "object";
|
|
966
|
-
readonly required: readonly ["
|
|
967
|
-
readonly title: "
|
|
1094
|
+
readonly required: readonly ["id", "name", "email_hash", "number_of_commits", "first_commit_date", "last_commit_date"];
|
|
1095
|
+
readonly title: "RepoContributorSummary";
|
|
1096
|
+
readonly description: "Contributor summary with commit counts for one repo.";
|
|
968
1097
|
};
|
|
969
|
-
export declare const
|
|
1098
|
+
export declare const RepoDependencySchema: {
|
|
970
1099
|
readonly properties: {
|
|
971
|
-
readonly
|
|
972
|
-
readonly
|
|
973
|
-
|
|
974
|
-
};
|
|
975
|
-
readonly type: "array";
|
|
976
|
-
readonly title: "Items";
|
|
977
|
-
};
|
|
978
|
-
readonly total: {
|
|
979
|
-
readonly type: "integer";
|
|
980
|
-
readonly title: "Total";
|
|
981
|
-
};
|
|
982
|
-
readonly limit: {
|
|
983
|
-
readonly type: "integer";
|
|
984
|
-
readonly title: "Limit";
|
|
985
|
-
};
|
|
986
|
-
readonly offset: {
|
|
987
|
-
readonly type: "integer";
|
|
988
|
-
readonly title: "Offset";
|
|
1100
|
+
readonly canonical_id: {
|
|
1101
|
+
readonly type: "string";
|
|
1102
|
+
readonly title: "Canonical Id";
|
|
989
1103
|
};
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
readonly title: "PaginatedResponse[ProjectContributorSummary]";
|
|
994
|
-
};
|
|
995
|
-
export declare const PaginatedResponse_GitLogArtifactSummary_Schema: {
|
|
996
|
-
readonly properties: {
|
|
997
|
-
readonly items: {
|
|
998
|
-
readonly items: {
|
|
999
|
-
readonly $ref: "#/components/schemas/GitLogArtifactSummary";
|
|
1000
|
-
};
|
|
1001
|
-
readonly type: "array";
|
|
1002
|
-
readonly title: "Items";
|
|
1104
|
+
readonly display_name: {
|
|
1105
|
+
readonly type: "string";
|
|
1106
|
+
readonly title: "Display Name";
|
|
1003
1107
|
};
|
|
1004
|
-
readonly
|
|
1005
|
-
readonly
|
|
1006
|
-
readonly title: "Total";
|
|
1108
|
+
readonly vertex_type: {
|
|
1109
|
+
readonly $ref: "#/components/schemas/RepoVertexType";
|
|
1007
1110
|
};
|
|
1008
|
-
readonly
|
|
1009
|
-
readonly
|
|
1010
|
-
|
|
1111
|
+
readonly version_range: {
|
|
1112
|
+
readonly anyOf: readonly [{
|
|
1113
|
+
readonly type: "string";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly type: "null";
|
|
1116
|
+
}];
|
|
1117
|
+
readonly title: "Version Range";
|
|
1011
1118
|
};
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly
|
|
1014
|
-
readonly title: "Offset";
|
|
1119
|
+
readonly confidence: {
|
|
1120
|
+
readonly $ref: "#/components/schemas/EdgeConfidence";
|
|
1015
1121
|
};
|
|
1016
1122
|
};
|
|
1017
1123
|
readonly type: "object";
|
|
1018
|
-
readonly required: readonly ["
|
|
1019
|
-
readonly title: "
|
|
1124
|
+
readonly required: readonly ["canonical_id", "display_name", "vertex_type", "version_range", "confidence"];
|
|
1125
|
+
readonly title: "RepoDependency";
|
|
1126
|
+
readonly description: "A single dependency or reverse-dependency edge from a repo.\n\n``vertex_type`` tells the frontend whether the target is an in-ecosystem\n``Repo`` or an ``ExternalRepo``.";
|
|
1020
1127
|
};
|
|
1021
|
-
export declare const
|
|
1128
|
+
export declare const RepoDetailResponseSchema: {
|
|
1022
1129
|
readonly properties: {
|
|
1023
|
-
readonly
|
|
1024
|
-
readonly type: "
|
|
1025
|
-
readonly title: "Id";
|
|
1026
|
-
};
|
|
1027
|
-
readonly repo_id: {
|
|
1028
|
-
readonly type: "integer";
|
|
1029
|
-
readonly title: "Repo Id";
|
|
1130
|
+
readonly canonical_id: {
|
|
1131
|
+
readonly type: "string";
|
|
1132
|
+
readonly title: "Canonical Id";
|
|
1030
1133
|
};
|
|
1031
|
-
readonly
|
|
1134
|
+
readonly display_name: {
|
|
1032
1135
|
readonly type: "string";
|
|
1033
|
-
readonly title: "
|
|
1136
|
+
readonly title: "Display Name";
|
|
1034
1137
|
};
|
|
1035
|
-
readonly
|
|
1138
|
+
readonly visibility: {
|
|
1139
|
+
readonly $ref: "#/components/schemas/Visibility";
|
|
1140
|
+
};
|
|
1141
|
+
readonly latest_version: {
|
|
1036
1142
|
readonly type: "string";
|
|
1037
|
-
readonly title: "
|
|
1143
|
+
readonly title: "Latest Version";
|
|
1038
1144
|
};
|
|
1039
|
-
readonly
|
|
1145
|
+
readonly latest_commit_date: {
|
|
1040
1146
|
readonly anyOf: readonly [{
|
|
1041
1147
|
readonly type: "string";
|
|
1148
|
+
readonly format: "date-time";
|
|
1042
1149
|
}, {
|
|
1043
1150
|
readonly type: "null";
|
|
1044
1151
|
}];
|
|
1045
|
-
readonly title: "
|
|
1046
|
-
};
|
|
1047
|
-
readonly status: {
|
|
1048
|
-
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
1152
|
+
readonly title: "Latest Commit Date";
|
|
1049
1153
|
};
|
|
1050
|
-
readonly
|
|
1154
|
+
readonly repo_url: {
|
|
1051
1155
|
readonly anyOf: readonly [{
|
|
1052
1156
|
readonly type: "string";
|
|
1053
1157
|
}, {
|
|
1054
1158
|
readonly type: "null";
|
|
1055
1159
|
}];
|
|
1056
|
-
readonly title: "
|
|
1160
|
+
readonly title: "Repo Url";
|
|
1057
1161
|
};
|
|
1058
|
-
readonly
|
|
1059
|
-
readonly
|
|
1060
|
-
|
|
1162
|
+
readonly project_id: {
|
|
1163
|
+
readonly anyOf: readonly [{
|
|
1164
|
+
readonly type: "integer";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly type: "null";
|
|
1167
|
+
}];
|
|
1168
|
+
readonly title: "Project Id";
|
|
1061
1169
|
};
|
|
1062
|
-
readonly
|
|
1170
|
+
readonly pony_factor: {
|
|
1171
|
+
readonly anyOf: readonly [{
|
|
1172
|
+
readonly type: "integer";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly type: "null";
|
|
1175
|
+
}];
|
|
1176
|
+
readonly title: "Pony Factor";
|
|
1177
|
+
};
|
|
1178
|
+
readonly criticality_score: {
|
|
1179
|
+
readonly anyOf: readonly [{
|
|
1180
|
+
readonly type: "integer";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "null";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly title: "Criticality Score";
|
|
1185
|
+
};
|
|
1186
|
+
readonly adoption_downloads: {
|
|
1187
|
+
readonly anyOf: readonly [{
|
|
1188
|
+
readonly type: "integer";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly type: "null";
|
|
1191
|
+
}];
|
|
1192
|
+
readonly title: "Adoption Downloads";
|
|
1193
|
+
};
|
|
1194
|
+
readonly adoption_stars: {
|
|
1195
|
+
readonly anyOf: readonly [{
|
|
1196
|
+
readonly type: "integer";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly type: "null";
|
|
1199
|
+
}];
|
|
1200
|
+
readonly title: "Adoption Stars";
|
|
1201
|
+
};
|
|
1202
|
+
readonly adoption_forks: {
|
|
1203
|
+
readonly anyOf: readonly [{
|
|
1204
|
+
readonly type: "integer";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly type: "null";
|
|
1207
|
+
}];
|
|
1208
|
+
readonly title: "Adoption Forks";
|
|
1209
|
+
};
|
|
1210
|
+
readonly updated_at: {
|
|
1063
1211
|
readonly type: "string";
|
|
1064
1212
|
readonly format: "date-time";
|
|
1065
|
-
readonly title: "
|
|
1213
|
+
readonly title: "Updated At";
|
|
1066
1214
|
};
|
|
1067
|
-
readonly
|
|
1215
|
+
readonly releases: {
|
|
1068
1216
|
readonly anyOf: readonly [{
|
|
1069
|
-
readonly
|
|
1070
|
-
|
|
1217
|
+
readonly items: {
|
|
1218
|
+
readonly properties: {
|
|
1219
|
+
readonly purl: {
|
|
1220
|
+
readonly type: "string";
|
|
1221
|
+
};
|
|
1222
|
+
readonly version: {
|
|
1223
|
+
readonly type: "string";
|
|
1224
|
+
};
|
|
1225
|
+
readonly release_date: {
|
|
1226
|
+
readonly type: "string";
|
|
1227
|
+
readonly default: "";
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly type: "object";
|
|
1231
|
+
readonly required: readonly ["purl", "version"];
|
|
1232
|
+
readonly title: "Release";
|
|
1233
|
+
readonly description: "One normalized release record keyed by package PURL + version.";
|
|
1234
|
+
};
|
|
1235
|
+
readonly type: "array";
|
|
1071
1236
|
}, {
|
|
1072
1237
|
readonly type: "null";
|
|
1073
1238
|
}];
|
|
1074
|
-
readonly title: "
|
|
1239
|
+
readonly title: "Releases";
|
|
1075
1240
|
};
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
};
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
readonly items: {
|
|
1241
|
+
readonly parent_project: {
|
|
1242
|
+
readonly anyOf: readonly [{
|
|
1243
|
+
readonly $ref: "#/components/schemas/ProjectSummary";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly type: "null";
|
|
1246
|
+
}];
|
|
1247
|
+
};
|
|
1248
|
+
readonly contributors: {
|
|
1085
1249
|
readonly items: {
|
|
1086
1250
|
readonly $ref: "#/components/schemas/ContributorSummary";
|
|
1087
1251
|
};
|
|
1088
1252
|
readonly type: "array";
|
|
1089
|
-
readonly title: "
|
|
1253
|
+
readonly title: "Contributors";
|
|
1090
1254
|
};
|
|
1091
|
-
readonly
|
|
1092
|
-
readonly
|
|
1093
|
-
readonly title: "Total";
|
|
1255
|
+
readonly outgoing_dep_counts: {
|
|
1256
|
+
readonly $ref: "#/components/schemas/DepCounts";
|
|
1094
1257
|
};
|
|
1095
|
-
readonly
|
|
1258
|
+
readonly incoming_dep_counts: {
|
|
1259
|
+
readonly $ref: "#/components/schemas/DepCounts";
|
|
1260
|
+
};
|
|
1261
|
+
readonly active_contributors_30d: {
|
|
1096
1262
|
readonly type: "integer";
|
|
1097
|
-
readonly title: "
|
|
1263
|
+
readonly title: "Active Contributors 30D";
|
|
1098
1264
|
};
|
|
1099
|
-
readonly
|
|
1265
|
+
readonly active_contributors_90d: {
|
|
1100
1266
|
readonly type: "integer";
|
|
1101
|
-
readonly title: "
|
|
1267
|
+
readonly title: "Active Contributors 90D";
|
|
1102
1268
|
};
|
|
1103
1269
|
};
|
|
1104
1270
|
readonly type: "object";
|
|
1105
|
-
readonly required: readonly ["
|
|
1106
|
-
readonly title: "
|
|
1271
|
+
readonly required: readonly ["canonical_id", "display_name", "visibility", "latest_version", "latest_commit_date", "repo_url", "project_id", "pony_factor", "criticality_score", "adoption_downloads", "adoption_stars", "adoption_forks", "updated_at", "releases", "parent_project", "contributors", "outgoing_dep_counts", "incoming_dep_counts", "active_contributors_30d", "active_contributors_90d"];
|
|
1272
|
+
readonly title: "RepoDetailResponse";
|
|
1273
|
+
readonly description: "Full repo detail with parent project, contributors, releases, dependency counts,\nand active contributor stats.";
|
|
1107
1274
|
};
|
|
1108
|
-
export declare const
|
|
1275
|
+
export declare const RepoSummarySchema: {
|
|
1109
1276
|
readonly properties: {
|
|
1110
|
-
readonly
|
|
1111
|
-
readonly type: "
|
|
1112
|
-
readonly title: "
|
|
1113
|
-
};
|
|
1114
|
-
readonly active_projects: {
|
|
1115
|
-
readonly type: "integer";
|
|
1116
|
-
readonly title: "Active Projects";
|
|
1117
|
-
};
|
|
1118
|
-
readonly total_repos: {
|
|
1119
|
-
readonly type: "integer";
|
|
1120
|
-
readonly title: "Total Repos";
|
|
1121
|
-
};
|
|
1122
|
-
readonly active_repos_90d: {
|
|
1123
|
-
readonly type: "integer";
|
|
1124
|
-
readonly title: "Active Repos 90D";
|
|
1125
|
-
};
|
|
1126
|
-
readonly total_external_repos: {
|
|
1127
|
-
readonly type: "integer";
|
|
1128
|
-
readonly title: "Total External Repos";
|
|
1129
|
-
};
|
|
1130
|
-
readonly total_dependency_edges: {
|
|
1131
|
-
readonly type: "integer";
|
|
1132
|
-
readonly title: "Total Dependency Edges";
|
|
1277
|
+
readonly canonical_id: {
|
|
1278
|
+
readonly type: "string";
|
|
1279
|
+
readonly title: "Canonical Id";
|
|
1133
1280
|
};
|
|
1134
|
-
readonly
|
|
1135
|
-
readonly type: "
|
|
1136
|
-
readonly title: "
|
|
1281
|
+
readonly display_name: {
|
|
1282
|
+
readonly type: "string";
|
|
1283
|
+
readonly title: "Display Name";
|
|
1137
1284
|
};
|
|
1138
|
-
readonly
|
|
1139
|
-
readonly
|
|
1140
|
-
readonly title: "Active Contributors 30D";
|
|
1285
|
+
readonly visibility: {
|
|
1286
|
+
readonly $ref: "#/components/schemas/Visibility";
|
|
1141
1287
|
};
|
|
1142
|
-
readonly
|
|
1143
|
-
readonly type: "
|
|
1144
|
-
readonly title: "
|
|
1288
|
+
readonly latest_version: {
|
|
1289
|
+
readonly type: "string";
|
|
1290
|
+
readonly title: "Latest Version";
|
|
1145
1291
|
};
|
|
1146
|
-
readonly
|
|
1292
|
+
readonly latest_commit_date: {
|
|
1147
1293
|
readonly anyOf: readonly [{
|
|
1148
1294
|
readonly type: "string";
|
|
1149
1295
|
readonly format: "date-time";
|
|
1150
1296
|
}, {
|
|
1151
1297
|
readonly type: "null";
|
|
1152
1298
|
}];
|
|
1153
|
-
readonly title: "
|
|
1154
|
-
};
|
|
1155
|
-
};
|
|
1156
|
-
readonly type: "object";
|
|
1157
|
-
readonly required: readonly ["total_projects", "active_projects", "total_repos", "active_repos_90d", "total_external_repos", "total_dependency_edges", "total_contributor_edges", "active_contributors_30d", "active_contributors_90d", "last_updated"];
|
|
1158
|
-
readonly title: "MetadataResponse";
|
|
1159
|
-
readonly description: "Ecosystem-wide summary statistics returned by ``GET /metadata``.";
|
|
1160
|
-
};
|
|
1161
|
-
export declare const HealthResponseSchema: {
|
|
1162
|
-
readonly properties: {
|
|
1163
|
-
readonly status: {
|
|
1164
|
-
readonly type: "string";
|
|
1165
|
-
readonly enum: readonly ["live", "ready"];
|
|
1166
|
-
readonly title: "Status";
|
|
1299
|
+
readonly title: "Latest Commit Date";
|
|
1167
1300
|
};
|
|
1168
|
-
readonly
|
|
1169
|
-
readonly
|
|
1170
|
-
|
|
1301
|
+
readonly repo_url: {
|
|
1302
|
+
readonly anyOf: readonly [{
|
|
1303
|
+
readonly type: "string";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly type: "null";
|
|
1306
|
+
}];
|
|
1307
|
+
readonly title: "Repo Url";
|
|
1171
1308
|
};
|
|
1172
|
-
readonly
|
|
1173
|
-
readonly
|
|
1309
|
+
readonly project_id: {
|
|
1310
|
+
readonly anyOf: readonly [{
|
|
1311
|
+
readonly type: "integer";
|
|
1312
|
+
}, {
|
|
1313
|
+
readonly type: "null";
|
|
1314
|
+
}];
|
|
1315
|
+
readonly title: "Project Id";
|
|
1174
1316
|
};
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
};
|
|
1181
|
-
|
|
1182
|
-
readonly properties: {
|
|
1183
|
-
readonly artifact_store: {
|
|
1184
|
-
readonly type: "string";
|
|
1185
|
-
readonly enum: readonly ["local", "IPFS"];
|
|
1186
|
-
readonly title: "Artifact Store";
|
|
1317
|
+
readonly pony_factor: {
|
|
1318
|
+
readonly anyOf: readonly [{
|
|
1319
|
+
readonly type: "integer";
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly type: "null";
|
|
1322
|
+
}];
|
|
1323
|
+
readonly title: "Pony Factor";
|
|
1187
1324
|
};
|
|
1188
|
-
readonly
|
|
1189
|
-
readonly
|
|
1190
|
-
|
|
1191
|
-
|
|
1325
|
+
readonly criticality_score: {
|
|
1326
|
+
readonly anyOf: readonly [{
|
|
1327
|
+
readonly type: "integer";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly type: "null";
|
|
1330
|
+
}];
|
|
1331
|
+
readonly title: "Criticality Score";
|
|
1192
1332
|
};
|
|
1193
|
-
readonly
|
|
1333
|
+
readonly adoption_downloads: {
|
|
1194
1334
|
readonly anyOf: readonly [{
|
|
1195
|
-
readonly type: "
|
|
1335
|
+
readonly type: "integer";
|
|
1196
1336
|
}, {
|
|
1197
1337
|
readonly type: "null";
|
|
1198
1338
|
}];
|
|
1199
|
-
readonly title: "
|
|
1339
|
+
readonly title: "Adoption Downloads";
|
|
1340
|
+
};
|
|
1341
|
+
readonly adoption_stars: {
|
|
1342
|
+
readonly anyOf: readonly [{
|
|
1343
|
+
readonly type: "integer";
|
|
1344
|
+
}, {
|
|
1345
|
+
readonly type: "null";
|
|
1346
|
+
}];
|
|
1347
|
+
readonly title: "Adoption Stars";
|
|
1348
|
+
};
|
|
1349
|
+
readonly adoption_forks: {
|
|
1350
|
+
readonly anyOf: readonly [{
|
|
1351
|
+
readonly type: "integer";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly type: "null";
|
|
1354
|
+
}];
|
|
1355
|
+
readonly title: "Adoption Forks";
|
|
1356
|
+
};
|
|
1357
|
+
readonly updated_at: {
|
|
1358
|
+
readonly type: "string";
|
|
1359
|
+
readonly format: "date-time";
|
|
1360
|
+
readonly title: "Updated At";
|
|
1200
1361
|
};
|
|
1201
1362
|
};
|
|
1202
1363
|
readonly type: "object";
|
|
1203
|
-
readonly required: readonly ["
|
|
1204
|
-
readonly title: "
|
|
1205
|
-
readonly description: "
|
|
1364
|
+
readonly required: readonly ["canonical_id", "display_name", "visibility", "latest_version", "latest_commit_date", "repo_url", "project_id", "pony_factor", "criticality_score", "adoption_downloads", "adoption_stars", "adoption_forks", "updated_at"];
|
|
1365
|
+
readonly title: "RepoSummary";
|
|
1366
|
+
readonly description: "Compact repo representation used in list endpoints and as an embedded\nreference in project detail responses.";
|
|
1206
1367
|
};
|
|
1207
|
-
export declare const
|
|
1368
|
+
export declare const RepoVertexTypeSchema: {
|
|
1369
|
+
readonly type: "string";
|
|
1370
|
+
readonly enum: readonly ["repo", "external-repo", "redirect"];
|
|
1371
|
+
readonly title: "RepoVertexType";
|
|
1372
|
+
readonly description: "Discriminator values for the RepoVertex joined-table-inheritance hierarchy.";
|
|
1373
|
+
};
|
|
1374
|
+
export declare const SbomAcceptedResponseSchema: {
|
|
1208
1375
|
readonly properties: {
|
|
1209
|
-
readonly
|
|
1210
|
-
readonly
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
readonly
|
|
1376
|
+
readonly message: {
|
|
1377
|
+
readonly type: "string";
|
|
1378
|
+
readonly title: "Message";
|
|
1379
|
+
};
|
|
1380
|
+
readonly repository: {
|
|
1381
|
+
readonly type: "string";
|
|
1382
|
+
readonly title: "Repository";
|
|
1383
|
+
};
|
|
1384
|
+
readonly package_count: {
|
|
1385
|
+
readonly type: "integer";
|
|
1386
|
+
readonly title: "Package Count";
|
|
1215
1387
|
};
|
|
1216
1388
|
};
|
|
1217
1389
|
readonly type: "object";
|
|
1218
|
-
readonly
|
|
1390
|
+
readonly required: readonly ["message", "repository", "package_count"];
|
|
1391
|
+
readonly title: "SbomAcceptedResponse";
|
|
1392
|
+
readonly description: "Response body returned on successful SBOM submission (202 Accepted).";
|
|
1219
1393
|
};
|
|
1220
|
-
export declare const
|
|
1394
|
+
export declare const SbomSubmissionDetailResponseSchema: {
|
|
1221
1395
|
readonly properties: {
|
|
1222
1396
|
readonly id: {
|
|
1223
1397
|
readonly type: "integer";
|
|
1224
1398
|
readonly title: "Id";
|
|
1225
1399
|
};
|
|
1226
|
-
readonly
|
|
1227
|
-
readonly type: "
|
|
1228
|
-
readonly title: "
|
|
1400
|
+
readonly repository_claim: {
|
|
1401
|
+
readonly type: "string";
|
|
1402
|
+
readonly title: "Repository Claim";
|
|
1229
1403
|
};
|
|
1230
|
-
readonly
|
|
1404
|
+
readonly actor_claim: {
|
|
1231
1405
|
readonly type: "string";
|
|
1232
|
-
readonly title: "
|
|
1406
|
+
readonly title: "Actor Claim";
|
|
1233
1407
|
};
|
|
1234
|
-
readonly
|
|
1408
|
+
readonly sbom_content_hash: {
|
|
1235
1409
|
readonly type: "string";
|
|
1236
|
-
readonly title: "
|
|
1410
|
+
readonly title: "Sbom Content Hash";
|
|
1237
1411
|
};
|
|
1238
1412
|
readonly artifact_path: {
|
|
1239
|
-
readonly
|
|
1240
|
-
readonly type: "string";
|
|
1241
|
-
}, {
|
|
1242
|
-
readonly type: "null";
|
|
1243
|
-
}];
|
|
1413
|
+
readonly type: "string";
|
|
1244
1414
|
readonly title: "Artifact Path";
|
|
1245
1415
|
};
|
|
1246
1416
|
readonly status: {
|
|
@@ -1254,10 +1424,6 @@ export declare const GitLogArtifactDetailResponseSchema: {
|
|
|
1254
1424
|
}];
|
|
1255
1425
|
readonly title: "Error Detail";
|
|
1256
1426
|
};
|
|
1257
|
-
readonly since_months: {
|
|
1258
|
-
readonly type: "integer";
|
|
1259
|
-
readonly title: "Since Months";
|
|
1260
|
-
};
|
|
1261
1427
|
readonly submitted_at: {
|
|
1262
1428
|
readonly type: "string";
|
|
1263
1429
|
readonly format: "date-time";
|
|
@@ -1282,98 +1448,148 @@ export declare const GitLogArtifactDetailResponseSchema: {
|
|
|
1282
1448
|
};
|
|
1283
1449
|
};
|
|
1284
1450
|
readonly type: "object";
|
|
1285
|
-
readonly required: readonly ["id", "
|
|
1286
|
-
readonly title: "
|
|
1287
|
-
readonly description: "
|
|
1451
|
+
readonly required: readonly ["id", "repository_claim", "actor_claim", "sbom_content_hash", "artifact_path", "status", "error_detail", "submitted_at", "processed_at"];
|
|
1452
|
+
readonly title: "SbomSubmissionDetailResponse";
|
|
1453
|
+
readonly description: "Extended SBOM submission record with the raw artifact content.\n\nReturned by the detail endpoint. ``raw_artifact`` contains the full JSON\ntext of the stored SBOM, or ``None`` if the artifact file is missing from\nthe store.";
|
|
1288
1454
|
};
|
|
1289
|
-
export declare const
|
|
1455
|
+
export declare const SbomSubmissionListResponseSchema: {
|
|
1456
|
+
readonly properties: {
|
|
1457
|
+
readonly items: {
|
|
1458
|
+
readonly items: {
|
|
1459
|
+
readonly $ref: "#/components/schemas/SbomSubmissionResponse";
|
|
1460
|
+
};
|
|
1461
|
+
readonly type: "array";
|
|
1462
|
+
readonly title: "Items";
|
|
1463
|
+
};
|
|
1464
|
+
readonly total: {
|
|
1465
|
+
readonly type: "integer";
|
|
1466
|
+
readonly title: "Total";
|
|
1467
|
+
};
|
|
1468
|
+
readonly limit: {
|
|
1469
|
+
readonly type: "integer";
|
|
1470
|
+
readonly title: "Limit";
|
|
1471
|
+
};
|
|
1472
|
+
readonly offset: {
|
|
1473
|
+
readonly type: "integer";
|
|
1474
|
+
readonly title: "Offset";
|
|
1475
|
+
};
|
|
1476
|
+
};
|
|
1477
|
+
readonly type: "object";
|
|
1478
|
+
readonly required: readonly ["items", "total", "limit", "offset"];
|
|
1479
|
+
readonly title: "SbomSubmissionListResponse";
|
|
1480
|
+
readonly description: "Paginated list of SBOM submission records.\n\nReturned by the list endpoint with ``total`` reflecting the count after\nany ``repository`` filter has been applied.";
|
|
1481
|
+
};
|
|
1482
|
+
export declare const SbomSubmissionResponseSchema: {
|
|
1290
1483
|
readonly properties: {
|
|
1291
1484
|
readonly id: {
|
|
1292
1485
|
readonly type: "integer";
|
|
1293
1486
|
readonly title: "Id";
|
|
1294
1487
|
};
|
|
1295
|
-
readonly
|
|
1488
|
+
readonly repository_claim: {
|
|
1296
1489
|
readonly type: "string";
|
|
1297
|
-
readonly title: "
|
|
1490
|
+
readonly title: "Repository Claim";
|
|
1298
1491
|
};
|
|
1299
|
-
readonly
|
|
1492
|
+
readonly actor_claim: {
|
|
1300
1493
|
readonly type: "string";
|
|
1301
|
-
readonly title: "
|
|
1494
|
+
readonly title: "Actor Claim";
|
|
1302
1495
|
};
|
|
1303
|
-
readonly
|
|
1304
|
-
readonly type: "
|
|
1305
|
-
readonly title: "
|
|
1496
|
+
readonly sbom_content_hash: {
|
|
1497
|
+
readonly type: "string";
|
|
1498
|
+
readonly title: "Sbom Content Hash";
|
|
1306
1499
|
};
|
|
1307
|
-
readonly
|
|
1308
|
-
readonly type: "
|
|
1309
|
-
readonly title: "
|
|
1500
|
+
readonly artifact_path: {
|
|
1501
|
+
readonly type: "string";
|
|
1502
|
+
readonly title: "Artifact Path";
|
|
1310
1503
|
};
|
|
1311
|
-
readonly
|
|
1504
|
+
readonly status: {
|
|
1505
|
+
readonly $ref: "#/components/schemas/SubmissionStatus";
|
|
1506
|
+
};
|
|
1507
|
+
readonly error_detail: {
|
|
1312
1508
|
readonly anyOf: readonly [{
|
|
1313
1509
|
readonly type: "string";
|
|
1314
|
-
readonly format: "date-time";
|
|
1315
1510
|
}, {
|
|
1316
1511
|
readonly type: "null";
|
|
1317
1512
|
}];
|
|
1318
|
-
readonly title: "
|
|
1513
|
+
readonly title: "Error Detail";
|
|
1319
1514
|
};
|
|
1320
|
-
readonly
|
|
1515
|
+
readonly submitted_at: {
|
|
1516
|
+
readonly type: "string";
|
|
1517
|
+
readonly format: "date-time";
|
|
1518
|
+
readonly title: "Submitted At";
|
|
1519
|
+
};
|
|
1520
|
+
readonly processed_at: {
|
|
1321
1521
|
readonly anyOf: readonly [{
|
|
1322
1522
|
readonly type: "string";
|
|
1323
1523
|
readonly format: "date-time";
|
|
1324
1524
|
}, {
|
|
1325
1525
|
readonly type: "null";
|
|
1326
1526
|
}];
|
|
1327
|
-
readonly title: "
|
|
1328
|
-
};
|
|
1329
|
-
readonly repos: {
|
|
1330
|
-
readonly items: {
|
|
1331
|
-
readonly $ref: "#/components/schemas/ContributionEntry";
|
|
1332
|
-
};
|
|
1333
|
-
readonly type: "array";
|
|
1334
|
-
readonly title: "Repos";
|
|
1527
|
+
readonly title: "Processed At";
|
|
1335
1528
|
};
|
|
1336
1529
|
};
|
|
1337
1530
|
readonly type: "object";
|
|
1338
|
-
readonly required: readonly ["id", "
|
|
1339
|
-
readonly title: "
|
|
1340
|
-
readonly description: "Full
|
|
1531
|
+
readonly required: readonly ["id", "repository_claim", "actor_claim", "sbom_content_hash", "artifact_path", "status", "error_detail", "submitted_at", "processed_at"];
|
|
1532
|
+
readonly title: "SbomSubmissionResponse";
|
|
1533
|
+
readonly description: "Full SBOM submission record.\n\nSerialised from the ``SbomSubmission`` ORM model. The ``sbom_content_hash``\nfield is the SHA-256 hex digest of the raw submitted payload.";
|
|
1341
1534
|
};
|
|
1342
|
-
export declare const
|
|
1535
|
+
export declare const ScfSubmissionSchema: {
|
|
1343
1536
|
readonly properties: {
|
|
1344
|
-
readonly
|
|
1537
|
+
readonly round: {
|
|
1345
1538
|
readonly type: "string";
|
|
1346
|
-
readonly title: "
|
|
1539
|
+
readonly title: "Round";
|
|
1347
1540
|
};
|
|
1348
|
-
readonly
|
|
1541
|
+
readonly title: {
|
|
1349
1542
|
readonly type: "string";
|
|
1350
|
-
readonly title: "
|
|
1351
|
-
};
|
|
1352
|
-
readonly project_canonical_id: {
|
|
1353
|
-
readonly anyOf: readonly [{
|
|
1354
|
-
readonly type: "string";
|
|
1355
|
-
}, {
|
|
1356
|
-
readonly type: "null";
|
|
1357
|
-
}];
|
|
1358
|
-
readonly title: "Project Canonical Id";
|
|
1543
|
+
readonly title: "Title";
|
|
1359
1544
|
};
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1545
|
+
};
|
|
1546
|
+
readonly type: "object";
|
|
1547
|
+
readonly required: readonly ["round", "title"];
|
|
1548
|
+
readonly title: "ScfSubmission";
|
|
1549
|
+
readonly description: "A single SCF funding round submission.";
|
|
1550
|
+
};
|
|
1551
|
+
export declare const SubmissionStatusSchema: {
|
|
1552
|
+
readonly type: "string";
|
|
1553
|
+
readonly enum: readonly ["pending", "processed", "failed"];
|
|
1554
|
+
readonly title: "SubmissionStatus";
|
|
1555
|
+
readonly description: "Processing state of an artifact-linked audit record.";
|
|
1556
|
+
};
|
|
1557
|
+
export declare const ValidationErrorSchema: {
|
|
1558
|
+
readonly properties: {
|
|
1559
|
+
readonly loc: {
|
|
1560
|
+
readonly items: {
|
|
1561
|
+
readonly anyOf: readonly [{
|
|
1562
|
+
readonly type: "string";
|
|
1563
|
+
}, {
|
|
1564
|
+
readonly type: "integer";
|
|
1565
|
+
}];
|
|
1566
|
+
};
|
|
1567
|
+
readonly type: "array";
|
|
1568
|
+
readonly title: "Location";
|
|
1363
1569
|
};
|
|
1364
|
-
readonly
|
|
1570
|
+
readonly msg: {
|
|
1365
1571
|
readonly type: "string";
|
|
1366
|
-
readonly
|
|
1367
|
-
readonly title: "First Commit Date";
|
|
1572
|
+
readonly title: "Message";
|
|
1368
1573
|
};
|
|
1369
|
-
readonly
|
|
1574
|
+
readonly type: {
|
|
1370
1575
|
readonly type: "string";
|
|
1371
|
-
readonly
|
|
1372
|
-
|
|
1576
|
+
readonly title: "Error Type";
|
|
1577
|
+
};
|
|
1578
|
+
readonly input: {
|
|
1579
|
+
readonly title: "Input";
|
|
1580
|
+
};
|
|
1581
|
+
readonly ctx: {
|
|
1582
|
+
readonly type: "object";
|
|
1583
|
+
readonly title: "Context";
|
|
1373
1584
|
};
|
|
1374
1585
|
};
|
|
1375
1586
|
readonly type: "object";
|
|
1376
|
-
readonly required: readonly ["
|
|
1377
|
-
readonly title: "
|
|
1378
|
-
|
|
1587
|
+
readonly required: readonly ["loc", "msg", "type"];
|
|
1588
|
+
readonly title: "ValidationError";
|
|
1589
|
+
};
|
|
1590
|
+
export declare const VisibilitySchema: {
|
|
1591
|
+
readonly type: "string";
|
|
1592
|
+
readonly enum: readonly ["public", "private"];
|
|
1593
|
+
readonly title: "Visibility";
|
|
1594
|
+
readonly description: "Whether a Repo is publicly accessible (affects data collection scope).";
|
|
1379
1595
|
};
|