@rathnasgala2/schemas 3.26.0 → 3.27.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "package": "@rathnasgala2/schemas@3.26.0",
3
+ "package": "@rathnasgala2/schemas@3.27.0",
4
4
  "source": "package-lock.json",
5
5
  "dependencies": [
6
6
  {
@@ -229,9 +229,9 @@
229
229
  "version": "2.0.0",
230
230
  "path": "openapi/openapi.yaml",
231
231
  "materialized": true,
232
- "sourceDigest": "sha256:07d7442bdbf45ccffadcef925e6a3b89a64bcba0a0740f45fc84a205c8ce0d87",
232
+ "sourceDigest": "sha256:8e06f225ba6a87bc9960c962a0a0475fe06687fcc7bc0c87eb3de7b4ea011e29",
233
233
  "typescriptRootType": null
234
234
  }
235
235
  ],
236
- "digest": "sha256:d5469619d458af0ce52ec0767912cd7031413809eb95029c85c91293ea817b88"
236
+ "digest": "sha256:4b4efab1ac1a4bb5f79464a3af535081cc80a81040ae63ba0af05899edb0fbb0"
237
237
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "2.0.0",
3
3
  "sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
4
- "openApiDigest": "sha256:07d7442bdbf45ccffadcef925e6a3b89a64bcba0a0740f45fc84a205c8ce0d87",
4
+ "openApiDigest": "sha256:8e06f225ba6a87bc9960c962a0a0475fe06687fcc7bc0c87eb3de7b4ea011e29",
5
5
  "operations": [
6
6
  {
7
7
  "operationId": "getInternalHealth",
@@ -3258,5 +3258,5 @@
3258
3258
  "sourceFragment": "workloads"
3259
3259
  }
3260
3260
  ],
3261
- "digest": "sha256:28d27648fd6f8ed884b626d63d79c0a9a4b5fc9fc262755560bd62e3c051d2b8"
3261
+ "digest": "sha256:1c1ca363e47f0a129cb68627faa69bc653cced35479efef00442c8ada5daf487"
3262
3262
  }
@@ -2486,7 +2486,11 @@ components:
2486
2486
  type: object
2487
2487
  FollowState:
2488
2488
  additionalProperties: false
2489
+ description: "SCHEMA-3.27.0: whether the reader follows the author. `followers` is the number of readers following this author on this site; it is present only when the bearer token is for this publication and its principal holds `publication.audience.read` on it (the site's team, the same people who may open the Audience page), and absent for every other caller, including callers with no token."
2489
2490
  properties:
2491
+ followers:
2492
+ minimum: 0
2493
+ type: integer
2490
2494
  following:
2491
2495
  type: boolean
2492
2496
  required:
@@ -64022,7 +64026,7 @@ paths:
64022
64026
  x-gala-tenant-scope: NONE
64023
64027
  /v2/public/publications/{publicationId}/authors/{authorId}/follow:
64024
64028
  delete:
64025
- description: Idempotent, and allowed whether or not the site still has follows turned on or is live, so a reader can always leave. `404 AUTHOR_NOT_FOUND` only when the site names no such author and the reader holds no follow of that id.
64029
+ description: Idempotent, and allowed whether or not the site still has follows turned on or is live, so a reader can always leave. `404 AUTHOR_NOT_FOUND` only when the site names no such author and the reader holds no follow of that id. On a site-team token (this publication's token whose principal holds `publication.audience.read`) the response also carries `followers`, the number of readers following the author; it is absent for every other caller, including callers with no token.
64026
64030
  operationId: deletePublicPublicationsByPublicationIdAuthorsByAuthorIdFollow
64027
64031
  parameters:
64028
64032
  - $ref: "#/components/parameters/XCorrelationId"
@@ -64197,7 +64201,7 @@ paths:
64197
64201
  x-gala-success-category: protocol
64198
64202
  x-gala-tenant-scope: NONE
64199
64203
  get:
64200
- description: Public read with an optional reader bearer token. With a token, `following` says whether that reader follows the author; without one it is false. The site's Follow button decides whether to show itself from the `follows.enabled` setting it was built with, not from this read.
64204
+ description: Public read with an optional reader bearer token. With a token, `following` says whether that reader follows the author; without one it is false. The site's Follow button decides whether to show itself from the `follows.enabled` setting it was built with, not from this read. On a site-team token (this publication's token whose principal holds `publication.audience.read`) the response also carries `followers`, the number of readers following the author; it is absent for every other caller, including callers with no token.
64201
64205
  operationId: getPublicPublicationsByPublicationIdAuthorsByAuthorIdFollow
64202
64206
  parameters:
64203
64207
  - $ref: "#/components/parameters/XCorrelationId"
@@ -64302,7 +64306,7 @@ paths:
64302
64306
  x-gala-success-category: query
64303
64307
  x-gala-tenant-scope: NONE
64304
64308
  put:
64305
- description: "Idempotent: following twice is the same as following once. A follow is a reader's own business: only that reader sees it, the site owner sees a display name in the follower list and there is no public follower count. `409 FOLLOWS_DISABLED` while the author has the Follow button off. `404 AUTHOR_NOT_FOUND` when the site names no such author."
64309
+ description: "Idempotent: following twice is the same as following once. A follow is a reader's own business: only that reader sees it, the site owner sees a display name in the follower list and there is no public follower count. `409 FOLLOWS_DISABLED` while the author has the Follow button off. `404 AUTHOR_NOT_FOUND` when the site names no such author. On a site-team token (this publication's token whose principal holds `publication.audience.read`) the response also carries `followers`, the number of readers following the author; it is absent for every other caller, including callers with no token."
64306
64310
  operationId: putPublicPublicationsByPublicationIdAuthorsByAuthorIdFollow
64307
64311
  parameters:
64308
64312
  - $ref: "#/components/parameters/XCorrelationId"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rathnasgala2/schemas",
3
- "version": "3.26.0",
3
+ "version": "3.27.0",
4
4
  "description": "Executable JSON Schema and OpenAPI contracts for Galascribe",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
package/sbom.cdx.json CHANGED
@@ -97,8 +97,8 @@
97
97
  "type": "library",
98
98
  "name": "schemas",
99
99
  "group": "@rathnasgala2",
100
- "version": "3.26.0",
101
- "bom-ref": "@rathnasgala2/schemas@3.26.0",
100
+ "version": "3.27.0",
101
+ "bom-ref": "@rathnasgala2/schemas@3.27.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@3.26.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
111
+ "purl": "pkg:npm/%40rathnasgala2/schemas@3.27.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@3.26.0|ajv-formats@3.0.1",
156
+ "bom-ref": "@rathnasgala2/schemas@3.27.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@3.26.0|ajv@8.20.0",
190
+ "bom-ref": "@rathnasgala2/schemas@3.27.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@3.26.0|fast-deep-equal@3.1.3",
224
+ "bom-ref": "@rathnasgala2/schemas@3.27.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.8",
258
- "bom-ref": "@rathnasgala2/schemas@3.26.0|fast-uri@3.1.8",
258
+ "bom-ref": "@rathnasgala2/schemas@3.27.0|fast-uri@3.1.8",
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@3.26.0|json-schema-traverse@1.0.0",
292
+ "bom-ref": "@rathnasgala2/schemas@3.27.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@3.26.0|require-from-string@2.0.2",
326
+ "bom-ref": "@rathnasgala2/schemas@3.27.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@3.26.0",
1067
+ "ref": "@rathnasgala2/schemas@3.27.0",
1068
1068
  "dependsOn": [
1069
- "@rathnasgala2/schemas@3.26.0|ajv-formats@3.0.1",
1070
- "@rathnasgala2/schemas@3.26.0|ajv@8.20.0",
1069
+ "@rathnasgala2/schemas@3.27.0|ajv-formats@3.0.1",
1070
+ "@rathnasgala2/schemas@3.27.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@3.26.0|ajv-formats@3.0.1",
1092
+ "ref": "@rathnasgala2/schemas@3.27.0|ajv-formats@3.0.1",
1093
1093
  "dependsOn": [
1094
- "@rathnasgala2/schemas@3.26.0|ajv@8.20.0"
1094
+ "@rathnasgala2/schemas@3.27.0|ajv@8.20.0"
1095
1095
  ]
1096
1096
  },
1097
1097
  {
1098
- "ref": "@rathnasgala2/schemas@3.26.0|ajv@8.20.0",
1098
+ "ref": "@rathnasgala2/schemas@3.27.0|ajv@8.20.0",
1099
1099
  "dependsOn": [
1100
- "@rathnasgala2/schemas@3.26.0|fast-deep-equal@3.1.3",
1101
- "@rathnasgala2/schemas@3.26.0|fast-uri@3.1.8",
1102
- "@rathnasgala2/schemas@3.26.0|json-schema-traverse@1.0.0",
1103
- "@rathnasgala2/schemas@3.26.0|require-from-string@2.0.2"
1100
+ "@rathnasgala2/schemas@3.27.0|fast-deep-equal@3.1.3",
1101
+ "@rathnasgala2/schemas@3.27.0|fast-uri@3.1.8",
1102
+ "@rathnasgala2/schemas@3.27.0|json-schema-traverse@1.0.0",
1103
+ "@rathnasgala2/schemas@3.27.0|require-from-string@2.0.2"
1104
1104
  ]
1105
1105
  },
1106
1106
  {
1107
- "ref": "@rathnasgala2/schemas@3.26.0|fast-deep-equal@3.1.3"
1107
+ "ref": "@rathnasgala2/schemas@3.27.0|fast-deep-equal@3.1.3"
1108
1108
  },
1109
1109
  {
1110
- "ref": "@rathnasgala2/schemas@3.26.0|fast-uri@3.1.8"
1110
+ "ref": "@rathnasgala2/schemas@3.27.0|fast-uri@3.1.8"
1111
1111
  },
1112
1112
  {
1113
- "ref": "@rathnasgala2/schemas@3.26.0|json-schema-traverse@1.0.0"
1113
+ "ref": "@rathnasgala2/schemas@3.27.0|json-schema-traverse@1.0.0"
1114
1114
  },
1115
1115
  {
1116
- "ref": "@rathnasgala2/schemas@3.26.0|require-from-string@2.0.2"
1116
+ "ref": "@rathnasgala2/schemas@3.27.0|require-from-string@2.0.2"
1117
1117
  },
1118
1118
  {
1119
1119
  "ref": "pkg:npm/semver@7.8.5"