@jxsuite/schema 0.23.1 → 0.23.2
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/package.json +1 -1
- package/project-schema.json +4 -4
- package/src/schema.js +3 -3
package/package.json
CHANGED
package/project-schema.json
CHANGED
|
@@ -161,17 +161,17 @@
|
|
|
161
161
|
"type": "object"
|
|
162
162
|
},
|
|
163
163
|
"contentTypes": {
|
|
164
|
-
"description": "Content type definitions. Each key is a content type name; the value defines the source
|
|
164
|
+
"description": "Content type definitions. Each key is a content type name; the value defines the source directory, frontmatter schema, and element dependencies.",
|
|
165
165
|
"type": "object",
|
|
166
166
|
"additionalProperties": {
|
|
167
167
|
"type": "object",
|
|
168
168
|
"properties": {
|
|
169
169
|
"source": {
|
|
170
|
-
"description": "
|
|
170
|
+
"description": "Path to the content directory relative to the project root.",
|
|
171
171
|
"type": "string",
|
|
172
172
|
"examples": [
|
|
173
|
-
"./blog
|
|
174
|
-
"./docs
|
|
173
|
+
"./content/blog/",
|
|
174
|
+
"./content/docs/"
|
|
175
175
|
]
|
|
176
176
|
},
|
|
177
177
|
"schema": {
|
package/src/schema.js
CHANGED
|
@@ -1290,15 +1290,15 @@ export function generateProjectSchema() {
|
|
|
1290
1290
|
contentTypes: {
|
|
1291
1291
|
description:
|
|
1292
1292
|
"Content type definitions. Each key is a content type name; " +
|
|
1293
|
-
"the value defines the source
|
|
1293
|
+
"the value defines the source directory, frontmatter schema, and element dependencies.",
|
|
1294
1294
|
type: "object",
|
|
1295
1295
|
additionalProperties: {
|
|
1296
1296
|
type: "object",
|
|
1297
1297
|
properties: {
|
|
1298
1298
|
source: {
|
|
1299
|
-
description: "
|
|
1299
|
+
description: "Path to the content directory relative to the project root.",
|
|
1300
1300
|
type: "string",
|
|
1301
|
-
examples: ["./blog
|
|
1301
|
+
examples: ["./content/blog/", "./content/docs/"],
|
|
1302
1302
|
},
|
|
1303
1303
|
schema: {
|
|
1304
1304
|
description: "JSON Schema for validating frontmatter of content type entries.",
|