@tryghost/admin-api-schema 4.3.1 → 4.5.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/lib/schemas/pages.json +3 -0
- package/lib/schemas/posts.json +25 -0
- package/package.json +2 -2
package/lib/schemas/pages.json
CHANGED
package/lib/schemas/posts.json
CHANGED
|
@@ -138,6 +138,9 @@
|
|
|
138
138
|
},
|
|
139
139
|
"tags": {
|
|
140
140
|
"$ref": "#/definitions/post-tags"
|
|
141
|
+
},
|
|
142
|
+
"collections": {
|
|
143
|
+
"$ref": "#/definitions/post-collections"
|
|
141
144
|
}
|
|
142
145
|
}
|
|
143
146
|
},
|
|
@@ -242,6 +245,28 @@
|
|
|
242
245
|
}
|
|
243
246
|
]
|
|
244
247
|
}
|
|
248
|
+
},
|
|
249
|
+
"post-collections": {
|
|
250
|
+
"description": "Collections of the post",
|
|
251
|
+
"type": "array",
|
|
252
|
+
"items": {
|
|
253
|
+
"anyOf": [
|
|
254
|
+
{
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"id": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"maxLength": 24
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"required": ["id"]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "string",
|
|
266
|
+
"maxLength": 24
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
}
|
|
245
270
|
}
|
|
246
271
|
}
|
|
247
272
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/admin-api-schema",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"repository": "https://github.com/TryGhost/SDK/tree/master/packages/admin-api-schema",
|
|
5
5
|
"author": "Ghost Foundation",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"ajv": "^6.12.6",
|
|
30
30
|
"lodash": "^4.17.11"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "c9b6ea1550c897f78d98b5911e846e767a78012d"
|
|
33
33
|
}
|