@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 CHANGED
@@ -32,5 +32,5 @@
32
32
  "upgrade": "bunx npm-check-updates -u && bun install"
33
33
  },
34
34
  "type": "module",
35
- "version": "0.23.1"
35
+ "version": "0.23.2"
36
36
  }
@@ -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 glob, frontmatter schema, and element dependencies.",
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": "Glob pattern for content files relative to the content directory.",
170
+ "description": "Path to the content directory relative to the project root.",
171
171
  "type": "string",
172
172
  "examples": [
173
- "./blog/**/*.md",
174
- "./docs/**/*.md"
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 glob, frontmatter schema, and element dependencies.",
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: "Glob pattern for content files relative to the content directory.",
1299
+ description: "Path to the content directory relative to the project root.",
1300
1300
  type: "string",
1301
- examples: ["./blog/**/*.md", "./docs/**/*.md"],
1301
+ examples: ["./content/blog/", "./content/docs/"],
1302
1302
  },
1303
1303
  schema: {
1304
1304
  description: "JSON Schema for validating frontmatter of content type entries.",