@se-studio/contentful-cms 1.3.7 → 1.4.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/CHANGELOG.md +6 -0
- package/dist/commands/entry-search.d.ts.map +1 -1
- package/dist/commands/entry-search.js +4 -1
- package/dist/commands/entry-search.js.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +26 -2
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/sitemap.d.ts.map +1 -1
- package/dist/commands/sitemap.js +17 -2
- package/dist/commands/sitemap.js.map +1 -1
- package/dist/contentful/cda-sync.d.ts.map +1 -1
- package/dist/contentful/cda-sync.js +2 -0
- package/dist/contentful/cda-sync.js.map +1 -1
- package/dist/contentful/reference-record.d.ts +4 -0
- package/dist/contentful/reference-record.d.ts.map +1 -1
- package/dist/contentful/reference-record.js +7 -0
- package/dist/contentful/reference-record.js.map +1 -1
- package/dist/generated/hosted-guide.d.ts +1 -1
- package/dist/generated/hosted-guide.d.ts.map +1 -1
- package/dist/generated/hosted-guide.js +1 -1
- package/dist/generated/hosted-guide.js.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/index/db.d.ts.map +1 -1
- package/dist/index/db.js +5 -1
- package/dist/index/db.js.map +1 -1
- package/dist/index/query.d.ts +4 -0
- package/dist/index/query.d.ts.map +1 -1
- package/dist/index/query.js +13 -2
- package/dist/index/query.js.map +1 -1
- package/dist/index/reference-lookup.d.ts.map +1 -1
- package/dist/index/reference-lookup.js +4 -0
- package/dist/index/reference-lookup.js.map +1 -1
- package/dist/index/schema.d.ts +5 -3
- package/dist/index/schema.d.ts.map +1 -1
- package/dist/index/schema.js +8 -3
- package/dist/index/schema.js.map +1 -1
- package/dist/index/sync.d.ts.map +1 -1
- package/dist/index/sync.js +5 -4
- package/dist/index/sync.js.map +1 -1
- package/dist/mcp/tools/cms-edit.d.ts +1 -1
- package/dist/mcp/tools/cms-edit.d.ts.map +1 -1
- package/dist/mcp/tools/cms-edit.js +8 -0
- package/dist/mcp/tools/cms-edit.js.map +1 -1
- package/dist/output/json.d.ts.map +1 -1
- package/dist/output/json.js +1 -0
- package/dist/output/json.js.map +1 -1
- package/docs/help/fields-article.md +14 -0
- package/docs/help/index-sync.md +1 -0
- package/docs/mcp/hosted-guide.md +24 -0
- package/package.json +1 -1
- package/skills/core/SKILL.md +7 -0
package/skills/core/SKILL.md
CHANGED
|
@@ -479,10 +479,16 @@ cms-edit types component
|
|
|
479
479
|
cms-edit types collection
|
|
480
480
|
|
|
481
481
|
# List entries with filters
|
|
482
|
+
cms-edit list --type article --sort date -n 10 # recent articles by publication date
|
|
482
483
|
cms-edit list --type article --has-download # articles with a download asset
|
|
483
484
|
cms-edit list --type article --slug my-article # article with a specific slug
|
|
484
485
|
cms-edit list --type article --has-field tags # articles where tags field is non-empty
|
|
485
486
|
|
|
487
|
+
# Find draft articles, then peek/open (both support drafts via CMA)
|
|
488
|
+
cms-edit sitemap --include article --status draft
|
|
489
|
+
cms-edit peek --article-slug resources/blog/my-post
|
|
490
|
+
# Only list --published / resolve --published are published-only
|
|
491
|
+
|
|
486
492
|
# Resolve any entry or asset by ID (no open session required)
|
|
487
493
|
cms-edit resolve --id 4xKj2abcDefGhijK # entry: shows type, title, slug, status
|
|
488
494
|
cms-edit resolve --id 7pQrStuvWxyzAbc # asset: shows title, fileName, URL
|
|
@@ -702,6 +708,7 @@ cms-edit sitemap # All pages, sorted by slug
|
|
|
702
708
|
cms-edit sitemap --prefix /blog # Filter by slug prefix
|
|
703
709
|
cms-edit sitemap --status draft # Draft pages only
|
|
704
710
|
cms-edit sitemap --sort updated # Most recently updated first
|
|
711
|
+
cms-edit sitemap --include article --sort date # Articles by publication date
|
|
705
712
|
cms-edit sitemap --tree # Tree rendering
|
|
706
713
|
cms-edit sitemap --include page,article # Include articles too
|
|
707
714
|
```
|