@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.
Files changed (52) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/commands/entry-search.d.ts.map +1 -1
  3. package/dist/commands/entry-search.js +4 -1
  4. package/dist/commands/entry-search.js.map +1 -1
  5. package/dist/commands/list.d.ts.map +1 -1
  6. package/dist/commands/list.js +26 -2
  7. package/dist/commands/list.js.map +1 -1
  8. package/dist/commands/sitemap.d.ts.map +1 -1
  9. package/dist/commands/sitemap.js +17 -2
  10. package/dist/commands/sitemap.js.map +1 -1
  11. package/dist/contentful/cda-sync.d.ts.map +1 -1
  12. package/dist/contentful/cda-sync.js +2 -0
  13. package/dist/contentful/cda-sync.js.map +1 -1
  14. package/dist/contentful/reference-record.d.ts +4 -0
  15. package/dist/contentful/reference-record.d.ts.map +1 -1
  16. package/dist/contentful/reference-record.js +7 -0
  17. package/dist/contentful/reference-record.js.map +1 -1
  18. package/dist/generated/hosted-guide.d.ts +1 -1
  19. package/dist/generated/hosted-guide.d.ts.map +1 -1
  20. package/dist/generated/hosted-guide.js +1 -1
  21. package/dist/generated/hosted-guide.js.map +1 -1
  22. package/dist/generated/version.d.ts +1 -1
  23. package/dist/generated/version.js +1 -1
  24. package/dist/index/db.d.ts.map +1 -1
  25. package/dist/index/db.js +5 -1
  26. package/dist/index/db.js.map +1 -1
  27. package/dist/index/query.d.ts +4 -0
  28. package/dist/index/query.d.ts.map +1 -1
  29. package/dist/index/query.js +13 -2
  30. package/dist/index/query.js.map +1 -1
  31. package/dist/index/reference-lookup.d.ts.map +1 -1
  32. package/dist/index/reference-lookup.js +4 -0
  33. package/dist/index/reference-lookup.js.map +1 -1
  34. package/dist/index/schema.d.ts +5 -3
  35. package/dist/index/schema.d.ts.map +1 -1
  36. package/dist/index/schema.js +8 -3
  37. package/dist/index/schema.js.map +1 -1
  38. package/dist/index/sync.d.ts.map +1 -1
  39. package/dist/index/sync.js +5 -4
  40. package/dist/index/sync.js.map +1 -1
  41. package/dist/mcp/tools/cms-edit.d.ts +1 -1
  42. package/dist/mcp/tools/cms-edit.d.ts.map +1 -1
  43. package/dist/mcp/tools/cms-edit.js +8 -0
  44. package/dist/mcp/tools/cms-edit.js.map +1 -1
  45. package/dist/output/json.d.ts.map +1 -1
  46. package/dist/output/json.js +1 -0
  47. package/dist/output/json.js.map +1 -1
  48. package/docs/help/fields-article.md +14 -0
  49. package/docs/help/index-sync.md +1 -0
  50. package/docs/mcp/hosted-guide.md +24 -0
  51. package/package.json +1 -1
  52. package/skills/core/SKILL.md +7 -0
@@ -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
  ```