multisite-cms-mcp 1.2.4 → 1.3.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/dist/index.js +5 -6
- package/dist/tools/get-conversion-guide.d.ts.map +1 -1
- package/dist/tools/get-conversion-guide.js +134 -295
- package/dist/tools/get-example.d.ts.map +1 -1
- package/dist/tools/get-example.js +166 -409
- package/dist/tools/get-schema.d.ts +1 -1
- package/dist/tools/get-schema.d.ts.map +1 -1
- package/dist/tools/get-schema.js +130 -450
- package/dist/tools/get-tenant-schema.d.ts +9 -3
- package/dist/tools/get-tenant-schema.d.ts.map +1 -1
- package/dist/tools/get-tenant-schema.js +16 -4
- package/dist/tools/sync-schema.d.ts +1 -1
- package/dist/tools/sync-schema.d.ts.map +1 -1
- package/dist/tools/sync-schema.js +51 -97
- package/dist/tools/validate-manifest.d.ts.map +1 -1
- package/dist/tools/validate-manifest.js +26 -83
- package/dist/tools/validate-package.d.ts.map +1 -1
- package/dist/tools/validate-package.js +46 -41
- package/dist/tools/validate-template.d.ts +2 -2
- package/dist/tools/validate-template.d.ts.map +1 -1
- package/dist/tools/validate-template.js +67 -201
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -61,12 +61,12 @@ const TOOLS = [
|
|
|
61
61
|
},
|
|
62
62
|
templateType: {
|
|
63
63
|
type: 'string',
|
|
64
|
-
enum: ['
|
|
64
|
+
enum: ['custom_index', 'custom_detail', 'static_page'],
|
|
65
65
|
description: 'The type of template being validated',
|
|
66
66
|
},
|
|
67
67
|
collectionSlug: {
|
|
68
68
|
type: 'string',
|
|
69
|
-
description: 'For
|
|
69
|
+
description: 'For collection templates, the collection slug',
|
|
70
70
|
},
|
|
71
71
|
projectId: {
|
|
72
72
|
type: 'string',
|
|
@@ -270,12 +270,11 @@ const TOOLS = [
|
|
|
270
270
|
},
|
|
271
271
|
fieldsToAdd: {
|
|
272
272
|
type: 'array',
|
|
273
|
-
description: 'Fields to add to existing collections
|
|
273
|
+
description: 'Fields to add to existing collections',
|
|
274
274
|
items: {
|
|
275
275
|
type: 'object',
|
|
276
276
|
properties: {
|
|
277
|
-
collectionSlug: { type: 'string', description: 'Collection slug
|
|
278
|
-
isBuiltin: { type: 'boolean', description: 'true for blogs/authors/team/downloads, false for custom collections' },
|
|
277
|
+
collectionSlug: { type: 'string', description: 'Collection slug to add fields to' },
|
|
279
278
|
fields: {
|
|
280
279
|
type: 'array',
|
|
281
280
|
items: {
|
|
@@ -293,7 +292,7 @@ const TOOLS = [
|
|
|
293
292
|
},
|
|
294
293
|
},
|
|
295
294
|
},
|
|
296
|
-
required: ['collectionSlug', '
|
|
295
|
+
required: ['collectionSlug', 'fields'],
|
|
297
296
|
},
|
|
298
297
|
},
|
|
299
298
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-conversion-guide.d.ts","sourceRoot":"","sources":["../../src/tools/get-conversion-guide.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"get-conversion-guide.d.ts","sourceRoot":"","sources":["../../src/tools/get-conversion-guide.ts"],"names":[],"mappings":"AAAA,KAAK,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;AAyuBlI;;GAEG;AACH,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAuD1E"}
|