@pipeline-builder/pipeline-data 4.4.4 → 5.0.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/CHANGELOG.md +14 -0
- package/lib/api/crud-service.d.ts +48 -3
- package/lib/api/crud-service.js +117 -43
- package/lib/api/ecosystem-privacy.d.ts +2 -4
- package/lib/api/ecosystem-privacy.js +8 -10
- package/lib/api/org-data-ownership.d.ts +41 -0
- package/lib/api/org-data-ownership.js +127 -0
- package/lib/api/org-data-purge.d.ts +34 -0
- package/lib/api/org-data-purge.js +74 -0
- package/lib/api/plugin-advisories.js +4 -4
- package/lib/api/plugin-resolution.js +6 -6
- package/lib/api/public-directory.js +3 -3
- package/lib/api/reporting/analytics-queries.d.ts +5 -0
- package/lib/api/reporting/analytics-queries.js +7 -1
- package/lib/api/reporting/daily-rollup.js +33 -15
- package/lib/api/reporting/deploy-rollup.js +7 -1
- package/lib/api/reporting/dora.js +5 -2
- package/lib/api/reporting/sql-helpers.d.ts +48 -0
- package/lib/api/reporting/sql-helpers.js +60 -1
- package/lib/api/reporting/types.d.ts +4 -0
- package/lib/api/reporting/types.js +1 -1
- package/lib/api/reporting-service.d.ts +8 -5
- package/lib/api/reporting-service.js +48 -17
- package/lib/api/semver-range.d.ts +1 -58
- package/lib/api/semver-range.js +10 -171
- package/lib/api/soft-delete-sweep.d.ts +1 -1
- package/lib/api/soft-delete-sweep.js +1 -1
- package/lib/core/query-filters.d.ts +2 -134
- package/lib/core/query-filters.js +1 -1
- package/lib/database/drizzle-schema.d.ts +202 -0
- package/lib/database/drizzle-schema.js +3 -2
- package/lib/database/index.d.ts +2 -1
- package/lib/database/index.js +2 -2
- package/lib/database/postgres-connection.js +13 -1
- package/lib/database/read-lag.js +8 -31
- package/lib/database/schema/alert.d.ts +203 -0
- package/lib/database/schema/alert.js +39 -4
- package/lib/database/schema/dashboard.d.ts +1 -1
- package/lib/database/schema/dashboard.js +4 -4
- package/lib/database/schema/message.d.ts +17 -0
- package/lib/database/schema/message.js +6 -1
- package/lib/database/schema/pipeline.js +5 -5
- package/lib/database/schema/plugin.d.ts +2 -43
- package/lib/database/schema/plugin.js +3 -1
- package/lib/index.d.ts +4 -2
- package/lib/index.js +4 -2
- package/package.json +13 -4
- package/lib/testing/exports.json +0 -311
package/lib/testing/exports.json
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"package": "@pipeline-builder/pipeline-data",
|
|
3
|
-
"entries": {
|
|
4
|
-
".": {
|
|
5
|
-
"acceptanceKey": "function",
|
|
6
|
-
"AccessControlQueryBuilder": "class",
|
|
7
|
-
"activeAcceptances": "function",
|
|
8
|
-
"addCaseNote": "function",
|
|
9
|
-
"advisoriesCovering": "function",
|
|
10
|
-
"advisoryRangeCovers": "function",
|
|
11
|
-
"advisoryRangeProblem": "function",
|
|
12
|
-
"allSections": "function",
|
|
13
|
-
"anonymizeReviewsByAuthor": "function",
|
|
14
|
-
"anyText": "function",
|
|
15
|
-
"applyPolicyUpdate": "function",
|
|
16
|
-
"assignCase": "function",
|
|
17
|
-
"assignCases": "function",
|
|
18
|
-
"blockingAdvisories": "function",
|
|
19
|
-
"bootstrapToolchainOf": "function",
|
|
20
|
-
"buildComplianceAuditConditions": "function",
|
|
21
|
-
"buildComplianceExemptionConditions": "function",
|
|
22
|
-
"buildCompliancePolicyConditions": "function",
|
|
23
|
-
"buildComplianceRuleConditions": "function",
|
|
24
|
-
"buildComplianceScanConditions": "function",
|
|
25
|
-
"buildMessageConditions": "function",
|
|
26
|
-
"buildPipelineConditions": "function",
|
|
27
|
-
"buildPipelineTemplateConditions": "function",
|
|
28
|
-
"buildPluginConditions": "function",
|
|
29
|
-
"buildPublishedRuleCatalogConditions": "function",
|
|
30
|
-
"canaryPerOrgCap": "function",
|
|
31
|
-
"chooseReadTarget": "function",
|
|
32
|
-
"classifyFailure": "function",
|
|
33
|
-
"closeCases": "function",
|
|
34
|
-
"closeConnection": "function",
|
|
35
|
-
"closeFixedExposures": "function",
|
|
36
|
-
"closePipelineExposures": "function",
|
|
37
|
-
"closePublicReader": "function",
|
|
38
|
-
"closeReadConnection": "function",
|
|
39
|
-
"closeVersionExposures": "function",
|
|
40
|
-
"COMMUNITY_PUBLISHER_HANDLE": "value",
|
|
41
|
-
"compareSemver": "function",
|
|
42
|
-
"compareSemverParts": "function",
|
|
43
|
-
"completePeriodsSince": "function",
|
|
44
|
-
"complianceAuditLog": "value",
|
|
45
|
-
"complianceExemption": "value",
|
|
46
|
-
"complianceNotificationLog": "value",
|
|
47
|
-
"complianceNotificationPreference": "value",
|
|
48
|
-
"compliancePolicy": "value",
|
|
49
|
-
"complianceRule": "value",
|
|
50
|
-
"complianceRuleHistory": "value",
|
|
51
|
-
"complianceRuleSubscription": "value",
|
|
52
|
-
"complianceScan": "value",
|
|
53
|
-
"complianceScanSchedule": "value",
|
|
54
|
-
"composeSnapshot": "function",
|
|
55
|
-
"Connection": "class",
|
|
56
|
-
"ConnectionRetryStrategy": "class",
|
|
57
|
-
"countActiveSupportContacts": "function",
|
|
58
|
-
"countCasesInWindow": "function",
|
|
59
|
-
"countPremiumSupportContacts": "function",
|
|
60
|
-
"createCannedResponse": "function",
|
|
61
|
-
"createSoftDeletePurgeScheduler": "function",
|
|
62
|
-
"CrudService": "class",
|
|
63
|
-
"currentViewerUserId": "function",
|
|
64
|
-
"dashboard": "value",
|
|
65
|
-
"dashboardPanel": "value",
|
|
66
|
-
"db": "value",
|
|
67
|
-
"declaredPipelinesForPlugin": "function",
|
|
68
|
-
"declaredResolution": "function",
|
|
69
|
-
"DEFAULT_CANARY_GATE": "value",
|
|
70
|
-
"DEFAULT_CONSUMPTION_POLICY": "value",
|
|
71
|
-
"DEFAULT_SHARE_LINK_TTL_DAYS": "value",
|
|
72
|
-
"DEFAULT_THRESHOLDS": "value",
|
|
73
|
-
"deleteCannedResponse": "function",
|
|
74
|
-
"deleteCaseNote": "function",
|
|
75
|
-
"deployedToolchainOf": "function",
|
|
76
|
-
"deploymentOutcome": "value",
|
|
77
|
-
"designateSupportContact": "function",
|
|
78
|
-
"DIRECTORY_SORTS": "value",
|
|
79
|
-
"distinctPipelines": "function",
|
|
80
|
-
"doraSettings": "value",
|
|
81
|
-
"drizzleCount": "function",
|
|
82
|
-
"drizzleListingSource": "function",
|
|
83
|
-
"drizzleRows": "function",
|
|
84
|
-
"ecosystemAutoApprovalRule": "value",
|
|
85
|
-
"ecosystemNotificationQueue": "value",
|
|
86
|
-
"ecosystemReservedName": "value",
|
|
87
|
-
"ecosystemSearchMiss": "value",
|
|
88
|
-
"ecosystemSetting": "value",
|
|
89
|
-
"effectiveConsumptionPolicy": "function",
|
|
90
|
-
"evaluateCanaryGate": "function",
|
|
91
|
-
"evaluateNeedsAttention": "function",
|
|
92
|
-
"executeRows": "function",
|
|
93
|
-
"exposureById": "function",
|
|
94
|
-
"exposureFromScan": "function",
|
|
95
|
-
"FAILURE_CATEGORY_LABELS": "value",
|
|
96
|
-
"findCaseByThread": "function",
|
|
97
|
-
"findVersionReferences": "function",
|
|
98
|
-
"getAdoption": "function",
|
|
99
|
-
"getConnection": "function",
|
|
100
|
-
"getFailureAnalysis": "function",
|
|
101
|
-
"getOutdatedPlugins": "function",
|
|
102
|
-
"getPipelineBreakdown": "function",
|
|
103
|
-
"getPluginVulnerabilities": "function",
|
|
104
|
-
"getPromotionView": "function",
|
|
105
|
-
"getPublicListedVersion": "function",
|
|
106
|
-
"getPublicListing": "function",
|
|
107
|
-
"getPublicReaderDb": "function",
|
|
108
|
-
"getReadDb": "function",
|
|
109
|
-
"getReadPool": "function",
|
|
110
|
-
"getReportSection": "function",
|
|
111
|
-
"getReportTemplate": "function",
|
|
112
|
-
"getResourceConsumption": "function",
|
|
113
|
-
"getSslConfig": "function",
|
|
114
|
-
"getStagePerformance": "function",
|
|
115
|
-
"getTenantContext": "function",
|
|
116
|
-
"hashReportToken": "function",
|
|
117
|
-
"implicitInstallRange": "function",
|
|
118
|
-
"incident": "value",
|
|
119
|
-
"ingestHealth": "value",
|
|
120
|
-
"INSTALL_VERSION_POLICIES": "value",
|
|
121
|
-
"installAdmits": "function",
|
|
122
|
-
"installModeFor": "function",
|
|
123
|
-
"isDeployEvent": "function",
|
|
124
|
-
"isEligibleRelease": "function",
|
|
125
|
-
"isEligibleReleaseWith": "function",
|
|
126
|
-
"isPremiumSupportContact": "function",
|
|
127
|
-
"isPublicReaderConfigured": "function",
|
|
128
|
-
"isSupportContact": "function",
|
|
129
|
-
"isTeamActionable": "function",
|
|
130
|
-
"isToolchainReleaseVersion": "function",
|
|
131
|
-
"isUniqueViolation": "function",
|
|
132
|
-
"isVersionRange": "function",
|
|
133
|
-
"lagVerdict": "function",
|
|
134
|
-
"lapsedAcceptances": "function",
|
|
135
|
-
"leadTimeGapOf": "function",
|
|
136
|
-
"listActiveSupportContacts": "function",
|
|
137
|
-
"listCannedResponses": "function",
|
|
138
|
-
"listCaseNotes": "function",
|
|
139
|
-
"listCasesDueForPage": "function",
|
|
140
|
-
"listedPluginRecord": "function",
|
|
141
|
-
"listedVersionWarnings": "function",
|
|
142
|
-
"listEligibleReleases": "function",
|
|
143
|
-
"listEligibleReleasesWith": "function",
|
|
144
|
-
"listEnabledAlertDestinations": "function",
|
|
145
|
-
"listingBlock": "function",
|
|
146
|
-
"listOrgCases": "function",
|
|
147
|
-
"listPublicCategories": "function",
|
|
148
|
-
"listPublicListingsForSitemap": "function",
|
|
149
|
-
"listPublicReviews": "function",
|
|
150
|
-
"listQueue": "function",
|
|
151
|
-
"liveExposurePredicate": "function",
|
|
152
|
-
"loadOrgInstallContext": "function",
|
|
153
|
-
"loadReleaseHalves": "function",
|
|
154
|
-
"LOW_SAMPLE_THRESHOLD": "value",
|
|
155
|
-
"ManagedToolchainError": "class",
|
|
156
|
-
"managedToolchainRefusal": "function",
|
|
157
|
-
"MAX_REPORT_BOUNCES": "value",
|
|
158
|
-
"MAX_SHARE_LINK_TTL_DAYS": "value",
|
|
159
|
-
"maybeSampleLag": "function",
|
|
160
|
-
"message": "value",
|
|
161
|
-
"messageAttachment": "value",
|
|
162
|
-
"mintReportToken": "function",
|
|
163
|
-
"nextPeriodBoundary": "function",
|
|
164
|
-
"normalizeQuery": "function",
|
|
165
|
-
"OFFICIAL_PUBLISHER_HANDLE": "value",
|
|
166
|
-
"OPEN_PUBLISH_REQUEST_STATUSES": "value",
|
|
167
|
-
"openCasesForContact": "function",
|
|
168
|
-
"openExposures": "function",
|
|
169
|
-
"openSupportCase": "function",
|
|
170
|
-
"orgAlertDestination": "value",
|
|
171
|
-
"orgAlertRule": "value",
|
|
172
|
-
"orgImageDigestsInUse": "function",
|
|
173
|
-
"orgListingStates": "function",
|
|
174
|
-
"orgToolchainDefault": "value",
|
|
175
|
-
"orgToolchainDefaultHistory": "value",
|
|
176
|
-
"parseSemver": "function",
|
|
177
|
-
"pipeline": "value",
|
|
178
|
-
"pipelineEvent": "value",
|
|
179
|
-
"pipelineExposures": "function",
|
|
180
|
-
"pipelineRegistry": "value",
|
|
181
|
-
"pipelinesOnVersion": "function",
|
|
182
|
-
"pipelineStepLookups": "function",
|
|
183
|
-
"pipelineStepManifest": "value",
|
|
184
|
-
"pipelineTemplate": "value",
|
|
185
|
-
"plugin": "value",
|
|
186
|
-
"pluginAdvisory": "value",
|
|
187
|
-
"pluginAdvisoryDelivery": "value",
|
|
188
|
-
"pluginInstall": "value",
|
|
189
|
-
"pluginInstallPolicy": "value",
|
|
190
|
-
"pluginKeptSetupImage": "value",
|
|
191
|
-
"pluginListing": "value",
|
|
192
|
-
"pluginListingVersion": "value",
|
|
193
|
-
"pluginPublishRequest": "value",
|
|
194
|
-
"pluginResolutionOrderBy": "function",
|
|
195
|
-
"pluginReview": "value",
|
|
196
|
-
"pluginReviewHistory": "value",
|
|
197
|
-
"pluginReviewReply": "value",
|
|
198
|
-
"pluginReviewReport": "value",
|
|
199
|
-
"pluginReviewVote": "value",
|
|
200
|
-
"pluginSecurityNotificationPref": "value",
|
|
201
|
-
"pluginStats": "value",
|
|
202
|
-
"pluginSubmission": "value",
|
|
203
|
-
"policyOf": "function",
|
|
204
|
-
"PUBLIC_READER_ROLE": "value",
|
|
205
|
-
"publicAdvisories": "value",
|
|
206
|
-
"publicListedVersions": "value",
|
|
207
|
-
"publicListings": "value",
|
|
208
|
-
"publicReviews": "value",
|
|
209
|
-
"publisher": "value",
|
|
210
|
-
"PUBLISHER_TIERS": "value",
|
|
211
|
-
"QUEUE_STATUSES": "value",
|
|
212
|
-
"rateCase": "function",
|
|
213
|
-
"readAffectedPipelines": "function",
|
|
214
|
-
"readCanaryGate": "function",
|
|
215
|
-
"readOrgToolchainOverview": "function",
|
|
216
|
-
"readOrgToolchainOverviewWith": "function",
|
|
217
|
-
"readPlatformDefaultRelease": "function",
|
|
218
|
-
"rebuildDay": "function",
|
|
219
|
-
"RECIPIENT_VERIFICATION_TTL_MS": "value",
|
|
220
|
-
"reconcilePipelineExposures": "function",
|
|
221
|
-
"recordStepLookup": "function",
|
|
222
|
-
"refreshLatestForPlugin": "function",
|
|
223
|
-
"registerReportSection": "function",
|
|
224
|
-
"rejectUnreportablePeriod": "function",
|
|
225
|
-
"releaseExists": "function",
|
|
226
|
-
"releaseLifecycleProblems": "function",
|
|
227
|
-
"renderReportHtml": "function",
|
|
228
|
-
"reopenLapsedAcceptances": "function",
|
|
229
|
-
"replacePipelineResolution": "function",
|
|
230
|
-
"REPORT_CADENCES": "value",
|
|
231
|
-
"REPORT_FEATURE_SUBSTITUTES": "value",
|
|
232
|
-
"REPORT_PAUSE_REASONS": "value",
|
|
233
|
-
"REPORT_RUN_STATUSES": "value",
|
|
234
|
-
"REPORT_SCOPE_KINDS": "value",
|
|
235
|
-
"REPORT_TEMPLATE_SPECS": "value",
|
|
236
|
-
"REPORT_TEMPLATES": "value",
|
|
237
|
-
"reportDefinition": "value",
|
|
238
|
-
"reportFileName": "function",
|
|
239
|
-
"reportingService": "value",
|
|
240
|
-
"ReportingService": "class",
|
|
241
|
-
"reportRecipient": "value",
|
|
242
|
-
"reportRun": "value",
|
|
243
|
-
"reportShareLink": "value",
|
|
244
|
-
"resetLagStateForTests": "function",
|
|
245
|
-
"resetReadConnectionForTests": "function",
|
|
246
|
-
"resolvableListings": "function",
|
|
247
|
-
"resolveListingReference": "function",
|
|
248
|
-
"resolveManagedToolchain": "function",
|
|
249
|
-
"resolveManagedToolchainHalf": "function",
|
|
250
|
-
"resolveManagedToolchainWith": "function",
|
|
251
|
-
"resolvePeriod": "function",
|
|
252
|
-
"resolvePeriodByLabel": "function",
|
|
253
|
-
"resultRows": "function",
|
|
254
|
-
"REVIEW_REPORT_CATEGORIES": "value",
|
|
255
|
-
"REVIEW_SORTS": "value",
|
|
256
|
-
"revokeSupportContact": "function",
|
|
257
|
-
"rollupBatchDays": "function",
|
|
258
|
-
"rollupSettleHours": "function",
|
|
259
|
-
"runRollupPass": "function",
|
|
260
|
-
"runSoftDeletePurge": "function",
|
|
261
|
-
"runWithTenantContext": "function",
|
|
262
|
-
"satisfiesVersionSpec": "function",
|
|
263
|
-
"schema": "value",
|
|
264
|
-
"scopeOrgIds": "function",
|
|
265
|
-
"searchPublicListings": "function",
|
|
266
|
-
"sectionIds": "function",
|
|
267
|
-
"SELF_MUTATION_ACTION": "value",
|
|
268
|
-
"SELF_MUTATION_STAGE": "value",
|
|
269
|
-
"semverOrderBy": "function",
|
|
270
|
-
"setCaseSeverity": "function",
|
|
271
|
-
"setCaseStatus": "function",
|
|
272
|
-
"setLagSampleForTests": "function",
|
|
273
|
-
"setManagedToolchainDepsForTests": "function",
|
|
274
|
-
"setSupportContactPremium": "function",
|
|
275
|
-
"softDeleteRetentionMs": "function",
|
|
276
|
-
"stageAndStep": "function",
|
|
277
|
-
"stakeholderReportStore": "value",
|
|
278
|
-
"StakeholderReportStore": "class",
|
|
279
|
-
"stampFirstResponse": "function",
|
|
280
|
-
"stepLabelOf": "function",
|
|
281
|
-
"SUPPORT_CASE_PAGE_DEFAULT": "value",
|
|
282
|
-
"SUPPORT_CASE_PAGE_MAX": "value",
|
|
283
|
-
"syncVersionExposures": "function",
|
|
284
|
-
"SYNTH_STEP_KEY": "value",
|
|
285
|
-
"tenantContext": "value",
|
|
286
|
-
"testConnection": "function",
|
|
287
|
-
"thresholdsFrom": "function",
|
|
288
|
-
"toolchainActionOf": "function",
|
|
289
|
-
"toolchainCandidateProblems": "function",
|
|
290
|
-
"toolchainDefaultHistory": "value",
|
|
291
|
-
"toolchainOrgChain": "function",
|
|
292
|
-
"toolchainOutcomeOf": "function",
|
|
293
|
-
"toolchainPlatformDefault": "value",
|
|
294
|
-
"toolchainRelease": "value",
|
|
295
|
-
"toolchainRollout": "value",
|
|
296
|
-
"transferCaseToContact": "function",
|
|
297
|
-
"trendSentence": "function",
|
|
298
|
-
"triageExposure": "function",
|
|
299
|
-
"updateCannedResponse": "function",
|
|
300
|
-
"upsertDeployments": "function",
|
|
301
|
-
"upsertExposures": "function",
|
|
302
|
-
"versionGap": "function",
|
|
303
|
-
"versionReferencedPredicate": "function",
|
|
304
|
-
"viewerCacheSegment": "function",
|
|
305
|
-
"vulnUpgradeAvailableWarning": "function",
|
|
306
|
-
"withTenantTx": "function",
|
|
307
|
-
"withTenantTxRead": "function",
|
|
308
|
-
"withViewerContext": "function"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|