@se-studio/contentful-cms 0.0.0-next16-20260822103555
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 +1117 -0
- package/HOSTED.md +152 -0
- package/INSTALL.md +29 -0
- package/README.md +674 -0
- package/dist/audit/asset-usage.d.ts +29 -0
- package/dist/audit/asset-usage.d.ts.map +1 -0
- package/dist/audit/asset-usage.js +99 -0
- package/dist/audit/asset-usage.js.map +1 -0
- package/dist/audit/media-review-rules.d.ts +33 -0
- package/dist/audit/media-review-rules.d.ts.map +1 -0
- package/dist/audit/media-review-rules.js +120 -0
- package/dist/audit/media-review-rules.js.map +1 -0
- package/dist/audit/media-review.d.ts +45 -0
- package/dist/audit/media-review.d.ts.map +1 -0
- package/dist/audit/media-review.js +69 -0
- package/dist/audit/media-review.js.map +1 -0
- package/dist/bin/cms-edit.d.ts +4 -0
- package/dist/bin/cms-edit.d.ts.map +1 -0
- package/dist/bin/cms-edit.js +46 -0
- package/dist/bin/cms-edit.js.map +1 -0
- package/dist/cli/program.d.ts +9 -0
- package/dist/cli/program.d.ts.map +1 -0
- package/dist/cli/program.js +152 -0
- package/dist/cli/program.js.map +1 -0
- package/dist/cli/read-json-input.d.ts +27 -0
- package/dist/cli/read-json-input.d.ts.map +1 -0
- package/dist/cli/read-json-input.js +65 -0
- package/dist/cli/read-json-input.js.map +1 -0
- package/dist/cli/runner.d.ts +15 -0
- package/dist/cli/runner.d.ts.map +1 -0
- package/dist/cli/runner.js +113 -0
- package/dist/cli/runner.js.map +1 -0
- package/dist/commands/add-initial-fields.d.ts +27 -0
- package/dist/commands/add-initial-fields.d.ts.map +1 -0
- package/dist/commands/add-initial-fields.js +42 -0
- package/dist/commands/add-initial-fields.js.map +1 -0
- package/dist/commands/add-target-field.d.ts +15 -0
- package/dist/commands/add-target-field.d.ts.map +1 -0
- package/dist/commands/add-target-field.js +48 -0
- package/dist/commands/add-target-field.js.map +1 -0
- package/dist/commands/add.d.ts +4 -0
- package/dist/commands/add.d.ts.map +1 -0
- package/dist/commands/add.js +291 -0
- package/dist/commands/add.js.map +1 -0
- package/dist/commands/article-tags-from-json.d.ts +4 -0
- package/dist/commands/article-tags-from-json.d.ts.map +1 -0
- package/dist/commands/article-tags-from-json.js +55 -0
- package/dist/commands/article-tags-from-json.js.map +1 -0
- package/dist/commands/asset.d.ts +4 -0
- package/dist/commands/asset.d.ts.map +1 -0
- package/dist/commands/asset.js +685 -0
- package/dist/commands/asset.js.map +1 -0
- package/dist/commands/batch-assignments.d.ts +16 -0
- package/dist/commands/batch-assignments.d.ts.map +1 -0
- package/dist/commands/batch-assignments.js +61 -0
- package/dist/commands/batch-assignments.js.map +1 -0
- package/dist/commands/batch.d.ts +5 -0
- package/dist/commands/batch.d.ts.map +1 -0
- package/dist/commands/batch.js +272 -0
- package/dist/commands/batch.js.map +1 -0
- package/dist/commands/bulk-rtf-replace.d.ts +4 -0
- package/dist/commands/bulk-rtf-replace.d.ts.map +1 -0
- package/dist/commands/bulk-rtf-replace.js +103 -0
- package/dist/commands/bulk-rtf-replace.js.map +1 -0
- package/dist/commands/create-from-json.d.ts +8 -0
- package/dist/commands/create-from-json.d.ts.map +1 -0
- package/dist/commands/create-from-json.js +531 -0
- package/dist/commands/create-from-json.js.map +1 -0
- package/dist/commands/create-person-from-json.d.ts +4 -0
- package/dist/commands/create-person-from-json.d.ts.map +1 -0
- package/dist/commands/create-person-from-json.js +86 -0
- package/dist/commands/create-person-from-json.js.map +1 -0
- package/dist/commands/create-person.d.ts +4 -0
- package/dist/commands/create-person.d.ts.map +1 -0
- package/dist/commands/create-person.js +76 -0
- package/dist/commands/create-person.js.map +1 -0
- package/dist/commands/create-taxonomy-from-json.d.ts +4 -0
- package/dist/commands/create-taxonomy-from-json.d.ts.map +1 -0
- package/dist/commands/create-taxonomy-from-json.js +96 -0
- package/dist/commands/create-taxonomy-from-json.js.map +1 -0
- package/dist/commands/create-taxonomy.d.ts +36 -0
- package/dist/commands/create-taxonomy.d.ts.map +1 -0
- package/dist/commands/create-taxonomy.js +214 -0
- package/dist/commands/create-taxonomy.js.map +1 -0
- package/dist/commands/create.d.ts +4 -0
- package/dist/commands/create.d.ts.map +1 -0
- package/dist/commands/create.js +454 -0
- package/dist/commands/create.js.map +1 -0
- package/dist/commands/customer.d.ts +4 -0
- package/dist/commands/customer.d.ts.map +1 -0
- package/dist/commands/customer.js +56 -0
- package/dist/commands/customer.js.map +1 -0
- package/dist/commands/diagnose.d.ts +29 -0
- package/dist/commands/diagnose.d.ts.map +1 -0
- package/dist/commands/diagnose.js +119 -0
- package/dist/commands/diagnose.js.map +1 -0
- package/dist/commands/diff.d.ts +4 -0
- package/dist/commands/diff.d.ts.map +1 -0
- package/dist/commands/diff.js +33 -0
- package/dist/commands/diff.js.map +1 -0
- package/dist/commands/discard.d.ts +4 -0
- package/dist/commands/discard.d.ts.map +1 -0
- package/dist/commands/discard.js +63 -0
- package/dist/commands/discard.js.map +1 -0
- package/dist/commands/editor-pack.d.ts +4 -0
- package/dist/commands/editor-pack.d.ts.map +1 -0
- package/dist/commands/editor-pack.js +31 -0
- package/dist/commands/editor-pack.js.map +1 -0
- package/dist/commands/entry-lookup-target.d.ts +113 -0
- package/dist/commands/entry-lookup-target.d.ts.map +1 -0
- package/dist/commands/entry-lookup-target.js +235 -0
- package/dist/commands/entry-lookup-target.js.map +1 -0
- package/dist/commands/entry-search.d.ts +4 -0
- package/dist/commands/entry-search.d.ts.map +1 -0
- package/dist/commands/entry-search.js +91 -0
- package/dist/commands/entry-search.js.map +1 -0
- package/dist/commands/guide.d.ts +4 -0
- package/dist/commands/guide.d.ts.map +1 -0
- package/dist/commands/guide.js +18 -0
- package/dist/commands/guide.js.map +1 -0
- package/dist/commands/health.d.ts +4 -0
- package/dist/commands/health.d.ts.map +1 -0
- package/dist/commands/health.js +179 -0
- package/dist/commands/health.js.map +1 -0
- package/dist/commands/help.d.ts +4 -0
- package/dist/commands/help.d.ts.map +1 -0
- package/dist/commands/help.js +49 -0
- package/dist/commands/help.js.map +1 -0
- package/dist/commands/host-scaffold.d.ts +4 -0
- package/dist/commands/host-scaffold.d.ts.map +1 -0
- package/dist/commands/host-scaffold.js +104 -0
- package/dist/commands/host-scaffold.js.map +1 -0
- package/dist/commands/host-stage.d.ts +4 -0
- package/dist/commands/host-stage.d.ts.map +1 -0
- package/dist/commands/host-stage.js +60 -0
- package/dist/commands/host-stage.js.map +1 -0
- package/dist/commands/host.d.ts +3 -0
- package/dist/commands/host.d.ts.map +1 -0
- package/dist/commands/host.js +9 -0
- package/dist/commands/host.js.map +1 -0
- package/dist/commands/index-dump.d.ts +15 -0
- package/dist/commands/index-dump.d.ts.map +1 -0
- package/dist/commands/index-dump.js +207 -0
- package/dist/commands/index-dump.js.map +1 -0
- package/dist/commands/index.d.ts +4 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +107 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/links.d.ts +4 -0
- package/dist/commands/links.d.ts.map +1 -0
- package/dist/commands/links.js +343 -0
- package/dist/commands/links.js.map +1 -0
- package/dist/commands/list.d.ts +4 -0
- package/dist/commands/list.d.ts.map +1 -0
- package/dist/commands/list.js +282 -0
- package/dist/commands/list.js.map +1 -0
- package/dist/commands/media.d.ts +4 -0
- package/dist/commands/media.d.ts.map +1 -0
- package/dist/commands/media.js +143 -0
- package/dist/commands/media.js.map +1 -0
- package/dist/commands/move.d.ts +3 -0
- package/dist/commands/move.d.ts.map +1 -0
- package/dist/commands/move.js +85 -0
- package/dist/commands/move.js.map +1 -0
- package/dist/commands/multiset-assignments.d.ts +16 -0
- package/dist/commands/multiset-assignments.d.ts.map +1 -0
- package/dist/commands/multiset-assignments.js +24 -0
- package/dist/commands/multiset-assignments.js.map +1 -0
- package/dist/commands/nav.d.ts +4 -0
- package/dist/commands/nav.d.ts.map +1 -0
- package/dist/commands/nav.js +327 -0
- package/dist/commands/nav.js.map +1 -0
- package/dist/commands/open.d.ts +4 -0
- package/dist/commands/open.d.ts.map +1 -0
- package/dist/commands/open.js +124 -0
- package/dist/commands/open.js.map +1 -0
- package/dist/commands/peek.d.ts +4 -0
- package/dist/commands/peek.d.ts.map +1 -0
- package/dist/commands/peek.js +105 -0
- package/dist/commands/peek.js.map +1 -0
- package/dist/commands/preview.d.ts +4 -0
- package/dist/commands/preview.d.ts.map +1 -0
- package/dist/commands/preview.js +242 -0
- package/dist/commands/preview.js.map +1 -0
- package/dist/commands/project.d.ts +4 -0
- package/dist/commands/project.d.ts.map +1 -0
- package/dist/commands/project.js +63 -0
- package/dist/commands/project.js.map +1 -0
- package/dist/commands/read.d.ts +4 -0
- package/dist/commands/read.d.ts.map +1 -0
- package/dist/commands/read.js +59 -0
- package/dist/commands/read.js.map +1 -0
- package/dist/commands/remove.d.ts +4 -0
- package/dist/commands/remove.d.ts.map +1 -0
- package/dist/commands/remove.js +104 -0
- package/dist/commands/remove.js.map +1 -0
- package/dist/commands/resolve.d.ts +4 -0
- package/dist/commands/resolve.d.ts.map +1 -0
- package/dist/commands/resolve.js +157 -0
- package/dist/commands/resolve.js.map +1 -0
- package/dist/commands/rtf.d.ts +4 -0
- package/dist/commands/rtf.d.ts.map +1 -0
- package/dist/commands/rtf.js +589 -0
- package/dist/commands/rtf.js.map +1 -0
- package/dist/commands/run.d.ts +4 -0
- package/dist/commands/run.d.ts.map +1 -0
- package/dist/commands/run.js +515 -0
- package/dist/commands/run.js.map +1 -0
- package/dist/commands/save-pending.d.ts +3 -0
- package/dist/commands/save-pending.d.ts.map +1 -0
- package/dist/commands/save-pending.js +5 -0
- package/dist/commands/save-pending.js.map +1 -0
- package/dist/commands/save.d.ts +4 -0
- package/dist/commands/save.d.ts.map +1 -0
- package/dist/commands/save.js +79 -0
- package/dist/commands/save.js.map +1 -0
- package/dist/commands/schema.d.ts +4 -0
- package/dist/commands/schema.d.ts.map +1 -0
- package/dist/commands/schema.js +283 -0
- package/dist/commands/schema.js.map +1 -0
- package/dist/commands/session-diff.d.ts +14 -0
- package/dist/commands/session-diff.d.ts.map +1 -0
- package/dist/commands/session-diff.js +238 -0
- package/dist/commands/session-diff.js.map +1 -0
- package/dist/commands/set.d.ts +4 -0
- package/dist/commands/set.d.ts.map +1 -0
- package/dist/commands/set.js +577 -0
- package/dist/commands/set.js.map +1 -0
- package/dist/commands/snapshot.d.ts +3 -0
- package/dist/commands/snapshot.d.ts.map +1 -0
- package/dist/commands/snapshot.js +31 -0
- package/dist/commands/snapshot.js.map +1 -0
- package/dist/commands/staged-upload.d.ts +4 -0
- package/dist/commands/staged-upload.d.ts.map +1 -0
- package/dist/commands/staged-upload.js +54 -0
- package/dist/commands/staged-upload.js.map +1 -0
- package/dist/commands/version.d.ts +4 -0
- package/dist/commands/version.d.ts.map +1 -0
- package/dist/commands/version.js +17 -0
- package/dist/commands/version.js.map +1 -0
- package/dist/config/data-root.d.ts +6 -0
- package/dist/config/data-root.d.ts.map +1 -0
- package/dist/config/data-root.js +21 -0
- package/dist/config/data-root.js.map +1 -0
- package/dist/config/hosted.d.ts +36 -0
- package/dist/config/hosted.d.ts.map +1 -0
- package/dist/config/hosted.js +113 -0
- package/dist/config/hosted.js.map +1 -0
- package/dist/config/load.d.ts +27 -0
- package/dist/config/load.d.ts.map +1 -0
- package/dist/config/load.js +139 -0
- package/dist/config/load.js.map +1 -0
- package/dist/config/types.d.ts +42 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +2 -0
- package/dist/config/types.js.map +1 -0
- package/dist/contentful/article-tags-from-json.d.ts +25 -0
- package/dist/contentful/article-tags-from-json.d.ts.map +1 -0
- package/dist/contentful/article-tags-from-json.js +121 -0
- package/dist/contentful/article-tags-from-json.js.map +1 -0
- package/dist/contentful/article-type-resolve.d.ts +11 -0
- package/dist/contentful/article-type-resolve.d.ts.map +1 -0
- package/dist/contentful/article-type-resolve.js +35 -0
- package/dist/contentful/article-type-resolve.js.map +1 -0
- package/dist/contentful/asset-link-from-json.d.ts +17 -0
- package/dist/contentful/asset-link-from-json.d.ts.map +1 -0
- package/dist/contentful/asset-link-from-json.js +41 -0
- package/dist/contentful/asset-link-from-json.js.map +1 -0
- package/dist/contentful/assets.d.ts +54 -0
- package/dist/contentful/assets.d.ts.map +1 -0
- package/dist/contentful/assets.js +168 -0
- package/dist/contentful/assets.js.map +1 -0
- package/dist/contentful/bulk-rtf-replace.d.ts +29 -0
- package/dist/contentful/bulk-rtf-replace.d.ts.map +1 -0
- package/dist/contentful/bulk-rtf-replace.js +119 -0
- package/dist/contentful/bulk-rtf-replace.js.map +1 -0
- package/dist/contentful/cda-sync.d.ts +45 -0
- package/dist/contentful/cda-sync.d.ts.map +1 -0
- package/dist/contentful/cda-sync.js +382 -0
- package/dist/contentful/cda-sync.js.map +1 -0
- package/dist/contentful/client.d.ts +56 -0
- package/dist/contentful/client.d.ts.map +1 -0
- package/dist/contentful/client.js +78 -0
- package/dist/contentful/client.js.map +1 -0
- package/dist/contentful/cma-user-agent.d.ts +10 -0
- package/dist/contentful/cma-user-agent.d.ts.map +1 -0
- package/dist/contentful/cma-user-agent.js +20 -0
- package/dist/contentful/cma-user-agent.js.map +1 -0
- package/dist/contentful/content-type-disk-cache.d.ts +7 -0
- package/dist/contentful/content-type-disk-cache.d.ts.map +1 -0
- package/dist/contentful/content-type-disk-cache.js +42 -0
- package/dist/contentful/content-type-disk-cache.js.map +1 -0
- package/dist/contentful/delivery-token.d.ts +17 -0
- package/dist/contentful/delivery-token.d.ts.map +1 -0
- package/dist/contentful/delivery-token.js +104 -0
- package/dist/contentful/delivery-token.js.map +1 -0
- package/dist/contentful/entry-fields.d.ts +74 -0
- package/dist/contentful/entry-fields.d.ts.map +1 -0
- package/dist/contentful/entry-fields.js +403 -0
- package/dist/contentful/entry-fields.js.map +1 -0
- package/dist/contentful/entry-lookup.d.ts +16 -0
- package/dist/contentful/entry-lookup.d.ts.map +1 -0
- package/dist/contentful/entry-lookup.js +273 -0
- package/dist/contentful/entry-lookup.js.map +1 -0
- package/dist/contentful/featured-image-defaults.d.ts +16 -0
- package/dist/contentful/featured-image-defaults.d.ts.map +1 -0
- package/dist/contentful/featured-image-defaults.js +117 -0
- package/dist/contentful/featured-image-defaults.js.map +1 -0
- package/dist/contentful/fetch.d.ts +31 -0
- package/dist/contentful/fetch.d.ts.map +1 -0
- package/dist/contentful/fetch.js +115 -0
- package/dist/contentful/fetch.js.map +1 -0
- package/dist/contentful/field-metadata.d.ts +8 -0
- package/dist/contentful/field-metadata.d.ts.map +1 -0
- package/dist/contentful/field-metadata.js +12 -0
- package/dist/contentful/field-metadata.js.map +1 -0
- package/dist/contentful/field-value-from-json.d.ts +24 -0
- package/dist/contentful/field-value-from-json.d.ts.map +1 -0
- package/dist/contentful/field-value-from-json.js +206 -0
- package/dist/contentful/field-value-from-json.js.map +1 -0
- package/dist/contentful/hosted-asset-upload.d.ts +4 -0
- package/dist/contentful/hosted-asset-upload.d.ts.map +1 -0
- package/dist/contentful/hosted-asset-upload.js +9 -0
- package/dist/contentful/hosted-asset-upload.js.map +1 -0
- package/dist/contentful/link-fields.d.ts +22 -0
- package/dist/contentful/link-fields.d.ts.map +1 -0
- package/dist/contentful/link-fields.js +58 -0
- package/dist/contentful/link-fields.js.map +1 -0
- package/dist/contentful/linkedEntryFields.d.ts +29 -0
- package/dist/contentful/linkedEntryFields.d.ts.map +1 -0
- package/dist/contentful/linkedEntryFields.js +97 -0
- package/dist/contentful/linkedEntryFields.js.map +1 -0
- package/dist/contentful/list-entry-format.d.ts +18 -0
- package/dist/contentful/list-entry-format.d.ts.map +1 -0
- package/dist/contentful/list-entry-format.js +45 -0
- package/dist/contentful/list-entry-format.js.map +1 -0
- package/dist/contentful/media.d.ts +26 -0
- package/dist/contentful/media.d.ts.map +1 -0
- package/dist/contentful/media.js +82 -0
- package/dist/contentful/media.js.map +1 -0
- package/dist/contentful/person-create.d.ts +32 -0
- package/dist/contentful/person-create.d.ts.map +1 -0
- package/dist/contentful/person-create.js +102 -0
- package/dist/contentful/person-create.js.map +1 -0
- package/dist/contentful/reference-record.d.ts +45 -0
- package/dist/contentful/reference-record.d.ts.map +1 -0
- package/dist/contentful/reference-record.js +106 -0
- package/dist/contentful/reference-record.js.map +1 -0
- package/dist/contentful/references.d.ts +7 -0
- package/dist/contentful/references.d.ts.map +1 -0
- package/dist/contentful/references.js +12 -0
- package/dist/contentful/references.js.map +1 -0
- package/dist/contentful/regex.d.ts +14 -0
- package/dist/contentful/regex.d.ts.map +1 -0
- package/dist/contentful/regex.js +38 -0
- package/dist/contentful/regex.js.map +1 -0
- package/dist/contentful/resolve-content-type.d.ts +9 -0
- package/dist/contentful/resolve-content-type.d.ts.map +1 -0
- package/dist/contentful/resolve-content-type.js +38 -0
- package/dist/contentful/resolve-content-type.js.map +1 -0
- package/dist/contentful/scalar-value.d.ts +19 -0
- package/dist/contentful/scalar-value.d.ts.map +1 -0
- package/dist/contentful/scalar-value.js +95 -0
- package/dist/contentful/scalar-value.js.map +1 -0
- package/dist/contentful/set-field-schema.d.ts +32 -0
- package/dist/contentful/set-field-schema.d.ts.map +1 -0
- package/dist/contentful/set-field-schema.js +123 -0
- package/dist/contentful/set-field-schema.js.map +1 -0
- package/dist/contentful/slug-validation.d.ts +7 -0
- package/dist/contentful/slug-validation.d.ts.map +1 -0
- package/dist/contentful/slug-validation.js +15 -0
- package/dist/contentful/slug-validation.js.map +1 -0
- package/dist/contentful/upload-fetch.d.ts +11 -0
- package/dist/contentful/upload-fetch.d.ts.map +1 -0
- package/dist/contentful/upload-fetch.js +26 -0
- package/dist/contentful/upload-fetch.js.map +1 -0
- package/dist/contentful/upload-limits.d.ts +7 -0
- package/dist/contentful/upload-limits.d.ts.map +1 -0
- package/dist/contentful/upload-limits.js +13 -0
- package/dist/contentful/upload-limits.js.map +1 -0
- package/dist/contentful/write.d.ts +16 -0
- package/dist/contentful/write.d.ts.map +1 -0
- package/dist/contentful/write.js +97 -0
- package/dist/contentful/write.js.map +1 -0
- package/dist/editor-pack/capabilities.d.ts +105 -0
- package/dist/editor-pack/capabilities.d.ts.map +1 -0
- package/dist/editor-pack/capabilities.js +497 -0
- package/dist/editor-pack/capabilities.js.map +1 -0
- package/dist/editor-pack/generate.d.ts +19 -0
- package/dist/editor-pack/generate.d.ts.map +1 -0
- package/dist/editor-pack/generate.js +337 -0
- package/dist/editor-pack/generate.js.map +1 -0
- package/dist/editor-pack/load.d.ts +13 -0
- package/dist/editor-pack/load.d.ts.map +1 -0
- package/dist/editor-pack/load.js +99 -0
- package/dist/editor-pack/load.js.map +1 -0
- package/dist/editor-pack/parse-constants.d.ts +23 -0
- package/dist/editor-pack/parse-constants.d.ts.map +1 -0
- package/dist/editor-pack/parse-constants.js +99 -0
- package/dist/editor-pack/parse-constants.js.map +1 -0
- package/dist/editor-pack/parse-guidelines.d.ts +17 -0
- package/dist/editor-pack/parse-guidelines.d.ts.map +1 -0
- package/dist/editor-pack/parse-guidelines.js +93 -0
- package/dist/editor-pack/parse-guidelines.js.map +1 -0
- package/dist/editor-pack/parse-registrations.d.ts +7 -0
- package/dist/editor-pack/parse-registrations.d.ts.map +1 -0
- package/dist/editor-pack/parse-registrations.js +57 -0
- package/dist/editor-pack/parse-registrations.js.map +1 -0
- package/dist/editor-pack/production-site.d.ts +3 -0
- package/dist/editor-pack/production-site.d.ts.map +1 -0
- package/dist/editor-pack/production-site.js +68 -0
- package/dist/editor-pack/production-site.js.map +1 -0
- package/dist/generated/hosted-guide.d.ts +2 -0
- package/dist/generated/hosted-guide.d.ts.map +1 -0
- package/dist/generated/hosted-guide.js +3 -0
- package/dist/generated/hosted-guide.js.map +1 -0
- package/dist/generated/version.d.ts +3 -0
- package/dist/generated/version.d.ts.map +1 -0
- package/dist/generated/version.js +4 -0
- package/dist/generated/version.js.map +1 -0
- package/dist/hosted/customer-playbooks.d.ts +23 -0
- package/dist/hosted/customer-playbooks.d.ts.map +1 -0
- package/dist/hosted/customer-playbooks.js +69 -0
- package/dist/hosted/customer-playbooks.js.map +1 -0
- package/dist/hosted/index.d.ts +30 -0
- package/dist/hosted/index.d.ts.map +1 -0
- package/dist/hosted/index.js +29 -0
- package/dist/hosted/index.js.map +1 -0
- package/dist/hosted/next/HostedPageShell.d.ts +18 -0
- package/dist/hosted/next/HostedPageShell.d.ts.map +1 -0
- package/dist/hosted/next/HostedPageShell.js +12 -0
- package/dist/hosted/next/HostedPageShell.js.map +1 -0
- package/dist/hosted/next/claude-connect.d.ts +8 -0
- package/dist/hosted/next/claude-connect.d.ts.map +1 -0
- package/dist/hosted/next/claude-connect.js +23 -0
- package/dist/hosted/next/claude-connect.js.map +1 -0
- package/dist/hosted/next/context.d.ts +3 -0
- package/dist/hosted/next/context.d.ts.map +1 -0
- package/dist/hosted/next/context.js +11 -0
- package/dist/hosted/next/context.js.map +1 -0
- package/dist/hosted/next/editor-pack-path.d.ts +2 -0
- package/dist/hosted/next/editor-pack-path.d.ts.map +1 -0
- package/dist/hosted/next/editor-pack-path.js +6 -0
- package/dist/hosted/next/editor-pack-path.js.map +1 -0
- package/dist/hosted/next/page-styles.d.ts +31 -0
- package/dist/hosted/next/page-styles.d.ts.map +1 -0
- package/dist/hosted/next/page-styles.js +166 -0
- package/dist/hosted/next/page-styles.js.map +1 -0
- package/dist/hosted/next/pages/CmsEditPage.d.ts +2 -0
- package/dist/hosted/next/pages/CmsEditPage.d.ts.map +1 -0
- package/dist/hosted/next/pages/CmsEditPage.js +24 -0
- package/dist/hosted/next/pages/CmsEditPage.js.map +1 -0
- package/dist/hosted/next/pages/ContentfulCallbackPage.d.ts +2 -0
- package/dist/hosted/next/pages/ContentfulCallbackPage.d.ts.map +1 -0
- package/dist/hosted/next/pages/ContentfulCallbackPage.js +47 -0
- package/dist/hosted/next/pages/ContentfulCallbackPage.js.map +1 -0
- package/dist/hosted/next/pages/CustomerPlaybookPage.d.ts +8 -0
- package/dist/hosted/next/pages/CustomerPlaybookPage.d.ts.map +1 -0
- package/dist/hosted/next/pages/CustomerPlaybookPage.js +24 -0
- package/dist/hosted/next/pages/CustomerPlaybookPage.js.map +1 -0
- package/dist/hosted/next/pages/CustomerPlaybooksPage.d.ts +2 -0
- package/dist/hosted/next/pages/CustomerPlaybooksPage.d.ts.map +1 -0
- package/dist/hosted/next/pages/CustomerPlaybooksPage.js +29 -0
- package/dist/hosted/next/pages/CustomerPlaybooksPage.js.map +1 -0
- package/dist/hosted/next/pages/HomePage.d.ts +2 -0
- package/dist/hosted/next/pages/HomePage.d.ts.map +1 -0
- package/dist/hosted/next/pages/HomePage.js +37 -0
- package/dist/hosted/next/pages/HomePage.js.map +1 -0
- package/dist/hosted/next/redis.d.ts +5 -0
- package/dist/hosted/next/redis.d.ts.map +1 -0
- package/dist/hosted/next/redis.js +49 -0
- package/dist/hosted/next/redis.js.map +1 -0
- package/dist/hosted/next/routes/connect.d.ts +2 -0
- package/dist/hosted/next/routes/connect.d.ts.map +1 -0
- package/dist/hosted/next/routes/connect.js +19 -0
- package/dist/hosted/next/routes/connect.js.map +1 -0
- package/dist/hosted/next/routes/customer-index.d.ts +2 -0
- package/dist/hosted/next/routes/customer-index.d.ts.map +1 -0
- package/dist/hosted/next/routes/customer-index.js +12 -0
- package/dist/hosted/next/routes/customer-index.js.map +1 -0
- package/dist/hosted/next/routes/customer-resource.d.ts +8 -0
- package/dist/hosted/next/routes/customer-resource.d.ts.map +1 -0
- package/dist/hosted/next/routes/customer-resource.js +19 -0
- package/dist/hosted/next/routes/customer-resource.js.map +1 -0
- package/dist/hosted/next/routes/health.d.ts +2 -0
- package/dist/hosted/next/routes/health.d.ts.map +1 -0
- package/dist/hosted/next/routes/health.js +82 -0
- package/dist/hosted/next/routes/health.js.map +1 -0
- package/dist/hosted/next/routes/link-contentful.d.ts +2 -0
- package/dist/hosted/next/routes/link-contentful.d.ts.map +1 -0
- package/dist/hosted/next/routes/link-contentful.js +6 -0
- package/dist/hosted/next/routes/link-contentful.js.map +1 -0
- package/dist/hosted/next/routes/mcp.d.ts +4 -0
- package/dist/hosted/next/routes/mcp.d.ts.map +1 -0
- package/dist/hosted/next/routes/mcp.js +116 -0
- package/dist/hosted/next/routes/mcp.js.map +1 -0
- package/dist/hosted/next/routes/oauth-authorization-server.d.ts +2 -0
- package/dist/hosted/next/routes/oauth-authorization-server.d.ts.map +1 -0
- package/dist/hosted/next/routes/oauth-authorization-server.js +5 -0
- package/dist/hosted/next/routes/oauth-authorization-server.js.map +1 -0
- package/dist/hosted/next/routes/oauth-authorize.d.ts +2 -0
- package/dist/hosted/next/routes/oauth-authorize.d.ts.map +1 -0
- package/dist/hosted/next/routes/oauth-authorize.js +6 -0
- package/dist/hosted/next/routes/oauth-authorize.js.map +1 -0
- package/dist/hosted/next/routes/oauth-protected-resource.d.ts +2 -0
- package/dist/hosted/next/routes/oauth-protected-resource.d.ts.map +1 -0
- package/dist/hosted/next/routes/oauth-protected-resource.js +5 -0
- package/dist/hosted/next/routes/oauth-protected-resource.js.map +1 -0
- package/dist/hosted/next/routes/oauth-register.d.ts +2 -0
- package/dist/hosted/next/routes/oauth-register.d.ts.map +1 -0
- package/dist/hosted/next/routes/oauth-register.js +6 -0
- package/dist/hosted/next/routes/oauth-register.js.map +1 -0
- package/dist/hosted/next/routes/oauth-token.d.ts +2 -0
- package/dist/hosted/next/routes/oauth-token.d.ts.map +1 -0
- package/dist/hosted/next/routes/oauth-token.js +6 -0
- package/dist/hosted/next/routes/oauth-token.js.map +1 -0
- package/dist/hosted/next/routes/staged-upload.d.ts +2 -0
- package/dist/hosted/next/routes/staged-upload.d.ts.map +1 -0
- package/dist/hosted/next/routes/staged-upload.js +83 -0
- package/dist/hosted/next/routes/staged-upload.js.map +1 -0
- package/dist/hosted/next/stage-site.d.ts +11 -0
- package/dist/hosted/next/stage-site.d.ts.map +1 -0
- package/dist/hosted/next/stage-site.js +50 -0
- package/dist/hosted/next/stage-site.js.map +1 -0
- package/dist/hosted/oauth/auth.d.ts +15 -0
- package/dist/hosted/oauth/auth.d.ts.map +1 -0
- package/dist/hosted/oauth/auth.js +54 -0
- package/dist/hosted/oauth/auth.js.map +1 -0
- package/dist/hosted/oauth/cached-cma.d.ts +14 -0
- package/dist/hosted/oauth/cached-cma.d.ts.map +1 -0
- package/dist/hosted/oauth/cached-cma.js +41 -0
- package/dist/hosted/oauth/cached-cma.js.map +1 -0
- package/dist/hosted/oauth/complete.d.ts +16 -0
- package/dist/hosted/oauth/complete.d.ts.map +1 -0
- package/dist/hosted/oauth/complete.js +55 -0
- package/dist/hosted/oauth/complete.js.map +1 -0
- package/dist/hosted/oauth/config.d.ts +7 -0
- package/dist/hosted/oauth/config.d.ts.map +1 -0
- package/dist/hosted/oauth/config.js +33 -0
- package/dist/hosted/oauth/config.js.map +1 -0
- package/dist/hosted/oauth/handlers.d.ts +18 -0
- package/dist/hosted/oauth/handlers.d.ts.map +1 -0
- package/dist/hosted/oauth/handlers.js +262 -0
- package/dist/hosted/oauth/handlers.js.map +1 -0
- package/dist/hosted/oauth/jwt.d.ts +9 -0
- package/dist/hosted/oauth/jwt.d.ts.map +1 -0
- package/dist/hosted/oauth/jwt.js +31 -0
- package/dist/hosted/oauth/jwt.js.map +1 -0
- package/dist/hosted/oauth/log.d.ts +12 -0
- package/dist/hosted/oauth/log.d.ts.map +1 -0
- package/dist/hosted/oauth/log.js +71 -0
- package/dist/hosted/oauth/log.js.map +1 -0
- package/dist/hosted/oauth/pat-cache.d.ts +11 -0
- package/dist/hosted/oauth/pat-cache.d.ts.map +1 -0
- package/dist/hosted/oauth/pat-cache.js +42 -0
- package/dist/hosted/oauth/pat-cache.js.map +1 -0
- package/dist/hosted/oauth/pkce.d.ts +3 -0
- package/dist/hosted/oauth/pkce.d.ts.map +1 -0
- package/dist/hosted/oauth/pkce.js +9 -0
- package/dist/hosted/oauth/pkce.js.map +1 -0
- package/dist/hosted/oauth/redirect-uri.d.ts +10 -0
- package/dist/hosted/oauth/redirect-uri.d.ts.map +1 -0
- package/dist/hosted/oauth/redirect-uri.js +61 -0
- package/dist/hosted/oauth/redirect-uri.js.map +1 -0
- package/dist/hosted/oauth/refresh.d.ts +22 -0
- package/dist/hosted/oauth/refresh.d.ts.map +1 -0
- package/dist/hosted/oauth/refresh.js +46 -0
- package/dist/hosted/oauth/refresh.js.map +1 -0
- package/dist/hosted/oauth/store.d.ts +75 -0
- package/dist/hosted/oauth/store.d.ts.map +1 -0
- package/dist/hosted/oauth/store.js +217 -0
- package/dist/hosted/oauth/store.js.map +1 -0
- package/dist/hosted/oauth/token-grant-response.d.ts +7 -0
- package/dist/hosted/oauth/token-grant-response.d.ts.map +1 -0
- package/dist/hosted/oauth/token-grant-response.js +34 -0
- package/dist/hosted/oauth/token-grant-response.js.map +1 -0
- package/dist/hosted/parse-customer-resource.d.ts +3 -0
- package/dist/hosted/parse-customer-resource.d.ts.map +1 -0
- package/dist/hosted/parse-customer-resource.js +16 -0
- package/dist/hosted/parse-customer-resource.js.map +1 -0
- package/dist/index/blob.d.ts +5 -0
- package/dist/index/blob.d.ts.map +1 -0
- package/dist/index/blob.js +15 -0
- package/dist/index/blob.js.map +1 -0
- package/dist/index/cache-keys.d.ts +9 -0
- package/dist/index/cache-keys.d.ts.map +1 -0
- package/dist/index/cache-keys.js +13 -0
- package/dist/index/cache-keys.js.map +1 -0
- package/dist/index/cache-store.d.ts +31 -0
- package/dist/index/cache-store.d.ts.map +1 -0
- package/dist/index/cache-store.js +17 -0
- package/dist/index/cache-store.js.map +1 -0
- package/dist/index/db.d.ts +12 -0
- package/dist/index/db.d.ts.map +1 -0
- package/dist/index/db.js +49 -0
- package/dist/index/db.js.map +1 -0
- package/dist/index/distributed-sync-lock.d.ts +3 -0
- package/dist/index/distributed-sync-lock.d.ts.map +1 -0
- package/dist/index/distributed-sync-lock.js +22 -0
- package/dist/index/distributed-sync-lock.js.map +1 -0
- package/dist/index/errors.d.ts +18 -0
- package/dist/index/errors.d.ts.map +1 -0
- package/dist/index/errors.js +18 -0
- package/dist/index/errors.js.map +1 -0
- package/dist/index/file-index-cache.d.ts +16 -0
- package/dist/index/file-index-cache.d.ts.map +1 -0
- package/dist/index/file-index-cache.js +103 -0
- package/dist/index/file-index-cache.js.map +1 -0
- package/dist/index/hydrate.d.ts +8 -0
- package/dist/index/hydrate.d.ts.map +1 -0
- package/dist/index/hydrate.js +26 -0
- package/dist/index/hydrate.js.map +1 -0
- package/dist/index/invalidate.d.ts +28 -0
- package/dist/index/invalidate.d.ts.map +1 -0
- package/dist/index/invalidate.js +114 -0
- package/dist/index/invalidate.js.map +1 -0
- package/dist/index/mode.d.ts +7 -0
- package/dist/index/mode.d.ts.map +1 -0
- package/dist/index/mode.js +9 -0
- package/dist/index/mode.js.map +1 -0
- package/dist/index/patch-index.d.ts +12 -0
- package/dist/index/patch-index.d.ts.map +1 -0
- package/dist/index/patch-index.js +80 -0
- package/dist/index/patch-index.js.map +1 -0
- package/dist/index/paths.d.ts +6 -0
- package/dist/index/paths.d.ts.map +1 -0
- package/dist/index/paths.js +23 -0
- package/dist/index/paths.js.map +1 -0
- package/dist/index/publish-cache.d.ts +5 -0
- package/dist/index/publish-cache.d.ts.map +1 -0
- package/dist/index/publish-cache.js +26 -0
- package/dist/index/publish-cache.js.map +1 -0
- package/dist/index/query.d.ts +139 -0
- package/dist/index/query.d.ts.map +1 -0
- package/dist/index/query.js +451 -0
- package/dist/index/query.js.map +1 -0
- package/dist/index/redis-index-cache.d.ts +24 -0
- package/dist/index/redis-index-cache.d.ts.map +1 -0
- package/dist/index/redis-index-cache.js +83 -0
- package/dist/index/redis-index-cache.js.map +1 -0
- package/dist/index/reference-lookup.d.ts +18 -0
- package/dist/index/reference-lookup.d.ts.map +1 -0
- package/dist/index/reference-lookup.js +123 -0
- package/dist/index/reference-lookup.js.map +1 -0
- package/dist/index/require.d.ts +22 -0
- package/dist/index/require.d.ts.map +1 -0
- package/dist/index/require.js +74 -0
- package/dist/index/require.js.map +1 -0
- package/dist/index/run-sync.d.ts +22 -0
- package/dist/index/run-sync.d.ts.map +1 -0
- package/dist/index/run-sync.js +76 -0
- package/dist/index/run-sync.js.map +1 -0
- package/dist/index/schema.d.ts +19 -0
- package/dist/index/schema.d.ts.map +1 -0
- package/dist/index/schema.js +81 -0
- package/dist/index/schema.js.map +1 -0
- package/dist/index/sync-lock.d.ts +9 -0
- package/dist/index/sync-lock.d.ts.map +1 -0
- package/dist/index/sync-lock.js +98 -0
- package/dist/index/sync-lock.js.map +1 -0
- package/dist/index/sync-log.d.ts +7 -0
- package/dist/index/sync-log.d.ts.map +1 -0
- package/dist/index/sync-log.js +23 -0
- package/dist/index/sync-log.js.map +1 -0
- package/dist/index/sync.d.ts +50 -0
- package/dist/index/sync.d.ts.map +1 -0
- package/dist/index/sync.js +292 -0
- package/dist/index/sync.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/guide.d.ts +21 -0
- package/dist/mcp/guide.d.ts.map +1 -0
- package/dist/mcp/guide.js +97 -0
- package/dist/mcp/guide.js.map +1 -0
- package/dist/mcp/hosted-metadata.d.ts +12 -0
- package/dist/mcp/hosted-metadata.d.ts.map +1 -0
- package/dist/mcp/hosted-metadata.js +30 -0
- package/dist/mcp/hosted-metadata.js.map +1 -0
- package/dist/mcp/http-handler.d.ts +15 -0
- package/dist/mcp/http-handler.d.ts.map +1 -0
- package/dist/mcp/http-handler.js +38 -0
- package/dist/mcp/http-handler.js.map +1 -0
- package/dist/mcp/prompts/onboarding.d.ts +4 -0
- package/dist/mcp/prompts/onboarding.d.ts.map +1 -0
- package/dist/mcp/prompts/onboarding.js +398 -0
- package/dist/mcp/prompts/onboarding.js.map +1 -0
- package/dist/mcp/resources/customer.d.ts +7 -0
- package/dist/mcp/resources/customer.d.ts.map +1 -0
- package/dist/mcp/resources/customer.js +72 -0
- package/dist/mcp/resources/customer.js.map +1 -0
- package/dist/mcp/resources/guide.d.ts +4 -0
- package/dist/mcp/resources/guide.d.ts.map +1 -0
- package/dist/mcp/resources/guide.js +16 -0
- package/dist/mcp/resources/guide.js.map +1 -0
- package/dist/mcp/server.d.ts +17 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +63 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/session-args.d.ts +10 -0
- package/dist/mcp/session-args.d.ts.map +1 -0
- package/dist/mcp/session-args.js +28 -0
- package/dist/mcp/session-args.js.map +1 -0
- package/dist/mcp/tools/cms-edit.d.ts +10 -0
- package/dist/mcp/tools/cms-edit.d.ts.map +1 -0
- package/dist/mcp/tools/cms-edit.js +148 -0
- package/dist/mcp/tools/cms-edit.js.map +1 -0
- package/dist/mcp/tools/customer.d.ts +8 -0
- package/dist/mcp/tools/customer.d.ts.map +1 -0
- package/dist/mcp/tools/customer.js +41 -0
- package/dist/mcp/tools/customer.js.map +1 -0
- package/dist/mcp/tools/help.d.ts +4 -0
- package/dist/mcp/tools/help.d.ts.map +1 -0
- package/dist/mcp/tools/help.js +23 -0
- package/dist/mcp/tools/help.js.map +1 -0
- package/dist/mcp/tools/media.d.ts +4 -0
- package/dist/mcp/tools/media.d.ts.map +1 -0
- package/dist/mcp/tools/media.js +176 -0
- package/dist/mcp/tools/media.js.map +1 -0
- package/dist/mcp/tools/staged-upload.d.ts +4 -0
- package/dist/mcp/tools/staged-upload.d.ts.map +1 -0
- package/dist/mcp/tools/staged-upload.js +77 -0
- package/dist/mcp/tools/staged-upload.js.map +1 -0
- package/dist/mcp/types.d.ts +2 -0
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/mcp/types.js +2 -0
- package/dist/mcp/types.js.map +1 -0
- package/dist/media-pipeline/actions.d.ts +32 -0
- package/dist/media-pipeline/actions.d.ts.map +1 -0
- package/dist/media-pipeline/actions.js +436 -0
- package/dist/media-pipeline/actions.js.map +1 -0
- package/dist/media-pipeline/client.d.ts +71 -0
- package/dist/media-pipeline/client.d.ts.map +1 -0
- package/dist/media-pipeline/client.js +79 -0
- package/dist/media-pipeline/client.js.map +1 -0
- package/dist/media-pipeline/config.d.ts +17 -0
- package/dist/media-pipeline/config.d.ts.map +1 -0
- package/dist/media-pipeline/config.js +52 -0
- package/dist/media-pipeline/config.js.map +1 -0
- package/dist/media-pipeline/import-filter.d.ts +36 -0
- package/dist/media-pipeline/import-filter.d.ts.map +1 -0
- package/dist/media-pipeline/import-filter.js +53 -0
- package/dist/media-pipeline/import-filter.js.map +1 -0
- package/dist/media-pipeline/import.d.ts +25 -0
- package/dist/media-pipeline/import.d.ts.map +1 -0
- package/dist/media-pipeline/import.js +225 -0
- package/dist/media-pipeline/import.js.map +1 -0
- package/dist/media-pipeline/index.d.ts +6 -0
- package/dist/media-pipeline/index.d.ts.map +1 -0
- package/dist/media-pipeline/index.js +6 -0
- package/dist/media-pipeline/index.js.map +1 -0
- package/dist/media-pipeline/job-store.d.ts +49 -0
- package/dist/media-pipeline/job-store.d.ts.map +1 -0
- package/dist/media-pipeline/job-store.js +215 -0
- package/dist/media-pipeline/job-store.js.map +1 -0
- package/dist/media-pipeline/limits.d.ts +19 -0
- package/dist/media-pipeline/limits.d.ts.map +1 -0
- package/dist/media-pipeline/limits.js +19 -0
- package/dist/media-pipeline/limits.js.map +1 -0
- package/dist/media-pipeline/log.d.ts +3 -0
- package/dist/media-pipeline/log.d.ts.map +1 -0
- package/dist/media-pipeline/log.js +12 -0
- package/dist/media-pipeline/log.js.map +1 -0
- package/dist/media-pipeline/validate.d.ts +18 -0
- package/dist/media-pipeline/validate.d.ts.map +1 -0
- package/dist/media-pipeline/validate.js +38 -0
- package/dist/media-pipeline/validate.js.map +1 -0
- package/dist/output/json.d.ts +53 -0
- package/dist/output/json.d.ts.map +1 -0
- package/dist/output/json.js +110 -0
- package/dist/output/json.js.map +1 -0
- package/dist/output/mode.d.ts +3 -0
- package/dist/output/mode.d.ts.map +1 -0
- package/dist/output/mode.js +16 -0
- package/dist/output/mode.js.map +1 -0
- package/dist/output/print.d.ts +14 -0
- package/dist/output/print.d.ts.map +1 -0
- package/dist/output/print.js +61 -0
- package/dist/output/print.js.map +1 -0
- package/dist/output/terminal-table.d.ts +15 -0
- package/dist/output/terminal-table.d.ts.map +1 -0
- package/dist/output/terminal-table.js +60 -0
- package/dist/output/terminal-table.js.map +1 -0
- package/dist/preview/capture-urls.d.ts +12 -0
- package/dist/preview/capture-urls.d.ts.map +1 -0
- package/dist/preview/capture-urls.js +41 -0
- package/dist/preview/capture-urls.js.map +1 -0
- package/dist/preview/entry-urls.d.ts +44 -0
- package/dist/preview/entry-urls.d.ts.map +1 -0
- package/dist/preview/entry-urls.js +153 -0
- package/dist/preview/entry-urls.js.map +1 -0
- package/dist/project/doctor.d.ts +9 -0
- package/dist/project/doctor.d.ts.map +1 -0
- package/dist/project/doctor.js +172 -0
- package/dist/project/doctor.js.map +1 -0
- package/dist/project/load.d.ts +5 -0
- package/dist/project/load.d.ts.map +1 -0
- package/dist/project/load.js +66 -0
- package/dist/project/load.js.map +1 -0
- package/dist/project/types.d.ts +54 -0
- package/dist/project/types.d.ts.map +1 -0
- package/dist/project/types.js +53 -0
- package/dist/project/types.js.map +1 -0
- package/dist/project/validate-hosted.d.ts +7 -0
- package/dist/project/validate-hosted.d.ts.map +1 -0
- package/dist/project/validate-hosted.js +12 -0
- package/dist/project/validate-hosted.js.map +1 -0
- package/dist/project/validate-secrets.d.ts +7 -0
- package/dist/project/validate-secrets.d.ts.map +1 -0
- package/dist/project/validate-secrets.js +61 -0
- package/dist/project/validate-secrets.js.map +1 -0
- package/dist/rtf/convertToRtf.d.ts +7 -0
- package/dist/rtf/convertToRtf.d.ts.map +1 -0
- package/dist/rtf/convertToRtf.js +24 -0
- package/dist/rtf/convertToRtf.js.map +1 -0
- package/dist/rtf/fromHtml.d.ts +8 -0
- package/dist/rtf/fromHtml.d.ts.map +1 -0
- package/dist/rtf/fromHtml.js +290 -0
- package/dist/rtf/fromHtml.js.map +1 -0
- package/dist/rtf/fromMarkdown.d.ts +25 -0
- package/dist/rtf/fromMarkdown.d.ts.map +1 -0
- package/dist/rtf/fromMarkdown.js +375 -0
- package/dist/rtf/fromMarkdown.js.map +1 -0
- package/dist/rtf/fromPlainText.d.ts +7 -0
- package/dist/rtf/fromPlainText.d.ts.map +1 -0
- package/dist/rtf/fromPlainText.js +39 -0
- package/dist/rtf/fromPlainText.js.map +1 -0
- package/dist/rtf/fromRtfJson.d.ts +10 -0
- package/dist/rtf/fromRtfJson.d.ts.map +1 -0
- package/dist/rtf/fromRtfJson.js +52 -0
- package/dist/rtf/fromRtfJson.js.map +1 -0
- package/dist/rtf/inlineHtml.d.ts +6 -0
- package/dist/rtf/inlineHtml.d.ts.map +1 -0
- package/dist/rtf/inlineHtml.js +152 -0
- package/dist/rtf/inlineHtml.js.map +1 -0
- package/dist/rtf/references.d.ts +9 -0
- package/dist/rtf/references.d.ts.map +1 -0
- package/dist/rtf/references.js +49 -0
- package/dist/rtf/references.js.map +1 -0
- package/dist/rtf/replacePlainText.d.ts +117 -0
- package/dist/rtf/replacePlainText.d.ts.map +1 -0
- package/dist/rtf/replacePlainText.js +598 -0
- package/dist/rtf/replacePlainText.js.map +1 -0
- package/dist/rtf/resolveRtfInput.d.ts +11 -0
- package/dist/rtf/resolveRtfInput.d.ts.map +1 -0
- package/dist/rtf/resolveRtfInput.js +23 -0
- package/dist/rtf/resolveRtfInput.js.map +1 -0
- package/dist/rtf/toMarkdown.d.ts +6 -0
- package/dist/rtf/toMarkdown.d.ts.map +1 -0
- package/dist/rtf/toMarkdown.js +179 -0
- package/dist/rtf/toMarkdown.js.map +1 -0
- package/dist/rtf/types.d.ts +5 -0
- package/dist/rtf/types.d.ts.map +1 -0
- package/dist/rtf/types.js +2 -0
- package/dist/rtf/types.js.map +1 -0
- package/dist/rtf/utils.d.ts +7 -0
- package/dist/rtf/utils.d.ts.map +1 -0
- package/dist/rtf/utils.js +11 -0
- package/dist/rtf/utils.js.map +1 -0
- package/dist/runtime/context.d.ts +32 -0
- package/dist/runtime/context.d.ts.map +1 -0
- package/dist/runtime/context.js +9 -0
- package/dist/runtime/context.js.map +1 -0
- package/dist/session/dirty.d.ts +20 -0
- package/dist/session/dirty.d.ts.map +1 -0
- package/dist/session/dirty.js +44 -0
- package/dist/session/dirty.js.map +1 -0
- package/dist/session/file-session-store.d.ts +10 -0
- package/dist/session/file-session-store.d.ts.map +1 -0
- package/dist/session/file-session-store.js +169 -0
- package/dist/session/file-session-store.js.map +1 -0
- package/dist/session/log.d.ts +6 -0
- package/dist/session/log.d.ts.map +1 -0
- package/dist/session/log.js +21 -0
- package/dist/session/log.js.map +1 -0
- package/dist/session/redis-session-store.d.ts +40 -0
- package/dist/session/redis-session-store.d.ts.map +1 -0
- package/dist/session/redis-session-store.js +199 -0
- package/dist/session/redis-session-store.js.map +1 -0
- package/dist/session/refs.d.ts +45 -0
- package/dist/session/refs.d.ts.map +1 -0
- package/dist/session/refs.js +152 -0
- package/dist/session/refs.js.map +1 -0
- package/dist/session/session-store.d.ts +27 -0
- package/dist/session/session-store.d.ts.map +1 -0
- package/dist/session/session-store.js +9 -0
- package/dist/session/session-store.js.map +1 -0
- package/dist/session/state.d.ts +106 -0
- package/dist/session/state.d.ts.map +1 -0
- package/dist/session/state.js +93 -0
- package/dist/session/state.js.map +1 -0
- package/dist/session/store.d.ts +16 -0
- package/dist/session/store.d.ts.map +1 -0
- package/dist/session/store.js +89 -0
- package/dist/session/store.js.map +1 -0
- package/dist/snapshot/field-value.d.ts +5 -0
- package/dist/snapshot/field-value.d.ts.map +1 -0
- package/dist/snapshot/field-value.js +42 -0
- package/dist/snapshot/field-value.js.map +1 -0
- package/dist/snapshot/fields.d.ts +10 -0
- package/dist/snapshot/fields.d.ts.map +1 -0
- package/dist/snapshot/fields.js +72 -0
- package/dist/snapshot/fields.js.map +1 -0
- package/dist/snapshot/render.d.ts +21 -0
- package/dist/snapshot/render.d.ts.map +1 -0
- package/dist/snapshot/render.js +231 -0
- package/dist/snapshot/render.js.map +1 -0
- package/dist/staged-upload/hmac.d.ts +6 -0
- package/dist/staged-upload/hmac.d.ts.map +1 -0
- package/dist/staged-upload/hmac.js +43 -0
- package/dist/staged-upload/hmac.js.map +1 -0
- package/dist/staged-upload/limits.d.ts +6 -0
- package/dist/staged-upload/limits.d.ts.map +1 -0
- package/dist/staged-upload/limits.js +9 -0
- package/dist/staged-upload/limits.js.map +1 -0
- package/dist/staged-upload/mime.d.ts +2 -0
- package/dist/staged-upload/mime.d.ts.map +1 -0
- package/dist/staged-upload/mime.js +15 -0
- package/dist/staged-upload/mime.js.map +1 -0
- package/dist/staged-upload/request.d.ts +11 -0
- package/dist/staged-upload/request.d.ts.map +1 -0
- package/dist/staged-upload/request.js +40 -0
- package/dist/staged-upload/request.js.map +1 -0
- package/dist/staged-upload/store.d.ts +19 -0
- package/dist/staged-upload/store.d.ts.map +1 -0
- package/dist/staged-upload/store.js +124 -0
- package/dist/staged-upload/store.js.map +1 -0
- package/dist/staged-upload/types.d.ts +27 -0
- package/dist/staged-upload/types.d.ts.map +1 -0
- package/dist/staged-upload/types.js +2 -0
- package/dist/staged-upload/types.js.map +1 -0
- package/dist/telemetry/axiom.d.ts +22 -0
- package/dist/telemetry/axiom.d.ts.map +1 -0
- package/dist/telemetry/axiom.js +45 -0
- package/dist/telemetry/axiom.js.map +1 -0
- package/dist/telemetry/composite.d.ts +9 -0
- package/dist/telemetry/composite.d.ts.map +1 -0
- package/dist/telemetry/composite.js +16 -0
- package/dist/telemetry/composite.js.map +1 -0
- package/dist/telemetry/enrich.d.ts +11 -0
- package/dist/telemetry/enrich.d.ts.map +1 -0
- package/dist/telemetry/enrich.js +32 -0
- package/dist/telemetry/enrich.js.map +1 -0
- package/dist/telemetry/factory.d.ts +8 -0
- package/dist/telemetry/factory.d.ts.map +1 -0
- package/dist/telemetry/factory.js +44 -0
- package/dist/telemetry/factory.js.map +1 -0
- package/dist/telemetry/index.d.ts +10 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +9 -0
- package/dist/telemetry/index.js.map +1 -0
- package/dist/telemetry/local.d.ts +9 -0
- package/dist/telemetry/local.d.ts.map +1 -0
- package/dist/telemetry/local.js +21 -0
- package/dist/telemetry/local.js.map +1 -0
- package/dist/telemetry/noop.d.ts +7 -0
- package/dist/telemetry/noop.d.ts.map +1 -0
- package/dist/telemetry/noop.js +6 -0
- package/dist/telemetry/noop.js.map +1 -0
- package/dist/telemetry/record.d.ts +14 -0
- package/dist/telemetry/record.d.ts.map +1 -0
- package/dist/telemetry/record.js +61 -0
- package/dist/telemetry/record.js.map +1 -0
- package/dist/telemetry/request-stats.d.ts +15 -0
- package/dist/telemetry/request-stats.d.ts.map +1 -0
- package/dist/telemetry/request-stats.js +34 -0
- package/dist/telemetry/request-stats.js.map +1 -0
- package/dist/telemetry/types.d.ts +47 -0
- package/dist/telemetry/types.d.ts.map +1 -0
- package/dist/telemetry/types.js +2 -0
- package/dist/telemetry/types.js.map +1 -0
- package/dist/validation/allowed-types.d.ts +7 -0
- package/dist/validation/allowed-types.d.ts.map +1 -0
- package/dist/validation/allowed-types.js +17 -0
- package/dist/validation/allowed-types.js.map +1 -0
- package/dist/version.d.ts +9 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +10 -0
- package/dist/version.js.map +1 -0
- package/docs/FEATURE_REQUESTS_ARCHIVE.md +141 -0
- package/docs/FUNCTIONAL_SPEC.md +303 -0
- package/docs/MEDIA_INDEX_PLAN.md +256 -0
- package/docs/SKILLS.md +29 -0
- package/docs/TELEMETRY_AXIOM.md +93 -0
- package/docs/editor-tasks/article-tags.md +47 -0
- package/docs/editor-tasks/authors-import.md +53 -0
- package/docs/editor-tasks/bulk-find-replace.md +52 -0
- package/docs/editor-tasks/clone-page.md +39 -0
- package/docs/editor-tasks/create-article.md +77 -0
- package/docs/editor-tasks/create-from-document.md +77 -0
- package/docs/editor-tasks/create-page.md +45 -0
- package/docs/editor-tasks/edit-rich-text.md +44 -0
- package/docs/editor-tasks/edit-scalar-fields.md +47 -0
- package/docs/editor-tasks/featured-images.md +46 -0
- package/docs/editor-tasks/media-pipeline-prepare.md +175 -0
- package/docs/editor-tasks/media-reuse-and-upload.md +122 -0
- package/docs/editor-tasks/media-review.md +139 -0
- package/docs/editor-tasks/navigation.md +39 -0
- package/docs/editor-tasks/preview-verify.md +93 -0
- package/docs/editor-tasks/publish-handoff.md +41 -0
- package/docs/editor-tasks/seo-descriptions.md +48 -0
- package/docs/editor-tasks/source-readiness-review.md +116 -0
- package/docs/editor-tasks/taxonomy.md +51 -0
- package/docs/help/article-tags-from-json.md +62 -0
- package/docs/help/asset-review.md +56 -0
- package/docs/help/batch-run.md +222 -0
- package/docs/help/batch.md +94 -0
- package/docs/help/bulk-rtf-replace.md +80 -0
- package/docs/help/create-from-json.md +382 -0
- package/docs/help/fields-article.md +161 -0
- package/docs/help/fields-collection.md +133 -0
- package/docs/help/fields-component.md +165 -0
- package/docs/help/fields-page.md +123 -0
- package/docs/help/fields-taxonomy.md +158 -0
- package/docs/help/fields.md +60 -0
- package/docs/help/index-sync.md +136 -0
- package/docs/help/index.md +181 -0
- package/docs/help/lookup.md +132 -0
- package/docs/help/person-from-json.md +82 -0
- package/docs/help/taxonomy-from-json.md +115 -0
- package/docs/help/workflow.md +239 -0
- package/docs/mcp/e2e-test-prompt.md +159 -0
- package/docs/mcp/hosted-guide.md +354 -0
- package/package.json +107 -0
- package/skills/README.md +30 -0
- package/skills/core/SKILL.md +860 -0
- package/skills/editor-tasks/SKILL.md +86 -0
- package/skills/manifest.json +6 -0
- package/skills/setup/SKILL.md +102 -0
- package/skills/templates/SKILL.md +21 -0
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
# cms-edit create from-json — Complete Guide
|
|
2
|
+
|
|
3
|
+
`create from-json` creates a complete new page or article — including all components, collections, and CTA links — from inline JSON (`--json` or `--json-base64`). It is the recommended way to create new pages on hosted MCP.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
cms-edit create from-json --json '{...}'
|
|
7
|
+
cms-edit create from-json --json '{...}' --dry-run # validate without writing
|
|
8
|
+
cms-edit create from-json --json '{...}' --strict # fail on unknown JSON keys
|
|
9
|
+
cms-edit create from-json --json '{...}' --if-not-exists # return existing ID when slug exists
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Run `cms-edit index sync` before using any `*AssetFilename` shorthand (index-backed exact `file.fileName` lookup).
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Full JSON Schema
|
|
17
|
+
|
|
18
|
+
```jsonc
|
|
19
|
+
{
|
|
20
|
+
// "page" (default) or "article". Auto-detected as "article" if articleTypeId is present.
|
|
21
|
+
"type": "page",
|
|
22
|
+
|
|
23
|
+
// Required. The URL slug. Leading slash is stripped automatically. Trailing slash triggers a warning.
|
|
24
|
+
"slug": "/solutions/hepatology",
|
|
25
|
+
|
|
26
|
+
// Required. The page title (also used as cmsLabel if cmsLabel is omitted).
|
|
27
|
+
"title": "Hepatology Solutions",
|
|
28
|
+
|
|
29
|
+
// Optional. SEO meta description.
|
|
30
|
+
"description": "Evidence generation for hepatology research.",
|
|
31
|
+
|
|
32
|
+
// Optional. Override the Contentful entry label shown in the entry list.
|
|
33
|
+
"cmsLabel": "Hepatology Solutions Page",
|
|
34
|
+
|
|
35
|
+
// Page-only: link to an existing template entry by ID.
|
|
36
|
+
"templateId": "4xKpzQ2abc123",
|
|
37
|
+
|
|
38
|
+
// Page/article: featured image — asset ID (either key; warn if both differ).
|
|
39
|
+
"featuredImage": "7yBnmR9xyz456",
|
|
40
|
+
// "featuredImageId": "7yBnmR9xyz456", // alias
|
|
41
|
+
|
|
42
|
+
// Exact Contentful asset fileName (requires cms-edit index sync).
|
|
43
|
+
// "featuredImageAssetFilename": "hero.jpg",
|
|
44
|
+
|
|
45
|
+
// Article-only: download asset (ID or fileName shorthands).
|
|
46
|
+
// "download": "assetId",
|
|
47
|
+
// "downloadAssetFilename": "report.pdf",
|
|
48
|
+
|
|
49
|
+
// Page-only: whether the page is indexed by search engines (default: not set = inherit).
|
|
50
|
+
"indexed": true,
|
|
51
|
+
|
|
52
|
+
// Page-only: whether the page is hidden from the sitemap (default: false).
|
|
53
|
+
"hidden": false,
|
|
54
|
+
|
|
55
|
+
// Article-only (required for articles): one of articleTypeId, articleTypeSlug, or articleTypeName.
|
|
56
|
+
// Prefer slug for marketers: cms-edit list --type articleType
|
|
57
|
+
"articleTypeSlug": "resources/blog",
|
|
58
|
+
|
|
59
|
+
// Article-only: publication date in YYYY-MM-DD format. Defaults to today.
|
|
60
|
+
"date": "2025-01-15",
|
|
61
|
+
|
|
62
|
+
// Array of components to create and link to the page's content field.
|
|
63
|
+
"components": [
|
|
64
|
+
// ... see Component Schema below
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Explicit link shorthands (no guessing)
|
|
72
|
+
|
|
73
|
+
Use **named keys** only — the CLI does not infer whether a string is an asset ID, Media entry ID, or file name.
|
|
74
|
+
|
|
75
|
+
### Page / article (top-level)
|
|
76
|
+
|
|
77
|
+
| JSON key | Sets field | Value |
|
|
78
|
+
|----------|------------|-------|
|
|
79
|
+
| `featuredImage` or `featuredImageId` | `featuredImage` | Asset ID |
|
|
80
|
+
| `featuredImageAssetFilename` | `featuredImage` | Exact asset `fileName` (index) |
|
|
81
|
+
| `download` or `downloadId` | `download` | Asset ID (article) |
|
|
82
|
+
| `downloadAssetFilename` | `download` | Exact asset `fileName` (article) |
|
|
83
|
+
| `icon` / `iconId` / `iconAssetFilename` | `icon` | Asset (article, when field exists) |
|
|
84
|
+
| `templateId` | `template` | Entry ID |
|
|
85
|
+
| `articleTypeId` | `articleType` | Entry ID (articles) |
|
|
86
|
+
| `topContentIds`, `visualsIds`, … | See `cms-edit help fields-taxonomy` | Entry ID arrays |
|
|
87
|
+
|
|
88
|
+
### Component `fields`
|
|
89
|
+
|
|
90
|
+
| JSON key | Sets field | Value |
|
|
91
|
+
|----------|------------|-------|
|
|
92
|
+
| `visualId` | `visual` | Media / video entry ID |
|
|
93
|
+
| `visual` (string) | `visual` | Entry ID only (same as `visualId`) |
|
|
94
|
+
| `visualAssetId` | `visual` | Asset ID when the field is an Asset link |
|
|
95
|
+
| `visualAssetFilename` | `visual` | Exact asset `fileName` → reuse or create Media |
|
|
96
|
+
| `visualMediaName` | (with `visualAssetFilename`) | Optional Media entry name when creating (default: **asset title**) |
|
|
97
|
+
| `visualMedia` | `visual` | `{ "assetId", "name", "position?", "width?" }` — always creates Media; `name` should match asset title unless you need a distinct wrapper label |
|
|
98
|
+
| `mobileVisualId`, `mobileVisualAssetFilename`, … | `mobileVisual` | Same pattern |
|
|
99
|
+
|
|
100
|
+
Unknown top-level or `fields` keys that are not on the content type: **warning** by default; use `--strict` or `--dry-run` to **fail** instead.
|
|
101
|
+
|
|
102
|
+
### Comparison with `taxonomy-from-json`
|
|
103
|
+
|
|
104
|
+
| | `taxonomy-from-json` | `create from-json` |
|
|
105
|
+
|--|----------------------|-------------------|
|
|
106
|
+
| Unknown fields on dry-run | Error (strict) | Error (strict) |
|
|
107
|
+
| Unknown fields on create | Warn | Warn |
|
|
108
|
+
| `--strict` on create | — | Supported |
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Component Schema
|
|
113
|
+
|
|
114
|
+
Each item in `components` (and `items` for collections) follows this shape:
|
|
115
|
+
|
|
116
|
+
```jsonc
|
|
117
|
+
{
|
|
118
|
+
// --- Option A: Create a new entry ---
|
|
119
|
+
|
|
120
|
+
// Contentful content type ID. One of: component, collection, externalComponent, person
|
|
121
|
+
// Default: "component"
|
|
122
|
+
"contentType": "component",
|
|
123
|
+
|
|
124
|
+
// The type discriminator value (e.g. HeroSimple, TextBlock, CardGrid).
|
|
125
|
+
// Run `cms-edit schema types <content-type>` to see valid values.
|
|
126
|
+
"type": "HeroSimple",
|
|
127
|
+
|
|
128
|
+
// Optional. Human-readable label in Contentful's entry list. Defaults to `type`.
|
|
129
|
+
"cmsLabel": "Homepage Hero",
|
|
130
|
+
|
|
131
|
+
// Which field on the parent to attach to. Default: "content" (page) or "contents" (collection).
|
|
132
|
+
// Use "topContent" or "bottomContent" for template slots.
|
|
133
|
+
"target": "content",
|
|
134
|
+
|
|
135
|
+
// Scalar and rich text fields to set. See "Field Values" section below.
|
|
136
|
+
"fields": {
|
|
137
|
+
"heading": "Welcome to Hepatology",
|
|
138
|
+
"preHeading": "Our Speciality",
|
|
139
|
+
"body": "We have been building cohorts...\n\nWith over a decade of experience.",
|
|
140
|
+
"backgroundColour": "Navy",
|
|
141
|
+
"textColour": "White"
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
// CTA link entries to create and attach to the component's `links` field.
|
|
145
|
+
"links": [
|
|
146
|
+
// ... see Link Schema below
|
|
147
|
+
],
|
|
148
|
+
|
|
149
|
+
// Child items for collection components. Same schema as a component.
|
|
150
|
+
"items": [
|
|
151
|
+
// ... nested components
|
|
152
|
+
],
|
|
153
|
+
|
|
154
|
+
// --- Option B: Link an existing entry (no fields set) ---
|
|
155
|
+
// "existingId": "4xKpzQ2abc123",
|
|
156
|
+
// "comment": "Shared footer CTA — managed separately"
|
|
157
|
+
}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Field Values
|
|
163
|
+
|
|
164
|
+
Fields in the `fields` object accept several value formats.
|
|
165
|
+
|
|
166
|
+
### Strings — Automatic RichText Conversion
|
|
167
|
+
|
|
168
|
+
**The tool uses the Contentful content model to determine if a field is RichText.** For confirmed RichText fields, any string is always converted to a RichText document — no special markers needed.
|
|
169
|
+
|
|
170
|
+
For fields where the schema is unavailable, the tool falls back to a heuristic. To trigger Markdown conversion in the heuristic path, use one of these markers:
|
|
171
|
+
|
|
172
|
+
| Marker | Example | Produces |
|
|
173
|
+
|---|---|---|
|
|
174
|
+
| `\n\n` (double newline) | `"First.\n\nSecond."` | Two paragraphs |
|
|
175
|
+
| `- ` (list item) | `"- Item one\n- Item two"` | Unordered list |
|
|
176
|
+
| `# ` (heading) | `"# Heading\n\nBody."` | Heading + paragraph |
|
|
177
|
+
| `**text**` | `"**bold** text"` | Bold inline |
|
|
178
|
+
| `> ` (blockquote) | `"> A quote"` | Blockquote |
|
|
179
|
+
|
|
180
|
+
**For single-sentence body fields:** Always include `\n\n` at the end to ensure conversion:
|
|
181
|
+
```json
|
|
182
|
+
"body": "Pedestal Health has been building cohorts in this space for over a decade.\n\n"
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### Explicit Format Object
|
|
186
|
+
|
|
187
|
+
Use an explicit format wrapper to be unambiguous:
|
|
188
|
+
```jsonc
|
|
189
|
+
"body": { "value": "Plain text paragraph.", "format": "text" }
|
|
190
|
+
"body": { "value": "## Heading\n\nContent.", "format": "markdown" }
|
|
191
|
+
"body": { "value": "<p>HTML content</p>", "format": "html" }
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Accepted formats: `"text"`, `"markdown"`, `"html"`, `"json"` (raw Contentful RichText document).
|
|
195
|
+
|
|
196
|
+
### Other Value Types
|
|
197
|
+
|
|
198
|
+
```jsonc
|
|
199
|
+
"indexed": true, // boolean
|
|
200
|
+
"heading": null, // null clears the field
|
|
201
|
+
"someNumber": 42 // number
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
## Link Schema
|
|
207
|
+
|
|
208
|
+
```jsonc
|
|
209
|
+
{
|
|
210
|
+
// Link type. One of: "external" (default), "internal", "download", "blank"
|
|
211
|
+
"type": "internal",
|
|
212
|
+
|
|
213
|
+
// Display label for the CTA button.
|
|
214
|
+
"label": "Learn More",
|
|
215
|
+
|
|
216
|
+
// For "internal": resolve by slug (preferred) or by entry ID.
|
|
217
|
+
"slug": "/solutions/hepatology",
|
|
218
|
+
// "id": "4xKpzQ2abc123", // alternative to slug
|
|
219
|
+
|
|
220
|
+
// For "external": the URL.
|
|
221
|
+
// "href": "https://example.com",
|
|
222
|
+
|
|
223
|
+
// For "download": the asset ID.
|
|
224
|
+
// "assetId": "7yBnmR9xyz456",
|
|
225
|
+
|
|
226
|
+
// Link to an existing link entry (skips creation).
|
|
227
|
+
// "existingId": "2aZxQw1def789"
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## Critical Rules
|
|
234
|
+
|
|
235
|
+
### Rule 1: Create Leaf Pages First
|
|
236
|
+
|
|
237
|
+
Internal links resolve at creation time. If page A links to page B and B does not yet exist in Contentful, the creation fails and **page A is left partially created** (the page entry exists but with no content).
|
|
238
|
+
|
|
239
|
+
**Always create leaf pages (the targets of links) before the pages that link to them.**
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
# Wrong order: /solutions links to /solutions/hepatology which doesn't exist yet
|
|
243
|
+
cms-edit create from-json --json '{...}' # FAILS mid-run
|
|
244
|
+
|
|
245
|
+
# Correct order: leaf page first, parent page second
|
|
246
|
+
cms-edit create from-json --json '{...}' # succeeds
|
|
247
|
+
cms-edit create from-json --json '{...}' # succeeds — slug resolves
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
Use `--dry-run` to catch missing slugs before writing anything (see below).
|
|
251
|
+
|
|
252
|
+
### Rule 2: Always Run --dry-run First
|
|
253
|
+
|
|
254
|
+
`--dry-run` validates the plan without creating anything in Contentful. It prints the component tree and checks that all internal link slugs exist:
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
cms-edit create from-json --json '{...}' --dry-run
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
Example output when a slug is missing:
|
|
261
|
+
```
|
|
262
|
+
[dry-run] Would create page:
|
|
263
|
+
slug: /solutions
|
|
264
|
+
title: Solutions
|
|
265
|
+
...
|
|
266
|
+
|
|
267
|
+
✗ Internal link slug not found in Contentful: "/solutions/hepatology"
|
|
268
|
+
✗ Internal link slug not found in Contentful: "/solutions/dermatology"
|
|
269
|
+
Create the target pages first, then re-run. See: cms-edit help create-from-json
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### Rule 3: Use body Strings Consistently
|
|
273
|
+
|
|
274
|
+
Even if a body field is short, include `\n\n` at the end to ensure the string is treated as a paragraph of rich text:
|
|
275
|
+
|
|
276
|
+
```jsonc
|
|
277
|
+
// Good — explicit double newline ensures conversion
|
|
278
|
+
"body": "A single-sentence description.\n\n"
|
|
279
|
+
|
|
280
|
+
// Also good — multi-paragraph body
|
|
281
|
+
"body": "First paragraph.\n\nSecond paragraph."
|
|
282
|
+
|
|
283
|
+
// Risky for heuristic-path fields — no markers, may pass as plain string
|
|
284
|
+
"body": "A single-sentence description."
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## Recovery: Partial Page Created
|
|
290
|
+
|
|
291
|
+
If a run fails mid-way (e.g. a missing internal link slug), the page entry is already in Contentful but with no content. The error message shows the page ID:
|
|
292
|
+
|
|
293
|
+
```
|
|
294
|
+
✗ Component creation failed: No entry found with slug "/solutions/hepatology".
|
|
295
|
+
✗ The page entry was already created in Contentful (partial state) — ID: 4xKpzQ2abc123, slug: /solutions
|
|
296
|
+
Inspect with: cms-edit open --page-slug /solutions
|
|
297
|
+
Remove with: delete the entry in Contentful at https://app.contentful.com/spaces/...
|
|
298
|
+
Tip: run with --dry-run first to validate all internal link slugs exist.
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
Options:
|
|
302
|
+
1. Delete the partial entry in Contentful, fix the dependency order, and re-run.
|
|
303
|
+
2. Repair the partial entry using `cms-edit batch run` with targeted `set`/`rtf` operations.
|
|
304
|
+
3. Use `cms-edit open --page-slug /solutions` + individual `add` operations to rebuild the content.
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## Complete Example
|
|
309
|
+
|
|
310
|
+
A two-component page:
|
|
311
|
+
|
|
312
|
+
```json
|
|
313
|
+
{
|
|
314
|
+
"type": "page",
|
|
315
|
+
"slug": "/solutions/hepatology",
|
|
316
|
+
"title": "Hepatology Solutions",
|
|
317
|
+
"description": "Evidence generation for hepatology research.",
|
|
318
|
+
"components": [
|
|
319
|
+
{
|
|
320
|
+
"contentType": "component",
|
|
321
|
+
"type": "HeroSimple",
|
|
322
|
+
"cmsLabel": "Hepatology Hero",
|
|
323
|
+
"fields": {
|
|
324
|
+
"heading": "Hepatology Evidence Generation",
|
|
325
|
+
"preHeading": "Our Speciality",
|
|
326
|
+
"body": "We have been building cohorts in hepatology for over a decade.\n\nOur work spans NASH, HCC, and liver transplantation.",
|
|
327
|
+
"backgroundColour": "Navy",
|
|
328
|
+
"textColour": "White"
|
|
329
|
+
},
|
|
330
|
+
"links": [
|
|
331
|
+
{ "type": "internal", "label": "Contact Us", "slug": "/contact" }
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"contentType": "collection",
|
|
336
|
+
"type": "CardGrid",
|
|
337
|
+
"cmsLabel": "Hepatology Capabilities",
|
|
338
|
+
"fields": {
|
|
339
|
+
"heading": "What We Offer"
|
|
340
|
+
},
|
|
341
|
+
"items": [
|
|
342
|
+
{
|
|
343
|
+
"contentType": "component",
|
|
344
|
+
"type": "Generic",
|
|
345
|
+
"cmsLabel": "Capability — Cohort Building",
|
|
346
|
+
"fields": {
|
|
347
|
+
"heading": "Cohort Building",
|
|
348
|
+
"body": "- Disease characterization\n- Protocol design\n- Long-term follow-up"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"contentType": "component",
|
|
353
|
+
"type": "Generic",
|
|
354
|
+
"cmsLabel": "Capability — Evidence Review",
|
|
355
|
+
"fields": {
|
|
356
|
+
"heading": "Evidence Review",
|
|
357
|
+
"body": "Systematic literature reviews and meta-analyses.\n\nSuitable for regulatory submission."
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
}
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
Run:
|
|
367
|
+
```bash
|
|
368
|
+
cms-edit create from-json --json '{...}' --dry-run # validate first
|
|
369
|
+
cms-edit create from-json --json '{...}' # create for real
|
|
370
|
+
cms-edit open --page-slug /solutions/hepatology # inspect result
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
## After Creation
|
|
376
|
+
|
|
377
|
+
Once created:
|
|
378
|
+
1. Run `cms-edit open --page-slug /<slug>` to inspect the result.
|
|
379
|
+
2. Fix any field values with `cms-edit set` or `cms-edit rtf`.
|
|
380
|
+
3. Publish in the Contentful web app when ready.
|
|
381
|
+
|
|
382
|
+
The tool prints the Contentful web app URL for the new entry after creation.
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# cms-edit — Article Field Reference
|
|
2
|
+
|
|
3
|
+
An `article` entry is a blog post, news item, or publication. It has a slug, date, article type classification, and usually a `content` array of body components.
|
|
4
|
+
|
|
5
|
+
Read `cms-edit://customer/articles` for site-specific playbooks (press releases, publications, tag rules).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Fields
|
|
10
|
+
|
|
11
|
+
| Field | Type | Required | Description |
|
|
12
|
+
|---|---|---|---|
|
|
13
|
+
| `slug` | Text | Yes | URL slug without leading or trailing slash. Example: `part1/part2/part3` |
|
|
14
|
+
| `title` | Text | Yes | Article title |
|
|
15
|
+
| `description` | Text | No | SEO meta description — keep under ~160 characters when used for meta |
|
|
16
|
+
| `subtitle` | Text | No | Display line on news/publication heroes (site-specific) |
|
|
17
|
+
| `cmsLabel` | Text | No | Label in Contentful's entry list. Defaults to `title` |
|
|
18
|
+
| `date` | Date | Yes | Publication date in `YYYY-MM-DD` format. Defaults to today in `create from-json` |
|
|
19
|
+
| `articleType` | Link (Entry) | Yes | Link to an `articleType` entry (categorises the article) |
|
|
20
|
+
| `tags` | Array of Links | No | Tag entries (often drives URL topic segment when primary tag is in slug) |
|
|
21
|
+
| `content` | Array of Links | No | Body components — see [Template hierarchy](#template-hierarchy) before adding heroes |
|
|
22
|
+
| `template` | Link (Entry) | No | Per-article layout override (rare); overrides `articleType.articleTemplate` |
|
|
23
|
+
| `featuredImage` | Link (Asset) | No | Often used for OpenGraph / social sharing — prefer **landscape** (wider than tall) |
|
|
24
|
+
| `visuals` | Array of Links | No | Media entries — on many sites drives on-page hero and listing thumbnails |
|
|
25
|
+
| `download` | Link (Asset) | No | Downloadable file (e.g. PDF poster) |
|
|
26
|
+
| `icon` | Link (Asset) | No | Icon asset |
|
|
27
|
+
| `authors` | Array of Links | No | Person entries (ordered bylines) |
|
|
28
|
+
| `externalLink` | Text | No | External URL (e.g. DOI, journal link) |
|
|
29
|
+
| `indexed` | Boolean | Yes | Search indexing (default `true`) |
|
|
30
|
+
| `hidden` | Boolean | Yes | Sitemap visibility (default `false`) |
|
|
31
|
+
|
|
32
|
+
### `featuredImage` vs `visuals`
|
|
33
|
+
|
|
34
|
+
On sites that use **both** fields, they often serve different purposes:
|
|
35
|
+
|
|
36
|
+
| Field | Typical use |
|
|
37
|
+
|-------|-------------|
|
|
38
|
+
| `visuals` | On-page hero image and listing/card thumbnail |
|
|
39
|
+
| `featuredImage` | OpenGraph and social sharing cards (landscape) |
|
|
40
|
+
|
|
41
|
+
Read `cms-edit://customer/articles` and `defaults` for site rules. When the playbook requires both, set each explicitly — do not omit `featuredImage` expecting inheritance to fill gaps on listing or OG surfaces.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Template hierarchy
|
|
46
|
+
|
|
47
|
+
Rendered article layout is assembled from the article entry **and** a resolved **template** entry:
|
|
48
|
+
|
|
49
|
+
1. Article `template` field (if set) — takes precedence
|
|
50
|
+
2. Else linked `articleType` → `articleTemplate` field
|
|
51
|
+
|
|
52
|
+
Template entries provide `preContent` and `postContent` arrays that wrap the article's `content` field. On many marketing sites, **heroes and shells live in the template**, not in per-article `content`.
|
|
53
|
+
|
|
54
|
+
Before adding components to an article:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
cms-edit list --type articleType
|
|
58
|
+
# Note articleTemplate on the target type, then inspect that template:
|
|
59
|
+
cms-edit peek --id <template-entry-id>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Do not duplicate** hero or layout components in `content` when the resolved template's `preContent` / `postContent` already provides them. The site playbook (`cms-edit://customer/articles`) lists which component types belong in `content` (e.g. rich text only).
|
|
63
|
+
|
|
64
|
+
> **Note:** `articleType.articlePageTopContent` exists in Contentful on some spaces but is **not** read by the standard article converter — use `articleTemplate` → `preContent` instead.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Finding article types (required)
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
cms-edit list --type articleType
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Every article must link to an **articleType**. Prefer slug-based lookup for marketers:
|
|
75
|
+
|
|
76
|
+
- CLI: `--article-type-slug resources/blog` or `--article-type-name "Blog"`
|
|
77
|
+
- JSON: `articleTypeSlug` or `articleTypeName` (or `articleTypeId` if you have the ID)
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Listing Recent Articles
|
|
82
|
+
|
|
83
|
+
Sort by publication `date` (matches the website), not `sys.updatedAt`:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
cms-edit list --type article --sort date -n 10
|
|
87
|
+
cms-edit search "keyword" --type article
|
|
88
|
+
cms-edit list --type article --sort date
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
To find **draft** articles: `cms-edit list --type article --sort date` (preview index includes drafts), then `cms-edit peek --article-slug <slug>` or `cms-edit open --id <id>`. `peek` and `open` load draft content — only `list --published` is published-only.
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## Reading Article Fields
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
cms-edit open --article-slug /news/2025-hepatology-study
|
|
99
|
+
cms-edit read @c0 # all fields
|
|
100
|
+
cms-edit read @c0 date
|
|
101
|
+
cms-edit read @c0 description
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Setting Article Fields
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
cms-edit set @c0 title "Updated Article Title"
|
|
110
|
+
cms-edit set @c0 description "New meta description."
|
|
111
|
+
cms-edit set @c0 date "2025-06-01"
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Adding Content to an Article
|
|
117
|
+
|
|
118
|
+
Check [Template hierarchy](#template-hierarchy) and the site articles playbook first.
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
# Add a component to the article's content array
|
|
122
|
+
cms-edit add TextBlock component
|
|
123
|
+
|
|
124
|
+
# Add a collection
|
|
125
|
+
cms-edit add CardGrid collection
|
|
126
|
+
|
|
127
|
+
# Insert after a specific component
|
|
128
|
+
cms-edit add Generic component --after @c3
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Rename component `cmsLabel` from defaults like "New Article rich text" to a descriptive label (site playbook may specify a pattern).
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## In create from-json
|
|
136
|
+
|
|
137
|
+
```json
|
|
138
|
+
{
|
|
139
|
+
"type": "article",
|
|
140
|
+
"slug": "news/2025-hepatology-study",
|
|
141
|
+
"title": "New Hepatology Cohort Study Published",
|
|
142
|
+
"description": "A landmark study on hepatology cohort data.",
|
|
143
|
+
"date": "2025-06-01",
|
|
144
|
+
"articleTypeSlug": "resources/blog",
|
|
145
|
+
"featuredImageAssetFilename": "hero-landscape.jpg",
|
|
146
|
+
"visualsIds": ["<media-entry-id>"],
|
|
147
|
+
"components": [
|
|
148
|
+
{
|
|
149
|
+
"contentType": "component",
|
|
150
|
+
"type": "TextBlock",
|
|
151
|
+
"fields": {
|
|
152
|
+
"heading": "Study Overview",
|
|
153
|
+
"body": "The study included 1,200 patients.\n\nResults showed significant improvement.",
|
|
154
|
+
"cmsLabel": "News — New Hepatology Cohort Study Published"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Auto-detection: if `articleTypeId` is present and `type` is omitted, the entry is automatically created as an article.
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# cms-edit — Collection Field Reference
|
|
2
|
+
|
|
3
|
+
A `collection` entry is a group of components — a card grid, timeline, category explorer, etc. The `collectionType` field picks which visual layout to use. Children are stored in the `contents` field.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Fields
|
|
8
|
+
|
|
9
|
+
| Field | Type | Description |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `cmsLabel` | Text | Human-readable label in Contentful's entry list |
|
|
12
|
+
| `collectionType` | Text | Variant discriminator — e.g. `CardGrid`, `Timeline`, `CategoryExplorer`. Run `cms-edit types` to see valid values |
|
|
13
|
+
| `heading` | Text | Section heading |
|
|
14
|
+
| `preHeading` | Text | Small label above the heading. Rendered as `<p>`, not a heading tag |
|
|
15
|
+
| `postHeading` | Text | Small label below the heading. Rendered as `<p>`, not a heading tag |
|
|
16
|
+
| `body` | RichText | Introductory body text for the collection |
|
|
17
|
+
| `links` | Array of Links | CTA link entries for the collection as a whole |
|
|
18
|
+
| `contents` | Array of Links | The child component/collection entries in display order |
|
|
19
|
+
| `backgroundColour` | Text | Named background colour |
|
|
20
|
+
| `textColour` | Text | Named text colour |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Reading Collection Fields
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
cms-edit open --page-slug /solutions
|
|
28
|
+
cms-edit snapshot
|
|
29
|
+
# A collection appears as a nested group in the tree, e.g.:
|
|
30
|
+
# @c3 collection [draft] CardGrid
|
|
31
|
+
# @c4 component [draft] Card — Hepatology
|
|
32
|
+
# @c5 component [draft] Card — Dermatology
|
|
33
|
+
|
|
34
|
+
cms-edit read @c3 # all fields on the collection
|
|
35
|
+
cms-edit read @c3 heading # just the heading
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Setting Collection Fields
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cms-edit set @c3 heading "Our Solutions"
|
|
44
|
+
cms-edit set @c3 preHeading "What We Do"
|
|
45
|
+
cms-edit rtf @c3 body "An overview of our capabilities.\n\nSelect a speciality below."
|
|
46
|
+
cms-edit set @c3 backgroundColour "Grey"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Adding Child Items
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Add a new child component inside a collection
|
|
55
|
+
cms-edit add Generic component --parent @c3
|
|
56
|
+
|
|
57
|
+
# Re-snapshot after add — refs are renumbered
|
|
58
|
+
cms-edit snapshot
|
|
59
|
+
|
|
60
|
+
# Then set fields on the new child
|
|
61
|
+
cms-edit set @c4 heading "New Card Heading"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Important:** After any `add --parent` operation, all entries that come after the collection in the depth-first tree are renumbered. Always re-snapshot or use variable binding in `run` batches. See `cms-edit help run`.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Reordering Children
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Move a child to a specific position (0-indexed) within its parent
|
|
72
|
+
cms-edit move @c5 0 # move to first position
|
|
73
|
+
cms-edit move @c4 2 # move to third position
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Removing a Child
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
cms-edit remove @c5 # unlinks from parent; does not delete the entry
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## In create from-json
|
|
87
|
+
|
|
88
|
+
Collections use `"contentType": "collection"` and their children go in `"items"`. The `items` array maps to the `contents` field in Contentful:
|
|
89
|
+
|
|
90
|
+
```json
|
|
91
|
+
{
|
|
92
|
+
"contentType": "collection",
|
|
93
|
+
"type": "CardGrid",
|
|
94
|
+
"cmsLabel": "Solutions Cards",
|
|
95
|
+
"fields": {
|
|
96
|
+
"heading": "Our Solutions",
|
|
97
|
+
"preHeading": "What We Offer",
|
|
98
|
+
"body": "Choose a speciality area below.\n\n",
|
|
99
|
+
"backgroundColour": "Grey"
|
|
100
|
+
},
|
|
101
|
+
"links": [
|
|
102
|
+
{ "type": "internal", "label": "See All Solutions", "slug": "/solutions" }
|
|
103
|
+
],
|
|
104
|
+
"items": [
|
|
105
|
+
{
|
|
106
|
+
"contentType": "component",
|
|
107
|
+
"type": "Generic",
|
|
108
|
+
"cmsLabel": "Card — Hepatology",
|
|
109
|
+
"fields": {
|
|
110
|
+
"heading": "Hepatology",
|
|
111
|
+
"body": "Evidence generation for liver disease.\n\n"
|
|
112
|
+
},
|
|
113
|
+
"links": [
|
|
114
|
+
{ "type": "internal", "label": "Learn More", "slug": "/solutions/hepatology" }
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"contentType": "component",
|
|
119
|
+
"type": "Generic",
|
|
120
|
+
"cmsLabel": "Card — Dermatology",
|
|
121
|
+
"fields": {
|
|
122
|
+
"heading": "Dermatology",
|
|
123
|
+
"body": "Real-world data for skin conditions.\n\n"
|
|
124
|
+
},
|
|
125
|
+
"links": [
|
|
126
|
+
{ "type": "internal", "label": "Learn More", "slug": "/solutions/dermatology" }
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Note:** Internal links in `items[].links` must resolve — the target pages must exist in Contentful before running `create from-json`. Use `--dry-run` to validate all slugs first. See `cms-edit help create-from-json`.
|