@se-studio/contentful-cms 3.17.2 → 4.2.2
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 +44 -0
- package/README.md +15 -662
- package/pack/access/schema.d.ts +62 -0
- package/pack/access/schema.d.ts.map +1 -0
- package/pack/access/schema.js +119 -0
- package/pack/access/schema.js.map +1 -0
- package/pack/bin/cms-edit.js +29 -0
- package/pack/bin/cms-edit.js.map +1 -0
- package/pack/cli/pack-program.d.ts +8 -0
- package/pack/cli/pack-program.d.ts.map +1 -0
- package/pack/cli/pack-program.js +37 -0
- package/pack/cli/pack-program.js.map +1 -0
- package/{dist → pack}/commands/host-pack-publish.js +1 -1
- package/{dist → pack}/commands/host-pack-publish.js.map +1 -1
- package/pack/commands/host.d.ts +4 -0
- package/{dist → pack}/commands/host.d.ts.map +1 -1
- package/pack/commands/host.js +10 -0
- package/pack/commands/host.js.map +1 -0
- package/{dist → pack}/editor-pack/generate.d.ts.map +1 -1
- package/{dist → pack}/editor-pack/generate.js +18 -0
- package/pack/editor-pack/generate.js.map +1 -0
- package/{dist → pack}/editor-pack/load.d.ts +2 -0
- package/pack/editor-pack/load.d.ts.map +1 -0
- package/{dist → pack}/editor-pack/load.js +15 -0
- package/pack/editor-pack/load.js.map +1 -0
- package/pack/generated/version.d.ts +3 -0
- package/{dist → pack}/generated/version.d.ts.map +1 -1
- package/{dist → pack}/generated/version.js +1 -1
- package/{dist → pack}/generated/version.js.map +1 -1
- package/pack/pack-public.d.ts +3 -0
- package/pack/pack-public.d.ts.map +1 -0
- package/pack/pack-public.js +3 -0
- package/pack/pack-public.js.map +1 -0
- package/{dist → pack}/project/doctor.js +1 -1
- package/{dist → pack}/project/doctor.js.map +1 -1
- package/{dist → pack}/publish/classify.d.ts +7 -0
- package/{dist → pack}/publish/classify.d.ts.map +1 -1
- package/{dist → pack}/publish/classify.js +25 -0
- package/{dist → pack}/publish/classify.js.map +1 -1
- package/package.json +27 -58
- package/HOSTED.md +0 -219
- package/INSTALL.md +0 -29
- package/dist/audit/asset-usage.d.ts +0 -29
- package/dist/audit/asset-usage.d.ts.map +0 -1
- package/dist/audit/asset-usage.js +0 -100
- package/dist/audit/asset-usage.js.map +0 -1
- package/dist/audit/media-review-rules.d.ts +0 -33
- package/dist/audit/media-review-rules.d.ts.map +0 -1
- package/dist/audit/media-review-rules.js +0 -120
- package/dist/audit/media-review-rules.js.map +0 -1
- package/dist/audit/media-review.d.ts +0 -45
- package/dist/audit/media-review.d.ts.map +0 -1
- package/dist/audit/media-review.js +0 -69
- package/dist/audit/media-review.js.map +0 -1
- package/dist/bin/cms-edit.js +0 -51
- package/dist/bin/cms-edit.js.map +0 -1
- package/dist/cli/hosted-inline-limit.d.ts +0 -4
- package/dist/cli/hosted-inline-limit.d.ts.map +0 -1
- package/dist/cli/hosted-inline-limit.js +0 -15
- package/dist/cli/hosted-inline-limit.js.map +0 -1
- package/dist/cli/local-cli-allowed.d.ts +0 -6
- package/dist/cli/local-cli-allowed.d.ts.map +0 -1
- package/dist/cli/local-cli-allowed.js +0 -29
- package/dist/cli/local-cli-allowed.js.map +0 -1
- package/dist/cli/parse-boolean.d.ts +0 -3
- package/dist/cli/parse-boolean.d.ts.map +0 -1
- package/dist/cli/parse-boolean.js +0 -9
- package/dist/cli/parse-boolean.js.map +0 -1
- package/dist/cli/program.d.ts +0 -9
- package/dist/cli/program.d.ts.map +0 -1
- package/dist/cli/program.js +0 -164
- package/dist/cli/program.js.map +0 -1
- package/dist/cli/read-json-input.d.ts +0 -42
- package/dist/cli/read-json-input.d.ts.map +0 -1
- package/dist/cli/read-json-input.js +0 -153
- package/dist/cli/read-json-input.js.map +0 -1
- package/dist/cli/runner.d.ts +0 -19
- package/dist/cli/runner.d.ts.map +0 -1
- package/dist/cli/runner.js +0 -139
- package/dist/cli/runner.js.map +0 -1
- package/dist/commands/add-initial-fields.d.ts +0 -34
- package/dist/commands/add-initial-fields.d.ts.map +0 -1
- package/dist/commands/add-initial-fields.js +0 -50
- package/dist/commands/add-initial-fields.js.map +0 -1
- package/dist/commands/add-target-field.d.ts +0 -15
- package/dist/commands/add-target-field.d.ts.map +0 -1
- package/dist/commands/add-target-field.js +0 -48
- package/dist/commands/add-target-field.js.map +0 -1
- package/dist/commands/add.d.ts +0 -4
- package/dist/commands/add.d.ts.map +0 -1
- package/dist/commands/add.js +0 -278
- package/dist/commands/add.js.map +0 -1
- package/dist/commands/apply-from-json.d.ts +0 -4
- package/dist/commands/apply-from-json.d.ts.map +0 -1
- package/dist/commands/apply-from-json.js +0 -206
- package/dist/commands/apply-from-json.js.map +0 -1
- package/dist/commands/article-tags-from-json.d.ts +0 -4
- package/dist/commands/article-tags-from-json.d.ts.map +0 -1
- package/dist/commands/article-tags-from-json.js +0 -64
- package/dist/commands/article-tags-from-json.js.map +0 -1
- package/dist/commands/asset.d.ts +0 -4
- package/dist/commands/asset.d.ts.map +0 -1
- package/dist/commands/asset.js +0 -1010
- package/dist/commands/asset.js.map +0 -1
- package/dist/commands/assignment-value.d.ts +0 -6
- package/dist/commands/assignment-value.d.ts.map +0 -1
- package/dist/commands/assignment-value.js +0 -13
- package/dist/commands/assignment-value.js.map +0 -1
- package/dist/commands/batch-assignments.d.ts +0 -16
- package/dist/commands/batch-assignments.d.ts.map +0 -1
- package/dist/commands/batch-assignments.js +0 -62
- package/dist/commands/batch-assignments.js.map +0 -1
- package/dist/commands/batch.d.ts +0 -5
- package/dist/commands/batch.d.ts.map +0 -1
- package/dist/commands/batch.js +0 -265
- package/dist/commands/batch.js.map +0 -1
- package/dist/commands/bulk-rtf-replace.d.ts +0 -4
- package/dist/commands/bulk-rtf-replace.d.ts.map +0 -1
- package/dist/commands/bulk-rtf-replace.js +0 -103
- package/dist/commands/bulk-rtf-replace.js.map +0 -1
- package/dist/commands/create-editor.d.ts +0 -4
- package/dist/commands/create-editor.d.ts.map +0 -1
- package/dist/commands/create-editor.js +0 -411
- package/dist/commands/create-editor.js.map +0 -1
- package/dist/commands/create-from-json.d.ts +0 -26
- package/dist/commands/create-from-json.d.ts.map +0 -1
- package/dist/commands/create-from-json.js +0 -704
- package/dist/commands/create-from-json.js.map +0 -1
- package/dist/commands/create-person-from-json.d.ts +0 -4
- package/dist/commands/create-person-from-json.d.ts.map +0 -1
- package/dist/commands/create-person-from-json.js +0 -95
- package/dist/commands/create-person-from-json.js.map +0 -1
- package/dist/commands/create-person.d.ts +0 -4
- package/dist/commands/create-person.d.ts.map +0 -1
- package/dist/commands/create-person.js +0 -100
- package/dist/commands/create-person.js.map +0 -1
- package/dist/commands/create-taxonomy-from-json.d.ts +0 -4
- package/dist/commands/create-taxonomy-from-json.d.ts.map +0 -1
- package/dist/commands/create-taxonomy-from-json.js +0 -105
- package/dist/commands/create-taxonomy-from-json.js.map +0 -1
- package/dist/commands/create-taxonomy.d.ts +0 -52
- package/dist/commands/create-taxonomy.d.ts.map +0 -1
- package/dist/commands/create-taxonomy.js +0 -329
- package/dist/commands/create-taxonomy.js.map +0 -1
- package/dist/commands/create.d.ts +0 -4
- package/dist/commands/create.d.ts.map +0 -1
- package/dist/commands/create.js +0 -454
- package/dist/commands/create.js.map +0 -1
- package/dist/commands/customer.d.ts +0 -4
- package/dist/commands/customer.d.ts.map +0 -1
- package/dist/commands/customer.js +0 -56
- package/dist/commands/customer.js.map +0 -1
- package/dist/commands/diagnose.d.ts +0 -29
- package/dist/commands/diagnose.d.ts.map +0 -1
- package/dist/commands/diagnose.js +0 -116
- package/dist/commands/diagnose.js.map +0 -1
- package/dist/commands/diff.d.ts +0 -4
- package/dist/commands/diff.d.ts.map +0 -1
- package/dist/commands/diff.js +0 -33
- package/dist/commands/diff.js.map +0 -1
- package/dist/commands/discard.d.ts +0 -7
- package/dist/commands/discard.d.ts.map +0 -1
- package/dist/commands/discard.js +0 -77
- package/dist/commands/discard.js.map +0 -1
- package/dist/commands/entry-lookup-target.d.ts +0 -163
- package/dist/commands/entry-lookup-target.d.ts.map +0 -1
- package/dist/commands/entry-lookup-target.js +0 -305
- package/dist/commands/entry-lookup-target.js.map +0 -1
- package/dist/commands/entry-search.d.ts +0 -4
- package/dist/commands/entry-search.d.ts.map +0 -1
- package/dist/commands/entry-search.js +0 -92
- package/dist/commands/entry-search.js.map +0 -1
- package/dist/commands/export-from-json.d.ts +0 -4
- package/dist/commands/export-from-json.d.ts.map +0 -1
- package/dist/commands/export-from-json.js +0 -28
- package/dist/commands/export-from-json.js.map +0 -1
- package/dist/commands/guide.d.ts +0 -4
- package/dist/commands/guide.d.ts.map +0 -1
- package/dist/commands/guide.js +0 -18
- package/dist/commands/guide.js.map +0 -1
- package/dist/commands/health.d.ts +0 -4
- package/dist/commands/health.d.ts.map +0 -1
- package/dist/commands/health.js +0 -179
- package/dist/commands/health.js.map +0 -1
- package/dist/commands/help.d.ts +0 -4
- package/dist/commands/help.d.ts.map +0 -1
- package/dist/commands/help.js +0 -35
- package/dist/commands/help.js.map +0 -1
- package/dist/commands/host-scaffold.d.ts +0 -5
- package/dist/commands/host-scaffold.d.ts.map +0 -1
- package/dist/commands/host-scaffold.js +0 -120
- package/dist/commands/host-scaffold.js.map +0 -1
- package/dist/commands/host-stage.d.ts +0 -4
- package/dist/commands/host-stage.d.ts.map +0 -1
- package/dist/commands/host-stage.js +0 -60
- package/dist/commands/host-stage.js.map +0 -1
- package/dist/commands/host.d.ts +0 -3
- package/dist/commands/host.js +0 -11
- package/dist/commands/host.js.map +0 -1
- package/dist/commands/index-dump.d.ts +0 -15
- package/dist/commands/index-dump.d.ts.map +0 -1
- package/dist/commands/index-dump.js +0 -207
- package/dist/commands/index-dump.js.map +0 -1
- package/dist/commands/index.d.ts +0 -4
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js +0 -107
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/link-move.d.ts +0 -14
- package/dist/commands/link-move.d.ts.map +0 -1
- package/dist/commands/link-move.js +0 -29
- package/dist/commands/link-move.js.map +0 -1
- package/dist/commands/links.d.ts +0 -4
- package/dist/commands/links.d.ts.map +0 -1
- package/dist/commands/links.js +0 -362
- package/dist/commands/links.js.map +0 -1
- package/dist/commands/list.d.ts +0 -4
- package/dist/commands/list.d.ts.map +0 -1
- package/dist/commands/list.js +0 -291
- package/dist/commands/list.js.map +0 -1
- package/dist/commands/media.d.ts +0 -4
- package/dist/commands/media.d.ts.map +0 -1
- package/dist/commands/media.js +0 -148
- package/dist/commands/media.js.map +0 -1
- package/dist/commands/move.d.ts +0 -3
- package/dist/commands/move.d.ts.map +0 -1
- package/dist/commands/move.js +0 -86
- package/dist/commands/move.js.map +0 -1
- package/dist/commands/multiset-assignments.d.ts +0 -16
- package/dist/commands/multiset-assignments.d.ts.map +0 -1
- package/dist/commands/multiset-assignments.js +0 -25
- package/dist/commands/multiset-assignments.js.map +0 -1
- package/dist/commands/nav.d.ts +0 -4
- package/dist/commands/nav.d.ts.map +0 -1
- package/dist/commands/nav.js +0 -347
- package/dist/commands/nav.js.map +0 -1
- package/dist/commands/open.d.ts +0 -4
- package/dist/commands/open.d.ts.map +0 -1
- package/dist/commands/open.js +0 -130
- package/dist/commands/open.js.map +0 -1
- package/dist/commands/patterns.d.ts +0 -4
- package/dist/commands/patterns.d.ts.map +0 -1
- package/dist/commands/patterns.js +0 -107
- package/dist/commands/patterns.js.map +0 -1
- package/dist/commands/peek.d.ts +0 -4
- package/dist/commands/peek.d.ts.map +0 -1
- package/dist/commands/peek.js +0 -106
- package/dist/commands/peek.js.map +0 -1
- package/dist/commands/preview.d.ts +0 -4
- package/dist/commands/preview.d.ts.map +0 -1
- package/dist/commands/preview.js +0 -258
- package/dist/commands/preview.js.map +0 -1
- package/dist/commands/read.d.ts +0 -4
- package/dist/commands/read.d.ts.map +0 -1
- package/dist/commands/read.js +0 -62
- package/dist/commands/read.js.map +0 -1
- package/dist/commands/release.d.ts +0 -4
- package/dist/commands/release.d.ts.map +0 -1
- package/dist/commands/release.js +0 -484
- package/dist/commands/release.js.map +0 -1
- package/dist/commands/remove.d.ts +0 -4
- package/dist/commands/remove.d.ts.map +0 -1
- package/dist/commands/remove.js +0 -105
- package/dist/commands/remove.js.map +0 -1
- package/dist/commands/resolve.d.ts +0 -4
- package/dist/commands/resolve.d.ts.map +0 -1
- package/dist/commands/resolve.js +0 -156
- package/dist/commands/resolve.js.map +0 -1
- package/dist/commands/rtf.d.ts +0 -4
- package/dist/commands/rtf.d.ts.map +0 -1
- package/dist/commands/rtf.js +0 -635
- package/dist/commands/rtf.js.map +0 -1
- package/dist/commands/run.d.ts +0 -4
- package/dist/commands/run.d.ts.map +0 -1
- package/dist/commands/run.js +0 -547
- package/dist/commands/run.js.map +0 -1
- package/dist/commands/save-pending.d.ts +0 -3
- package/dist/commands/save-pending.d.ts.map +0 -1
- package/dist/commands/save-pending.js +0 -5
- package/dist/commands/save-pending.js.map +0 -1
- package/dist/commands/save.d.ts +0 -4
- package/dist/commands/save.d.ts.map +0 -1
- package/dist/commands/save.js +0 -70
- package/dist/commands/save.js.map +0 -1
- package/dist/commands/schema.d.ts +0 -4
- package/dist/commands/schema.d.ts.map +0 -1
- package/dist/commands/schema.js +0 -301
- package/dist/commands/schema.js.map +0 -1
- package/dist/commands/session-diff.d.ts +0 -14
- package/dist/commands/session-diff.d.ts.map +0 -1
- package/dist/commands/session-diff.js +0 -252
- package/dist/commands/session-diff.js.map +0 -1
- package/dist/commands/set.d.ts +0 -4
- package/dist/commands/set.d.ts.map +0 -1
- package/dist/commands/set.js +0 -808
- package/dist/commands/set.js.map +0 -1
- package/dist/commands/snapshot.d.ts +0 -3
- package/dist/commands/snapshot.d.ts.map +0 -1
- package/dist/commands/snapshot.js +0 -31
- package/dist/commands/snapshot.js.map +0 -1
- package/dist/commands/staged-upload.d.ts +0 -4
- package/dist/commands/staged-upload.d.ts.map +0 -1
- package/dist/commands/staged-upload.js +0 -56
- package/dist/commands/staged-upload.js.map +0 -1
- package/dist/config/data-root.d.ts +0 -6
- package/dist/config/data-root.d.ts.map +0 -1
- package/dist/config/data-root.js +0 -21
- package/dist/config/data-root.js.map +0 -1
- package/dist/config/hosted.d.ts +0 -50
- package/dist/config/hosted.d.ts.map +0 -1
- package/dist/config/hosted.js +0 -167
- package/dist/config/hosted.js.map +0 -1
- package/dist/config/load.d.ts +0 -27
- package/dist/config/load.d.ts.map +0 -1
- package/dist/config/load.js +0 -139
- package/dist/config/load.js.map +0 -1
- package/dist/config/types.d.ts +0 -42
- package/dist/config/types.d.ts.map +0 -1
- package/dist/config/types.js +0 -2
- package/dist/config/types.js.map +0 -1
- package/dist/contentful/article-tags-from-json.d.ts +0 -25
- package/dist/contentful/article-tags-from-json.d.ts.map +0 -1
- package/dist/contentful/article-tags-from-json.js +0 -122
- package/dist/contentful/article-tags-from-json.js.map +0 -1
- package/dist/contentful/article-type-resolve.d.ts +0 -11
- package/dist/contentful/article-type-resolve.d.ts.map +0 -1
- package/dist/contentful/article-type-resolve.js +0 -35
- package/dist/contentful/article-type-resolve.js.map +0 -1
- package/dist/contentful/asset-concepts.d.ts +0 -53
- package/dist/contentful/asset-concepts.d.ts.map +0 -1
- package/dist/contentful/asset-concepts.js +0 -137
- package/dist/contentful/asset-concepts.js.map +0 -1
- package/dist/contentful/asset-link-from-json.d.ts +0 -17
- package/dist/contentful/asset-link-from-json.d.ts.map +0 -1
- package/dist/contentful/asset-link-from-json.js +0 -41
- package/dist/contentful/asset-link-from-json.js.map +0 -1
- package/dist/contentful/asset-replace.d.ts +0 -29
- package/dist/contentful/asset-replace.d.ts.map +0 -1
- package/dist/contentful/asset-replace.js +0 -57
- package/dist/contentful/asset-replace.js.map +0 -1
- package/dist/contentful/assets.d.ts +0 -69
- package/dist/contentful/assets.d.ts.map +0 -1
- package/dist/contentful/assets.js +0 -224
- package/dist/contentful/assets.js.map +0 -1
- package/dist/contentful/bulk-rtf-replace.d.ts +0 -29
- package/dist/contentful/bulk-rtf-replace.d.ts.map +0 -1
- package/dist/contentful/bulk-rtf-replace.js +0 -120
- package/dist/contentful/bulk-rtf-replace.js.map +0 -1
- package/dist/contentful/cda-page.d.ts +0 -27
- package/dist/contentful/cda-page.d.ts.map +0 -1
- package/dist/contentful/cda-page.js +0 -111
- package/dist/contentful/cda-page.js.map +0 -1
- package/dist/contentful/cda-sync.d.ts +0 -45
- package/dist/contentful/cda-sync.d.ts.map +0 -1
- package/dist/contentful/cda-sync.js +0 -392
- package/dist/contentful/cda-sync.js.map +0 -1
- package/dist/contentful/client.d.ts +0 -65
- package/dist/contentful/client.d.ts.map +0 -1
- package/dist/contentful/client.js +0 -105
- package/dist/contentful/client.js.map +0 -1
- package/dist/contentful/cma-user-agent.d.ts +0 -10
- package/dist/contentful/cma-user-agent.d.ts.map +0 -1
- package/dist/contentful/cma-user-agent.js +0 -20
- package/dist/contentful/cma-user-agent.js.map +0 -1
- package/dist/contentful/content-type-disk-cache.d.ts +0 -7
- package/dist/contentful/content-type-disk-cache.d.ts.map +0 -1
- package/dist/contentful/content-type-disk-cache.js +0 -42
- package/dist/contentful/content-type-disk-cache.js.map +0 -1
- package/dist/contentful/create-from-json-types.d.ts +0 -56
- package/dist/contentful/create-from-json-types.d.ts.map +0 -1
- package/dist/contentful/create-from-json-types.js +0 -24
- package/dist/contentful/create-from-json-types.js.map +0 -1
- package/dist/contentful/delivery-token.d.ts +0 -17
- package/dist/contentful/delivery-token.d.ts.map +0 -1
- package/dist/contentful/delivery-token.js +0 -104
- package/dist/contentful/delivery-token.js.map +0 -1
- package/dist/contentful/editor-create.d.ts +0 -92
- package/dist/contentful/editor-create.d.ts.map +0 -1
- package/dist/contentful/editor-create.js +0 -194
- package/dist/contentful/editor-create.js.map +0 -1
- package/dist/contentful/entry-fields.d.ts +0 -92
- package/dist/contentful/entry-fields.d.ts.map +0 -1
- package/dist/contentful/entry-fields.js +0 -519
- package/dist/contentful/entry-fields.js.map +0 -1
- package/dist/contentful/entry-lookup.d.ts +0 -16
- package/dist/contentful/entry-lookup.d.ts.map +0 -1
- package/dist/contentful/entry-lookup.js +0 -290
- package/dist/contentful/entry-lookup.js.map +0 -1
- package/dist/contentful/featured-image-defaults.d.ts +0 -16
- package/dist/contentful/featured-image-defaults.d.ts.map +0 -1
- package/dist/contentful/featured-image-defaults.js +0 -118
- package/dist/contentful/featured-image-defaults.js.map +0 -1
- package/dist/contentful/fetch.d.ts +0 -31
- package/dist/contentful/fetch.d.ts.map +0 -1
- package/dist/contentful/fetch.js +0 -122
- package/dist/contentful/fetch.js.map +0 -1
- package/dist/contentful/field-metadata.d.ts +0 -8
- package/dist/contentful/field-metadata.d.ts.map +0 -1
- package/dist/contentful/field-metadata.js +0 -12
- package/dist/contentful/field-metadata.js.map +0 -1
- package/dist/contentful/field-value-from-json.d.ts +0 -30
- package/dist/contentful/field-value-from-json.d.ts.map +0 -1
- package/dist/contentful/field-value-from-json.js +0 -266
- package/dist/contentful/field-value-from-json.js.map +0 -1
- package/dist/contentful/hosted-asset-upload.d.ts +0 -4
- package/dist/contentful/hosted-asset-upload.d.ts.map +0 -1
- package/dist/contentful/hosted-asset-upload.js +0 -9
- package/dist/contentful/hosted-asset-upload.js.map +0 -1
- package/dist/contentful/link-fields.d.ts +0 -25
- package/dist/contentful/link-fields.d.ts.map +0 -1
- package/dist/contentful/link-fields.js +0 -71
- package/dist/contentful/link-fields.js.map +0 -1
- package/dist/contentful/linkedEntryFields.d.ts +0 -46
- package/dist/contentful/linkedEntryFields.d.ts.map +0 -1
- package/dist/contentful/linkedEntryFields.js +0 -152
- package/dist/contentful/linkedEntryFields.js.map +0 -1
- package/dist/contentful/list-entry-format.d.ts +0 -18
- package/dist/contentful/list-entry-format.d.ts.map +0 -1
- package/dist/contentful/list-entry-format.js +0 -45
- package/dist/contentful/list-entry-format.js.map +0 -1
- package/dist/contentful/locale-value.d.ts +0 -13
- package/dist/contentful/locale-value.d.ts.map +0 -1
- package/dist/contentful/locale-value.js +0 -36
- package/dist/contentful/locale-value.js.map +0 -1
- package/dist/contentful/media-dimensions.d.ts +0 -7
- package/dist/contentful/media-dimensions.d.ts.map +0 -1
- package/dist/contentful/media-dimensions.js +0 -169
- package/dist/contentful/media-dimensions.js.map +0 -1
- package/dist/contentful/media.d.ts +0 -27
- package/dist/contentful/media.d.ts.map +0 -1
- package/dist/contentful/media.js +0 -83
- package/dist/contentful/media.js.map +0 -1
- package/dist/contentful/object-path.d.ts +0 -21
- package/dist/contentful/object-path.d.ts.map +0 -1
- package/dist/contentful/object-path.js +0 -101
- package/dist/contentful/object-path.js.map +0 -1
- package/dist/contentful/person-create.d.ts +0 -36
- package/dist/contentful/person-create.d.ts.map +0 -1
- package/dist/contentful/person-create.js +0 -109
- package/dist/contentful/person-create.js.map +0 -1
- package/dist/contentful/person-type-resolve.d.ts +0 -8
- package/dist/contentful/person-type-resolve.d.ts.map +0 -1
- package/dist/contentful/person-type-resolve.js +0 -20
- package/dist/contentful/person-type-resolve.js.map +0 -1
- package/dist/contentful/pipeline-encode-gate.d.ts +0 -27
- package/dist/contentful/pipeline-encode-gate.d.ts.map +0 -1
- package/dist/contentful/pipeline-encode-gate.js +0 -102
- package/dist/contentful/pipeline-encode-gate.js.map +0 -1
- package/dist/contentful/reference-record.d.ts +0 -45
- package/dist/contentful/reference-record.d.ts.map +0 -1
- package/dist/contentful/reference-record.js +0 -114
- package/dist/contentful/reference-record.js.map +0 -1
- package/dist/contentful/references.d.ts +0 -7
- package/dist/contentful/references.d.ts.map +0 -1
- package/dist/contentful/references.js +0 -12
- package/dist/contentful/references.js.map +0 -1
- package/dist/contentful/regex.d.ts +0 -14
- package/dist/contentful/regex.d.ts.map +0 -1
- package/dist/contentful/regex.js +0 -38
- package/dist/contentful/regex.js.map +0 -1
- package/dist/contentful/required-fields.d.ts +0 -19
- package/dist/contentful/required-fields.d.ts.map +0 -1
- package/dist/contentful/required-fields.js +0 -70
- package/dist/contentful/required-fields.js.map +0 -1
- package/dist/contentful/resolve-content-type.d.ts +0 -9
- package/dist/contentful/resolve-content-type.d.ts.map +0 -1
- package/dist/contentful/resolve-content-type.js +0 -38
- package/dist/contentful/resolve-content-type.js.map +0 -1
- package/dist/contentful/scalar-value.d.ts +0 -23
- package/dist/contentful/scalar-value.d.ts.map +0 -1
- package/dist/contentful/scalar-value.js +0 -111
- package/dist/contentful/scalar-value.js.map +0 -1
- package/dist/contentful/session-to-from-json.d.ts +0 -7
- package/dist/contentful/session-to-from-json.d.ts.map +0 -1
- package/dist/contentful/session-to-from-json.js +0 -181
- package/dist/contentful/session-to-from-json.js.map +0 -1
- package/dist/contentful/set-field-schema.d.ts +0 -43
- package/dist/contentful/set-field-schema.d.ts.map +0 -1
- package/dist/contentful/set-field-schema.js +0 -157
- package/dist/contentful/set-field-schema.js.map +0 -1
- package/dist/contentful/slug-validation.d.ts +0 -7
- package/dist/contentful/slug-validation.d.ts.map +0 -1
- package/dist/contentful/slug-validation.js +0 -15
- package/dist/contentful/slug-validation.js.map +0 -1
- package/dist/contentful/upload-fetch.d.ts +0 -11
- package/dist/contentful/upload-fetch.d.ts.map +0 -1
- package/dist/contentful/upload-fetch.js +0 -26
- package/dist/contentful/upload-fetch.js.map +0 -1
- package/dist/contentful/upload-limits.d.ts +0 -13
- package/dist/contentful/upload-limits.d.ts.map +0 -1
- package/dist/contentful/upload-limits.js +0 -20
- package/dist/contentful/upload-limits.js.map +0 -1
- package/dist/contentful/validate-from-json.d.ts +0 -12
- package/dist/contentful/validate-from-json.d.ts.map +0 -1
- package/dist/contentful/validate-from-json.js +0 -106
- package/dist/contentful/validate-from-json.js.map +0 -1
- package/dist/contentful/write.d.ts +0 -25
- package/dist/contentful/write.d.ts.map +0 -1
- package/dist/contentful/write.js +0 -137
- package/dist/contentful/write.js.map +0 -1
- package/dist/diff/long-text.d.ts +0 -24
- package/dist/diff/long-text.d.ts.map +0 -1
- package/dist/diff/long-text.js +0 -65
- package/dist/diff/long-text.js.map +0 -1
- package/dist/editor-pack/generate.js.map +0 -1
- package/dist/editor-pack/load.d.ts.map +0 -1
- package/dist/editor-pack/load.js.map +0 -1
- package/dist/generated/help-topics.d.ts +0 -3
- package/dist/generated/help-topics.d.ts.map +0 -1
- package/dist/generated/help-topics.js +0 -4
- package/dist/generated/help-topics.js.map +0 -1
- package/dist/generated/hosted-guide.d.ts +0 -2
- package/dist/generated/hosted-guide.d.ts.map +0 -1
- package/dist/generated/hosted-guide.js +0 -3
- package/dist/generated/hosted-guide.js.map +0 -1
- package/dist/generated/version.d.ts +0 -3
- package/dist/hosted/customer-playbooks.d.ts +0 -23
- package/dist/hosted/customer-playbooks.d.ts.map +0 -1
- package/dist/hosted/customer-playbooks.js +0 -69
- package/dist/hosted/customer-playbooks.js.map +0 -1
- package/dist/hosted/index.d.ts +0 -32
- package/dist/hosted/index.d.ts.map +0 -1
- package/dist/hosted/index.js +0 -31
- package/dist/hosted/index.js.map +0 -1
- package/dist/hosted/next/HostedPageShell.d.ts +0 -18
- package/dist/hosted/next/HostedPageShell.d.ts.map +0 -1
- package/dist/hosted/next/HostedPageShell.js +0 -12
- package/dist/hosted/next/HostedPageShell.js.map +0 -1
- package/dist/hosted/next/claude-connect.d.ts +0 -8
- package/dist/hosted/next/claude-connect.d.ts.map +0 -1
- package/dist/hosted/next/claude-connect.js +0 -23
- package/dist/hosted/next/claude-connect.js.map +0 -1
- package/dist/hosted/next/context.d.ts +0 -8
- package/dist/hosted/next/context.d.ts.map +0 -1
- package/dist/hosted/next/context.js +0 -27
- package/dist/hosted/next/context.js.map +0 -1
- package/dist/hosted/next/editor-pack-path.d.ts +0 -6
- package/dist/hosted/next/editor-pack-path.d.ts.map +0 -1
- package/dist/hosted/next/editor-pack-path.js +0 -22
- package/dist/hosted/next/editor-pack-path.js.map +0 -1
- package/dist/hosted/next/page-context.d.ts +0 -32
- package/dist/hosted/next/page-context.d.ts.map +0 -1
- package/dist/hosted/next/page-context.js +0 -103
- package/dist/hosted/next/page-context.js.map +0 -1
- package/dist/hosted/next/page-styles.d.ts +0 -30
- package/dist/hosted/next/page-styles.d.ts.map +0 -1
- package/dist/hosted/next/page-styles.js +0 -156
- package/dist/hosted/next/page-styles.js.map +0 -1
- package/dist/hosted/next/pages/CmsEditPage.d.ts +0 -3
- package/dist/hosted/next/pages/CmsEditPage.d.ts.map +0 -1
- package/dist/hosted/next/pages/CmsEditPage.js +0 -16
- package/dist/hosted/next/pages/CmsEditPage.js.map +0 -1
- package/dist/hosted/next/pages/ContentfulCallbackPage.d.ts +0 -2
- package/dist/hosted/next/pages/ContentfulCallbackPage.d.ts.map +0 -1
- package/dist/hosted/next/pages/ContentfulCallbackPage.js +0 -47
- package/dist/hosted/next/pages/ContentfulCallbackPage.js.map +0 -1
- package/dist/hosted/next/pages/CustomerPlaybookPage.d.ts +0 -10
- package/dist/hosted/next/pages/CustomerPlaybookPage.d.ts.map +0 -1
- package/dist/hosted/next/pages/CustomerPlaybookPage.js +0 -20
- package/dist/hosted/next/pages/CustomerPlaybookPage.js.map +0 -1
- package/dist/hosted/next/pages/CustomerPlaybooksPage.d.ts +0 -3
- package/dist/hosted/next/pages/CustomerPlaybooksPage.d.ts.map +0 -1
- package/dist/hosted/next/pages/CustomerPlaybooksPage.js +0 -31
- package/dist/hosted/next/pages/CustomerPlaybooksPage.js.map +0 -1
- package/dist/hosted/next/pages/HomePage.d.ts +0 -3
- package/dist/hosted/next/pages/HomePage.d.ts.map +0 -1
- package/dist/hosted/next/pages/HomePage.js +0 -25
- package/dist/hosted/next/pages/HomePage.js.map +0 -1
- package/dist/hosted/next/proxy.d.ts +0 -16
- package/dist/hosted/next/proxy.d.ts.map +0 -1
- package/dist/hosted/next/proxy.js +0 -22
- package/dist/hosted/next/proxy.js.map +0 -1
- package/dist/hosted/next/redis.d.ts +0 -5
- package/dist/hosted/next/redis.d.ts.map +0 -1
- package/dist/hosted/next/redis.js +0 -49
- package/dist/hosted/next/redis.js.map +0 -1
- package/dist/hosted/next/request-origin.d.ts +0 -3
- package/dist/hosted/next/request-origin.d.ts.map +0 -1
- package/dist/hosted/next/request-origin.js +0 -12
- package/dist/hosted/next/request-origin.js.map +0 -1
- package/dist/hosted/next/routes/connect.d.ts +0 -2
- package/dist/hosted/next/routes/connect.d.ts.map +0 -1
- package/dist/hosted/next/routes/connect.js +0 -9
- package/dist/hosted/next/routes/connect.js.map +0 -1
- package/dist/hosted/next/routes/customer-index.d.ts +0 -2
- package/dist/hosted/next/routes/customer-index.d.ts.map +0 -1
- package/dist/hosted/next/routes/customer-index.js +0 -29
- package/dist/hosted/next/routes/customer-index.js.map +0 -1
- package/dist/hosted/next/routes/customer-resource.d.ts +0 -8
- package/dist/hosted/next/routes/customer-resource.d.ts.map +0 -1
- package/dist/hosted/next/routes/customer-resource.js +0 -29
- package/dist/hosted/next/routes/customer-resource.js.map +0 -1
- package/dist/hosted/next/routes/health.d.ts +0 -2
- package/dist/hosted/next/routes/health.d.ts.map +0 -1
- package/dist/hosted/next/routes/health.js +0 -158
- package/dist/hosted/next/routes/health.js.map +0 -1
- package/dist/hosted/next/routes/link-contentful.d.ts +0 -2
- package/dist/hosted/next/routes/link-contentful.d.ts.map +0 -1
- package/dist/hosted/next/routes/link-contentful.js +0 -6
- package/dist/hosted/next/routes/link-contentful.js.map +0 -1
- package/dist/hosted/next/routes/mcp.d.ts +0 -10
- package/dist/hosted/next/routes/mcp.d.ts.map +0 -1
- package/dist/hosted/next/routes/mcp.js +0 -190
- package/dist/hosted/next/routes/mcp.js.map +0 -1
- package/dist/hosted/next/routes/oauth-authorization-server.d.ts +0 -3
- package/dist/hosted/next/routes/oauth-authorization-server.d.ts.map +0 -1
- package/dist/hosted/next/routes/oauth-authorization-server.js +0 -9
- package/dist/hosted/next/routes/oauth-authorization-server.js.map +0 -1
- package/dist/hosted/next/routes/oauth-authorize.d.ts +0 -2
- package/dist/hosted/next/routes/oauth-authorize.d.ts.map +0 -1
- package/dist/hosted/next/routes/oauth-authorize.js +0 -6
- package/dist/hosted/next/routes/oauth-authorize.js.map +0 -1
- package/dist/hosted/next/routes/oauth-protected-resource-path.d.ts +0 -13
- package/dist/hosted/next/routes/oauth-protected-resource-path.d.ts.map +0 -1
- package/dist/hosted/next/routes/oauth-protected-resource-path.js +0 -17
- package/dist/hosted/next/routes/oauth-protected-resource-path.js.map +0 -1
- package/dist/hosted/next/routes/oauth-protected-resource.d.ts +0 -3
- package/dist/hosted/next/routes/oauth-protected-resource.d.ts.map +0 -1
- package/dist/hosted/next/routes/oauth-protected-resource.js +0 -9
- package/dist/hosted/next/routes/oauth-protected-resource.js.map +0 -1
- package/dist/hosted/next/routes/oauth-register.d.ts +0 -3
- package/dist/hosted/next/routes/oauth-register.d.ts.map +0 -1
- package/dist/hosted/next/routes/oauth-register.js +0 -10
- package/dist/hosted/next/routes/oauth-register.js.map +0 -1
- package/dist/hosted/next/routes/oauth-token.d.ts +0 -3
- package/dist/hosted/next/routes/oauth-token.d.ts.map +0 -1
- package/dist/hosted/next/routes/oauth-token.js +0 -10
- package/dist/hosted/next/routes/oauth-token.js.map +0 -1
- package/dist/hosted/next/routes/staged-upload.d.ts +0 -3
- package/dist/hosted/next/routes/staged-upload.d.ts.map +0 -1
- package/dist/hosted/next/routes/staged-upload.js +0 -120
- package/dist/hosted/next/routes/staged-upload.js.map +0 -1
- package/dist/hosted/next/stage-site.d.ts +0 -11
- package/dist/hosted/next/stage-site.d.ts.map +0 -1
- package/dist/hosted/next/stage-site.js +0 -50
- package/dist/hosted/next/stage-site.js.map +0 -1
- package/dist/hosted/oauth/auth.d.ts +0 -16
- package/dist/hosted/oauth/auth.d.ts.map +0 -1
- package/dist/hosted/oauth/auth.js +0 -55
- package/dist/hosted/oauth/auth.js.map +0 -1
- package/dist/hosted/oauth/cached-cma.d.ts +0 -14
- package/dist/hosted/oauth/cached-cma.d.ts.map +0 -1
- package/dist/hosted/oauth/cached-cma.js +0 -41
- package/dist/hosted/oauth/cached-cma.js.map +0 -1
- package/dist/hosted/oauth/cimd.d.ts +0 -17
- package/dist/hosted/oauth/cimd.d.ts.map +0 -1
- package/dist/hosted/oauth/cimd.js +0 -300
- package/dist/hosted/oauth/cimd.js.map +0 -1
- package/dist/hosted/oauth/client-name.d.ts +0 -4
- package/dist/hosted/oauth/client-name.d.ts.map +0 -1
- package/dist/hosted/oauth/client-name.js +0 -12
- package/dist/hosted/oauth/client-name.js.map +0 -1
- package/dist/hosted/oauth/complete.d.ts +0 -19
- package/dist/hosted/oauth/complete.d.ts.map +0 -1
- package/dist/hosted/oauth/complete.js +0 -63
- package/dist/hosted/oauth/complete.js.map +0 -1
- package/dist/hosted/oauth/config.d.ts +0 -26
- package/dist/hosted/oauth/config.d.ts.map +0 -1
- package/dist/hosted/oauth/config.js +0 -105
- package/dist/hosted/oauth/config.js.map +0 -1
- package/dist/hosted/oauth/cors.d.ts +0 -4
- package/dist/hosted/oauth/cors.d.ts.map +0 -1
- package/dist/hosted/oauth/cors.js +0 -23
- package/dist/hosted/oauth/cors.js.map +0 -1
- package/dist/hosted/oauth/handlers.d.ts +0 -20
- package/dist/hosted/oauth/handlers.d.ts.map +0 -1
- package/dist/hosted/oauth/handlers.js +0 -332
- package/dist/hosted/oauth/handlers.js.map +0 -1
- package/dist/hosted/oauth/jwt.d.ts +0 -11
- package/dist/hosted/oauth/jwt.d.ts.map +0 -1
- package/dist/hosted/oauth/jwt.js +0 -34
- package/dist/hosted/oauth/jwt.js.map +0 -1
- package/dist/hosted/oauth/log.d.ts +0 -14
- package/dist/hosted/oauth/log.d.ts.map +0 -1
- package/dist/hosted/oauth/log.js +0 -75
- package/dist/hosted/oauth/log.js.map +0 -1
- package/dist/hosted/oauth/pat-cache.d.ts +0 -11
- package/dist/hosted/oauth/pat-cache.d.ts.map +0 -1
- package/dist/hosted/oauth/pat-cache.js +0 -42
- package/dist/hosted/oauth/pat-cache.js.map +0 -1
- package/dist/hosted/oauth/pkce.d.ts +0 -3
- package/dist/hosted/oauth/pkce.d.ts.map +0 -1
- package/dist/hosted/oauth/pkce.js +0 -9
- package/dist/hosted/oauth/pkce.js.map +0 -1
- package/dist/hosted/oauth/redirect-hosts.d.ts +0 -4
- package/dist/hosted/oauth/redirect-hosts.d.ts.map +0 -1
- package/dist/hosted/oauth/redirect-hosts.js +0 -47
- package/dist/hosted/oauth/redirect-hosts.js.map +0 -1
- package/dist/hosted/oauth/redirect-uri.d.ts +0 -10
- package/dist/hosted/oauth/redirect-uri.d.ts.map +0 -1
- package/dist/hosted/oauth/redirect-uri.js +0 -61
- package/dist/hosted/oauth/redirect-uri.js.map +0 -1
- package/dist/hosted/oauth/refresh.d.ts +0 -25
- package/dist/hosted/oauth/refresh.d.ts.map +0 -1
- package/dist/hosted/oauth/refresh.js +0 -52
- package/dist/hosted/oauth/refresh.js.map +0 -1
- package/dist/hosted/oauth/scopes.d.ts +0 -15
- package/dist/hosted/oauth/scopes.d.ts.map +0 -1
- package/dist/hosted/oauth/scopes.js +0 -21
- package/dist/hosted/oauth/scopes.js.map +0 -1
- package/dist/hosted/oauth/store.d.ts +0 -79
- package/dist/hosted/oauth/store.d.ts.map +0 -1
- package/dist/hosted/oauth/store.js +0 -220
- package/dist/hosted/oauth/store.js.map +0 -1
- package/dist/hosted/oauth/token-grant-response.d.ts +0 -7
- package/dist/hosted/oauth/token-grant-response.d.ts.map +0 -1
- package/dist/hosted/oauth/token-grant-response.js +0 -34
- package/dist/hosted/oauth/token-grant-response.js.map +0 -1
- package/dist/hosted/pack-fetch.d.ts +0 -43
- package/dist/hosted/pack-fetch.d.ts.map +0 -1
- package/dist/hosted/pack-fetch.js +0 -223
- package/dist/hosted/pack-fetch.js.map +0 -1
- package/dist/hosted/parse-customer-resource.d.ts +0 -3
- package/dist/hosted/parse-customer-resource.d.ts.map +0 -1
- package/dist/hosted/parse-customer-resource.js +0 -16
- package/dist/hosted/parse-customer-resource.js.map +0 -1
- package/dist/hosted/tenant-registry.d.ts +0 -68
- package/dist/hosted/tenant-registry.d.ts.map +0 -1
- package/dist/hosted/tenant-registry.js +0 -167
- package/dist/hosted/tenant-registry.js.map +0 -1
- package/dist/index/blob.d.ts +0 -5
- package/dist/index/blob.d.ts.map +0 -1
- package/dist/index/blob.js +0 -15
- package/dist/index/blob.js.map +0 -1
- package/dist/index/cache-keys.d.ts +0 -9
- package/dist/index/cache-keys.d.ts.map +0 -1
- package/dist/index/cache-keys.js +0 -13
- package/dist/index/cache-keys.js.map +0 -1
- package/dist/index/cache-store.d.ts +0 -31
- package/dist/index/cache-store.d.ts.map +0 -1
- package/dist/index/cache-store.js +0 -17
- package/dist/index/cache-store.js.map +0 -1
- package/dist/index/db.d.ts +0 -12
- package/dist/index/db.d.ts.map +0 -1
- package/dist/index/db.js +0 -49
- package/dist/index/db.js.map +0 -1
- package/dist/index/distributed-sync-lock.d.ts +0 -3
- package/dist/index/distributed-sync-lock.d.ts.map +0 -1
- package/dist/index/distributed-sync-lock.js +0 -22
- package/dist/index/distributed-sync-lock.js.map +0 -1
- package/dist/index/errors.d.ts +0 -18
- package/dist/index/errors.d.ts.map +0 -1
- package/dist/index/errors.js +0 -18
- package/dist/index/errors.js.map +0 -1
- package/dist/index/file-index-cache.d.ts +0 -16
- package/dist/index/file-index-cache.d.ts.map +0 -1
- package/dist/index/file-index-cache.js +0 -103
- package/dist/index/file-index-cache.js.map +0 -1
- package/dist/index/hydrate.d.ts +0 -8
- package/dist/index/hydrate.d.ts.map +0 -1
- package/dist/index/hydrate.js +0 -26
- package/dist/index/hydrate.js.map +0 -1
- package/dist/index/invalidate.d.ts +0 -28
- package/dist/index/invalidate.d.ts.map +0 -1
- package/dist/index/invalidate.js +0 -115
- package/dist/index/invalidate.js.map +0 -1
- package/dist/index/mode.d.ts +0 -7
- package/dist/index/mode.d.ts.map +0 -1
- package/dist/index/mode.js +0 -9
- package/dist/index/mode.js.map +0 -1
- package/dist/index/patch-index.d.ts +0 -12
- package/dist/index/patch-index.d.ts.map +0 -1
- package/dist/index/patch-index.js +0 -81
- package/dist/index/patch-index.js.map +0 -1
- package/dist/index/paths.d.ts +0 -6
- package/dist/index/paths.d.ts.map +0 -1
- package/dist/index/paths.js +0 -23
- package/dist/index/paths.js.map +0 -1
- package/dist/index/publish-cache.d.ts +0 -5
- package/dist/index/publish-cache.d.ts.map +0 -1
- package/dist/index/publish-cache.js +0 -26
- package/dist/index/publish-cache.js.map +0 -1
- package/dist/index/query.d.ts +0 -139
- package/dist/index/query.d.ts.map +0 -1
- package/dist/index/query.js +0 -451
- package/dist/index/query.js.map +0 -1
- package/dist/index/redis-index-cache.d.ts +0 -24
- package/dist/index/redis-index-cache.d.ts.map +0 -1
- package/dist/index/redis-index-cache.js +0 -83
- package/dist/index/redis-index-cache.js.map +0 -1
- package/dist/index/reference-lookup.d.ts +0 -22
- package/dist/index/reference-lookup.d.ts.map +0 -1
- package/dist/index/reference-lookup.js +0 -140
- package/dist/index/reference-lookup.js.map +0 -1
- package/dist/index/require.d.ts +0 -22
- package/dist/index/require.d.ts.map +0 -1
- package/dist/index/require.js +0 -74
- package/dist/index/require.js.map +0 -1
- package/dist/index/run-sync.d.ts +0 -22
- package/dist/index/run-sync.d.ts.map +0 -1
- package/dist/index/run-sync.js +0 -76
- package/dist/index/run-sync.js.map +0 -1
- package/dist/index/schema.d.ts +0 -19
- package/dist/index/schema.d.ts.map +0 -1
- package/dist/index/schema.js +0 -85
- package/dist/index/schema.js.map +0 -1
- package/dist/index/sync-lock.d.ts +0 -9
- package/dist/index/sync-lock.d.ts.map +0 -1
- package/dist/index/sync-lock.js +0 -98
- package/dist/index/sync-lock.js.map +0 -1
- package/dist/index/sync-log.d.ts +0 -7
- package/dist/index/sync-log.d.ts.map +0 -1
- package/dist/index/sync-log.js +0 -23
- package/dist/index/sync-log.js.map +0 -1
- package/dist/index/sync.d.ts +0 -50
- package/dist/index/sync.d.ts.map +0 -1
- package/dist/index/sync.js +0 -292
- package/dist/index/sync.js.map +0 -1
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -5
- package/dist/index.js.map +0 -1
- package/dist/mcp/guide.d.ts +0 -21
- package/dist/mcp/guide.d.ts.map +0 -1
- package/dist/mcp/guide.js +0 -97
- package/dist/mcp/guide.js.map +0 -1
- package/dist/mcp/hosted-metadata.d.ts +0 -12
- package/dist/mcp/hosted-metadata.d.ts.map +0 -1
- package/dist/mcp/hosted-metadata.js +0 -30
- package/dist/mcp/hosted-metadata.js.map +0 -1
- package/dist/mcp/http-handler.d.ts +0 -18
- package/dist/mcp/http-handler.d.ts.map +0 -1
- package/dist/mcp/http-handler.js +0 -43
- package/dist/mcp/http-handler.js.map +0 -1
- package/dist/mcp/prompts/onboarding.d.ts +0 -4
- package/dist/mcp/prompts/onboarding.d.ts.map +0 -1
- package/dist/mcp/prompts/onboarding.js +0 -398
- package/dist/mcp/prompts/onboarding.js.map +0 -1
- package/dist/mcp/resources/customer.d.ts +0 -7
- package/dist/mcp/resources/customer.d.ts.map +0 -1
- package/dist/mcp/resources/customer.js +0 -72
- package/dist/mcp/resources/customer.js.map +0 -1
- package/dist/mcp/resources/guide.d.ts +0 -4
- package/dist/mcp/resources/guide.d.ts.map +0 -1
- package/dist/mcp/resources/guide.js +0 -16
- package/dist/mcp/resources/guide.js.map +0 -1
- package/dist/mcp/server.d.ts +0 -17
- package/dist/mcp/server.d.ts.map +0 -1
- package/dist/mcp/server.js +0 -64
- package/dist/mcp/server.js.map +0 -1
- package/dist/mcp/session-args.d.ts +0 -10
- package/dist/mcp/session-args.d.ts.map +0 -1
- package/dist/mcp/session-args.js +0 -28
- package/dist/mcp/session-args.js.map +0 -1
- package/dist/mcp/tools/client-tools.d.ts +0 -11
- package/dist/mcp/tools/client-tools.d.ts.map +0 -1
- package/dist/mcp/tools/client-tools.js +0 -266
- package/dist/mcp/tools/client-tools.js.map +0 -1
- package/dist/mcp/tools/cms-edit.d.ts +0 -10
- package/dist/mcp/tools/cms-edit.d.ts.map +0 -1
- package/dist/mcp/tools/cms-edit.js +0 -180
- package/dist/mcp/tools/cms-edit.js.map +0 -1
- package/dist/mcp/tools/customer.d.ts +0 -8
- package/dist/mcp/tools/customer.d.ts.map +0 -1
- package/dist/mcp/tools/customer.js +0 -41
- package/dist/mcp/tools/customer.js.map +0 -1
- package/dist/mcp/tools/help.d.ts +0 -4
- package/dist/mcp/tools/help.d.ts.map +0 -1
- package/dist/mcp/tools/help.js +0 -64
- package/dist/mcp/tools/help.js.map +0 -1
- package/dist/mcp/tools/media.d.ts +0 -4
- package/dist/mcp/tools/media.d.ts.map +0 -1
- package/dist/mcp/tools/media.js +0 -187
- package/dist/mcp/tools/media.js.map +0 -1
- package/dist/mcp/tools/staged-upload.d.ts +0 -4
- package/dist/mcp/tools/staged-upload.d.ts.map +0 -1
- package/dist/mcp/tools/staged-upload.js +0 -97
- package/dist/mcp/tools/staged-upload.js.map +0 -1
- package/dist/mcp/types.d.ts +0 -2
- package/dist/mcp/types.d.ts.map +0 -1
- package/dist/mcp/types.js +0 -2
- package/dist/mcp/types.js.map +0 -1
- package/dist/media-pipeline/actions.d.ts +0 -32
- package/dist/media-pipeline/actions.d.ts.map +0 -1
- package/dist/media-pipeline/actions.js +0 -447
- package/dist/media-pipeline/actions.js.map +0 -1
- package/dist/media-pipeline/client.d.ts +0 -79
- package/dist/media-pipeline/client.d.ts.map +0 -1
- package/dist/media-pipeline/client.js +0 -76
- package/dist/media-pipeline/client.js.map +0 -1
- package/dist/media-pipeline/config.d.ts +0 -38
- package/dist/media-pipeline/config.d.ts.map +0 -1
- package/dist/media-pipeline/config.js +0 -118
- package/dist/media-pipeline/config.js.map +0 -1
- package/dist/media-pipeline/import-alt.d.ts +0 -8
- package/dist/media-pipeline/import-alt.d.ts.map +0 -1
- package/dist/media-pipeline/import-alt.js +0 -23
- package/dist/media-pipeline/import-alt.js.map +0 -1
- package/dist/media-pipeline/import-filter.d.ts +0 -36
- package/dist/media-pipeline/import-filter.d.ts.map +0 -1
- package/dist/media-pipeline/import-filter.js +0 -53
- package/dist/media-pipeline/import-filter.js.map +0 -1
- package/dist/media-pipeline/import.d.ts +0 -25
- package/dist/media-pipeline/import.d.ts.map +0 -1
- package/dist/media-pipeline/import.js +0 -273
- package/dist/media-pipeline/import.js.map +0 -1
- package/dist/media-pipeline/index.d.ts +0 -6
- package/dist/media-pipeline/index.d.ts.map +0 -1
- package/dist/media-pipeline/index.js +0 -6
- package/dist/media-pipeline/index.js.map +0 -1
- package/dist/media-pipeline/job-store.d.ts +0 -49
- package/dist/media-pipeline/job-store.d.ts.map +0 -1
- package/dist/media-pipeline/job-store.js +0 -215
- package/dist/media-pipeline/job-store.js.map +0 -1
- package/dist/media-pipeline/limits.d.ts +0 -19
- package/dist/media-pipeline/limits.d.ts.map +0 -1
- package/dist/media-pipeline/limits.js +0 -19
- package/dist/media-pipeline/limits.js.map +0 -1
- package/dist/media-pipeline/log.d.ts +0 -3
- package/dist/media-pipeline/log.d.ts.map +0 -1
- package/dist/media-pipeline/log.js +0 -12
- package/dist/media-pipeline/log.js.map +0 -1
- package/dist/media-pipeline/prepare-source.d.ts +0 -35
- package/dist/media-pipeline/prepare-source.d.ts.map +0 -1
- package/dist/media-pipeline/prepare-source.js +0 -179
- package/dist/media-pipeline/prepare-source.js.map +0 -1
- package/dist/media-pipeline/resolve-tenant.d.ts +0 -28
- package/dist/media-pipeline/resolve-tenant.d.ts.map +0 -1
- package/dist/media-pipeline/resolve-tenant.js +0 -62
- package/dist/media-pipeline/resolve-tenant.js.map +0 -1
- package/dist/media-pipeline/validate.d.ts +0 -18
- package/dist/media-pipeline/validate.d.ts.map +0 -1
- package/dist/media-pipeline/validate.js +0 -38
- package/dist/media-pipeline/validate.js.map +0 -1
- package/dist/output/json.d.ts +0 -53
- package/dist/output/json.d.ts.map +0 -1
- package/dist/output/json.js +0 -111
- package/dist/output/json.js.map +0 -1
- package/dist/output/print.d.ts +0 -14
- package/dist/output/print.d.ts.map +0 -1
- package/dist/output/print.js +0 -61
- package/dist/output/print.js.map +0 -1
- package/dist/output/terminal-table.d.ts +0 -15
- package/dist/output/terminal-table.d.ts.map +0 -1
- package/dist/output/terminal-table.js +0 -60
- package/dist/output/terminal-table.js.map +0 -1
- package/dist/patterns/census.d.ts +0 -8
- package/dist/patterns/census.d.ts.map +0 -1
- package/dist/patterns/census.js +0 -197
- package/dist/patterns/census.js.map +0 -1
- package/dist/patterns/cluster.d.ts +0 -19
- package/dist/patterns/cluster.d.ts.map +0 -1
- package/dist/patterns/cluster.js +0 -353
- package/dist/patterns/cluster.js.map +0 -1
- package/dist/patterns/markdown.d.ts +0 -3
- package/dist/patterns/markdown.d.ts.map +0 -1
- package/dist/patterns/markdown.js +0 -88
- package/dist/patterns/markdown.js.map +0 -1
- package/dist/patterns/types.d.ts +0 -70
- package/dist/patterns/types.d.ts.map +0 -1
- package/dist/patterns/types.js +0 -2
- package/dist/patterns/types.js.map +0 -1
- package/dist/patterns/write.d.ts +0 -7
- package/dist/patterns/write.d.ts.map +0 -1
- package/dist/patterns/write.js +0 -16
- package/dist/patterns/write.js.map +0 -1
- package/dist/preview/capture-urls.d.ts +0 -12
- package/dist/preview/capture-urls.d.ts.map +0 -1
- package/dist/preview/capture-urls.js +0 -41
- package/dist/preview/capture-urls.js.map +0 -1
- package/dist/preview/entry-urls.d.ts +0 -44
- package/dist/preview/entry-urls.d.ts.map +0 -1
- package/dist/preview/entry-urls.js +0 -155
- package/dist/preview/entry-urls.js.map +0 -1
- package/dist/preview/resolve-preview-entry.d.ts +0 -18
- package/dist/preview/resolve-preview-entry.d.ts.map +0 -1
- package/dist/preview/resolve-preview-entry.js +0 -31
- package/dist/preview/resolve-preview-entry.js.map +0 -1
- package/dist/publish/attribution.d.ts +0 -16
- package/dist/publish/attribution.d.ts.map +0 -1
- package/dist/publish/attribution.js +0 -28
- package/dist/publish/attribution.js.map +0 -1
- package/dist/publish/cma.d.ts +0 -51
- package/dist/publish/cma.d.ts.map +0 -1
- package/dist/publish/cma.js +0 -308
- package/dist/publish/cma.js.map +0 -1
- package/dist/publish/fields.d.ts +0 -9
- package/dist/publish/fields.d.ts.map +0 -1
- package/dist/publish/fields.js +0 -56
- package/dist/publish/fields.js.map +0 -1
- package/dist/publish/permissions.d.ts +0 -23
- package/dist/publish/permissions.d.ts.map +0 -1
- package/dist/publish/permissions.js +0 -131
- package/dist/publish/permissions.js.map +0 -1
- package/dist/publish/plan.d.ts +0 -120
- package/dist/publish/plan.d.ts.map +0 -1
- package/dist/publish/plan.js +0 -382
- package/dist/publish/plan.js.map +0 -1
- package/dist/publish/revalidate-request.d.ts +0 -32
- package/dist/publish/revalidate-request.d.ts.map +0 -1
- package/dist/publish/revalidate-request.js +0 -38
- package/dist/publish/revalidate-request.js.map +0 -1
- package/dist/publish/store.d.ts +0 -13
- package/dist/publish/store.d.ts.map +0 -1
- package/dist/publish/store.js +0 -102
- package/dist/publish/store.js.map +0 -1
- package/dist/rtf/convertToRtf.d.ts +0 -7
- package/dist/rtf/convertToRtf.d.ts.map +0 -1
- package/dist/rtf/convertToRtf.js +0 -24
- package/dist/rtf/convertToRtf.js.map +0 -1
- package/dist/rtf/fromHtml.d.ts +0 -8
- package/dist/rtf/fromHtml.d.ts.map +0 -1
- package/dist/rtf/fromHtml.js +0 -290
- package/dist/rtf/fromHtml.js.map +0 -1
- package/dist/rtf/fromMarkdown.d.ts +0 -25
- package/dist/rtf/fromMarkdown.d.ts.map +0 -1
- package/dist/rtf/fromMarkdown.js +0 -375
- package/dist/rtf/fromMarkdown.js.map +0 -1
- package/dist/rtf/fromPlainText.d.ts +0 -7
- package/dist/rtf/fromPlainText.d.ts.map +0 -1
- package/dist/rtf/fromPlainText.js +0 -39
- package/dist/rtf/fromPlainText.js.map +0 -1
- package/dist/rtf/fromRtfJson.d.ts +0 -10
- package/dist/rtf/fromRtfJson.d.ts.map +0 -1
- package/dist/rtf/fromRtfJson.js +0 -52
- package/dist/rtf/fromRtfJson.js.map +0 -1
- package/dist/rtf/inlineHtml.d.ts +0 -6
- package/dist/rtf/inlineHtml.d.ts.map +0 -1
- package/dist/rtf/inlineHtml.js +0 -152
- package/dist/rtf/inlineHtml.js.map +0 -1
- package/dist/rtf/references.d.ts +0 -9
- package/dist/rtf/references.d.ts.map +0 -1
- package/dist/rtf/references.js +0 -50
- package/dist/rtf/references.js.map +0 -1
- package/dist/rtf/replacePlainText.d.ts +0 -117
- package/dist/rtf/replacePlainText.d.ts.map +0 -1
- package/dist/rtf/replacePlainText.js +0 -598
- package/dist/rtf/replacePlainText.js.map +0 -1
- package/dist/rtf/resolveRtfInput.d.ts +0 -18
- package/dist/rtf/resolveRtfInput.d.ts.map +0 -1
- package/dist/rtf/resolveRtfInput.js +0 -72
- package/dist/rtf/resolveRtfInput.js.map +0 -1
- package/dist/rtf/toMarkdown.d.ts +0 -6
- package/dist/rtf/toMarkdown.d.ts.map +0 -1
- package/dist/rtf/toMarkdown.js +0 -179
- package/dist/rtf/toMarkdown.js.map +0 -1
- package/dist/rtf/types.d.ts +0 -5
- package/dist/rtf/types.d.ts.map +0 -1
- package/dist/rtf/types.js +0 -2
- package/dist/rtf/types.js.map +0 -1
- package/dist/rtf/utils.d.ts +0 -7
- package/dist/rtf/utils.d.ts.map +0 -1
- package/dist/rtf/utils.js +0 -11
- package/dist/rtf/utils.js.map +0 -1
- package/dist/runtime/context.d.ts +0 -48
- package/dist/runtime/context.d.ts.map +0 -1
- package/dist/runtime/context.js +0 -9
- package/dist/runtime/context.js.map +0 -1
- package/dist/session/dirty.d.ts +0 -20
- package/dist/session/dirty.d.ts.map +0 -1
- package/dist/session/dirty.js +0 -44
- package/dist/session/dirty.js.map +0 -1
- package/dist/session/file-session-store.d.ts +0 -11
- package/dist/session/file-session-store.d.ts.map +0 -1
- package/dist/session/file-session-store.js +0 -170
- package/dist/session/file-session-store.js.map +0 -1
- package/dist/session/log.d.ts +0 -6
- package/dist/session/log.d.ts.map +0 -1
- package/dist/session/log.js +0 -21
- package/dist/session/log.js.map +0 -1
- package/dist/session/navigation-fields.d.ts +0 -21
- package/dist/session/navigation-fields.d.ts.map +0 -1
- package/dist/session/navigation-fields.js +0 -80
- package/dist/session/navigation-fields.js.map +0 -1
- package/dist/session/redis-session-store.d.ts +0 -42
- package/dist/session/redis-session-store.d.ts.map +0 -1
- package/dist/session/redis-session-store.js +0 -214
- package/dist/session/redis-session-store.js.map +0 -1
- package/dist/session/refs.d.ts +0 -45
- package/dist/session/refs.d.ts.map +0 -1
- package/dist/session/refs.js +0 -173
- package/dist/session/refs.js.map +0 -1
- package/dist/session/session-store.d.ts +0 -30
- package/dist/session/session-store.d.ts.map +0 -1
- package/dist/session/session-store.js +0 -15
- package/dist/session/session-store.js.map +0 -1
- package/dist/session/state.d.ts +0 -106
- package/dist/session/state.d.ts.map +0 -1
- package/dist/session/state.js +0 -110
- package/dist/session/state.js.map +0 -1
- package/dist/session/store.d.ts +0 -16
- package/dist/session/store.d.ts.map +0 -1
- package/dist/session/store.js +0 -90
- package/dist/session/store.js.map +0 -1
- package/dist/snapshot/field-value.d.ts +0 -5
- package/dist/snapshot/field-value.d.ts.map +0 -1
- package/dist/snapshot/field-value.js +0 -42
- package/dist/snapshot/field-value.js.map +0 -1
- package/dist/snapshot/fields.d.ts +0 -11
- package/dist/snapshot/fields.d.ts.map +0 -1
- package/dist/snapshot/fields.js +0 -96
- package/dist/snapshot/fields.js.map +0 -1
- package/dist/snapshot/render.d.ts +0 -21
- package/dist/snapshot/render.d.ts.map +0 -1
- package/dist/snapshot/render.js +0 -243
- package/dist/snapshot/render.js.map +0 -1
- package/dist/staged-upload/consume-text.d.ts +0 -11
- package/dist/staged-upload/consume-text.d.ts.map +0 -1
- package/dist/staged-upload/consume-text.js +0 -55
- package/dist/staged-upload/consume-text.js.map +0 -1
- package/dist/staged-upload/direct-intake.d.ts +0 -23
- package/dist/staged-upload/direct-intake.d.ts.map +0 -1
- package/dist/staged-upload/direct-intake.js +0 -71
- package/dist/staged-upload/direct-intake.js.map +0 -1
- package/dist/staged-upload/hmac.d.ts +0 -10
- package/dist/staged-upload/hmac.d.ts.map +0 -1
- package/dist/staged-upload/hmac.js +0 -78
- package/dist/staged-upload/hmac.js.map +0 -1
- package/dist/staged-upload/intake-policy.d.ts +0 -13
- package/dist/staged-upload/intake-policy.d.ts.map +0 -1
- package/dist/staged-upload/intake-policy.js +0 -37
- package/dist/staged-upload/intake-policy.js.map +0 -1
- package/dist/staged-upload/limits.d.ts +0 -6
- package/dist/staged-upload/limits.d.ts.map +0 -1
- package/dist/staged-upload/limits.js +0 -9
- package/dist/staged-upload/limits.js.map +0 -1
- package/dist/staged-upload/mime.d.ts +0 -10
- package/dist/staged-upload/mime.d.ts.map +0 -1
- package/dist/staged-upload/mime.js +0 -64
- package/dist/staged-upload/mime.js.map +0 -1
- package/dist/staged-upload/request.d.ts +0 -17
- package/dist/staged-upload/request.d.ts.map +0 -1
- package/dist/staged-upload/request.js +0 -84
- package/dist/staged-upload/request.js.map +0 -1
- package/dist/staged-upload/store.d.ts +0 -41
- package/dist/staged-upload/store.d.ts.map +0 -1
- package/dist/staged-upload/store.js +0 -221
- package/dist/staged-upload/store.js.map +0 -1
- package/dist/staged-upload/types.d.ts +0 -37
- package/dist/staged-upload/types.d.ts.map +0 -1
- package/dist/staged-upload/types.js +0 -2
- package/dist/staged-upload/types.js.map +0 -1
- package/dist/telemetry/axiom.d.ts +0 -22
- package/dist/telemetry/axiom.d.ts.map +0 -1
- package/dist/telemetry/axiom.js +0 -45
- package/dist/telemetry/axiom.js.map +0 -1
- package/dist/telemetry/composite.d.ts +0 -9
- package/dist/telemetry/composite.d.ts.map +0 -1
- package/dist/telemetry/composite.js +0 -16
- package/dist/telemetry/composite.js.map +0 -1
- package/dist/telemetry/enrich.d.ts +0 -11
- package/dist/telemetry/enrich.d.ts.map +0 -1
- package/dist/telemetry/enrich.js +0 -42
- package/dist/telemetry/enrich.js.map +0 -1
- package/dist/telemetry/factory.d.ts +0 -8
- package/dist/telemetry/factory.d.ts.map +0 -1
- package/dist/telemetry/factory.js +0 -44
- package/dist/telemetry/factory.js.map +0 -1
- package/dist/telemetry/identity.d.ts +0 -22
- package/dist/telemetry/identity.d.ts.map +0 -1
- package/dist/telemetry/identity.js +0 -48
- package/dist/telemetry/identity.js.map +0 -1
- package/dist/telemetry/index.d.ts +0 -11
- package/dist/telemetry/index.d.ts.map +0 -1
- package/dist/telemetry/index.js +0 -10
- package/dist/telemetry/index.js.map +0 -1
- package/dist/telemetry/local.d.ts +0 -9
- package/dist/telemetry/local.d.ts.map +0 -1
- package/dist/telemetry/local.js +0 -21
- package/dist/telemetry/local.js.map +0 -1
- package/dist/telemetry/noop.d.ts +0 -7
- package/dist/telemetry/noop.d.ts.map +0 -1
- package/dist/telemetry/noop.js +0 -6
- package/dist/telemetry/noop.js.map +0 -1
- package/dist/telemetry/record.d.ts +0 -17
- package/dist/telemetry/record.d.ts.map +0 -1
- package/dist/telemetry/record.js +0 -66
- package/dist/telemetry/record.js.map +0 -1
- package/dist/telemetry/request-stats.d.ts +0 -15
- package/dist/telemetry/request-stats.d.ts.map +0 -1
- package/dist/telemetry/request-stats.js +0 -34
- package/dist/telemetry/request-stats.js.map +0 -1
- package/dist/telemetry/types.d.ts +0 -56
- package/dist/telemetry/types.d.ts.map +0 -1
- package/dist/telemetry/types.js +0 -2
- package/dist/telemetry/types.js.map +0 -1
- package/dist/validation/allowed-types.d.ts +0 -19
- package/dist/validation/allowed-types.d.ts.map +0 -1
- package/dist/validation/allowed-types.js +0 -120
- package/dist/validation/allowed-types.js.map +0 -1
- package/docs/FEATURE_REQUESTS_ARCHIVE.md +0 -141
- package/docs/FUNCTIONAL_SPEC.md +0 -307
- package/docs/MEDIA_INDEX_PLAN.md +0 -256
- package/docs/SKILLS.md +0 -29
- package/docs/TELEMETRY_AXIOM.md +0 -119
- package/docs/help/article-tags-from-json.md +0 -62
- package/docs/help/asset-review.md +0 -56
- package/docs/help/batch-run.md +0 -222
- package/docs/help/batch.md +0 -94
- package/docs/help/bulk-rtf-replace.md +0 -80
- package/docs/help/create-editor-entries.md +0 -59
- package/docs/help/create-from-json.md +0 -436
- package/docs/help/fields-article.md +0 -162
- package/docs/help/fields-collection.md +0 -133
- package/docs/help/fields-component.md +0 -168
- package/docs/help/fields-html-component.md +0 -90
- package/docs/help/fields-page.md +0 -124
- package/docs/help/fields-taxonomy.md +0 -160
- package/docs/help/fields.md +0 -66
- package/docs/help/index-sync.md +0 -138
- package/docs/help/index.md +0 -192
- package/docs/help/lookup.md +0 -149
- package/docs/help/patterns.md +0 -33
- package/docs/help/person-from-json.md +0 -84
- package/docs/help/publish.md +0 -56
- package/docs/help/taxonomy-from-json.md +0 -115
- package/docs/help/workflow.md +0 -239
- package/docs/mcp/e2e-test-prompt.md +0 -160
- package/docs/mcp/hosted-guide.md +0 -397
- package/skills/README.md +0 -30
- package/skills/core/SKILL.md +0 -894
- package/skills/editor-tasks/SKILL.md +0 -88
- package/skills/manifest.json +0 -6
- package/skills/setup/SKILL.md +0 -123
- package/skills/templates/SKILL.md +0 -21
- /package/{dist → pack}/bin/cms-edit.d.ts +0 -0
- /package/{dist → pack}/bin/cms-edit.d.ts.map +0 -0
- /package/{dist → pack}/commands/editor-pack.d.ts +0 -0
- /package/{dist → pack}/commands/editor-pack.d.ts.map +0 -0
- /package/{dist → pack}/commands/editor-pack.js +0 -0
- /package/{dist → pack}/commands/editor-pack.js.map +0 -0
- /package/{dist → pack}/commands/host-pack-publish.d.ts +0 -0
- /package/{dist → pack}/commands/host-pack-publish.d.ts.map +0 -0
- /package/{dist → pack}/commands/project.d.ts +0 -0
- /package/{dist → pack}/commands/project.d.ts.map +0 -0
- /package/{dist → pack}/commands/project.js +0 -0
- /package/{dist → pack}/commands/project.js.map +0 -0
- /package/{dist → pack}/commands/version.d.ts +0 -0
- /package/{dist → pack}/commands/version.d.ts.map +0 -0
- /package/{dist → pack}/commands/version.js +0 -0
- /package/{dist → pack}/commands/version.js.map +0 -0
- /package/{dist → pack}/editor-pack/capabilities.d.ts +0 -0
- /package/{dist → pack}/editor-pack/capabilities.d.ts.map +0 -0
- /package/{dist → pack}/editor-pack/capabilities.js +0 -0
- /package/{dist → pack}/editor-pack/capabilities.js.map +0 -0
- /package/{dist → pack}/editor-pack/generate.d.ts +0 -0
- /package/{dist → pack}/editor-pack/parse-constants.d.ts +0 -0
- /package/{dist → pack}/editor-pack/parse-constants.d.ts.map +0 -0
- /package/{dist → pack}/editor-pack/parse-constants.js +0 -0
- /package/{dist → pack}/editor-pack/parse-constants.js.map +0 -0
- /package/{dist → pack}/editor-pack/parse-guidelines.d.ts +0 -0
- /package/{dist → pack}/editor-pack/parse-guidelines.d.ts.map +0 -0
- /package/{dist → pack}/editor-pack/parse-guidelines.js +0 -0
- /package/{dist → pack}/editor-pack/parse-guidelines.js.map +0 -0
- /package/{dist → pack}/editor-pack/parse-registrations.d.ts +0 -0
- /package/{dist → pack}/editor-pack/parse-registrations.d.ts.map +0 -0
- /package/{dist → pack}/editor-pack/parse-registrations.js +0 -0
- /package/{dist → pack}/editor-pack/parse-registrations.js.map +0 -0
- /package/{dist → pack}/editor-pack/production-site.d.ts +0 -0
- /package/{dist → pack}/editor-pack/production-site.d.ts.map +0 -0
- /package/{dist → pack}/editor-pack/production-site.js +0 -0
- /package/{dist → pack}/editor-pack/production-site.js.map +0 -0
- /package/{dist → pack}/output/mode.d.ts +0 -0
- /package/{dist → pack}/output/mode.d.ts.map +0 -0
- /package/{dist → pack}/output/mode.js +0 -0
- /package/{dist → pack}/output/mode.js.map +0 -0
- /package/{dist → pack}/project/doctor.d.ts +0 -0
- /package/{dist → pack}/project/doctor.d.ts.map +0 -0
- /package/{dist → pack}/project/load.d.ts +0 -0
- /package/{dist → pack}/project/load.d.ts.map +0 -0
- /package/{dist → pack}/project/load.js +0 -0
- /package/{dist → pack}/project/load.js.map +0 -0
- /package/{dist → pack}/project/types.d.ts +0 -0
- /package/{dist → pack}/project/types.d.ts.map +0 -0
- /package/{dist → pack}/project/types.js +0 -0
- /package/{dist → pack}/project/types.js.map +0 -0
- /package/{dist → pack}/project/validate-hosted.d.ts +0 -0
- /package/{dist → pack}/project/validate-hosted.d.ts.map +0 -0
- /package/{dist → pack}/project/validate-hosted.js +0 -0
- /package/{dist → pack}/project/validate-hosted.js.map +0 -0
- /package/{dist → pack}/project/validate-secrets.d.ts +0 -0
- /package/{dist → pack}/project/validate-secrets.d.ts.map +0 -0
- /package/{dist → pack}/project/validate-secrets.js +0 -0
- /package/{dist → pack}/project/validate-secrets.js.map +0 -0
- /package/{dist → pack}/project/validate-staged-upload-route.d.ts +0 -0
- /package/{dist → pack}/project/validate-staged-upload-route.d.ts.map +0 -0
- /package/{dist → pack}/project/validate-staged-upload-route.js +0 -0
- /package/{dist → pack}/project/validate-staged-upload-route.js.map +0 -0
- /package/{dist → pack}/version.d.ts +0 -0
- /package/{dist → pack}/version.d.ts.map +0 -0
- /package/{dist → pack}/version.js +0 -0
- /package/{dist → pack}/version.js.map +0 -0
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @se-studio/contentful-cms
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The published package is the **editor-pack CLI** for hosted cms-edit. It validates `project.json`, generates `editor-pack/`, and builds the GitHub Release archive (`host pack-publish`).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Content editing (open, save, set, schema) runs on the hosted editor in `apps/cms-edit-host`. That runtime is not in this npm package. The command manual is in the se-core-product repo at `packages/contentful-cms/docs/hosted-command-reference.md`.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -10,669 +10,22 @@ A CLI tool for AI agents to read and edit Contentful draft content across all SE
|
|
|
10
10
|
npm install -g @se-studio/contentful-cms
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
In the se-core-product monorepo, `pnpm build` still emits the hosted editor for `apps/cms-edit-host`. A customer `npm install` gets the pack CLI only.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
pnpm install
|
|
17
|
-
pnpm build
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## MCP Setup (hosted)
|
|
21
|
-
|
|
22
|
-
Editors connect Claude via **hosted cms-edit MCP** (OAuth) — no Node.js or local setup wizard.
|
|
23
|
-
|
|
24
|
-
1. Deploy a thin Next.js host (`cms-edit host scaffold`) or use an existing site host
|
|
25
|
-
2. Configure OAuth env vars (see [HOSTED.md](./HOSTED.md))
|
|
26
|
-
3. Send editors the `/cms-edit` onboarding URL
|
|
27
|
-
|
|
28
|
-
Shared route logic lives in `@se-studio/contentful-cms/hosted/next`. Editor walkthrough: [INSTALL.md](./INSTALL.md).
|
|
29
|
-
|
|
30
|
-
**Local stdio MCP is not supported** — do not register `mcpServers.cms-edit` in Claude Desktop. Developers and agents use the hosted connector URL from the site’s `/cms-edit` page. The local `cms-edit` binary only runs **tooling** (`host`, `editor-pack`, `patterns`, `project`, `schema`, `guide`). Content commands (`open`, `save`, `set`, …) are refused on the CLI.
|
|
31
|
-
|
|
32
|
-
### What hosted MCP exposes
|
|
33
|
-
|
|
34
|
-
A single `cms_edit` tool that accepts an `args` array matching any `cms-edit` CLI command:
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
["open", "/pricing"]
|
|
38
|
-
["snapshot"]
|
|
39
|
-
["set", "@c0", "heading", "New heading"]
|
|
40
|
-
["save"]
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
All output is JSON. JSON bulk: `--json` or `--json-base64`. RTF: `--content` or `--base64`. No `--file` or stdin on MCP.
|
|
44
|
-
|
|
45
|
-
## Contentful Role Setup (Required)
|
|
46
|
-
|
|
47
|
-
Before using this tool, create a dedicated **AI Editor** role in your Contentful space with restricted permissions. This provides defence-in-depth safety on top of the CLI's own restrictions.
|
|
48
|
-
|
|
49
|
-
### Steps
|
|
50
|
-
|
|
51
|
-
1. Go to **Settings → Roles & Permissions** in your Contentful web app
|
|
52
|
-
2. Click **Add Role** and name it `AI Editor`
|
|
53
|
-
3. Under **Content** permissions, set:
|
|
54
|
-
- Entries: ✅ Read, ✅ Create, ✅ Edit — ❌ Publish, ❌ Unpublish, ❌ Archive, ❌ Delete
|
|
55
|
-
- Assets: ✅ Read — ❌ everything else
|
|
56
|
-
4. Under **Space** and **Settings** — leave all ❌
|
|
57
|
-
5. Save the role
|
|
58
|
-
6. Go to **Settings → API Keys** → **Content management tokens**
|
|
59
|
-
7. Create a Personal Access Token scoped to this role (or invite a service account user with this role and generate their token)
|
|
60
|
-
8. Store the token as an environment variable (e.g. `CMS_EDIT_TOKEN`)
|
|
61
|
-
|
|
62
|
-
AI Editor cannot publish. People who should publish, unpublish, or archive need those actions on their Contentful role. cms-edit then uses `publish plan` and `publish apply` after an explicit yes. `save` still writes drafts.
|
|
63
|
-
|
|
64
|
-
## Configuration
|
|
65
|
-
|
|
66
|
-
Create `.contentful-cms.json` in your project root (copy from `.contentful-cms.example.json`):
|
|
67
|
-
|
|
68
|
-
```json
|
|
69
|
-
{
|
|
70
|
-
"defaultSpace": "om1",
|
|
71
|
-
"spaces": {
|
|
72
|
-
"om1": {
|
|
73
|
-
"spaceId": "your-space-id",
|
|
74
|
-
"environment": "master",
|
|
75
|
-
"managementToken": "${CMS_EDIT_TOKEN_OM1}",
|
|
76
|
-
"defaultLocale": "en-US",
|
|
77
|
-
"devBaseUrl": "https://om1.localhost"
|
|
78
|
-
},
|
|
79
|
-
"brightline": {
|
|
80
|
-
"spaceId": "another-space-id",
|
|
81
|
-
"environment": "master",
|
|
82
|
-
"managementToken": "${CMS_EDIT_TOKEN_BRIGHTLINE}",
|
|
83
|
-
"defaultLocale": "en-US",
|
|
84
|
-
"devBaseUrl": "${DEV_BASE_URL}",
|
|
85
|
-
"requestParams": {
|
|
86
|
-
"x-vercel-protection-bypass": "${VERCEL_BYPASS_TOKEN}"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Token values use `${ENV_VAR}` syntax and are resolved from your `.env.local` at runtime.
|
|
94
|
-
|
|
95
|
-
### Deployment Protection Bypass
|
|
96
|
-
|
|
97
|
-
When your dev site is deployed behind Vercel deployment protection (or similar), commands that
|
|
98
|
-
build URLs from `devBaseUrl` (e.g. `preview url`, `preview showcase`) need to bypass the protection.
|
|
99
|
-
|
|
100
|
-
**Via query parameter** (Vercel protection bypass):
|
|
101
|
-
```json
|
|
102
|
-
"requestParams": {
|
|
103
|
-
"x-vercel-protection-bypass": "${VERCEL_BYPASS_TOKEN}"
|
|
104
|
-
}
|
|
105
|
-
```
|
|
106
|
-
The token is appended as a query parameter to every URL built from `devBaseUrl`.
|
|
107
|
-
|
|
108
|
-
**Via HTTP header** (custom auth headers):
|
|
109
|
-
```json
|
|
110
|
-
"requestHeaders": {
|
|
111
|
-
"x-custom-header": "${CUSTOM_HEADER_VALUE}"
|
|
112
|
-
}
|
|
113
|
-
```
|
|
114
|
-
`requestHeaders` are read by `cms-capture-screenshots` when driving agent-browser (query bypass uses `requestParams` via `cms-edit preview showcase`).
|
|
115
|
-
|
|
116
|
-
Both `requestParams` and `requestHeaders` values support `${ENV_VAR}` token syntax.
|
|
117
|
-
Set the token values in `.env.local` — they are never committed to version control.
|
|
118
|
-
|
|
119
|
-
## Workflow
|
|
120
|
-
|
|
121
|
-
Use **one explicit lookup flag** per `open` (see [docs/help/lookup.md](./docs/help/lookup.md)). Positional `open <slug>` is no longer supported.
|
|
122
|
-
|
|
123
|
-
```bash
|
|
124
|
-
# 1. Open a page by slug — fetches the entry tree and starts a session
|
|
125
|
-
cms-edit open --page-slug /pricing
|
|
126
|
-
|
|
127
|
-
# 2. View the content tree with @refs
|
|
128
|
-
cms-edit snapshot
|
|
129
|
-
|
|
130
|
-
# 3. Read a specific component's fields
|
|
131
|
-
cms-edit read @c2
|
|
132
|
-
|
|
133
|
-
# 4. Read a specific rich text field
|
|
134
|
-
cms-edit read @c2 body
|
|
135
|
-
|
|
136
|
-
# 5. Edit a scalar field
|
|
137
|
-
cms-edit set @c2 heading "New heading text"
|
|
138
|
-
cms-edit set @c2 showHeading true
|
|
139
|
-
|
|
140
|
-
# 5b. Set an Object/JSON field from a file
|
|
141
|
-
cms-edit set @c2 data --file chart-data.json
|
|
142
|
-
|
|
143
|
-
# 5c. Set an entry link field (e.g. page template)
|
|
144
|
-
cms-edit set @c0 template 3I0HxGKbUd173wIpFCsbVr --link
|
|
145
|
-
|
|
146
|
-
# 6. Edit a rich text field (Markdown — default format when no flag)
|
|
147
|
-
cms-edit rtf @c2 body --markdown "## Why it matters\n\nOur platform helps teams **move faster** with [confidence](https://example.com)."
|
|
148
|
-
|
|
149
|
-
# 7. Review changes before saving
|
|
150
|
-
cms-edit diff
|
|
151
|
-
|
|
152
|
-
# 8. Save all changes as Contentful drafts (NEVER publishes)
|
|
153
|
-
cms-edit save
|
|
154
|
-
|
|
155
|
-
# 9. Discard changes if needed
|
|
156
|
-
cms-edit discard
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
## Command Reference
|
|
160
|
-
|
|
161
|
-
### Navigation
|
|
162
|
-
|
|
163
|
-
| Command | Description |
|
|
164
|
-
|---------|-------------|
|
|
165
|
-
| `open --page-slug <slug>` | Load a page (see [docs/help/lookup.md](./docs/help/lookup.md)); hard-fails if session is dirty |
|
|
166
|
-
| `open --resume` | Re-print active session without refetch (keeps staged edits) |
|
|
167
|
-
| `open --overwrite --confirm-discard …` | Replace session even if dirty (discards staged field edits) |
|
|
168
|
-
| `open --id <id>` | Load by Contentful entry ID |
|
|
169
|
-
| `snapshot [-c]` | Re-print content tree (`-c` for compact) |
|
|
170
|
-
| `read [ref] [field]` | Read all fields of a ref, or a specific field |
|
|
171
|
-
| `diff` | Show unsaved changes |
|
|
172
|
-
| `save` | Write all changes to Contentful as drafts |
|
|
173
|
-
| `discard [--all]` | Discard session changes |
|
|
174
|
-
|
|
175
|
-
### Field Editing
|
|
176
|
-
|
|
177
|
-
| Command | Description |
|
|
178
|
-
|---------|-------------|
|
|
179
|
-
| `set <ref> <field> <value>` | Set a scalar field (string, boolean, number). Rich Text: optional `--rtf-text` \| `--rtf-markdown` (default) \| `--rtf-html` \| `--rtf-json` |
|
|
180
|
-
| `set @c1:field="val" @c2:field="val" …` | Bulk scalar update — same Rich Text flags apply to all assignments |
|
|
181
|
-
| `set <ref> <field> --file <path>` | Set from file — for Rich Text fields the JSON must be a full Rich Text document (`nodeType: document`) |
|
|
182
|
-
| `set <ref> <field> --json '<json>'` | Inline JSON — for Rich Text fields the value must be a full Rich Text document object |
|
|
183
|
-
| `set <ref> <field> <entry-id> --link` | Set an entry link field (e.g. template) |
|
|
184
|
-
| `set <ref> <field> <refs-or-ids> --links [--append]` | Set a content array (topContent, content, bottomContent, contents); replace by default, or append with `--append` |
|
|
185
|
-
| `rtf <ref> <field> "<content>"` | Set Rich Text — format: `--text` \| `--markdown` (default) \| `--html` \| `--rtf-json` |
|
|
186
|
-
| `rtf <ref> <field> --file <path> [--markdown\|--html\|…]` | Set from file with matching format flag |
|
|
187
|
-
| `rtf <ref> <field> - [--format]` | Set from stdin (e.g. `cms-edit rtf @c2 body --markdown - < file.md`) |
|
|
188
|
-
| `rtf replace <ref> <field> --find "…" --replace-plain "…"` | Surgical replace — replacement: `--replace-plain` \| `--replace` (Markdown) \| `--replace-html` \| `--replace-json` |
|
|
189
|
-
| `rtf patch <ref> <field>` | JSON ops — use `replaceIsMarkdown`, `replaceIsHtml`, `replaceIsJson`, or `replaceFormat` per op |
|
|
190
|
-
| `rtf embed <ref> <field> <entry-id> [--at N]` | Insert embedded **entry** block; use `--at N` for 0-based position, omit to append |
|
|
191
|
-
| `rtf embed <ref> <field> <asset-id> --asset [--at N]` | Insert embedded **asset** block (`embedded-asset-block`); Rich Text only allows `data.target` — no per-block width or alignment in the JSON |
|
|
192
|
-
|
|
193
|
-
**Rich text embeds — asset vs Media (width / alignment):**
|
|
194
|
-
|
|
195
|
-
- **Raw asset** (`--asset`): embeds the file as-is. Layout comes from the asset/visual defaults only; you cannot store alignment or width on the block (Contentful validates `embedded-asset-block.data` and rejects extra properties).
|
|
196
|
-
- **Media entry** (omit `--asset`, pass a **Media** entry ID): embed a Media entry whose fields include **width** (percentage) and **horizontal position**. The delivery API resolves it to an `IVisual` and apps render it via the same RTF embedded-entry path (`VisualComponent`). Create a Media entry from the CLI (does not replace your session), then embed by ID:
|
|
197
|
-
```bash
|
|
198
|
-
cms-edit create media --asset-id <asset-id> --name "Figure 1" --position Middle --width 40
|
|
199
|
-
cms-edit rtf embed @c1 body <media-entry-id> --at 4
|
|
200
|
-
```
|
|
201
|
-
Raw asset for comparison: `cms-edit rtf embed @c1 body <asset-id> --asset`
|
|
202
|
-
If the same image needs **different** width or alignment in **two** places, use **two Media entries** that reference the same underlying asset (layout is on the Media entry, not per RTF occurrence).
|
|
203
|
-
|
|
204
|
-
### Structure
|
|
205
|
-
|
|
206
|
-
| Command | Description |
|
|
207
|
-
|---------|-------------|
|
|
208
|
-
| `add <type> --content-type <ct> [--after <ref>] [--parent <ref>] [--target topContent\|content\|bottomContent]` | Create and link a new entry; `--content-type` is required (e.g. `component`, `collection`, `externalComponent`, `person`). `--parent` derives the target field from the parent's content type: collections use `contents`, pages/articles default to `content` (override with `--target`). |
|
|
209
|
-
| `remove <ref>` | Unlink from page (deletes if unreferenced draft) |
|
|
210
|
-
| `move <ref> [--after <ref2>] [--before <ref2>]` | Reorder within parent |
|
|
211
|
-
|
|
212
|
-
**`add` — content type is always explicit:**
|
|
15
|
+
## Commands
|
|
213
16
|
|
|
214
17
|
```bash
|
|
215
|
-
cms-edit
|
|
216
|
-
cms-edit
|
|
217
|
-
cms-edit
|
|
218
|
-
cms-edit
|
|
18
|
+
cms-edit project validate --project-config cms-edit/<site>/project.json
|
|
19
|
+
cms-edit project doctor --project-config cms-edit/<site>/project.json
|
|
20
|
+
cms-edit editor-pack generate --project-config cms-edit/<site>/project.json
|
|
21
|
+
cms-edit host pack-publish \
|
|
22
|
+
--editor-pack cms-edit/<site>/editor-pack \
|
|
23
|
+
--tag cms-edit-pack-<projectKey>-v1.0.0 \
|
|
24
|
+
--out-dir dist/cms-edit-pack \
|
|
25
|
+
--repo <owner>/<repo>
|
|
26
|
+
cms-edit version
|
|
219
27
|
```
|
|
220
28
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
### Create
|
|
224
|
-
|
|
225
|
-
| Command | Description |
|
|
226
|
-
|---------|-------------|
|
|
227
|
-
| `create page --slug /x --title "X" [--description "…"] [--cms-label "…"] [--template-id <id>] [--featured-image <asset-id>] [--indexed] [--hidden]` | Create a new page entry; all fields after `--title` are optional |
|
|
228
|
-
| `create article --slug /x --title "X" --article-type-id <id>` | Create a new article |
|
|
229
|
-
| `create from-json --json '<json>'` | Create a complete page or article from JSON (`--json-base64` for large payloads) |
|
|
230
|
-
| `create from-json --json '…' --dry-run --strict` | Validate locally (no CMA). Fails on `content` trees, empty `components`, `componentType` |
|
|
231
|
-
| `export from-json` | Dump the open session as from-json (ids + versions) |
|
|
232
|
-
| `apply from-json --json '…'` | Update/create from that document (1 CMA update per changed entry) |
|
|
233
|
-
| `create taxonomy-from-json --json '…' [--if-not-exists] [--dry-run]` | Batch-create tagType, articleType, and tag entries from JSON |
|
|
234
|
-
| `create person-from-json --json '…' [--if-not-exists] [--dry-run]` | Batch-create person/author entries from JSON |
|
|
235
|
-
| `create person --slug <slug> --name "X" [--job-title <t>] [--person-type-id <id>] [--person-type-slug <slug>] [--indexed true\|false] [--hidden true\|false] [--if-not-exists] [--dry-run]` | Create a person entry (draft) |
|
|
236
|
-
| `create person-type --slug <slug> --name "X" [--person-page-template-id <id>] [--index-page-template-id <id>] [--index-page-top-content-ids <ids>] [--person-page-indexed true\|false] [--person-page-hidden true\|false] [--indexed true\|false] [--hidden true\|false] [--if-not-exists] [--dry-run]` | Create a personType entry (draft). Index flags default indexed on and hidden off. Person-page flags stay unset when omitted. |
|
|
237
|
-
| `create person … [--bio-markdown <md>]` or `[--bio-file <path>]` | Bio as Markdown (mutually exclusive paths) |
|
|
238
|
-
| `create tag-type --slug <slug> --name "X" [--json-file <path>] [--if-not-exists] [--dry-run]` | Create a tagType entry (draft) |
|
|
239
|
-
| `create article-type --slug <slug> --name "X" [--json-file <path>] [--if-not-exists] [--dry-run]` | Create an articleType entry (draft) |
|
|
240
|
-
| `create tag --slug <slug> --name "X" --tag-type <tagType-slug> [--tag-type-id <id>] [--description <desc>] [--featured-image <asset-id>] [--json-file <path>] [--if-not-exists] [--dry-run]` | Create a tag entry (draft) |
|
|
241
|
-
| `create template --label "X"` | Create a new template entry |
|
|
242
|
-
| `create media --asset-id <id> --name "X" [--position Left\|Middle\|Right] [--width <1–100>]` | Create a **Media** entry (draft); does not start a new cms-edit session; prints entry ID for `rtf embed` |
|
|
243
|
-
| `create banner` / `create page-test` / `create page-variant` / `create custom-type` | Draft creates for site banners, experiments, page variants, and custom types. See `cms-edit help create-editor-entries` |
|
|
244
|
-
|
|
245
|
-
**`create from-json` notes:** Optional `cmsLabel` on each component helps editors tell instances apart. **Asset and Media links** use explicit shorthands (`featuredImage`, `featuredImageAssetFilename`, `visualAssetFilename`, `visualMedia`, …) — see `cms-edit help create-from-json`. Unknown JSON keys warn by default; `--strict` or `--dry-run` fails instead. String `fields` values become Rich Text when they auto-detect as Markdown, HTML, or Rich Text JSON; otherwise use `{ "value", "format" }`. Slugs should not end with `/` (the CLI strips one and warns). `*AssetFilename` keys require `cms-edit index sync`.
|
|
246
|
-
|
|
247
|
-
**Taxonomy creates:** Use `--json-file` for full field control on tagType, articleType, and tag entries. See `cms-edit help fields-taxonomy` and `cms-edit help taxonomy-from-json`. Idempotent imports: `cms-edit create tag-type … --if-not-exists`.
|
|
248
|
-
|
|
249
|
-
**Idempotent flags (`--if-not-exists`, `--if-exists-by-filename`):** These use check-then-create against Contentful. They are safe for sequential import scripts, but **not safe under parallel runs** on the same slug or `fileName` — two concurrent commands can both create entries. Serialize imports per slug/fileName, or re-run with the idempotent flag to converge.
|
|
250
|
-
|
|
251
|
-
| Command | Description |
|
|
252
|
-
|---------|-------------|
|
|
253
|
-
| `article-tags-from-json --file <path> [--dry-run]` | Set tags on multiple articles from JSON |
|
|
254
|
-
| `bulk-rtf-replace --find <text> --replace-plain <text> [--include page,article] [--prefix <slug>] [--limit <n>] [--dry-run]` | Find-replace plain text in Rich Text across page/article trees |
|
|
255
|
-
|
|
256
|
-
Set `CMS_EDIT_JSON=1` for machine-readable output (`{ ok, id, slug, contentType, status }`).
|
|
257
|
-
|
|
258
|
-
### Templates
|
|
259
|
-
|
|
260
|
-
Create a template: `cms-edit create template --label 'Campaign Landing'`. Edit: `cms-edit open --id <template-id>`. List template IDs: `cms-edit list --type template`.
|
|
261
|
-
|
|
262
|
-
### Links (CTAs)
|
|
263
|
-
|
|
264
|
-
Put the ref **after the subcommand** (e.g. `links add @c5`).
|
|
265
|
-
|
|
266
|
-
| Command | Description |
|
|
267
|
-
|---------|-------------|
|
|
268
|
-
| `links list <ref>` | List CTA links on an entry |
|
|
269
|
-
| `links add <ref> --type external --label "X" --href <url>` | Add an external link (requires `--href`) |
|
|
270
|
-
| `links add <ref> --type internal --label "X" --slug /page` | Add an internal link by page/article slug |
|
|
271
|
-
| `links add <ref> --type internal --label "X" --id <entry-id>` | Add an internal link by Contentful entry ID |
|
|
272
|
-
| `links add <ref> --type download --label "X" --asset-id <asset-id>` | Add a download link to an asset (requires `--asset-id`) |
|
|
273
|
-
| `links add <ref> … --variant link\|button` | Set link variant on create (see `cms-edit schema link`) |
|
|
274
|
-
| `links set <ref> <index> <field> <value>` | Set a scalar field on an existing link entry (e.g. `variant link`) |
|
|
275
|
-
| `links remove <ref> <index>` | Remove a link by index |
|
|
276
|
-
| `links move <ref> <from> <to>` | Reorder links |
|
|
277
|
-
|
|
278
|
-
**Examples:**
|
|
279
|
-
|
|
280
|
-
```bash
|
|
281
|
-
cms-edit links list @c5
|
|
282
|
-
cms-edit links add @c5 --type external --label "Download PDF" --href "https://www.example.com/whitepaper.pdf"
|
|
283
|
-
cms-edit links add @c5 --type internal --label "Pricing" --slug /pricing
|
|
284
|
-
cms-edit links add @c5 --type internal --label "About" --id 4xKj2abcDef
|
|
285
|
-
cms-edit links add @c5 --type download --label "Download PDF" --asset-id 5xKj2abcDef
|
|
286
|
-
cms-edit links set @c5 0 variant link
|
|
287
|
-
cms-edit links remove @c5 1
|
|
288
|
-
cms-edit links move @c5 2 0
|
|
289
|
-
```
|
|
290
|
-
|
|
291
|
-
### Batch edit (by entry ID)
|
|
292
|
-
|
|
293
|
-
Edit unrelated standalone entries without a page session. Uses session name **`batch`** by default (`--session` to override). Scalar fields only in v1.
|
|
294
|
-
|
|
295
|
-
| Command | Description |
|
|
296
|
-
|---------|-------------|
|
|
297
|
-
| `batch set <entryId>:field=value …` | Queue scalar updates for one or more entry IDs |
|
|
298
|
-
| `batch diff` | Show all pending batch changes |
|
|
299
|
-
| `batch save` | Write all batch changes as drafts |
|
|
300
|
-
| `batch discard` | Clear batch session without saving |
|
|
301
|
-
|
|
302
|
-
**Example — link variant sweep:**
|
|
303
|
-
|
|
304
|
-
```bash
|
|
305
|
-
cms-edit batch set \
|
|
306
|
-
3my7n2M84OrhOaaSLHVHvo:variant=link \
|
|
307
|
-
7MjsLmOq52CR9C5xrYlcub:variant=button
|
|
308
|
-
cms-edit batch diff
|
|
309
|
-
cms-edit batch save
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
See `cms-edit help batch` for limits and named sessions.
|
|
313
|
-
|
|
314
|
-
Content type definitions (field types, enum validations) are cached on the session and under `~/.contentful-cms/content-types/<spaceId>/<environment>/` (24-hour TTL) so batch workflows and repeated sets avoid redundant CMA calls.
|
|
315
|
-
|
|
316
|
-
### Content index (assets, media, content catalog)
|
|
317
|
-
|
|
318
|
-
Build a local SQLite index from the **Content Preview API** before filename search, media-by-filename list, asset audit, or fast page/article/taxonomy/nav lookup:
|
|
319
|
-
|
|
320
|
-
```bash
|
|
321
|
-
cms-edit index sync # draft assets, media, full content catalog (default)
|
|
322
|
-
cms-edit index sync --verbose # progress on stderr (or LOG_CMS_INDEX=1)
|
|
323
|
-
cms-edit index status
|
|
324
|
-
cms-edit index dump # browse index in the terminal
|
|
325
|
-
cms-edit index dump --reference-only
|
|
326
|
-
cms-edit index sync --published # separate DB for published-only content
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
Catalog types (`page`, `article`, `pageVariant`, `template`, `articleType`, `tagType`, `tag`, `navigation`, `navigationItem`) list from the index when present; use `list --type page --force-cma` to bypass. Scoped filters: `list --type tag --tag-type-name "…"`, `list --type article --article-type-slug …`. Open/resolve use flat flags (`--page-slug`, `--page-cms-label`, `--nav-name`, etc.) — see [docs/help/lookup.md](./docs/help/lookup.md).
|
|
330
|
-
|
|
331
|
-
**Auto-sync:** Index-backed commands refresh the index automatically when it is missing, on an outdated schema (v3), or older than 24h (incremental upsert when only stale). Manual `index sync` always does a full rebuild. See [docs/help/index-sync.md](./docs/help/index-sync.md).
|
|
332
|
-
|
|
333
|
-
**Agent skills:** Edit `packages/skills/skills/contentful-cms-*`, then `pnpm --filter @se-studio/contentful-cms sync:skills`. See [docs/SKILLS.md](./docs/SKILLS.md).
|
|
334
|
-
|
|
335
|
-
Configure optional tokens in `.contentful-cms.json` (`previewAccessToken` for default sync; `deliveryAccessToken`, `deliveryApiKeyName`, `autoCreateDeliveryApiKey` for `--published`) — see [docs/MEDIA_INDEX_PLAN.md](./docs/MEDIA_INDEX_PLAN.md). If unset, `index sync` resolves a preview or delivery key via the management token.
|
|
336
|
-
|
|
337
|
-
### Assets
|
|
338
|
-
|
|
339
|
-
| Command | Description |
|
|
340
|
-
|---------|-------------|
|
|
341
|
-
| `asset search [query]` | Search assets by title (requires index); `--filename` / `--filename-match` for fileName |
|
|
342
|
-
| `asset audit` | List image assets missing alt text (requires index) |
|
|
343
|
-
| `asset review` | Full visual asset review — filename, alt, dimensions, size, GIF (requires index; use `--json` for spreadsheets) |
|
|
344
|
-
| `asset upload --base64 <encoded> --mime <type> [--file-name <name>]` | SVG/PDF/Lottie only (local CLI). Raster/video rejected |
|
|
345
|
-
| `asset upload --staged <uploadId> --mime <type> --file-name <name>` | SVG/PDF/Lottie on hosted MCP. Raster/video: use media prepare |
|
|
346
|
-
| `asset upload --url <https-url> [--mime <type>] [--file-name <name>]` | Pipeline-ready **images** (Blob pack host) or SVG/PDF/Lottie. **Video: cms_edit_media import only** |
|
|
347
|
-
| `asset upload … --with-media [--media-name "X"] [--media-position Left\|Middle\|Right] [--media-width <1–100>]` | Also create a draft Media wrapper |
|
|
348
|
-
| `asset upload … --if-exists-by-filename` | Return existing asset (and media if `--with-media`) when fileName matches |
|
|
349
|
-
| `asset info <asset-id>` | Show asset details |
|
|
350
|
-
| `asset search --concept <id> [--concept-all <id>]` | Live concept search (id, title, file name, description, concepts). Not the blog tag index |
|
|
351
|
-
| `asset set-title <asset-id> <title>` | Set the asset title. Draft. Does not change the file name |
|
|
352
|
-
| `asset replace <asset-id> --url <ready-url> [--dry-run]` | New binary on the same id. Keeps the file name. Draft. Raster/video URL must be a processed pack |
|
|
353
|
-
| `asset concept assign\|unassign <asset-id> <concept-id...>` | Write `metadata.concepts`. Fails if the concept does not exist |
|
|
354
|
-
| `asset set <ref> <field> <asset-id>` | Set a visual/asset field |
|
|
355
|
-
|
|
356
|
-
JSON output for upload (`CMS_EDIT_JSON=1`): `{ ok, id, fileName, url, mediaId?, mediaIds? }`. Bytes that pass through this process are limited to **10MB** (local/URL/base64) or **4MB** (hosted function POST for JSON, text, SVG, PDF, and Lottie). Video, and an image master over 4MB, use a presigned direct upload of up to **100MB**, then the media pipeline. Contentful stores the processed file. With `--if-exists-by-filename`, run uploads **one at a time** per `fileName` if your script uses parallelism (see idempotent note above).
|
|
357
|
-
|
|
358
|
-
### Navigation Entries
|
|
359
|
-
|
|
360
|
-
| Command | Description |
|
|
361
|
-
|---------|-------------|
|
|
362
|
-
| `nav open --nav-name <name>` | Load a navigation entry (`--nav-id` also supported) |
|
|
363
|
-
| `nav add --label "X" --slug /page` | Add a navigation item |
|
|
364
|
-
|
|
365
|
-
### Discovery
|
|
366
|
-
|
|
367
|
-
| Command | Description |
|
|
368
|
-
|---------|-------------|
|
|
369
|
-
| `schema types <content-type>` | List valid type-discriminator values for any content type (looks up the `${contentType}Type` field) |
|
|
370
|
-
| `schema colours` | List valid `backgroundColour` and `textColour` values from the content model (one list each, no session required) |
|
|
371
|
-
| `search "<query>"` | Full-text search across entries |
|
|
372
|
-
| `list --type <type>` | List **all** entries of a content type (paginates automatically) |
|
|
373
|
-
| `list --type media --asset-id <id>` | List Media entries linked to an asset |
|
|
374
|
-
| `list --type media --asset-filename <name>` | List Media entries by exact asset fileName |
|
|
375
|
-
| `list --type media --asset-filename-match <pattern>` | List Media entries by asset fileName regex (requires index) |
|
|
376
|
-
| `resolve --page-slug <slug>` | Resolve entry by flat lookup flag (no session). See [docs/help/lookup.md](./docs/help/lookup.md) |
|
|
377
|
-
|
|
378
|
-
Asset search, media list by filename, and `asset audit` use the local index (no bulk CMA asset scans). Run `cms-edit index sync` first — see [docs/help/index-sync.md](./docs/help/index-sync.md).
|
|
379
|
-
|
|
380
|
-
**`schema types` examples:**
|
|
381
|
-
|
|
382
|
-
```bash
|
|
383
|
-
cms-edit schema types component # lists componentType values
|
|
384
|
-
cms-edit schema types collection # lists collectionType values
|
|
385
|
-
cms-edit schema types externalComponent # lists externalComponentType values
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
### Preview URLs
|
|
389
|
-
|
|
390
|
-
Generate URLs for visual checks with a browser MCP (no capture built into cms-edit):
|
|
391
|
-
|
|
392
|
-
| Target | Command |
|
|
393
|
-
|--------|---------|
|
|
394
|
-
| Page slug | `cms-edit preview url /pricing` (or `preview url` with an open session) |
|
|
395
|
-
| Component showcase | `cms-edit preview showcase --component HeroSimple` |
|
|
396
|
-
| Collection showcase | `cms-edit preview showcase --collection CardGrid --param backgroundColour=Navy` |
|
|
397
|
-
|
|
398
|
-
Requires `devBaseUrl` in `.contentful-cms.json`. Use `--json` for machine-readable output.
|
|
399
|
-
|
|
400
|
-
**CMS guidelines batch capture:** `@se-studio/project-build` ships `cms-capture-screenshots` for the guidelines pipeline only (requires agent-browser). Run from the site repo root: `cms-capture-screenshots --variants /tmp/type-variants.json --app-dir <app-dir>` (e.g. `apps/example-empty` here, or the app path in a customer repo).
|
|
401
|
-
|
|
402
|
-
## Machine-readable Output (`--json`)
|
|
403
|
-
|
|
404
|
-
All commands support JSON output via the global `--json-output` flag or the `CMS_EDIT_JSON=1` environment variable (see [JSON Mode](#json-mode-llm--machine-readable-output) above). In addition, a subset of data-query commands also accept a per-command `--json` flag:
|
|
405
|
-
|
|
406
|
-
| Command | `--json` output |
|
|
407
|
-
|---------|-----------------|
|
|
408
|
-
| `list --type <type> --json` | JSON array of entry objects including all fields |
|
|
409
|
-
| `search "<query>" --json` | JSON array of entry objects including all fields |
|
|
410
|
-
| `read <ref> --json` | JSON object for one entry including all fields |
|
|
411
|
-
| `read <ref> <field> --json` | JSON value for a single field |
|
|
412
|
-
| `asset info <id> --json` | JSON object for one asset |
|
|
413
|
-
|
|
414
|
-
**Entry JSON shape** (for `list`, `search`, `read`):
|
|
415
|
-
|
|
416
|
-
```json
|
|
417
|
-
{
|
|
418
|
-
"id": "abc123",
|
|
419
|
-
"contentType": "article",
|
|
420
|
-
"title": "My Article",
|
|
421
|
-
"slug": "my-article",
|
|
422
|
-
"status": "published",
|
|
423
|
-
"updatedAt": "2024-01-01T00:00:00Z",
|
|
424
|
-
"fields": {
|
|
425
|
-
"title": "My Article",
|
|
426
|
-
"slug": "my-article",
|
|
427
|
-
"articleType": { "id": "entryId", "linkType": "Entry" },
|
|
428
|
-
"download": { "id": "assetId", "linkType": "Asset" },
|
|
429
|
-
"tags": ["tag1", "tag2"],
|
|
430
|
-
"body": "## Heading\n\nRich text rendered as Markdown."
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
Fields are flattened to the space's default locale. Link fields become `{ id, linkType }` objects. Rich text fields become Markdown strings.
|
|
436
|
-
|
|
437
|
-
**Asset JSON shape** (for `asset info`):
|
|
438
|
-
|
|
439
|
-
```json
|
|
440
|
-
{
|
|
441
|
-
"id": "assetId",
|
|
442
|
-
"title": "My PDF",
|
|
443
|
-
"fileName": "report-2024.pdf",
|
|
444
|
-
"contentType": "application/pdf",
|
|
445
|
-
"url": "https://assets.ctfassets.net/...",
|
|
446
|
-
"width": null,
|
|
447
|
-
"height": null,
|
|
448
|
-
"size": 102400
|
|
449
|
-
}
|
|
450
|
-
```
|
|
451
|
-
|
|
452
|
-
Progress messages from `list` are always written to stderr, so they do not contaminate the JSON on stdout.
|
|
453
|
-
|
|
454
|
-
### Scripting example: build an article–asset mapping
|
|
455
|
-
|
|
456
|
-
```bash
|
|
457
|
-
# 1. Get all articles as JSON (no session required)
|
|
458
|
-
cms-edit list --type article --json > articles.json
|
|
459
|
-
|
|
460
|
-
# 2. For each article, fetch the download asset filename
|
|
461
|
-
jq -r '.[].fields.download.id // empty' articles.json | while read assetId; do
|
|
462
|
-
# Requires an open session for space resolution — run `cms-edit open --page-slug /any-page` first
|
|
463
|
-
cms-edit asset info "$assetId" --json
|
|
464
|
-
done
|
|
465
|
-
```
|
|
466
|
-
|
|
467
|
-
## Global Options
|
|
468
|
-
|
|
469
|
-
```
|
|
470
|
-
--space <name> Override the default space (from config)
|
|
471
|
-
--config <path> Custom config file path
|
|
472
|
-
--json Output all results as machine-readable JSON (see below)
|
|
473
|
-
--docs Print absolute path to this README and exit (for LLM or script tooling)
|
|
474
|
-
```
|
|
475
|
-
|
|
476
|
-
Use `cms-edit --docs` to get the path to the README so an LLM or script can read it.
|
|
477
|
-
|
|
478
|
-
## JSON Mode (LLM / machine-readable output)
|
|
479
|
-
|
|
480
|
-
Enable JSON mode to get machine-readable output from every command. Two ways to activate:
|
|
481
|
-
|
|
482
|
-
```bash
|
|
483
|
-
# Global flag (placed before the subcommand name):
|
|
484
|
-
cms-edit --json-output snapshot
|
|
485
|
-
cms-edit --json-output diff
|
|
486
|
-
cms-edit --json-output set @c2 heading "New title"
|
|
487
|
-
cms-edit --json-output add "Research chart" --content-type externalComponent --target content
|
|
488
|
-
|
|
489
|
-
# Environment variable (set once for the whole session):
|
|
490
|
-
export CMS_EDIT_JSON=1
|
|
491
|
-
cms-edit snapshot # → JSON
|
|
492
|
-
cms-edit diff # → JSON
|
|
493
|
-
cms-edit set @c2 data --file chart.json # → JSON
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
### JSON output shapes
|
|
497
|
-
|
|
498
|
-
**Action commands** (`set`, `rtf`, `add`, `remove`, `move`, `save`, `discard`, `links`, …):
|
|
499
|
-
```json
|
|
500
|
-
{"ok": true, "message": "Set heading on @c2 to: New title"}
|
|
501
|
-
{"ok": false, "error": "Ref @c99 not found. Available refs: @c0, @c1, @c2"}
|
|
502
|
-
{"warn": "Created entry is in Contentful with default fields only. Field edits (set/rtf) … until cms-edit save."}
|
|
503
|
-
```
|
|
504
|
-
Multiple lines may appear for a single command (one per message). Errors go to stderr; warnings and results go to stdout.
|
|
505
|
-
|
|
506
|
-
**`snapshot` / `tree`**:
|
|
507
|
-
```json
|
|
508
|
-
{
|
|
509
|
-
"rootType": "article",
|
|
510
|
-
"rootSlug": "/publications/study-1",
|
|
511
|
-
"rootId": "4xKj2abc",
|
|
512
|
-
"rootStatus": "published",
|
|
513
|
-
"spaceKey": "om1",
|
|
514
|
-
"fetchedAt": "2026-03-05T10:00:00.000Z",
|
|
515
|
-
"unsavedChanges": 1,
|
|
516
|
-
"pendingDeletions": 0,
|
|
517
|
-
"entries": [
|
|
518
|
-
{
|
|
519
|
-
"ref": "@c0",
|
|
520
|
-
"entryId": "abc123",
|
|
521
|
-
"contentType": "component",
|
|
522
|
-
"type": "RichText",
|
|
523
|
-
"label": "Introduction",
|
|
524
|
-
"status": "published",
|
|
525
|
-
"depth": 1,
|
|
526
|
-
"parentRef": null,
|
|
527
|
-
"parentField": "content"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"ref": "@c1",
|
|
531
|
-
"entryId": "def456",
|
|
532
|
-
"contentType": "externalComponent",
|
|
533
|
-
"type": "Research chart",
|
|
534
|
-
"label": "Figure 1: Cost-Efficiency",
|
|
535
|
-
"status": "draft",
|
|
536
|
-
"depth": 1,
|
|
537
|
-
"parentRef": null,
|
|
538
|
-
"parentField": "content"
|
|
539
|
-
}
|
|
540
|
-
]
|
|
541
|
-
}
|
|
542
|
-
```
|
|
543
|
-
|
|
544
|
-
**`diff`**:
|
|
545
|
-
```json
|
|
546
|
-
{
|
|
547
|
-
"hasChanges": true,
|
|
548
|
-
"modified": [
|
|
549
|
-
{
|
|
550
|
-
"ref": "@c1",
|
|
551
|
-
"entryId": "def456",
|
|
552
|
-
"contentType": "externalComponent",
|
|
553
|
-
"type": "Research chart",
|
|
554
|
-
"label": "Figure 1",
|
|
555
|
-
"isNew": false,
|
|
556
|
-
"fields": {
|
|
557
|
-
"heading": {"before": null, "after": "Figure 1: Cost-Efficiency"},
|
|
558
|
-
"data": {"before": null, "after": {"type": "bar", "categories": ["A", "B"]}}
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
],
|
|
562
|
-
"deletions": []
|
|
563
|
-
}
|
|
564
|
-
```
|
|
565
|
-
|
|
566
|
-
**`read`**, **`list`**, **`search`**, **`asset info`**: same JSON shapes as their existing per-command `--json` flag.
|
|
567
|
-
|
|
568
|
-
## Order of operations: article + CTA
|
|
569
|
-
|
|
570
|
-
To add body content and a CTA (e.g. PDF download) to an article:
|
|
571
|
-
|
|
572
|
-
1. **Open the article:** `cms-edit open --article-slug <slug>` or `cms-edit open --id <id>`
|
|
573
|
-
2. **Set or add body:** If the article has a rich text component, use `cms-edit rtf @<ref> body --markdown "..."` or `cms-edit rtf @<ref> body --markdown --file path/to.md`. If you need to add a new body component first, use `add` then `rtf`.
|
|
574
|
-
3. **Add CTA at bottom:** `cms-edit add CTA --content-type component --target bottomContent` (or add to main content with `--after @<ref>` if you prefer)
|
|
575
|
-
4. **Set CTA links:** Use one of:
|
|
576
|
-
- External (e.g. PDF URL): `cms-edit links add @<ctaRef> --type external --label "Download PDF" --href <url>`
|
|
577
|
-
- Download (Contentful asset): `cms-edit links add @<ctaRef> --type download --label "Download PDF" --asset-id <asset-id>` (get the ID from `cms-edit asset search "..."` or `cms-edit asset info <id>`)
|
|
578
|
-
5. **Save:** `cms-edit save`
|
|
579
|
-
|
|
580
|
-
## Order of operations: article + Research chart
|
|
581
|
-
|
|
582
|
-
To populate an article with a Research chart (external component):
|
|
583
|
-
|
|
584
|
-
```bash
|
|
585
|
-
# 1. Open the article
|
|
586
|
-
cms-edit open --article-slug <slug>
|
|
587
|
-
|
|
588
|
-
# 2. Discover valid externalComponentType values
|
|
589
|
-
cms-edit schema types externalComponent
|
|
590
|
-
|
|
591
|
-
# 3. Add a Research chart to the content array
|
|
592
|
-
cms-edit add "Research chart" --content-type externalComponent --target content
|
|
593
|
-
|
|
594
|
-
# 4. Set the heading (scalar field)
|
|
595
|
-
cms-edit set @c2 heading "Figure 1: Cost-Efficiency of Data Automation"
|
|
596
|
-
|
|
597
|
-
# 5. Set the data field from a JSON file
|
|
598
|
-
cms-edit set @c2 data --file figure1-data.json
|
|
599
|
-
|
|
600
|
-
# 6. Set the additionalCopy footnote (rich text)
|
|
601
|
-
cms-edit rtf @c2 additionalCopy --markdown --file footnote.md
|
|
602
|
-
|
|
603
|
-
# 7. Review and save
|
|
604
|
-
cms-edit diff
|
|
605
|
-
cms-edit save
|
|
606
|
-
```
|
|
607
|
-
|
|
608
|
-
## Snapshot Format
|
|
609
|
-
|
|
610
|
-
```
|
|
611
|
-
Page: /pricing [4xKj2abc | published] · om1
|
|
612
|
-
|
|
613
|
-
@c0 Component[HeroSimple] "Transparent Pricing" [changed]
|
|
614
|
-
@c1 Component[RichText] "How it works" [published]
|
|
615
|
-
@c2 Collection[CardGrid] "Plans" [published]
|
|
616
|
-
@c3 Component[Card] "Starter" [published]
|
|
617
|
-
@c4 Component[Card] "Pro" [draft]
|
|
618
|
-
@c5 ExternalComponent[Research chart] "Figure 1: Cost-Efficiency" [draft]
|
|
619
|
-
@c6 Component[CTA] "Get started today" [published]
|
|
620
|
-
@c7 Person "Dr. Jane Smith" [published]
|
|
621
|
-
```
|
|
622
|
-
|
|
623
|
-
The type label follows the `${contentType}Type` convention:
|
|
624
|
-
- `component` → `Component[<componentType>]`
|
|
625
|
-
- `collection` → `Collection[<collectionType>]`
|
|
626
|
-
- `externalComponent` → `ExternalComponent[<externalComponentType>]`
|
|
627
|
-
- Any content type without a type discriminator → capitalised content type ID (e.g. `Person`)
|
|
628
|
-
|
|
629
|
-
**Status badges:**
|
|
630
|
-
- `[published]` — live, no pending changes
|
|
631
|
-
- `[draft]` — never published
|
|
632
|
-
- `[pending]` — published but has newer draft in Contentful
|
|
633
|
-
- `[changed]` — has unsaved local changes (run `save`)
|
|
634
|
-
|
|
635
|
-
## Rich Text input formats
|
|
636
|
-
|
|
637
|
-
Use exactly one of `--text`, `--markdown` (default), `--html`, or `--rtf-json` with `cms-edit rtf` and `rtf edit`. For scalar `cms-edit set` on Rich Text fields, use the `--rtf-*` flags.
|
|
638
|
-
|
|
639
|
-
**Markdown** (`--markdown`) supports:
|
|
640
|
-
|
|
641
|
-
```
|
|
642
|
-
# Heading 1 → heading-1
|
|
643
|
-
## Heading 2 → heading-2
|
|
644
|
-
**bold** → bold mark
|
|
645
|
-
_italic_ → italic mark
|
|
646
|
-
***bold italic***
|
|
647
|
-
[text](url) → hyperlink
|
|
648
|
-
- item → unordered list
|
|
649
|
-
1. item → ordered list
|
|
650
|
-
> quote → blockquote
|
|
651
|
-
--- → horizontal rule
|
|
652
|
-
`code` → code mark
|
|
653
|
-
```
|
|
654
|
-
|
|
655
|
-
**HTML** (`--html`): subset including `h1`–`h6`, `p`, `ul`/`ol`/`li`, `blockquote`, `table`, `a`, `strong`/`em`, `br`.
|
|
656
|
-
|
|
657
|
-
**JSON** (`--json`): full Contentful Rich Text document JSON.
|
|
658
|
-
|
|
659
|
-
**Plain text** (`--text`): paragraph breaks from `\n\n` or `\n`; inline `**bold**` etc. still parsed per Markdown inline rules.
|
|
660
|
-
|
|
661
|
-
## Multi-space Usage
|
|
662
|
-
|
|
663
|
-
```bash
|
|
664
|
-
cms-edit --space om1 open --page-slug /pricing
|
|
665
|
-
cms-edit --space brightline open --page-slug /home
|
|
666
|
-
```
|
|
667
|
-
|
|
668
|
-
## What This Tool Cannot Do
|
|
669
|
-
|
|
670
|
-
By design, the following operations are **not available**:
|
|
671
|
-
|
|
672
|
-
- Delete published entries
|
|
673
|
-
- Scheduled publish
|
|
674
|
-
|
|
675
|
-
Publish, unpublish, and archive exist as `plan` then `apply`. They run only when the signed-in Contentful role allows that action, and only after an explicit yes. `save` still creates drafts.
|
|
29
|
+
`editor-pack generate` reads `docs/editor-tasks` from this package. Refresh `docs/cms-editor/<projectKey>/page-patterns.md` in the site repo before generate. This CLI does not include `patterns generate`.
|
|
676
30
|
|
|
677
|
-
|
|
678
|
-
2. **Plan** — `publish plan` does not write. `publish apply --plan <id>` runs only after the user says yes.
|
|
31
|
+
Editors connect through the site's hosted `/cms-edit` URL. Do not register a local stdio MCP server.
|