@rathnasgala2/schemas 3.39.0 → 3.40.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.39.0",
3
+ "package": "@rathnasgala2/schemas@3.40.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:abaa1134d0b5bcbc66e802e6a7f9104ff97b9e89204f4f4099ae27bd33a130e2",
232
+ "sourceDigest": "sha256:d39cfe63299c7e04e2e4c4127130e6880cafca135cd0889124a849c469bb7a77",
233
233
  "typescriptRootType": null
234
234
  }
235
235
  ],
236
- "digest": "sha256:e74629d4f1c4c32a61eb545cafb7e7b3e2c34aa8835479c9b7200b64935e4e42"
236
+ "digest": "sha256:89ec466312679842755188c4cc0963fc38981c1e0c1a1edbe26b8125ee459a4a"
237
237
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "2.0.0",
3
3
  "sourceDesignRevision": "a53052955ceb6c1aa10c886289dc832eedfe6de0a00004df07d353ac19c4403a",
4
- "openApiDigest": "sha256:abaa1134d0b5bcbc66e802e6a7f9104ff97b9e89204f4f4099ae27bd33a130e2",
4
+ "openApiDigest": "sha256:d39cfe63299c7e04e2e4c4127130e6880cafca135cd0889124a849c469bb7a77",
5
5
  "operations": [
6
6
  {
7
7
  "operationId": "getInternalHealth",
@@ -3843,5 +3843,5 @@
3843
3843
  "sourceFragment": "workloads"
3844
3844
  }
3845
3845
  ],
3846
- "digest": "sha256:959a2ce5cff7482a49c6cbc92333e18a1f425fba2c9073f0fc36c056b311751d"
3846
+ "digest": "sha256:d11e92e7c9ce052e2ad9a46724c2c06954925864442076dea4612e8e85ea6ef8"
3847
3847
  }
@@ -23821,7 +23821,7 @@ components:
23821
23821
  type: string
23822
23822
  SyndicationConnection:
23823
23823
  additionalProperties: false
23824
- description: "SCHEMA-3.37.0. One platform connection of a publication. The credential is never returned: no response, list or event carries it, and a lost one is replaced, not read. `accountLabel` is the platform account the credential belongs to, as the platform names it, for example `@anand` or `name.hashnode.dev`."
23824
+ description: "SCHEMA-3.37.0. One platform connection of a publication. The credential is never returned: no response, list or event carries it, and a lost one is replaced, not read. `accountLabel` is the platform account the credential belongs to, as the platform names it, for example `@anand`, `name.hashnode.dev`, `anand @ example.com` (WordPress) or the Ghost site title."
23825
23825
  properties:
23826
23826
  accountLabel:
23827
23827
  maxLength: 200
@@ -23887,14 +23887,17 @@ components:
23887
23887
  - credential
23888
23888
  type: object
23889
23889
  SyndicationConnectionKind:
23890
- description: SCHEMA-3.37.0. The platforms a publication can announce its posts to. `devto` and `hashnode` mirror the whole article with the original address as canonical; the other four post a short announcement with the live address.
23890
+ description: SCHEMA-3.37.0. The platforms a publication can announce its posts to. `devto`, `hashnode`, `wordpress` and `ghost` mirror the whole article with the original address as canonical; the others post a short announcement with the live address. `wordpress`, `ghost` and `x` since SCHEMA-3.40.0.
23891
23891
  enum:
23892
23892
  - devto
23893
23893
  - hashnode
23894
+ - wordpress
23895
+ - ghost
23894
23896
  - bluesky
23895
23897
  - mastodon
23896
23898
  - telegram
23897
23899
  - discord
23900
+ - x
23898
23901
  type: string
23899
23902
  SyndicationConnectionList:
23900
23903
  additionalProperties: false
@@ -23933,6 +23936,24 @@ components:
23933
23936
  required:
23934
23937
  - style
23935
23938
  type: object
23939
+ ghost:
23940
+ additionalProperties: false
23941
+ description: "SCHEMA-3.40.0. `publishAsDraft: true` saves each mirrored article on the Ghost site as a draft; default `false` publishes it."
23942
+ properties:
23943
+ publishAsDraft:
23944
+ type: boolean
23945
+ required:
23946
+ - publishAsDraft
23947
+ type: object
23948
+ wordpress:
23949
+ additionalProperties: false
23950
+ description: "SCHEMA-3.40.0. `publishAsDraft: true` saves each mirrored article on the WordPress site as a draft; default `false` publishes it."
23951
+ properties:
23952
+ publishAsDraft:
23953
+ type: boolean
23954
+ required:
23955
+ - publishAsDraft
23956
+ type: object
23936
23957
  type: object
23937
23958
  SyndicationConnectionStatus:
23938
23959
  description: SCHEMA-3.37.0. `ACTIVE` posts new announcements; `PAUSED` was stopped by a person and files nothing; `NEEDS_ATTENTION` means the platform rejected the saved credential, nothing is posted until the credential is replaced or checked again.
@@ -23948,9 +23969,12 @@ components:
23948
23969
  bluesky: "#/components/schemas/SyndicationCredentialBluesky"
23949
23970
  devto: "#/components/schemas/SyndicationCredentialDevto"
23950
23971
  discord: "#/components/schemas/SyndicationCredentialDiscord"
23972
+ ghost: "#/components/schemas/SyndicationCredentialGhost"
23951
23973
  hashnode: "#/components/schemas/SyndicationCredentialHashnode"
23952
23974
  mastodon: "#/components/schemas/SyndicationCredentialMastodon"
23953
23975
  telegram: "#/components/schemas/SyndicationCredentialTelegram"
23976
+ wordpress: "#/components/schemas/SyndicationCredentialWordpress"
23977
+ x: "#/components/schemas/SyndicationCredentialX"
23954
23978
  propertyName: kind
23955
23979
  oneOf:
23956
23980
  - $ref: "#/components/schemas/SyndicationCredentialDevto"
@@ -23959,6 +23983,9 @@ components:
23959
23983
  - $ref: "#/components/schemas/SyndicationCredentialMastodon"
23960
23984
  - $ref: "#/components/schemas/SyndicationCredentialTelegram"
23961
23985
  - $ref: "#/components/schemas/SyndicationCredentialDiscord"
23986
+ - $ref: "#/components/schemas/SyndicationCredentialWordpress"
23987
+ - $ref: "#/components/schemas/SyndicationCredentialGhost"
23988
+ - $ref: "#/components/schemas/SyndicationCredentialX"
23962
23989
  SyndicationCredentialBluesky:
23963
23990
  additionalProperties: false
23964
23991
  description: SCHEMA-3.37.0. A Bluesky handle and app password.
@@ -24022,6 +24049,33 @@ components:
24022
24049
  - kind
24023
24050
  - webhookUrl
24024
24051
  type: object
24052
+ SyndicationCredentialGhost:
24053
+ additionalProperties: false
24054
+ description: SCHEMA-3.40.0. A Ghost site and the Admin API key of a custom integration on it (Settings > Integrations).
24055
+ properties:
24056
+ adminApiKey:
24057
+ description: The integration's Admin API key, `id:secret`.
24058
+ maxLength: 89
24059
+ minLength: 89
24060
+ pattern: ^[0-9a-f]{24}:[0-9a-f]{64}$
24061
+ type: string
24062
+ writeOnly: true
24063
+ kind:
24064
+ pattern: ^ghost$
24065
+ type: string
24066
+ x-gala-const: ghost
24067
+ siteUrl:
24068
+ description: The Ghost admin address root, for example `https://name.ghost.io` or the site's own domain.
24069
+ format: uri
24070
+ maxLength: 300
24071
+ minLength: 12
24072
+ pattern: ^https://[^\s?#]+$
24073
+ type: string
24074
+ required:
24075
+ - kind
24076
+ - siteUrl
24077
+ - adminApiKey
24078
+ type: object
24025
24079
  SyndicationCredentialHashnode:
24026
24080
  additionalProperties: false
24027
24081
  description: SCHEMA-3.37.0. A Hashnode credential and the publication it posts to.
@@ -24098,6 +24152,73 @@ components:
24098
24152
  - botToken
24099
24153
  - channel
24100
24154
  type: object
24155
+ SyndicationCredentialWordpress:
24156
+ additionalProperties: false
24157
+ description: SCHEMA-3.40.0. A WordPress site, a user on it and an Application Password of that user (WordPress 5.6 or later; on WordPress.com this needs the Business plan or higher).
24158
+ properties:
24159
+ applicationPassword:
24160
+ description: An Application Password from the user's profile, with or without its spaces; never the account password.
24161
+ maxLength: 64
24162
+ minLength: 8
24163
+ type: string
24164
+ writeOnly: true
24165
+ kind:
24166
+ pattern: ^wordpress$
24167
+ type: string
24168
+ x-gala-const: wordpress
24169
+ siteUrl:
24170
+ description: The site's root address, for example `https://example.com` or `https://example.com/blog`.
24171
+ format: uri
24172
+ maxLength: 300
24173
+ minLength: 12
24174
+ pattern: ^https://[^\s?#]+$
24175
+ type: string
24176
+ username:
24177
+ description: The WordPress user the posts are published as.
24178
+ maxLength: 100
24179
+ minLength: 1
24180
+ type: string
24181
+ required:
24182
+ - kind
24183
+ - siteUrl
24184
+ - username
24185
+ - applicationPassword
24186
+ type: object
24187
+ SyndicationCredentialX:
24188
+ additionalProperties: false
24189
+ description: SCHEMA-3.40.0. The author's own X developer app, OAuth 1.0a user context with Read and Write. X bills the author's developer account for every post.
24190
+ properties:
24191
+ accessToken:
24192
+ maxLength: 200
24193
+ minLength: 8
24194
+ type: string
24195
+ writeOnly: true
24196
+ accessTokenSecret:
24197
+ maxLength: 200
24198
+ minLength: 8
24199
+ type: string
24200
+ writeOnly: true
24201
+ apiKey:
24202
+ maxLength: 200
24203
+ minLength: 8
24204
+ type: string
24205
+ writeOnly: true
24206
+ apiKeySecret:
24207
+ maxLength: 200
24208
+ minLength: 8
24209
+ type: string
24210
+ writeOnly: true
24211
+ kind:
24212
+ pattern: ^x$
24213
+ type: string
24214
+ x-gala-const: x
24215
+ required:
24216
+ - kind
24217
+ - apiKey
24218
+ - apiKeySecret
24219
+ - accessToken
24220
+ - accessTokenSecret
24221
+ type: object
24101
24222
  SyndicationDelivery:
24102
24223
  additionalProperties: false
24103
24224
  description: SCHEMA-3.37.0. One post of one live article to one platform. `connectionId` is absent once the connection was removed; `kind` and `accountLabel` stay. `externalUrl` is the post on the platform, absent for `discord` and until the delivery is `SENT`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rathnasgala2/schemas",
3
- "version": "3.39.0",
3
+ "version": "3.40.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.39.0",
101
- "bom-ref": "@rathnasgala2/schemas@3.39.0",
100
+ "version": "3.40.0",
101
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0?vcs_url=git%2Bhttps%3A%2F%2Fgithub.com%2Frathnasgala2%2Fschema.git",
111
+ "purl": "pkg:npm/%40rathnasgala2/schemas@3.40.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.39.0|ajv-formats@3.0.1",
156
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0|ajv@8.20.0",
190
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0|fast-deep-equal@3.1.3",
224
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0|fast-uri@3.1.8",
258
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0|json-schema-traverse@1.0.0",
292
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0|require-from-string@2.0.2",
326
+ "bom-ref": "@rathnasgala2/schemas@3.40.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.39.0",
1067
+ "ref": "@rathnasgala2/schemas@3.40.0",
1068
1068
  "dependsOn": [
1069
- "@rathnasgala2/schemas@3.39.0|ajv-formats@3.0.1",
1070
- "@rathnasgala2/schemas@3.39.0|ajv@8.20.0",
1069
+ "@rathnasgala2/schemas@3.40.0|ajv-formats@3.0.1",
1070
+ "@rathnasgala2/schemas@3.40.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.39.0|ajv-formats@3.0.1",
1092
+ "ref": "@rathnasgala2/schemas@3.40.0|ajv-formats@3.0.1",
1093
1093
  "dependsOn": [
1094
- "@rathnasgala2/schemas@3.39.0|ajv@8.20.0"
1094
+ "@rathnasgala2/schemas@3.40.0|ajv@8.20.0"
1095
1095
  ]
1096
1096
  },
1097
1097
  {
1098
- "ref": "@rathnasgala2/schemas@3.39.0|ajv@8.20.0",
1098
+ "ref": "@rathnasgala2/schemas@3.40.0|ajv@8.20.0",
1099
1099
  "dependsOn": [
1100
- "@rathnasgala2/schemas@3.39.0|fast-deep-equal@3.1.3",
1101
- "@rathnasgala2/schemas@3.39.0|fast-uri@3.1.8",
1102
- "@rathnasgala2/schemas@3.39.0|json-schema-traverse@1.0.0",
1103
- "@rathnasgala2/schemas@3.39.0|require-from-string@2.0.2"
1100
+ "@rathnasgala2/schemas@3.40.0|fast-deep-equal@3.1.3",
1101
+ "@rathnasgala2/schemas@3.40.0|fast-uri@3.1.8",
1102
+ "@rathnasgala2/schemas@3.40.0|json-schema-traverse@1.0.0",
1103
+ "@rathnasgala2/schemas@3.40.0|require-from-string@2.0.2"
1104
1104
  ]
1105
1105
  },
1106
1106
  {
1107
- "ref": "@rathnasgala2/schemas@3.39.0|fast-deep-equal@3.1.3"
1107
+ "ref": "@rathnasgala2/schemas@3.40.0|fast-deep-equal@3.1.3"
1108
1108
  },
1109
1109
  {
1110
- "ref": "@rathnasgala2/schemas@3.39.0|fast-uri@3.1.8"
1110
+ "ref": "@rathnasgala2/schemas@3.40.0|fast-uri@3.1.8"
1111
1111
  },
1112
1112
  {
1113
- "ref": "@rathnasgala2/schemas@3.39.0|json-schema-traverse@1.0.0"
1113
+ "ref": "@rathnasgala2/schemas@3.40.0|json-schema-traverse@1.0.0"
1114
1114
  },
1115
1115
  {
1116
- "ref": "@rathnasgala2/schemas@3.39.0|require-from-string@2.0.2"
1116
+ "ref": "@rathnasgala2/schemas@3.40.0|require-from-string@2.0.2"
1117
1117
  },
1118
1118
  {
1119
1119
  "ref": "pkg:npm/semver@7.8.5"