multisite-cms-mcp 1.2.3 → 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 +6 -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 +1 -1
- package/dist/tools/get-example.d.ts.map +1 -1
- package/dist/tools/get-example.js +222 -374
- 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 +84 -196
- 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',
|
|
@@ -127,6 +127,7 @@ const TOOLS = [
|
|
|
127
127
|
'featured_posts',
|
|
128
128
|
'parent_context',
|
|
129
129
|
'equality_comparison',
|
|
130
|
+
'youtube_embed',
|
|
130
131
|
],
|
|
131
132
|
description: 'The type of example to retrieve',
|
|
132
133
|
},
|
|
@@ -269,12 +270,11 @@ const TOOLS = [
|
|
|
269
270
|
},
|
|
270
271
|
fieldsToAdd: {
|
|
271
272
|
type: 'array',
|
|
272
|
-
description: 'Fields to add to existing collections
|
|
273
|
+
description: 'Fields to add to existing collections',
|
|
273
274
|
items: {
|
|
274
275
|
type: 'object',
|
|
275
276
|
properties: {
|
|
276
|
-
collectionSlug: { type: 'string', description: 'Collection slug
|
|
277
|
-
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' },
|
|
278
278
|
fields: {
|
|
279
279
|
type: 'array',
|
|
280
280
|
items: {
|
|
@@ -292,7 +292,7 @@ const TOOLS = [
|
|
|
292
292
|
},
|
|
293
293
|
},
|
|
294
294
|
},
|
|
295
|
-
required: ['collectionSlug', '
|
|
295
|
+
required: ['collectionSlug', 'fields'],
|
|
296
296
|
},
|
|
297
297
|
},
|
|
298
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"}
|