@rathnasgala2/schemas 2.19.0 → 2.20.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.
|
@@ -209,9 +209,9 @@
|
|
|
209
209
|
"version": "2.0.0",
|
|
210
210
|
"path": "openapi/openapi.yaml",
|
|
211
211
|
"materialized": true,
|
|
212
|
-
"sourceDigest": "sha256:
|
|
212
|
+
"sourceDigest": "sha256:d7c302879abe45afa69b5c7fd889aec759c8182ec887f354a8c864094b8c50d0",
|
|
213
213
|
"typescriptRootType": null
|
|
214
214
|
}
|
|
215
215
|
],
|
|
216
|
-
"digest": "sha256:
|
|
216
|
+
"digest": "sha256:868ae1b9d4c5773da3e629b712104822985a2636eed634e37067c68286cdca2e"
|
|
217
217
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "2.0.0",
|
|
3
3
|
"sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
|
|
4
|
-
"openApiDigest": "sha256:
|
|
4
|
+
"openApiDigest": "sha256:d7c302879abe45afa69b5c7fd889aec759c8182ec887f354a8c864094b8c50d0",
|
|
5
5
|
"operations": [
|
|
6
6
|
{
|
|
7
7
|
"operationId": "getInternalHealth",
|
|
@@ -1049,5 +1049,5 @@
|
|
|
1049
1049
|
"sourceFragment": "workloads"
|
|
1050
1050
|
}
|
|
1051
1051
|
],
|
|
1052
|
-
"digest": "sha256:
|
|
1052
|
+
"digest": "sha256:3ee96a2ed4fb6ac08153fc4d845956216910d2f2c641a4e2b32f8a97cead22d8"
|
|
1053
1053
|
}
|
package/openapi/openapi.yaml
CHANGED
|
@@ -10181,16 +10181,26 @@ components:
|
|
|
10181
10181
|
type: object
|
|
10182
10182
|
PostOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdConfirmRequest:
|
|
10183
10183
|
additionalProperties: false
|
|
10184
|
+
description: |
|
|
10185
|
+
Optional compatibility assertions for the persisted plan. When a
|
|
10186
|
+
member is omitted, the server uses the corresponding fact already
|
|
10187
|
+
stored on `changeId`; when supplied, it must exactly match that fact.
|
|
10188
|
+
An empty object therefore confirms the server-persisted plan without
|
|
10189
|
+
requiring a client to echo opaque digests it just received.
|
|
10184
10190
|
properties:
|
|
10185
10191
|
diffDigest:
|
|
10192
|
+
description: |
|
|
10193
|
+
Optional assertion of the persisted planned-diff digest. Omit to
|
|
10194
|
+
use the digest stored on `changeId`.
|
|
10186
10195
|
pattern: ^sha256:[0-9a-f]{64}$
|
|
10187
10196
|
type: string
|
|
10188
10197
|
expectedHead:
|
|
10198
|
+
description: |
|
|
10199
|
+
Optional assertion of the persisted expected Git head. Omit to
|
|
10200
|
+
use the head stored on `changeId`.
|
|
10189
10201
|
pattern: ^(?:sha1:[0-9a-f]{40}|sha256:[0-9a-f]{64})$
|
|
10190
10202
|
type: string
|
|
10191
|
-
required:
|
|
10192
|
-
- expectedHead
|
|
10193
|
-
- diffDigest
|
|
10203
|
+
required: []
|
|
10194
10204
|
type: object
|
|
10195
10205
|
PostOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdConfirmResponse:
|
|
10196
10206
|
allOf:
|
|
@@ -25481,6 +25491,11 @@ paths:
|
|
|
25481
25491
|
x-gala-tenant-scope: ORGANIZATION_AND_PUBLICATION_PATH
|
|
25482
25492
|
/v2/organizations/{organizationId}/publications/{publicationId}/repository-changes/{changeId}:confirm:
|
|
25483
25493
|
post:
|
|
25494
|
+
description: |
|
|
25495
|
+
Confirm the persisted plan and enqueue creation of its candidate ref,
|
|
25496
|
+
commit and GitHub pull request. `expectedHead` and `diffDigest` are
|
|
25497
|
+
optional compatibility assertions: an omitted member is read from the
|
|
25498
|
+
persisted plan, while a supplied member must match it exactly.
|
|
25484
25499
|
operationId: postOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdConfirm
|
|
25485
25500
|
parameters:
|
|
25486
25501
|
- $ref: "#/components/parameters/XCorrelationId"
|
|
@@ -25514,11 +25529,14 @@ paths:
|
|
|
25514
25529
|
content:
|
|
25515
25530
|
application/json:
|
|
25516
25531
|
examples:
|
|
25517
|
-
|
|
25518
|
-
summary:
|
|
25532
|
+
asserted:
|
|
25533
|
+
summary: Confirm while asserting the echoed plan facts
|
|
25519
25534
|
value:
|
|
25520
25535
|
diffDigest: sha256:0000000000000000000000000000000000000000000000000000000000000000
|
|
25521
25536
|
expectedHead: sha1:0000000000000000000000000000000000000000
|
|
25537
|
+
nominal:
|
|
25538
|
+
summary: Confirm using the server-persisted plan facts
|
|
25539
|
+
value: {}
|
|
25522
25540
|
schema:
|
|
25523
25541
|
$ref: "#/components/schemas/PostOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdConfirmRequest"
|
|
25524
25542
|
required: true
|
|
@@ -25537,7 +25555,7 @@ paths:
|
|
|
25537
25555
|
statusUrl: /v2/organizations/018f0000-0000-7000-8000-000000000001/operations/018f0000-0000-7000-8000-000000000002
|
|
25538
25556
|
schema:
|
|
25539
25557
|
$ref: "#/components/schemas/PostOrganizationsByOrganizationIdPublicationsByPublicationIdRepositoryChangesByChangeIdConfirmResponse"
|
|
25540
|
-
description:
|
|
25558
|
+
description: candidate ref, commit and GitHub pull-request creation was accepted
|
|
25541
25559
|
headers:
|
|
25542
25560
|
Cache-Control:
|
|
25543
25561
|
$ref: "#/components/headers/CacheControlNoStore"
|
|
@@ -25781,7 +25799,7 @@ paths:
|
|
|
25781
25799
|
- organizations
|
|
25782
25800
|
x-gala-activation-gate: MVP
|
|
25783
25801
|
x-gala-activation-guards:
|
|
25784
|
-
- Unchanged expected Git head, normalized reviewed diff, schema version, and actor confirmation
|
|
25802
|
+
- Unchanged persisted expected Git head, normalized reviewed diff, schema version, and actor confirmation
|
|
25785
25803
|
x-gala-capability-key: publication.source.write
|
|
25786
25804
|
x-gala-concurrency: planned-change-digest-and-expected-git-head
|
|
25787
25805
|
x-gala-conditional-capabilities: []
|
package/package.json
CHANGED
package/sbom.cdx.json
CHANGED
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"type": "library",
|
|
98
98
|
"name": "schemas",
|
|
99
99
|
"group": "@rathnasgala2",
|
|
100
|
-
"version": "2.
|
|
101
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
100
|
+
"version": "2.20.0",
|
|
101
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0",
|
|
102
102
|
"description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
|
|
103
103
|
"licenses": [
|
|
104
104
|
{
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"purl": "pkg:npm/%40rathnasgala2/schemas@2.
|
|
111
|
+
"purl": "pkg:npm/%40rathnasgala2/schemas@2.20.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
|
|
112
112
|
"externalReferences": [
|
|
113
113
|
{
|
|
114
114
|
"url": "https://github.com/rathnasgala2/schema/issues",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"type": "library",
|
|
154
154
|
"name": "ajv-formats",
|
|
155
155
|
"version": "3.0.1",
|
|
156
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
156
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0|ajv-formats@3.0.1",
|
|
157
157
|
"licenses": [
|
|
158
158
|
{
|
|
159
159
|
"license": {
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
"type": "library",
|
|
188
188
|
"name": "ajv",
|
|
189
189
|
"version": "8.20.0",
|
|
190
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
190
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0|ajv@8.20.0",
|
|
191
191
|
"licenses": [
|
|
192
192
|
{
|
|
193
193
|
"license": {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
"type": "library",
|
|
222
222
|
"name": "fast-deep-equal",
|
|
223
223
|
"version": "3.1.3",
|
|
224
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
224
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0|fast-deep-equal@3.1.3",
|
|
225
225
|
"licenses": [
|
|
226
226
|
{
|
|
227
227
|
"license": {
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
"type": "library",
|
|
256
256
|
"name": "fast-uri",
|
|
257
257
|
"version": "3.1.7",
|
|
258
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
258
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0|fast-uri@3.1.7",
|
|
259
259
|
"licenses": [
|
|
260
260
|
{
|
|
261
261
|
"license": {
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
"type": "library",
|
|
290
290
|
"name": "json-schema-traverse",
|
|
291
291
|
"version": "1.0.0",
|
|
292
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
292
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0|json-schema-traverse@1.0.0",
|
|
293
293
|
"licenses": [
|
|
294
294
|
{
|
|
295
295
|
"license": {
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
"type": "library",
|
|
324
324
|
"name": "require-from-string",
|
|
325
325
|
"version": "2.0.2",
|
|
326
|
-
"bom-ref": "@rathnasgala2/schemas@2.
|
|
326
|
+
"bom-ref": "@rathnasgala2/schemas@2.20.0|require-from-string@2.0.2",
|
|
327
327
|
"licenses": [
|
|
328
328
|
{
|
|
329
329
|
"license": {
|
|
@@ -1064,10 +1064,10 @@
|
|
|
1064
1064
|
],
|
|
1065
1065
|
"dependencies": [
|
|
1066
1066
|
{
|
|
1067
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1067
|
+
"ref": "@rathnasgala2/schemas@2.20.0",
|
|
1068
1068
|
"dependsOn": [
|
|
1069
|
-
"@rathnasgala2/schemas@2.
|
|
1070
|
-
"@rathnasgala2/schemas@2.
|
|
1069
|
+
"@rathnasgala2/schemas@2.20.0|ajv-formats@3.0.1",
|
|
1070
|
+
"@rathnasgala2/schemas@2.20.0|ajv@8.20.0",
|
|
1071
1071
|
"pkg:npm/semver@7.8.5",
|
|
1072
1072
|
"urn:gala:source-data:iana-ipv4-special-registry",
|
|
1073
1073
|
"urn:gala:source-data:iana-ipv6-special-registry",
|
|
@@ -1089,31 +1089,31 @@
|
|
|
1089
1089
|
]
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1092
|
+
"ref": "@rathnasgala2/schemas@2.20.0|ajv-formats@3.0.1",
|
|
1093
1093
|
"dependsOn": [
|
|
1094
|
-
"@rathnasgala2/schemas@2.
|
|
1094
|
+
"@rathnasgala2/schemas@2.20.0|ajv@8.20.0"
|
|
1095
1095
|
]
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1098
|
+
"ref": "@rathnasgala2/schemas@2.20.0|ajv@8.20.0",
|
|
1099
1099
|
"dependsOn": [
|
|
1100
|
-
"@rathnasgala2/schemas@2.
|
|
1101
|
-
"@rathnasgala2/schemas@2.
|
|
1102
|
-
"@rathnasgala2/schemas@2.
|
|
1103
|
-
"@rathnasgala2/schemas@2.
|
|
1100
|
+
"@rathnasgala2/schemas@2.20.0|fast-deep-equal@3.1.3",
|
|
1101
|
+
"@rathnasgala2/schemas@2.20.0|fast-uri@3.1.7",
|
|
1102
|
+
"@rathnasgala2/schemas@2.20.0|json-schema-traverse@1.0.0",
|
|
1103
|
+
"@rathnasgala2/schemas@2.20.0|require-from-string@2.0.2"
|
|
1104
1104
|
]
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1107
|
+
"ref": "@rathnasgala2/schemas@2.20.0|fast-deep-equal@3.1.3"
|
|
1108
1108
|
},
|
|
1109
1109
|
{
|
|
1110
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1110
|
+
"ref": "@rathnasgala2/schemas@2.20.0|fast-uri@3.1.7"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1113
|
+
"ref": "@rathnasgala2/schemas@2.20.0|json-schema-traverse@1.0.0"
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
|
-
"ref": "@rathnasgala2/schemas@2.
|
|
1116
|
+
"ref": "@rathnasgala2/schemas@2.20.0|require-from-string@2.0.2"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
1119
|
"ref": "pkg:npm/semver@7.8.5"
|