[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-contentful-contentful-migration":3,"mdc-9pym0c-key":37,"related-repo-contentful-contentful-migration":4485,"related-org-contentful-contentful-migration":4571},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":32,"sourceUrl":35,"mdContent":36},"contentful-migration","run Contentful content model migrations","Write and run Contentful content model migration scripts using the contentful-migration library and the Contentful CLI. Covers creating, editing, and deleting content types and fields, validations, editor interface configuration, editor layouts, sidebar widgets, entry transformations, tags, annotations, and the migration context object. Use when asked to write a migration, create or add a content type, add, rename, or delete fields, change or update a content model, transform entries, derive linked entries, configure editor controls, or run a migration script. Also triggers on \"migration script\", \"contentful-migration\", \"schema migration\", \"content model migration\", \"field validation\", \"editor interface\", \"editor layout\", \"sidebar widget\", \"moveField\", \"changeFieldId\", \"rich text field\", \"reference field\", \"link field\". Not for SDK client setup or Next.js integration (contentful-nextjs). Not for Contentful terminology or API routing (contentful-guide).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"contentful","Contentful","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fcontentful.png",[12,14,17,20],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"CMS","cms",{"name":18,"slug":19,"type":13},"CLI","cli",{"name":21,"slug":22,"type":13},"Migration","migration",36,"https:\u002F\u002Fgithub.com\u002Fcontentful\u002Fskills","2026-07-12T08:47:50.532378","MIT",2,[29,8,30,31],"agents","optimization","skills",{"repoUrl":24,"stars":23,"forks":27,"topics":33,"description":34},[29,8,30,31],"Skills for teaching agents how to build on Contentful.","https:\u002F\u002Fgithub.com\u002Fcontentful\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fcontentful-migration","---\nname: contentful-migration\ndescription: >-\n  Write and run Contentful content model migration scripts using the\n  contentful-migration library and the Contentful CLI. Covers creating,\n  editing, and deleting content types and fields, validations, editor interface\n  configuration, editor layouts, sidebar widgets, entry transformations, tags,\n  annotations, and the migration context object. Use when asked to write a\n  migration, create or add a content type, add, rename, or delete fields,\n  change or update a content model, transform entries, derive linked entries,\n  configure editor controls, or run a migration script. Also triggers on\n  \"migration script\", \"contentful-migration\", \"schema migration\",\n  \"content model migration\", \"field validation\", \"editor interface\",\n  \"editor layout\", \"sidebar widget\", \"moveField\", \"changeFieldId\",\n  \"rich text field\", \"reference field\", \"link field\". Not for SDK client\n  setup or Next.js integration (contentful-nextjs). Not for Contentful\n  terminology or API routing (contentful-guide).\nlicense: MIT\nargument-hint: \"[task description]\"\nallowed-tools: Bash(npx contentful-migration *) Bash(npx contentful space migration *) mcp__contentful-mcp__* mcp__plugin_contentful_contentful-mcp__*\npaths: \"migrations\u002F**\"\n---\n\n# Contentful Migration\n\nThe `contentful-migration` tool lets you describe and execute content model changes as code. Migrations are TypeScript scripts that create, edit, or delete content types, fields, editor interfaces, and entries.\n\n**Install:**\n\n```bash\nnpm install contentful-migration\n```\n\nGitHub: https:\u002F\u002Fgithub.com\u002Fcontentful\u002Fcontentful-migration\n\n## Scope\n\nThis skill covers:\n- Content type and field CRUD operations\n- Field types, validations, and editor interface configuration\n- Entry transformations (in-place transforms, deriving linked entries, cross-type transforms)\n- Tags, annotations, taxonomy validations\n- Editor layouts, sidebar widgets\n- Running migrations via `npx contentful space migration` (Contentful CLI) and programmatic API\n\nDo not run migrations with `npx contentful-migration`. Use `contentful-cli` for CLI execution, install it as a dev dependency when needed, and run via `npx contentful ...`.\n\nNot covered: SDK client setup (the contentful-nextjs skill), Contentful concepts and API routing (the contentful-guide skill).\n\n## Contentful MCP note\n\n- For users who want easier agent interaction with Contentful while planning or reviewing migrations, point them to the Contentful MCP server docs: `https:\u002F\u002Fwww.contentful.com\u002Fdevelopers\u002Fdocs\u002Ftools\u002Fmcp-server\u002F`.\n- Continue to use `contentful-migration` scripts and `contentful-cli` for actual migration execution.\n\n## Migration Script Format\n\nEvery migration file exports a function that receives a `migration` object:\n\n```typescript\nimport type { MigrationFunction } from 'contentful-migration'\n\nconst migration: MigrationFunction = (migration) => {\n  const blogPost = migration.createContentType('blogPost', {\n    name: 'Blog Post',\n    description: 'A blog post entry',\n    displayField: 'title',\n  })\n\n  blogPost.createField('title')\n    .name('Title')\n    .type('Symbol')\n    .required(true)\n}\n\nexport = migration\n```\n\nThe function also receives a `context` object as its second parameter, providing `makeRequest` (direct CMA access), `spaceId`, and `accessToken`. Use `makeRequest` when you need data not available through the migration API.\n\n## Project state\n\n```!\necho \"=== Existing migrations ===\" && ls migrations\u002F 2>\u002Fdev\u002Fnull || echo \"(no migrations\u002F directory found)\"\necho \"\"\necho \"=== Contentful env vars ===\" && grep -h CONTENTFUL .env .env.local 2>\u002Fdev\u002Fnull | sed 's\u002F=.*\u002F=\u003Cset>\u002F' || echo \"(no Contentful env vars found in .env or .env.local)\"\n```\n\n## Workflow\n\nWhen writing a migration:\n\n1. **Confirm required env vars first.** If values are missing, ask the user to add them to a local `.env` file before proceeding.\n2. **Assess the change.** Identify which content types and fields need to change. Check the current content model in the Contentful web app or via CMA.\n3. **Write the migration script.** Use the operations below. Prefer chaining over object notation — it gives better error messages with line numbers.\n4. **Test in a sandbox environment.** Never run untested migrations against production. Create a sandbox environment first: `contentful environment create --name sandbox --source master`.\n5. **Run the migration.** See [Running Migrations](references\u002Frunning-migrations.md) for CLI and programmatic options.\n6. **Verify.** Check the content model in the web app. Confirm entries are intact.\n\n## Required environment variables\n\n- `CONTENTFUL_SPACE_ID` - Space ID. Find it in the Contentful web app URL (`\u002Fspaces\u002F\u003CSPACE_ID>\u002F...`) or in **Space settings -> API keys**.\n- `CONTENTFUL_MANAGEMENT_ACCESS_TOKEN` - CMA token used for migrations. Create it in **Account settings -> CMA tokens** (`https:\u002F\u002Fapp.contentful.com\u002Faccount\u002Fprofile\u002Fcma_tokens`) or from a space-scoped CMA tokens page (`https:\u002F\u002Fapp.contentful.com\u002Fspaces\u002F\u003CSPACE_ID>\u002Fapi\u002Fcma_tokens`).\n- `CONTENTFUL_ENVIRONMENT_ID` (optional) - Target environment ID (for example `master` or `sandbox`) when you want to avoid passing `--environment-id`.\n\nIf any required value is missing, explicitly ask the user for the missing values and tell them where to find each one.\n\n## Content Type Operations\n\n**Create a content type:**\n\n```typescript\nconst page = migration.createContentType('page', {\n  name: 'Page',\n  description: 'A generic page',\n  displayField: 'title',\n})\n```\n\n**Edit an existing content type:**\n\n```typescript\nconst page = migration.editContentType('page')\npage.description('Updated description')\npage.displayField('internalName')\n```\n\n**Delete a content type:**\n\n```typescript\nmigration.deleteContentType('page')\n```\n\nContent type must have zero entries before deletion. Delete all entries first, or use `transformEntriesToType` to move them.\n\n## Field Operations\n\n**Create a field:**\n\n```typescript\npage.createField('title')\n  .name('Title')\n  .type('Symbol')\n  .required(true)\n  .localized(true)\n```\n\n**Edit an existing field:**\n\n```typescript\npage.editField('title')\n  .name('Page Title')\n  .required(false)\n```\n\n**Delete a field:**\n\n```typescript\npage.deleteField('legacyField')\n```\n\nDeleting a field permanently removes its content from all entries.\n\n**Change a field ID:**\n\n```typescript\npage.changeFieldId('oldName', 'newName')\n```\n\nExisting content is preserved — only the ID changes.\n\n**Move a field:**\n\n```typescript\npage.moveField('slug').afterField('title')\npage.moveField('featured').toTheTop()\npage.moveField('metadata').toTheBottom()\npage.moveField('author').beforeField('publishDate')\n```\n\n## Field Types Quick Reference\n\n| Type | Description | Extra config |\n|------|-------------|--------------|\n| `Symbol` | Short text (max 256 chars) | — |\n| `Text` | Long text (max 50,000 chars) | — |\n| `Integer` | Whole number | — |\n| `Number` | Decimal number | — |\n| `Date` | ISO 8601 date\u002Ftime | — |\n| `Boolean` | True\u002Ffalse | — |\n| `Object` | Arbitrary JSON | — |\n| `Location` | Lat\u002Flon coordinates | — |\n| `RichText` | Structured rich text | `enabledNodeTypes`, `enabledMarks` validations |\n| `Array` | List of values or references | Requires `items`: `{ type, linkType?, validations? }` |\n| `Link` | Single reference | Requires `linkType`: `'Asset'` or `'Entry'` |\n| `ResourceLink` | Cross-space reference | Requires `allowedResources` |\n\nSee [API Reference — Field Types](references\u002Fapi-reference.md#field-types) for full configuration details.\n\n## Validations Quick Reference\n\n| Validation | Applies to | Example |\n|------------|-----------|---------|\n| `in` | Symbol, Integer, Number | `{ in: ['draft', 'published', 'archived'] }` |\n| `unique` | Symbol, Integer, Number | `{ unique: true }` |\n| `size` | Array, Text, Symbol | `{ size: { min: 1, max: 5 } }` |\n| `range` | Integer, Number | `{ range: { min: 0, max: 100 } }` |\n| `regexp` | Symbol, Text | `{ regexp: { pattern: '^[a-z0-9-]+$' } }` |\n| `dateRange` | Date | `{ dateRange: { min: '2020-01-01', max: '2030-12-31' } }` |\n| `linkContentType` | Link, Array of Links | `{ linkContentType: ['author', 'organization'] }` |\n| `linkMimetypeGroup` | Link (Asset) | `{ linkMimetypeGroup: ['image', 'video'] }` |\n| `assetFileSize` | Link (Asset) | `{ assetFileSize: { min: 0, max: 5242880 } }` |\n| `assetImageDimensions` | Link (Asset) | `{ assetImageDimensions: { width: { min: 100, max: 2000 } } }` |\n\nApply validations via `.validations([...])` on a field. See [API Reference — Validations](references\u002Fapi-reference.md#validations) for all options.\n\n## Entry Transformations\n\n**Transform entries in place:**\n\n```typescript\nmigration.transformEntries({\n  contentType: 'blogPost',\n  from: ['firstName', 'lastName'],\n  to: ['fullName'],\n  transformEntryForLocale: (fields, locale) => {\n    const first = fields.firstName[locale]\n    const last = fields.lastName[locale]\n    if (!first && !last) return\n    return { fullName: `${first || ''} ${last || ''}`.trim() }\n  },\n})\n```\n\nOptions: `shouldPublish` (`true`, `false`, or `'preserve'` — default `'preserve'`).\n\n**Derive linked entries:**\n\n```typescript\nmigration.deriveLinkedEntries({\n  contentType: 'blogPost',\n  derivedContentType: 'author',\n  from: ['authorName'],\n  toReferenceField: 'authorRef',\n  derivedFields: ['name'],\n  identityKey: (fields) =>\n    fields.authorName['en-US'].toLowerCase().replace(\u002F\\s+\u002Fg, '-'),\n  deriveEntryForLocale: (fields, locale) => {\n    if (locale !== 'en-US') return\n    return { name: fields.authorName[locale] }\n  },\n})\n```\n\nThis creates new `author` entries from existing `blogPost.authorName` data and links them via `authorRef`.\n\nSee [Patterns — Transform Entries](references\u002Fpatterns.md#transform-entries) and [Patterns — Derive Linked Entries](references\u002Fpatterns.md#derive-linked-entries) for more examples.\n\n## Editor Interface\n\n**Change the widget for a field:**\n\n```typescript\nconst page = migration.editContentType('page')\n\npage.changeFieldControl('slug', 'builtin', 'slugEditor', {\n  helpText: 'URL-friendly identifier',\n  trackingFieldId: 'title',\n})\n\npage.changeFieldControl('category', 'builtin', 'dropdown')\npage.changeFieldControl('publishDate', 'builtin', 'datePicker', { format: 'dateonly' })\n```\n\nWidget namespaces: `builtin`, `extension` (UI extensions), `app` (custom apps).\n\nSee [API Reference — Editor Interface](references\u002Fapi-reference.md#editor-interface) for all built-in widgets and their settings.\n\n## Best Practices\n\n1. **Number migration files sequentially:** `001-create-blog-post.ts`, `002-add-author-field.ts`, `003-transform-categories.ts`.\n2. **One logical change per migration.** Easier to debug, revert, and review.\n3. **Always test in a sandbox environment** before running against production.\n4. **Use `shouldPublish: 'preserve'`** (the default) to maintain existing publish states during transforms.\n5. **Prefer chaining over object notation** — chaining gives line-level error messages.\n6. **Split data transforms from schema changes.** First migration changes the schema, second transforms data. This makes each step independently verifiable.\n7. **Use `context.makeRequest`** sparingly — only when the migration API doesn't cover your use case.\n\n## Common Mistakes\n\n- **Forgetting `items` on Array fields.** `type: 'Array'` requires an `items` property specifying the element type.\n- **Deleting a content type with entries.** You must delete all entries first, or move them with `transformEntriesToType`.\n- **Missing `linkType` on Link fields.** `type: 'Link'` requires `linkType: 'Asset'` or `linkType: 'Entry'`.\n- **Running against master.** Always test in a sandbox environment. Use `--environment-id sandbox` on the CLI.\n- **Not handling missing locales in transforms.** `transformEntryForLocale` is called for every locale — return `undefined` to skip.\n- **Setting `displayField` to a non-Symbol field.** The display field must be of type `Symbol`.\n\n## References\n\n- [API Reference](references\u002Fapi-reference.md) — complete migration API surface\n- [Patterns](references\u002Fpatterns.md) — common migration examples\n- [Running Migrations](references\u002Frunning-migrations.md) — CLI, programmatic API, CI\u002FCD\n\n## Related Skills\n\n- the contentful-guide skill — Contentful concepts, terminology, API routing\n- the contentful-nextjs skill — Next.js integration with Contentful\n",{"data":38,"body":42},{"name":4,"description":6,"license":26,"argument-hint":39,"allowed-tools":40,"paths":41},"[task description]","Bash(npx contentful-migration *) Bash(npx contentful space migration *) mcp__contentful-mcp__* mcp__plugin_contentful_contentful-mcp__*","migrations\u002F**",{"type":43,"children":44},"root",[45,53,67,76,110,123,130,135,178,207,212,218,252,258,270,735,778,784,817,823,828,915,921,1016,1021,1027,1035,1194,1202,1331,1339,1382,1395,1401,1409,1561,1569,1668,1676,1720,1725,1733,1794,1799,1807,2045,2051,2392,2405,2411,2694,2715,2721,2729,3152,3191,3199,3669,3695,3715,3721,3729,4110,4137,4149,4155,4260,4266,4420,4426,4460,4466,4479],{"type":46,"tag":47,"props":48,"children":49},"element","h1",{"id":4},[50],{"type":51,"value":52},"text","Contentful Migration",{"type":46,"tag":54,"props":55,"children":56},"p",{},[57,59,65],{"type":51,"value":58},"The ",{"type":46,"tag":60,"props":61,"children":63},"code",{"className":62},[],[64],{"type":51,"value":4},{"type":51,"value":66}," tool lets you describe and execute content model changes as code. Migrations are TypeScript scripts that create, edit, or delete content types, fields, editor interfaces, and entries.",{"type":46,"tag":54,"props":68,"children":69},{},[70],{"type":46,"tag":71,"props":72,"children":73},"strong",{},[74],{"type":51,"value":75},"Install:",{"type":46,"tag":77,"props":78,"children":83},"pre",{"className":79,"code":80,"language":81,"meta":82,"style":82},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install contentful-migration\n","bash","",[84],{"type":46,"tag":60,"props":85,"children":86},{"__ignoreMap":82},[87],{"type":46,"tag":88,"props":89,"children":92},"span",{"class":90,"line":91},"line",1,[93,99,105],{"type":46,"tag":88,"props":94,"children":96},{"style":95},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[97],{"type":51,"value":98},"npm",{"type":46,"tag":88,"props":100,"children":102},{"style":101},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[103],{"type":51,"value":104}," install",{"type":46,"tag":88,"props":106,"children":107},{"style":101},[108],{"type":51,"value":109}," contentful-migration\n",{"type":46,"tag":54,"props":111,"children":112},{},[113,115],{"type":51,"value":114},"GitHub: ",{"type":46,"tag":116,"props":117,"children":121},"a",{"href":118,"rel":119},"https:\u002F\u002Fgithub.com\u002Fcontentful\u002Fcontentful-migration",[120],"nofollow",[122],{"type":51,"value":118},{"type":46,"tag":124,"props":125,"children":127},"h2",{"id":126},"scope",[128],{"type":51,"value":129},"Scope",{"type":46,"tag":54,"props":131,"children":132},{},[133],{"type":51,"value":134},"This skill covers:",{"type":46,"tag":136,"props":137,"children":138},"ul",{},[139,145,150,155,160,165],{"type":46,"tag":140,"props":141,"children":142},"li",{},[143],{"type":51,"value":144},"Content type and field CRUD operations",{"type":46,"tag":140,"props":146,"children":147},{},[148],{"type":51,"value":149},"Field types, validations, and editor interface configuration",{"type":46,"tag":140,"props":151,"children":152},{},[153],{"type":51,"value":154},"Entry transformations (in-place transforms, deriving linked entries, cross-type transforms)",{"type":46,"tag":140,"props":156,"children":157},{},[158],{"type":51,"value":159},"Tags, annotations, taxonomy validations",{"type":46,"tag":140,"props":161,"children":162},{},[163],{"type":51,"value":164},"Editor layouts, sidebar widgets",{"type":46,"tag":140,"props":166,"children":167},{},[168,170,176],{"type":51,"value":169},"Running migrations via ",{"type":46,"tag":60,"props":171,"children":173},{"className":172},[],[174],{"type":51,"value":175},"npx contentful space migration",{"type":51,"value":177}," (Contentful CLI) and programmatic API",{"type":46,"tag":54,"props":179,"children":180},{},[181,183,189,191,197,199,205],{"type":51,"value":182},"Do not run migrations with ",{"type":46,"tag":60,"props":184,"children":186},{"className":185},[],[187],{"type":51,"value":188},"npx contentful-migration",{"type":51,"value":190},". Use ",{"type":46,"tag":60,"props":192,"children":194},{"className":193},[],[195],{"type":51,"value":196},"contentful-cli",{"type":51,"value":198}," for CLI execution, install it as a dev dependency when needed, and run via ",{"type":46,"tag":60,"props":200,"children":202},{"className":201},[],[203],{"type":51,"value":204},"npx contentful ...",{"type":51,"value":206},".",{"type":46,"tag":54,"props":208,"children":209},{},[210],{"type":51,"value":211},"Not covered: SDK client setup (the contentful-nextjs skill), Contentful concepts and API routing (the contentful-guide skill).",{"type":46,"tag":124,"props":213,"children":215},{"id":214},"contentful-mcp-note",[216],{"type":51,"value":217},"Contentful MCP note",{"type":46,"tag":136,"props":219,"children":220},{},[221,233],{"type":46,"tag":140,"props":222,"children":223},{},[224,226,232],{"type":51,"value":225},"For users who want easier agent interaction with Contentful while planning or reviewing migrations, point them to the Contentful MCP server docs: ",{"type":46,"tag":60,"props":227,"children":229},{"className":228},[],[230],{"type":51,"value":231},"https:\u002F\u002Fwww.contentful.com\u002Fdevelopers\u002Fdocs\u002Ftools\u002Fmcp-server\u002F",{"type":51,"value":206},{"type":46,"tag":140,"props":234,"children":235},{},[236,238,243,245,250],{"type":51,"value":237},"Continue to use ",{"type":46,"tag":60,"props":239,"children":241},{"className":240},[],[242],{"type":51,"value":4},{"type":51,"value":244}," scripts and ",{"type":46,"tag":60,"props":246,"children":248},{"className":247},[],[249],{"type":51,"value":196},{"type":51,"value":251}," for actual migration execution.",{"type":46,"tag":124,"props":253,"children":255},{"id":254},"migration-script-format",[256],{"type":51,"value":257},"Migration Script Format",{"type":46,"tag":54,"props":259,"children":260},{},[261,263,268],{"type":51,"value":262},"Every migration file exports a function that receives a ",{"type":46,"tag":60,"props":264,"children":266},{"className":265},[],[267],{"type":51,"value":22},{"type":51,"value":269}," object:",{"type":46,"tag":77,"props":271,"children":275},{"className":272,"code":273,"language":274,"meta":82,"style":82},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import type { MigrationFunction } from 'contentful-migration'\n\nconst migration: MigrationFunction = (migration) => {\n  const blogPost = migration.createContentType('blogPost', {\n    name: 'Blog Post',\n    description: 'A blog post entry',\n    displayField: 'title',\n  })\n\n  blogPost.createField('title')\n    .name('Title')\n    .type('Symbol')\n    .required(true)\n}\n\nexport = migration\n","typescript",[276],{"type":46,"tag":60,"props":277,"children":278},{"__ignoreMap":82},[279,329,338,392,453,484,514,544,558,566,604,639,673,700,709,717],{"type":46,"tag":88,"props":280,"children":281},{"class":90,"line":91},[282,288,293,299,305,310,315,320,324],{"type":46,"tag":88,"props":283,"children":285},{"style":284},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[286],{"type":51,"value":287},"import",{"type":46,"tag":88,"props":289,"children":290},{"style":284},[291],{"type":51,"value":292}," type",{"type":46,"tag":88,"props":294,"children":296},{"style":295},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[297],{"type":51,"value":298}," {",{"type":46,"tag":88,"props":300,"children":302},{"style":301},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[303],{"type":51,"value":304}," MigrationFunction",{"type":46,"tag":88,"props":306,"children":307},{"style":295},[308],{"type":51,"value":309}," }",{"type":46,"tag":88,"props":311,"children":312},{"style":284},[313],{"type":51,"value":314}," from",{"type":46,"tag":88,"props":316,"children":317},{"style":295},[318],{"type":51,"value":319}," '",{"type":46,"tag":88,"props":321,"children":322},{"style":101},[323],{"type":51,"value":4},{"type":46,"tag":88,"props":325,"children":326},{"style":295},[327],{"type":51,"value":328},"'\n",{"type":46,"tag":88,"props":330,"children":331},{"class":90,"line":27},[332],{"type":46,"tag":88,"props":333,"children":335},{"emptyLinePlaceholder":334},true,[336],{"type":51,"value":337},"\n",{"type":46,"tag":88,"props":339,"children":341},{"class":90,"line":340},3,[342,348,353,358,362,367,372,377,382,387],{"type":46,"tag":88,"props":343,"children":345},{"style":344},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[346],{"type":51,"value":347},"const",{"type":46,"tag":88,"props":349,"children":350},{"style":301},[351],{"type":51,"value":352}," migration",{"type":46,"tag":88,"props":354,"children":355},{"style":295},[356],{"type":51,"value":357},":",{"type":46,"tag":88,"props":359,"children":360},{"style":95},[361],{"type":51,"value":304},{"type":46,"tag":88,"props":363,"children":364},{"style":295},[365],{"type":51,"value":366}," =",{"type":46,"tag":88,"props":368,"children":369},{"style":295},[370],{"type":51,"value":371}," (",{"type":46,"tag":88,"props":373,"children":375},{"style":374},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[376],{"type":51,"value":22},{"type":46,"tag":88,"props":378,"children":379},{"style":295},[380],{"type":51,"value":381},")",{"type":46,"tag":88,"props":383,"children":384},{"style":344},[385],{"type":51,"value":386}," =>",{"type":46,"tag":88,"props":388,"children":389},{"style":295},[390],{"type":51,"value":391}," {\n",{"type":46,"tag":88,"props":393,"children":395},{"class":90,"line":394},4,[396,401,406,410,414,418,424,430,435,440,444,449],{"type":46,"tag":88,"props":397,"children":398},{"style":344},[399],{"type":51,"value":400},"  const",{"type":46,"tag":88,"props":402,"children":403},{"style":301},[404],{"type":51,"value":405}," blogPost",{"type":46,"tag":88,"props":407,"children":408},{"style":295},[409],{"type":51,"value":366},{"type":46,"tag":88,"props":411,"children":412},{"style":301},[413],{"type":51,"value":352},{"type":46,"tag":88,"props":415,"children":416},{"style":295},[417],{"type":51,"value":206},{"type":46,"tag":88,"props":419,"children":421},{"style":420},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[422],{"type":51,"value":423},"createContentType",{"type":46,"tag":88,"props":425,"children":427},{"style":426},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[428],{"type":51,"value":429},"(",{"type":46,"tag":88,"props":431,"children":432},{"style":295},[433],{"type":51,"value":434},"'",{"type":46,"tag":88,"props":436,"children":437},{"style":101},[438],{"type":51,"value":439},"blogPost",{"type":46,"tag":88,"props":441,"children":442},{"style":295},[443],{"type":51,"value":434},{"type":46,"tag":88,"props":445,"children":446},{"style":295},[447],{"type":51,"value":448},",",{"type":46,"tag":88,"props":450,"children":451},{"style":295},[452],{"type":51,"value":391},{"type":46,"tag":88,"props":454,"children":456},{"class":90,"line":455},5,[457,462,466,470,475,479],{"type":46,"tag":88,"props":458,"children":459},{"style":426},[460],{"type":51,"value":461},"    name",{"type":46,"tag":88,"props":463,"children":464},{"style":295},[465],{"type":51,"value":357},{"type":46,"tag":88,"props":467,"children":468},{"style":295},[469],{"type":51,"value":319},{"type":46,"tag":88,"props":471,"children":472},{"style":101},[473],{"type":51,"value":474},"Blog Post",{"type":46,"tag":88,"props":476,"children":477},{"style":295},[478],{"type":51,"value":434},{"type":46,"tag":88,"props":480,"children":481},{"style":295},[482],{"type":51,"value":483},",\n",{"type":46,"tag":88,"props":485,"children":487},{"class":90,"line":486},6,[488,493,497,501,506,510],{"type":46,"tag":88,"props":489,"children":490},{"style":426},[491],{"type":51,"value":492},"    description",{"type":46,"tag":88,"props":494,"children":495},{"style":295},[496],{"type":51,"value":357},{"type":46,"tag":88,"props":498,"children":499},{"style":295},[500],{"type":51,"value":319},{"type":46,"tag":88,"props":502,"children":503},{"style":101},[504],{"type":51,"value":505},"A blog post entry",{"type":46,"tag":88,"props":507,"children":508},{"style":295},[509],{"type":51,"value":434},{"type":46,"tag":88,"props":511,"children":512},{"style":295},[513],{"type":51,"value":483},{"type":46,"tag":88,"props":515,"children":517},{"class":90,"line":516},7,[518,523,527,531,536,540],{"type":46,"tag":88,"props":519,"children":520},{"style":426},[521],{"type":51,"value":522},"    displayField",{"type":46,"tag":88,"props":524,"children":525},{"style":295},[526],{"type":51,"value":357},{"type":46,"tag":88,"props":528,"children":529},{"style":295},[530],{"type":51,"value":319},{"type":46,"tag":88,"props":532,"children":533},{"style":101},[534],{"type":51,"value":535},"title",{"type":46,"tag":88,"props":537,"children":538},{"style":295},[539],{"type":51,"value":434},{"type":46,"tag":88,"props":541,"children":542},{"style":295},[543],{"type":51,"value":483},{"type":46,"tag":88,"props":545,"children":547},{"class":90,"line":546},8,[548,553],{"type":46,"tag":88,"props":549,"children":550},{"style":295},[551],{"type":51,"value":552},"  }",{"type":46,"tag":88,"props":554,"children":555},{"style":426},[556],{"type":51,"value":557},")\n",{"type":46,"tag":88,"props":559,"children":561},{"class":90,"line":560},9,[562],{"type":46,"tag":88,"props":563,"children":564},{"emptyLinePlaceholder":334},[565],{"type":51,"value":337},{"type":46,"tag":88,"props":567,"children":569},{"class":90,"line":568},10,[570,575,579,584,588,592,596,600],{"type":46,"tag":88,"props":571,"children":572},{"style":301},[573],{"type":51,"value":574},"  blogPost",{"type":46,"tag":88,"props":576,"children":577},{"style":295},[578],{"type":51,"value":206},{"type":46,"tag":88,"props":580,"children":581},{"style":420},[582],{"type":51,"value":583},"createField",{"type":46,"tag":88,"props":585,"children":586},{"style":426},[587],{"type":51,"value":429},{"type":46,"tag":88,"props":589,"children":590},{"style":295},[591],{"type":51,"value":434},{"type":46,"tag":88,"props":593,"children":594},{"style":101},[595],{"type":51,"value":535},{"type":46,"tag":88,"props":597,"children":598},{"style":295},[599],{"type":51,"value":434},{"type":46,"tag":88,"props":601,"children":602},{"style":426},[603],{"type":51,"value":557},{"type":46,"tag":88,"props":605,"children":607},{"class":90,"line":606},11,[608,613,618,622,626,631,635],{"type":46,"tag":88,"props":609,"children":610},{"style":295},[611],{"type":51,"value":612},"    .",{"type":46,"tag":88,"props":614,"children":615},{"style":420},[616],{"type":51,"value":617},"name",{"type":46,"tag":88,"props":619,"children":620},{"style":426},[621],{"type":51,"value":429},{"type":46,"tag":88,"props":623,"children":624},{"style":295},[625],{"type":51,"value":434},{"type":46,"tag":88,"props":627,"children":628},{"style":101},[629],{"type":51,"value":630},"Title",{"type":46,"tag":88,"props":632,"children":633},{"style":295},[634],{"type":51,"value":434},{"type":46,"tag":88,"props":636,"children":637},{"style":426},[638],{"type":51,"value":557},{"type":46,"tag":88,"props":640,"children":642},{"class":90,"line":641},12,[643,647,652,656,660,665,669],{"type":46,"tag":88,"props":644,"children":645},{"style":295},[646],{"type":51,"value":612},{"type":46,"tag":88,"props":648,"children":649},{"style":420},[650],{"type":51,"value":651},"type",{"type":46,"tag":88,"props":653,"children":654},{"style":426},[655],{"type":51,"value":429},{"type":46,"tag":88,"props":657,"children":658},{"style":295},[659],{"type":51,"value":434},{"type":46,"tag":88,"props":661,"children":662},{"style":101},[663],{"type":51,"value":664},"Symbol",{"type":46,"tag":88,"props":666,"children":667},{"style":295},[668],{"type":51,"value":434},{"type":46,"tag":88,"props":670,"children":671},{"style":426},[672],{"type":51,"value":557},{"type":46,"tag":88,"props":674,"children":676},{"class":90,"line":675},13,[677,681,686,690,696],{"type":46,"tag":88,"props":678,"children":679},{"style":295},[680],{"type":51,"value":612},{"type":46,"tag":88,"props":682,"children":683},{"style":420},[684],{"type":51,"value":685},"required",{"type":46,"tag":88,"props":687,"children":688},{"style":426},[689],{"type":51,"value":429},{"type":46,"tag":88,"props":691,"children":693},{"style":692},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[694],{"type":51,"value":695},"true",{"type":46,"tag":88,"props":697,"children":698},{"style":426},[699],{"type":51,"value":557},{"type":46,"tag":88,"props":701,"children":703},{"class":90,"line":702},14,[704],{"type":46,"tag":88,"props":705,"children":706},{"style":295},[707],{"type":51,"value":708},"}\n",{"type":46,"tag":88,"props":710,"children":712},{"class":90,"line":711},15,[713],{"type":46,"tag":88,"props":714,"children":715},{"emptyLinePlaceholder":334},[716],{"type":51,"value":337},{"type":46,"tag":88,"props":718,"children":720},{"class":90,"line":719},16,[721,726,730],{"type":46,"tag":88,"props":722,"children":723},{"style":284},[724],{"type":51,"value":725},"export",{"type":46,"tag":88,"props":727,"children":728},{"style":295},[729],{"type":51,"value":366},{"type":46,"tag":88,"props":731,"children":732},{"style":301},[733],{"type":51,"value":734}," migration\n",{"type":46,"tag":54,"props":736,"children":737},{},[738,740,746,748,754,756,762,764,770,771,776],{"type":51,"value":739},"The function also receives a ",{"type":46,"tag":60,"props":741,"children":743},{"className":742},[],[744],{"type":51,"value":745},"context",{"type":51,"value":747}," object as its second parameter, providing ",{"type":46,"tag":60,"props":749,"children":751},{"className":750},[],[752],{"type":51,"value":753},"makeRequest",{"type":51,"value":755}," (direct CMA access), ",{"type":46,"tag":60,"props":757,"children":759},{"className":758},[],[760],{"type":51,"value":761},"spaceId",{"type":51,"value":763},", and ",{"type":46,"tag":60,"props":765,"children":767},{"className":766},[],[768],{"type":51,"value":769},"accessToken",{"type":51,"value":190},{"type":46,"tag":60,"props":772,"children":774},{"className":773},[],[775],{"type":51,"value":753},{"type":51,"value":777}," when you need data not available through the migration API.",{"type":46,"tag":124,"props":779,"children":781},{"id":780},"project-state",[782],{"type":51,"value":783},"Project state",{"type":46,"tag":77,"props":785,"children":789},{"className":786,"code":787,"language":788,"meta":82,"style":82},"language-! shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","echo \"=== Existing migrations ===\" && ls migrations\u002F 2>\u002Fdev\u002Fnull || echo \"(no migrations\u002F directory found)\"\necho \"\"\necho \"=== Contentful env vars ===\" && grep -h CONTENTFUL .env .env.local 2>\u002Fdev\u002Fnull | sed 's\u002F=.*\u002F=\u003Cset>\u002F' || echo \"(no Contentful env vars found in .env or .env.local)\"\n","!",[790],{"type":46,"tag":60,"props":791,"children":792},{"__ignoreMap":82},[793,801,809],{"type":46,"tag":88,"props":794,"children":795},{"class":90,"line":91},[796],{"type":46,"tag":88,"props":797,"children":798},{},[799],{"type":51,"value":800},"echo \"=== Existing migrations ===\" && ls migrations\u002F 2>\u002Fdev\u002Fnull || echo \"(no migrations\u002F directory found)\"\n",{"type":46,"tag":88,"props":802,"children":803},{"class":90,"line":27},[804],{"type":46,"tag":88,"props":805,"children":806},{},[807],{"type":51,"value":808},"echo \"\"\n",{"type":46,"tag":88,"props":810,"children":811},{"class":90,"line":340},[812],{"type":46,"tag":88,"props":813,"children":814},{},[815],{"type":51,"value":816},"echo \"=== Contentful env vars ===\" && grep -h CONTENTFUL .env .env.local 2>\u002Fdev\u002Fnull | sed 's\u002F=.*\u002F=\u003Cset>\u002F' || echo \"(no Contentful env vars found in .env or .env.local)\"\n",{"type":46,"tag":124,"props":818,"children":820},{"id":819},"workflow",[821],{"type":51,"value":822},"Workflow",{"type":46,"tag":54,"props":824,"children":825},{},[826],{"type":51,"value":827},"When writing a migration:",{"type":46,"tag":829,"props":830,"children":831},"ol",{},[832,850,860,870,887,905],{"type":46,"tag":140,"props":833,"children":834},{},[835,840,842,848],{"type":46,"tag":71,"props":836,"children":837},{},[838],{"type":51,"value":839},"Confirm required env vars first.",{"type":51,"value":841}," If values are missing, ask the user to add them to a local ",{"type":46,"tag":60,"props":843,"children":845},{"className":844},[],[846],{"type":51,"value":847},".env",{"type":51,"value":849}," file before proceeding.",{"type":46,"tag":140,"props":851,"children":852},{},[853,858],{"type":46,"tag":71,"props":854,"children":855},{},[856],{"type":51,"value":857},"Assess the change.",{"type":51,"value":859}," Identify which content types and fields need to change. Check the current content model in the Contentful web app or via CMA.",{"type":46,"tag":140,"props":861,"children":862},{},[863,868],{"type":46,"tag":71,"props":864,"children":865},{},[866],{"type":51,"value":867},"Write the migration script.",{"type":51,"value":869}," Use the operations below. Prefer chaining over object notation — it gives better error messages with line numbers.",{"type":46,"tag":140,"props":871,"children":872},{},[873,878,880,886],{"type":46,"tag":71,"props":874,"children":875},{},[876],{"type":51,"value":877},"Test in a sandbox environment.",{"type":51,"value":879}," Never run untested migrations against production. Create a sandbox environment first: ",{"type":46,"tag":60,"props":881,"children":883},{"className":882},[],[884],{"type":51,"value":885},"contentful environment create --name sandbox --source master",{"type":51,"value":206},{"type":46,"tag":140,"props":888,"children":889},{},[890,895,897,903],{"type":46,"tag":71,"props":891,"children":892},{},[893],{"type":51,"value":894},"Run the migration.",{"type":51,"value":896}," See ",{"type":46,"tag":116,"props":898,"children":900},{"href":899},"references\u002Frunning-migrations.md",[901],{"type":51,"value":902},"Running Migrations",{"type":51,"value":904}," for CLI and programmatic options.",{"type":46,"tag":140,"props":906,"children":907},{},[908,913],{"type":46,"tag":71,"props":909,"children":910},{},[911],{"type":51,"value":912},"Verify.",{"type":51,"value":914}," Check the content model in the web app. Confirm entries are intact.",{"type":46,"tag":124,"props":916,"children":918},{"id":917},"required-environment-variables",[919],{"type":51,"value":920},"Required environment variables",{"type":46,"tag":136,"props":922,"children":923},{},[924,949,982],{"type":46,"tag":140,"props":925,"children":926},{},[927,933,935,941,943,948],{"type":46,"tag":60,"props":928,"children":930},{"className":929},[],[931],{"type":51,"value":932},"CONTENTFUL_SPACE_ID",{"type":51,"value":934}," - Space ID. Find it in the Contentful web app URL (",{"type":46,"tag":60,"props":936,"children":938},{"className":937},[],[939],{"type":51,"value":940},"\u002Fspaces\u002F\u003CSPACE_ID>\u002F...",{"type":51,"value":942},") or in ",{"type":46,"tag":71,"props":944,"children":945},{},[946],{"type":51,"value":947},"Space settings -> API keys",{"type":51,"value":206},{"type":46,"tag":140,"props":950,"children":951},{},[952,958,960,965,966,972,974,980],{"type":46,"tag":60,"props":953,"children":955},{"className":954},[],[956],{"type":51,"value":957},"CONTENTFUL_MANAGEMENT_ACCESS_TOKEN",{"type":51,"value":959}," - CMA token used for migrations. Create it in ",{"type":46,"tag":71,"props":961,"children":962},{},[963],{"type":51,"value":964},"Account settings -> CMA tokens",{"type":51,"value":371},{"type":46,"tag":60,"props":967,"children":969},{"className":968},[],[970],{"type":51,"value":971},"https:\u002F\u002Fapp.contentful.com\u002Faccount\u002Fprofile\u002Fcma_tokens",{"type":51,"value":973},") or from a space-scoped CMA tokens page (",{"type":46,"tag":60,"props":975,"children":977},{"className":976},[],[978],{"type":51,"value":979},"https:\u002F\u002Fapp.contentful.com\u002Fspaces\u002F\u003CSPACE_ID>\u002Fapi\u002Fcma_tokens",{"type":51,"value":981},").",{"type":46,"tag":140,"props":983,"children":984},{},[985,991,993,999,1001,1007,1009,1015],{"type":46,"tag":60,"props":986,"children":988},{"className":987},[],[989],{"type":51,"value":990},"CONTENTFUL_ENVIRONMENT_ID",{"type":51,"value":992}," (optional) - Target environment ID (for example ",{"type":46,"tag":60,"props":994,"children":996},{"className":995},[],[997],{"type":51,"value":998},"master",{"type":51,"value":1000}," or ",{"type":46,"tag":60,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":51,"value":1006},"sandbox",{"type":51,"value":1008},") when you want to avoid passing ",{"type":46,"tag":60,"props":1010,"children":1012},{"className":1011},[],[1013],{"type":51,"value":1014},"--environment-id",{"type":51,"value":206},{"type":46,"tag":54,"props":1017,"children":1018},{},[1019],{"type":51,"value":1020},"If any required value is missing, explicitly ask the user for the missing values and tell them where to find each one.",{"type":46,"tag":124,"props":1022,"children":1024},{"id":1023},"content-type-operations",[1025],{"type":51,"value":1026},"Content Type Operations",{"type":46,"tag":54,"props":1028,"children":1029},{},[1030],{"type":46,"tag":71,"props":1031,"children":1032},{},[1033],{"type":51,"value":1034},"Create a content type:",{"type":46,"tag":77,"props":1036,"children":1038},{"className":272,"code":1037,"language":274,"meta":82,"style":82},"const page = migration.createContentType('page', {\n  name: 'Page',\n  description: 'A generic page',\n  displayField: 'title',\n})\n",[1039],{"type":46,"tag":60,"props":1040,"children":1041},{"__ignoreMap":82},[1042,1096,1125,1154,1182],{"type":46,"tag":88,"props":1043,"children":1044},{"class":90,"line":91},[1045,1049,1054,1059,1063,1067,1071,1075,1079,1084,1088,1092],{"type":46,"tag":88,"props":1046,"children":1047},{"style":344},[1048],{"type":51,"value":347},{"type":46,"tag":88,"props":1050,"children":1051},{"style":301},[1052],{"type":51,"value":1053}," page ",{"type":46,"tag":88,"props":1055,"children":1056},{"style":295},[1057],{"type":51,"value":1058},"=",{"type":46,"tag":88,"props":1060,"children":1061},{"style":301},[1062],{"type":51,"value":352},{"type":46,"tag":88,"props":1064,"children":1065},{"style":295},[1066],{"type":51,"value":206},{"type":46,"tag":88,"props":1068,"children":1069},{"style":420},[1070],{"type":51,"value":423},{"type":46,"tag":88,"props":1072,"children":1073},{"style":301},[1074],{"type":51,"value":429},{"type":46,"tag":88,"props":1076,"children":1077},{"style":295},[1078],{"type":51,"value":434},{"type":46,"tag":88,"props":1080,"children":1081},{"style":101},[1082],{"type":51,"value":1083},"page",{"type":46,"tag":88,"props":1085,"children":1086},{"style":295},[1087],{"type":51,"value":434},{"type":46,"tag":88,"props":1089,"children":1090},{"style":295},[1091],{"type":51,"value":448},{"type":46,"tag":88,"props":1093,"children":1094},{"style":295},[1095],{"type":51,"value":391},{"type":46,"tag":88,"props":1097,"children":1098},{"class":90,"line":27},[1099,1104,1108,1112,1117,1121],{"type":46,"tag":88,"props":1100,"children":1101},{"style":426},[1102],{"type":51,"value":1103},"  name",{"type":46,"tag":88,"props":1105,"children":1106},{"style":295},[1107],{"type":51,"value":357},{"type":46,"tag":88,"props":1109,"children":1110},{"style":295},[1111],{"type":51,"value":319},{"type":46,"tag":88,"props":1113,"children":1114},{"style":101},[1115],{"type":51,"value":1116},"Page",{"type":46,"tag":88,"props":1118,"children":1119},{"style":295},[1120],{"type":51,"value":434},{"type":46,"tag":88,"props":1122,"children":1123},{"style":295},[1124],{"type":51,"value":483},{"type":46,"tag":88,"props":1126,"children":1127},{"class":90,"line":340},[1128,1133,1137,1141,1146,1150],{"type":46,"tag":88,"props":1129,"children":1130},{"style":426},[1131],{"type":51,"value":1132},"  description",{"type":46,"tag":88,"props":1134,"children":1135},{"style":295},[1136],{"type":51,"value":357},{"type":46,"tag":88,"props":1138,"children":1139},{"style":295},[1140],{"type":51,"value":319},{"type":46,"tag":88,"props":1142,"children":1143},{"style":101},[1144],{"type":51,"value":1145},"A generic page",{"type":46,"tag":88,"props":1147,"children":1148},{"style":295},[1149],{"type":51,"value":434},{"type":46,"tag":88,"props":1151,"children":1152},{"style":295},[1153],{"type":51,"value":483},{"type":46,"tag":88,"props":1155,"children":1156},{"class":90,"line":394},[1157,1162,1166,1170,1174,1178],{"type":46,"tag":88,"props":1158,"children":1159},{"style":426},[1160],{"type":51,"value":1161},"  displayField",{"type":46,"tag":88,"props":1163,"children":1164},{"style":295},[1165],{"type":51,"value":357},{"type":46,"tag":88,"props":1167,"children":1168},{"style":295},[1169],{"type":51,"value":319},{"type":46,"tag":88,"props":1171,"children":1172},{"style":101},[1173],{"type":51,"value":535},{"type":46,"tag":88,"props":1175,"children":1176},{"style":295},[1177],{"type":51,"value":434},{"type":46,"tag":88,"props":1179,"children":1180},{"style":295},[1181],{"type":51,"value":483},{"type":46,"tag":88,"props":1183,"children":1184},{"class":90,"line":455},[1185,1190],{"type":46,"tag":88,"props":1186,"children":1187},{"style":295},[1188],{"type":51,"value":1189},"}",{"type":46,"tag":88,"props":1191,"children":1192},{"style":301},[1193],{"type":51,"value":557},{"type":46,"tag":54,"props":1195,"children":1196},{},[1197],{"type":46,"tag":71,"props":1198,"children":1199},{},[1200],{"type":51,"value":1201},"Edit an existing content type:",{"type":46,"tag":77,"props":1203,"children":1205},{"className":272,"code":1204,"language":274,"meta":82,"style":82},"const page = migration.editContentType('page')\npage.description('Updated description')\npage.displayField('internalName')\n",[1206],{"type":46,"tag":60,"props":1207,"children":1208},{"__ignoreMap":82},[1209,1257,1294],{"type":46,"tag":88,"props":1210,"children":1211},{"class":90,"line":91},[1212,1216,1220,1224,1228,1232,1237,1241,1245,1249,1253],{"type":46,"tag":88,"props":1213,"children":1214},{"style":344},[1215],{"type":51,"value":347},{"type":46,"tag":88,"props":1217,"children":1218},{"style":301},[1219],{"type":51,"value":1053},{"type":46,"tag":88,"props":1221,"children":1222},{"style":295},[1223],{"type":51,"value":1058},{"type":46,"tag":88,"props":1225,"children":1226},{"style":301},[1227],{"type":51,"value":352},{"type":46,"tag":88,"props":1229,"children":1230},{"style":295},[1231],{"type":51,"value":206},{"type":46,"tag":88,"props":1233,"children":1234},{"style":420},[1235],{"type":51,"value":1236},"editContentType",{"type":46,"tag":88,"props":1238,"children":1239},{"style":301},[1240],{"type":51,"value":429},{"type":46,"tag":88,"props":1242,"children":1243},{"style":295},[1244],{"type":51,"value":434},{"type":46,"tag":88,"props":1246,"children":1247},{"style":101},[1248],{"type":51,"value":1083},{"type":46,"tag":88,"props":1250,"children":1251},{"style":295},[1252],{"type":51,"value":434},{"type":46,"tag":88,"props":1254,"children":1255},{"style":301},[1256],{"type":51,"value":557},{"type":46,"tag":88,"props":1258,"children":1259},{"class":90,"line":27},[1260,1264,1268,1273,1277,1281,1286,1290],{"type":46,"tag":88,"props":1261,"children":1262},{"style":301},[1263],{"type":51,"value":1083},{"type":46,"tag":88,"props":1265,"children":1266},{"style":295},[1267],{"type":51,"value":206},{"type":46,"tag":88,"props":1269,"children":1270},{"style":420},[1271],{"type":51,"value":1272},"description",{"type":46,"tag":88,"props":1274,"children":1275},{"style":301},[1276],{"type":51,"value":429},{"type":46,"tag":88,"props":1278,"children":1279},{"style":295},[1280],{"type":51,"value":434},{"type":46,"tag":88,"props":1282,"children":1283},{"style":101},[1284],{"type":51,"value":1285},"Updated description",{"type":46,"tag":88,"props":1287,"children":1288},{"style":295},[1289],{"type":51,"value":434},{"type":46,"tag":88,"props":1291,"children":1292},{"style":301},[1293],{"type":51,"value":557},{"type":46,"tag":88,"props":1295,"children":1296},{"class":90,"line":340},[1297,1301,1305,1310,1314,1318,1323,1327],{"type":46,"tag":88,"props":1298,"children":1299},{"style":301},[1300],{"type":51,"value":1083},{"type":46,"tag":88,"props":1302,"children":1303},{"style":295},[1304],{"type":51,"value":206},{"type":46,"tag":88,"props":1306,"children":1307},{"style":420},[1308],{"type":51,"value":1309},"displayField",{"type":46,"tag":88,"props":1311,"children":1312},{"style":301},[1313],{"type":51,"value":429},{"type":46,"tag":88,"props":1315,"children":1316},{"style":295},[1317],{"type":51,"value":434},{"type":46,"tag":88,"props":1319,"children":1320},{"style":101},[1321],{"type":51,"value":1322},"internalName",{"type":46,"tag":88,"props":1324,"children":1325},{"style":295},[1326],{"type":51,"value":434},{"type":46,"tag":88,"props":1328,"children":1329},{"style":301},[1330],{"type":51,"value":557},{"type":46,"tag":54,"props":1332,"children":1333},{},[1334],{"type":46,"tag":71,"props":1335,"children":1336},{},[1337],{"type":51,"value":1338},"Delete a content type:",{"type":46,"tag":77,"props":1340,"children":1342},{"className":272,"code":1341,"language":274,"meta":82,"style":82},"migration.deleteContentType('page')\n",[1343],{"type":46,"tag":60,"props":1344,"children":1345},{"__ignoreMap":82},[1346],{"type":46,"tag":88,"props":1347,"children":1348},{"class":90,"line":91},[1349,1353,1357,1362,1366,1370,1374,1378],{"type":46,"tag":88,"props":1350,"children":1351},{"style":301},[1352],{"type":51,"value":22},{"type":46,"tag":88,"props":1354,"children":1355},{"style":295},[1356],{"type":51,"value":206},{"type":46,"tag":88,"props":1358,"children":1359},{"style":420},[1360],{"type":51,"value":1361},"deleteContentType",{"type":46,"tag":88,"props":1363,"children":1364},{"style":301},[1365],{"type":51,"value":429},{"type":46,"tag":88,"props":1367,"children":1368},{"style":295},[1369],{"type":51,"value":434},{"type":46,"tag":88,"props":1371,"children":1372},{"style":101},[1373],{"type":51,"value":1083},{"type":46,"tag":88,"props":1375,"children":1376},{"style":295},[1377],{"type":51,"value":434},{"type":46,"tag":88,"props":1379,"children":1380},{"style":301},[1381],{"type":51,"value":557},{"type":46,"tag":54,"props":1383,"children":1384},{},[1385,1387,1393],{"type":51,"value":1386},"Content type must have zero entries before deletion. Delete all entries first, or use ",{"type":46,"tag":60,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":51,"value":1392},"transformEntriesToType",{"type":51,"value":1394}," to move them.",{"type":46,"tag":124,"props":1396,"children":1398},{"id":1397},"field-operations",[1399],{"type":51,"value":1400},"Field Operations",{"type":46,"tag":54,"props":1402,"children":1403},{},[1404],{"type":46,"tag":71,"props":1405,"children":1406},{},[1407],{"type":51,"value":1408},"Create a field:",{"type":46,"tag":77,"props":1410,"children":1412},{"className":272,"code":1411,"language":274,"meta":82,"style":82},"page.createField('title')\n  .name('Title')\n  .type('Symbol')\n  .required(true)\n  .localized(true)\n",[1413],{"type":46,"tag":60,"props":1414,"children":1415},{"__ignoreMap":82},[1416,1451,1483,1514,1537],{"type":46,"tag":88,"props":1417,"children":1418},{"class":90,"line":91},[1419,1423,1427,1431,1435,1439,1443,1447],{"type":46,"tag":88,"props":1420,"children":1421},{"style":301},[1422],{"type":51,"value":1083},{"type":46,"tag":88,"props":1424,"children":1425},{"style":295},[1426],{"type":51,"value":206},{"type":46,"tag":88,"props":1428,"children":1429},{"style":420},[1430],{"type":51,"value":583},{"type":46,"tag":88,"props":1432,"children":1433},{"style":301},[1434],{"type":51,"value":429},{"type":46,"tag":88,"props":1436,"children":1437},{"style":295},[1438],{"type":51,"value":434},{"type":46,"tag":88,"props":1440,"children":1441},{"style":101},[1442],{"type":51,"value":535},{"type":46,"tag":88,"props":1444,"children":1445},{"style":295},[1446],{"type":51,"value":434},{"type":46,"tag":88,"props":1448,"children":1449},{"style":301},[1450],{"type":51,"value":557},{"type":46,"tag":88,"props":1452,"children":1453},{"class":90,"line":27},[1454,1459,1463,1467,1471,1475,1479],{"type":46,"tag":88,"props":1455,"children":1456},{"style":295},[1457],{"type":51,"value":1458},"  .",{"type":46,"tag":88,"props":1460,"children":1461},{"style":420},[1462],{"type":51,"value":617},{"type":46,"tag":88,"props":1464,"children":1465},{"style":301},[1466],{"type":51,"value":429},{"type":46,"tag":88,"props":1468,"children":1469},{"style":295},[1470],{"type":51,"value":434},{"type":46,"tag":88,"props":1472,"children":1473},{"style":101},[1474],{"type":51,"value":630},{"type":46,"tag":88,"props":1476,"children":1477},{"style":295},[1478],{"type":51,"value":434},{"type":46,"tag":88,"props":1480,"children":1481},{"style":301},[1482],{"type":51,"value":557},{"type":46,"tag":88,"props":1484,"children":1485},{"class":90,"line":340},[1486,1490,1494,1498,1502,1506,1510],{"type":46,"tag":88,"props":1487,"children":1488},{"style":295},[1489],{"type":51,"value":1458},{"type":46,"tag":88,"props":1491,"children":1492},{"style":420},[1493],{"type":51,"value":651},{"type":46,"tag":88,"props":1495,"children":1496},{"style":301},[1497],{"type":51,"value":429},{"type":46,"tag":88,"props":1499,"children":1500},{"style":295},[1501],{"type":51,"value":434},{"type":46,"tag":88,"props":1503,"children":1504},{"style":101},[1505],{"type":51,"value":664},{"type":46,"tag":88,"props":1507,"children":1508},{"style":295},[1509],{"type":51,"value":434},{"type":46,"tag":88,"props":1511,"children":1512},{"style":301},[1513],{"type":51,"value":557},{"type":46,"tag":88,"props":1515,"children":1516},{"class":90,"line":394},[1517,1521,1525,1529,1533],{"type":46,"tag":88,"props":1518,"children":1519},{"style":295},[1520],{"type":51,"value":1458},{"type":46,"tag":88,"props":1522,"children":1523},{"style":420},[1524],{"type":51,"value":685},{"type":46,"tag":88,"props":1526,"children":1527},{"style":301},[1528],{"type":51,"value":429},{"type":46,"tag":88,"props":1530,"children":1531},{"style":692},[1532],{"type":51,"value":695},{"type":46,"tag":88,"props":1534,"children":1535},{"style":301},[1536],{"type":51,"value":557},{"type":46,"tag":88,"props":1538,"children":1539},{"class":90,"line":455},[1540,1544,1549,1553,1557],{"type":46,"tag":88,"props":1541,"children":1542},{"style":295},[1543],{"type":51,"value":1458},{"type":46,"tag":88,"props":1545,"children":1546},{"style":420},[1547],{"type":51,"value":1548},"localized",{"type":46,"tag":88,"props":1550,"children":1551},{"style":301},[1552],{"type":51,"value":429},{"type":46,"tag":88,"props":1554,"children":1555},{"style":692},[1556],{"type":51,"value":695},{"type":46,"tag":88,"props":1558,"children":1559},{"style":301},[1560],{"type":51,"value":557},{"type":46,"tag":54,"props":1562,"children":1563},{},[1564],{"type":46,"tag":71,"props":1565,"children":1566},{},[1567],{"type":51,"value":1568},"Edit an existing field:",{"type":46,"tag":77,"props":1570,"children":1572},{"className":272,"code":1571,"language":274,"meta":82,"style":82},"page.editField('title')\n  .name('Page Title')\n  .required(false)\n",[1573],{"type":46,"tag":60,"props":1574,"children":1575},{"__ignoreMap":82},[1576,1612,1644],{"type":46,"tag":88,"props":1577,"children":1578},{"class":90,"line":91},[1579,1583,1587,1592,1596,1600,1604,1608],{"type":46,"tag":88,"props":1580,"children":1581},{"style":301},[1582],{"type":51,"value":1083},{"type":46,"tag":88,"props":1584,"children":1585},{"style":295},[1586],{"type":51,"value":206},{"type":46,"tag":88,"props":1588,"children":1589},{"style":420},[1590],{"type":51,"value":1591},"editField",{"type":46,"tag":88,"props":1593,"children":1594},{"style":301},[1595],{"type":51,"value":429},{"type":46,"tag":88,"props":1597,"children":1598},{"style":295},[1599],{"type":51,"value":434},{"type":46,"tag":88,"props":1601,"children":1602},{"style":101},[1603],{"type":51,"value":535},{"type":46,"tag":88,"props":1605,"children":1606},{"style":295},[1607],{"type":51,"value":434},{"type":46,"tag":88,"props":1609,"children":1610},{"style":301},[1611],{"type":51,"value":557},{"type":46,"tag":88,"props":1613,"children":1614},{"class":90,"line":27},[1615,1619,1623,1627,1631,1636,1640],{"type":46,"tag":88,"props":1616,"children":1617},{"style":295},[1618],{"type":51,"value":1458},{"type":46,"tag":88,"props":1620,"children":1621},{"style":420},[1622],{"type":51,"value":617},{"type":46,"tag":88,"props":1624,"children":1625},{"style":301},[1626],{"type":51,"value":429},{"type":46,"tag":88,"props":1628,"children":1629},{"style":295},[1630],{"type":51,"value":434},{"type":46,"tag":88,"props":1632,"children":1633},{"style":101},[1634],{"type":51,"value":1635},"Page Title",{"type":46,"tag":88,"props":1637,"children":1638},{"style":295},[1639],{"type":51,"value":434},{"type":46,"tag":88,"props":1641,"children":1642},{"style":301},[1643],{"type":51,"value":557},{"type":46,"tag":88,"props":1645,"children":1646},{"class":90,"line":340},[1647,1651,1655,1659,1664],{"type":46,"tag":88,"props":1648,"children":1649},{"style":295},[1650],{"type":51,"value":1458},{"type":46,"tag":88,"props":1652,"children":1653},{"style":420},[1654],{"type":51,"value":685},{"type":46,"tag":88,"props":1656,"children":1657},{"style":301},[1658],{"type":51,"value":429},{"type":46,"tag":88,"props":1660,"children":1661},{"style":692},[1662],{"type":51,"value":1663},"false",{"type":46,"tag":88,"props":1665,"children":1666},{"style":301},[1667],{"type":51,"value":557},{"type":46,"tag":54,"props":1669,"children":1670},{},[1671],{"type":46,"tag":71,"props":1672,"children":1673},{},[1674],{"type":51,"value":1675},"Delete a field:",{"type":46,"tag":77,"props":1677,"children":1679},{"className":272,"code":1678,"language":274,"meta":82,"style":82},"page.deleteField('legacyField')\n",[1680],{"type":46,"tag":60,"props":1681,"children":1682},{"__ignoreMap":82},[1683],{"type":46,"tag":88,"props":1684,"children":1685},{"class":90,"line":91},[1686,1690,1694,1699,1703,1707,1712,1716],{"type":46,"tag":88,"props":1687,"children":1688},{"style":301},[1689],{"type":51,"value":1083},{"type":46,"tag":88,"props":1691,"children":1692},{"style":295},[1693],{"type":51,"value":206},{"type":46,"tag":88,"props":1695,"children":1696},{"style":420},[1697],{"type":51,"value":1698},"deleteField",{"type":46,"tag":88,"props":1700,"children":1701},{"style":301},[1702],{"type":51,"value":429},{"type":46,"tag":88,"props":1704,"children":1705},{"style":295},[1706],{"type":51,"value":434},{"type":46,"tag":88,"props":1708,"children":1709},{"style":101},[1710],{"type":51,"value":1711},"legacyField",{"type":46,"tag":88,"props":1713,"children":1714},{"style":295},[1715],{"type":51,"value":434},{"type":46,"tag":88,"props":1717,"children":1718},{"style":301},[1719],{"type":51,"value":557},{"type":46,"tag":54,"props":1721,"children":1722},{},[1723],{"type":51,"value":1724},"Deleting a field permanently removes its content from all entries.",{"type":46,"tag":54,"props":1726,"children":1727},{},[1728],{"type":46,"tag":71,"props":1729,"children":1730},{},[1731],{"type":51,"value":1732},"Change a field ID:",{"type":46,"tag":77,"props":1734,"children":1736},{"className":272,"code":1735,"language":274,"meta":82,"style":82},"page.changeFieldId('oldName', 'newName')\n",[1737],{"type":46,"tag":60,"props":1738,"children":1739},{"__ignoreMap":82},[1740],{"type":46,"tag":88,"props":1741,"children":1742},{"class":90,"line":91},[1743,1747,1751,1756,1760,1764,1769,1773,1777,1781,1786,1790],{"type":46,"tag":88,"props":1744,"children":1745},{"style":301},[1746],{"type":51,"value":1083},{"type":46,"tag":88,"props":1748,"children":1749},{"style":295},[1750],{"type":51,"value":206},{"type":46,"tag":88,"props":1752,"children":1753},{"style":420},[1754],{"type":51,"value":1755},"changeFieldId",{"type":46,"tag":88,"props":1757,"children":1758},{"style":301},[1759],{"type":51,"value":429},{"type":46,"tag":88,"props":1761,"children":1762},{"style":295},[1763],{"type":51,"value":434},{"type":46,"tag":88,"props":1765,"children":1766},{"style":101},[1767],{"type":51,"value":1768},"oldName",{"type":46,"tag":88,"props":1770,"children":1771},{"style":295},[1772],{"type":51,"value":434},{"type":46,"tag":88,"props":1774,"children":1775},{"style":295},[1776],{"type":51,"value":448},{"type":46,"tag":88,"props":1778,"children":1779},{"style":295},[1780],{"type":51,"value":319},{"type":46,"tag":88,"props":1782,"children":1783},{"style":101},[1784],{"type":51,"value":1785},"newName",{"type":46,"tag":88,"props":1787,"children":1788},{"style":295},[1789],{"type":51,"value":434},{"type":46,"tag":88,"props":1791,"children":1792},{"style":301},[1793],{"type":51,"value":557},{"type":46,"tag":54,"props":1795,"children":1796},{},[1797],{"type":51,"value":1798},"Existing content is preserved — only the ID changes.",{"type":46,"tag":54,"props":1800,"children":1801},{},[1802],{"type":46,"tag":71,"props":1803,"children":1804},{},[1805],{"type":51,"value":1806},"Move a field:",{"type":46,"tag":77,"props":1808,"children":1810},{"className":272,"code":1809,"language":274,"meta":82,"style":82},"page.moveField('slug').afterField('title')\npage.moveField('featured').toTheTop()\npage.moveField('metadata').toTheBottom()\npage.moveField('author').beforeField('publishDate')\n",[1811],{"type":46,"tag":60,"props":1812,"children":1813},{"__ignoreMap":82},[1814,1880,1930,1979],{"type":46,"tag":88,"props":1815,"children":1816},{"class":90,"line":91},[1817,1821,1825,1830,1834,1838,1843,1847,1851,1855,1860,1864,1868,1872,1876],{"type":46,"tag":88,"props":1818,"children":1819},{"style":301},[1820],{"type":51,"value":1083},{"type":46,"tag":88,"props":1822,"children":1823},{"style":295},[1824],{"type":51,"value":206},{"type":46,"tag":88,"props":1826,"children":1827},{"style":420},[1828],{"type":51,"value":1829},"moveField",{"type":46,"tag":88,"props":1831,"children":1832},{"style":301},[1833],{"type":51,"value":429},{"type":46,"tag":88,"props":1835,"children":1836},{"style":295},[1837],{"type":51,"value":434},{"type":46,"tag":88,"props":1839,"children":1840},{"style":101},[1841],{"type":51,"value":1842},"slug",{"type":46,"tag":88,"props":1844,"children":1845},{"style":295},[1846],{"type":51,"value":434},{"type":46,"tag":88,"props":1848,"children":1849},{"style":301},[1850],{"type":51,"value":381},{"type":46,"tag":88,"props":1852,"children":1853},{"style":295},[1854],{"type":51,"value":206},{"type":46,"tag":88,"props":1856,"children":1857},{"style":420},[1858],{"type":51,"value":1859},"afterField",{"type":46,"tag":88,"props":1861,"children":1862},{"style":301},[1863],{"type":51,"value":429},{"type":46,"tag":88,"props":1865,"children":1866},{"style":295},[1867],{"type":51,"value":434},{"type":46,"tag":88,"props":1869,"children":1870},{"style":101},[1871],{"type":51,"value":535},{"type":46,"tag":88,"props":1873,"children":1874},{"style":295},[1875],{"type":51,"value":434},{"type":46,"tag":88,"props":1877,"children":1878},{"style":301},[1879],{"type":51,"value":557},{"type":46,"tag":88,"props":1881,"children":1882},{"class":90,"line":27},[1883,1887,1891,1895,1899,1903,1908,1912,1916,1920,1925],{"type":46,"tag":88,"props":1884,"children":1885},{"style":301},[1886],{"type":51,"value":1083},{"type":46,"tag":88,"props":1888,"children":1889},{"style":295},[1890],{"type":51,"value":206},{"type":46,"tag":88,"props":1892,"children":1893},{"style":420},[1894],{"type":51,"value":1829},{"type":46,"tag":88,"props":1896,"children":1897},{"style":301},[1898],{"type":51,"value":429},{"type":46,"tag":88,"props":1900,"children":1901},{"style":295},[1902],{"type":51,"value":434},{"type":46,"tag":88,"props":1904,"children":1905},{"style":101},[1906],{"type":51,"value":1907},"featured",{"type":46,"tag":88,"props":1909,"children":1910},{"style":295},[1911],{"type":51,"value":434},{"type":46,"tag":88,"props":1913,"children":1914},{"style":301},[1915],{"type":51,"value":381},{"type":46,"tag":88,"props":1917,"children":1918},{"style":295},[1919],{"type":51,"value":206},{"type":46,"tag":88,"props":1921,"children":1922},{"style":420},[1923],{"type":51,"value":1924},"toTheTop",{"type":46,"tag":88,"props":1926,"children":1927},{"style":301},[1928],{"type":51,"value":1929},"()\n",{"type":46,"tag":88,"props":1931,"children":1932},{"class":90,"line":340},[1933,1937,1941,1945,1949,1953,1958,1962,1966,1970,1975],{"type":46,"tag":88,"props":1934,"children":1935},{"style":301},[1936],{"type":51,"value":1083},{"type":46,"tag":88,"props":1938,"children":1939},{"style":295},[1940],{"type":51,"value":206},{"type":46,"tag":88,"props":1942,"children":1943},{"style":420},[1944],{"type":51,"value":1829},{"type":46,"tag":88,"props":1946,"children":1947},{"style":301},[1948],{"type":51,"value":429},{"type":46,"tag":88,"props":1950,"children":1951},{"style":295},[1952],{"type":51,"value":434},{"type":46,"tag":88,"props":1954,"children":1955},{"style":101},[1956],{"type":51,"value":1957},"metadata",{"type":46,"tag":88,"props":1959,"children":1960},{"style":295},[1961],{"type":51,"value":434},{"type":46,"tag":88,"props":1963,"children":1964},{"style":301},[1965],{"type":51,"value":381},{"type":46,"tag":88,"props":1967,"children":1968},{"style":295},[1969],{"type":51,"value":206},{"type":46,"tag":88,"props":1971,"children":1972},{"style":420},[1973],{"type":51,"value":1974},"toTheBottom",{"type":46,"tag":88,"props":1976,"children":1977},{"style":301},[1978],{"type":51,"value":1929},{"type":46,"tag":88,"props":1980,"children":1981},{"class":90,"line":394},[1982,1986,1990,1994,1998,2002,2007,2011,2015,2019,2024,2028,2032,2037,2041],{"type":46,"tag":88,"props":1983,"children":1984},{"style":301},[1985],{"type":51,"value":1083},{"type":46,"tag":88,"props":1987,"children":1988},{"style":295},[1989],{"type":51,"value":206},{"type":46,"tag":88,"props":1991,"children":1992},{"style":420},[1993],{"type":51,"value":1829},{"type":46,"tag":88,"props":1995,"children":1996},{"style":301},[1997],{"type":51,"value":429},{"type":46,"tag":88,"props":1999,"children":2000},{"style":295},[2001],{"type":51,"value":434},{"type":46,"tag":88,"props":2003,"children":2004},{"style":101},[2005],{"type":51,"value":2006},"author",{"type":46,"tag":88,"props":2008,"children":2009},{"style":295},[2010],{"type":51,"value":434},{"type":46,"tag":88,"props":2012,"children":2013},{"style":301},[2014],{"type":51,"value":381},{"type":46,"tag":88,"props":2016,"children":2017},{"style":295},[2018],{"type":51,"value":206},{"type":46,"tag":88,"props":2020,"children":2021},{"style":420},[2022],{"type":51,"value":2023},"beforeField",{"type":46,"tag":88,"props":2025,"children":2026},{"style":301},[2027],{"type":51,"value":429},{"type":46,"tag":88,"props":2029,"children":2030},{"style":295},[2031],{"type":51,"value":434},{"type":46,"tag":88,"props":2033,"children":2034},{"style":101},[2035],{"type":51,"value":2036},"publishDate",{"type":46,"tag":88,"props":2038,"children":2039},{"style":295},[2040],{"type":51,"value":434},{"type":46,"tag":88,"props":2042,"children":2043},{"style":301},[2044],{"type":51,"value":557},{"type":46,"tag":124,"props":2046,"children":2048},{"id":2047},"field-types-quick-reference",[2049],{"type":51,"value":2050},"Field Types Quick Reference",{"type":46,"tag":2052,"props":2053,"children":2054},"table",{},[2055,2079],{"type":46,"tag":2056,"props":2057,"children":2058},"thead",{},[2059],{"type":46,"tag":2060,"props":2061,"children":2062},"tr",{},[2063,2069,2074],{"type":46,"tag":2064,"props":2065,"children":2066},"th",{},[2067],{"type":51,"value":2068},"Type",{"type":46,"tag":2064,"props":2070,"children":2071},{},[2072],{"type":51,"value":2073},"Description",{"type":46,"tag":2064,"props":2075,"children":2076},{},[2077],{"type":51,"value":2078},"Extra config",{"type":46,"tag":2080,"props":2081,"children":2082},"tbody",{},[2083,2105,2126,2147,2168,2189,2210,2231,2252,2288,2324,2365],{"type":46,"tag":2060,"props":2084,"children":2085},{},[2086,2095,2100],{"type":46,"tag":2087,"props":2088,"children":2089},"td",{},[2090],{"type":46,"tag":60,"props":2091,"children":2093},{"className":2092},[],[2094],{"type":51,"value":664},{"type":46,"tag":2087,"props":2096,"children":2097},{},[2098],{"type":51,"value":2099},"Short text (max 256 chars)",{"type":46,"tag":2087,"props":2101,"children":2102},{},[2103],{"type":51,"value":2104},"—",{"type":46,"tag":2060,"props":2106,"children":2107},{},[2108,2117,2122],{"type":46,"tag":2087,"props":2109,"children":2110},{},[2111],{"type":46,"tag":60,"props":2112,"children":2114},{"className":2113},[],[2115],{"type":51,"value":2116},"Text",{"type":46,"tag":2087,"props":2118,"children":2119},{},[2120],{"type":51,"value":2121},"Long text (max 50,000 chars)",{"type":46,"tag":2087,"props":2123,"children":2124},{},[2125],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2127,"children":2128},{},[2129,2138,2143],{"type":46,"tag":2087,"props":2130,"children":2131},{},[2132],{"type":46,"tag":60,"props":2133,"children":2135},{"className":2134},[],[2136],{"type":51,"value":2137},"Integer",{"type":46,"tag":2087,"props":2139,"children":2140},{},[2141],{"type":51,"value":2142},"Whole number",{"type":46,"tag":2087,"props":2144,"children":2145},{},[2146],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2148,"children":2149},{},[2150,2159,2164],{"type":46,"tag":2087,"props":2151,"children":2152},{},[2153],{"type":46,"tag":60,"props":2154,"children":2156},{"className":2155},[],[2157],{"type":51,"value":2158},"Number",{"type":46,"tag":2087,"props":2160,"children":2161},{},[2162],{"type":51,"value":2163},"Decimal number",{"type":46,"tag":2087,"props":2165,"children":2166},{},[2167],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2169,"children":2170},{},[2171,2180,2185],{"type":46,"tag":2087,"props":2172,"children":2173},{},[2174],{"type":46,"tag":60,"props":2175,"children":2177},{"className":2176},[],[2178],{"type":51,"value":2179},"Date",{"type":46,"tag":2087,"props":2181,"children":2182},{},[2183],{"type":51,"value":2184},"ISO 8601 date\u002Ftime",{"type":46,"tag":2087,"props":2186,"children":2187},{},[2188],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2190,"children":2191},{},[2192,2201,2206],{"type":46,"tag":2087,"props":2193,"children":2194},{},[2195],{"type":46,"tag":60,"props":2196,"children":2198},{"className":2197},[],[2199],{"type":51,"value":2200},"Boolean",{"type":46,"tag":2087,"props":2202,"children":2203},{},[2204],{"type":51,"value":2205},"True\u002Ffalse",{"type":46,"tag":2087,"props":2207,"children":2208},{},[2209],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2211,"children":2212},{},[2213,2222,2227],{"type":46,"tag":2087,"props":2214,"children":2215},{},[2216],{"type":46,"tag":60,"props":2217,"children":2219},{"className":2218},[],[2220],{"type":51,"value":2221},"Object",{"type":46,"tag":2087,"props":2223,"children":2224},{},[2225],{"type":51,"value":2226},"Arbitrary JSON",{"type":46,"tag":2087,"props":2228,"children":2229},{},[2230],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2232,"children":2233},{},[2234,2243,2248],{"type":46,"tag":2087,"props":2235,"children":2236},{},[2237],{"type":46,"tag":60,"props":2238,"children":2240},{"className":2239},[],[2241],{"type":51,"value":2242},"Location",{"type":46,"tag":2087,"props":2244,"children":2245},{},[2246],{"type":51,"value":2247},"Lat\u002Flon coordinates",{"type":46,"tag":2087,"props":2249,"children":2250},{},[2251],{"type":51,"value":2104},{"type":46,"tag":2060,"props":2253,"children":2254},{},[2255,2264,2269],{"type":46,"tag":2087,"props":2256,"children":2257},{},[2258],{"type":46,"tag":60,"props":2259,"children":2261},{"className":2260},[],[2262],{"type":51,"value":2263},"RichText",{"type":46,"tag":2087,"props":2265,"children":2266},{},[2267],{"type":51,"value":2268},"Structured rich text",{"type":46,"tag":2087,"props":2270,"children":2271},{},[2272,2278,2280,2286],{"type":46,"tag":60,"props":2273,"children":2275},{"className":2274},[],[2276],{"type":51,"value":2277},"enabledNodeTypes",{"type":51,"value":2279},", ",{"type":46,"tag":60,"props":2281,"children":2283},{"className":2282},[],[2284],{"type":51,"value":2285},"enabledMarks",{"type":51,"value":2287}," validations",{"type":46,"tag":2060,"props":2289,"children":2290},{},[2291,2300,2305],{"type":46,"tag":2087,"props":2292,"children":2293},{},[2294],{"type":46,"tag":60,"props":2295,"children":2297},{"className":2296},[],[2298],{"type":51,"value":2299},"Array",{"type":46,"tag":2087,"props":2301,"children":2302},{},[2303],{"type":51,"value":2304},"List of values or references",{"type":46,"tag":2087,"props":2306,"children":2307},{},[2308,2310,2316,2318],{"type":51,"value":2309},"Requires ",{"type":46,"tag":60,"props":2311,"children":2313},{"className":2312},[],[2314],{"type":51,"value":2315},"items",{"type":51,"value":2317},": ",{"type":46,"tag":60,"props":2319,"children":2321},{"className":2320},[],[2322],{"type":51,"value":2323},"{ type, linkType?, validations? }",{"type":46,"tag":2060,"props":2325,"children":2326},{},[2327,2336,2341],{"type":46,"tag":2087,"props":2328,"children":2329},{},[2330],{"type":46,"tag":60,"props":2331,"children":2333},{"className":2332},[],[2334],{"type":51,"value":2335},"Link",{"type":46,"tag":2087,"props":2337,"children":2338},{},[2339],{"type":51,"value":2340},"Single reference",{"type":46,"tag":2087,"props":2342,"children":2343},{},[2344,2345,2351,2352,2358,2359],{"type":51,"value":2309},{"type":46,"tag":60,"props":2346,"children":2348},{"className":2347},[],[2349],{"type":51,"value":2350},"linkType",{"type":51,"value":2317},{"type":46,"tag":60,"props":2353,"children":2355},{"className":2354},[],[2356],{"type":51,"value":2357},"'Asset'",{"type":51,"value":1000},{"type":46,"tag":60,"props":2360,"children":2362},{"className":2361},[],[2363],{"type":51,"value":2364},"'Entry'",{"type":46,"tag":2060,"props":2366,"children":2367},{},[2368,2377,2382],{"type":46,"tag":2087,"props":2369,"children":2370},{},[2371],{"type":46,"tag":60,"props":2372,"children":2374},{"className":2373},[],[2375],{"type":51,"value":2376},"ResourceLink",{"type":46,"tag":2087,"props":2378,"children":2379},{},[2380],{"type":51,"value":2381},"Cross-space reference",{"type":46,"tag":2087,"props":2383,"children":2384},{},[2385,2386],{"type":51,"value":2309},{"type":46,"tag":60,"props":2387,"children":2389},{"className":2388},[],[2390],{"type":51,"value":2391},"allowedResources",{"type":46,"tag":54,"props":2393,"children":2394},{},[2395,2397,2403],{"type":51,"value":2396},"See ",{"type":46,"tag":116,"props":2398,"children":2400},{"href":2399},"references\u002Fapi-reference.md#field-types",[2401],{"type":51,"value":2402},"API Reference — Field Types",{"type":51,"value":2404}," for full configuration details.",{"type":46,"tag":124,"props":2406,"children":2408},{"id":2407},"validations-quick-reference",[2409],{"type":51,"value":2410},"Validations Quick Reference",{"type":46,"tag":2052,"props":2412,"children":2413},{},[2414,2435],{"type":46,"tag":2056,"props":2415,"children":2416},{},[2417],{"type":46,"tag":2060,"props":2418,"children":2419},{},[2420,2425,2430],{"type":46,"tag":2064,"props":2421,"children":2422},{},[2423],{"type":51,"value":2424},"Validation",{"type":46,"tag":2064,"props":2426,"children":2427},{},[2428],{"type":51,"value":2429},"Applies to",{"type":46,"tag":2064,"props":2431,"children":2432},{},[2433],{"type":51,"value":2434},"Example",{"type":46,"tag":2080,"props":2436,"children":2437},{},[2438,2464,2489,2515,2541,2567,2592,2618,2644,2669],{"type":46,"tag":2060,"props":2439,"children":2440},{},[2441,2450,2455],{"type":46,"tag":2087,"props":2442,"children":2443},{},[2444],{"type":46,"tag":60,"props":2445,"children":2447},{"className":2446},[],[2448],{"type":51,"value":2449},"in",{"type":46,"tag":2087,"props":2451,"children":2452},{},[2453],{"type":51,"value":2454},"Symbol, Integer, Number",{"type":46,"tag":2087,"props":2456,"children":2457},{},[2458],{"type":46,"tag":60,"props":2459,"children":2461},{"className":2460},[],[2462],{"type":51,"value":2463},"{ in: ['draft', 'published', 'archived'] }",{"type":46,"tag":2060,"props":2465,"children":2466},{},[2467,2476,2480],{"type":46,"tag":2087,"props":2468,"children":2469},{},[2470],{"type":46,"tag":60,"props":2471,"children":2473},{"className":2472},[],[2474],{"type":51,"value":2475},"unique",{"type":46,"tag":2087,"props":2477,"children":2478},{},[2479],{"type":51,"value":2454},{"type":46,"tag":2087,"props":2481,"children":2482},{},[2483],{"type":46,"tag":60,"props":2484,"children":2486},{"className":2485},[],[2487],{"type":51,"value":2488},"{ unique: true }",{"type":46,"tag":2060,"props":2490,"children":2491},{},[2492,2501,2506],{"type":46,"tag":2087,"props":2493,"children":2494},{},[2495],{"type":46,"tag":60,"props":2496,"children":2498},{"className":2497},[],[2499],{"type":51,"value":2500},"size",{"type":46,"tag":2087,"props":2502,"children":2503},{},[2504],{"type":51,"value":2505},"Array, Text, Symbol",{"type":46,"tag":2087,"props":2507,"children":2508},{},[2509],{"type":46,"tag":60,"props":2510,"children":2512},{"className":2511},[],[2513],{"type":51,"value":2514},"{ size: { min: 1, max: 5 } }",{"type":46,"tag":2060,"props":2516,"children":2517},{},[2518,2527,2532],{"type":46,"tag":2087,"props":2519,"children":2520},{},[2521],{"type":46,"tag":60,"props":2522,"children":2524},{"className":2523},[],[2525],{"type":51,"value":2526},"range",{"type":46,"tag":2087,"props":2528,"children":2529},{},[2530],{"type":51,"value":2531},"Integer, Number",{"type":46,"tag":2087,"props":2533,"children":2534},{},[2535],{"type":46,"tag":60,"props":2536,"children":2538},{"className":2537},[],[2539],{"type":51,"value":2540},"{ range: { min: 0, max: 100 } }",{"type":46,"tag":2060,"props":2542,"children":2543},{},[2544,2553,2558],{"type":46,"tag":2087,"props":2545,"children":2546},{},[2547],{"type":46,"tag":60,"props":2548,"children":2550},{"className":2549},[],[2551],{"type":51,"value":2552},"regexp",{"type":46,"tag":2087,"props":2554,"children":2555},{},[2556],{"type":51,"value":2557},"Symbol, Text",{"type":46,"tag":2087,"props":2559,"children":2560},{},[2561],{"type":46,"tag":60,"props":2562,"children":2564},{"className":2563},[],[2565],{"type":51,"value":2566},"{ regexp: { pattern: '^[a-z0-9-]+$' } }",{"type":46,"tag":2060,"props":2568,"children":2569},{},[2570,2579,2583],{"type":46,"tag":2087,"props":2571,"children":2572},{},[2573],{"type":46,"tag":60,"props":2574,"children":2576},{"className":2575},[],[2577],{"type":51,"value":2578},"dateRange",{"type":46,"tag":2087,"props":2580,"children":2581},{},[2582],{"type":51,"value":2179},{"type":46,"tag":2087,"props":2584,"children":2585},{},[2586],{"type":46,"tag":60,"props":2587,"children":2589},{"className":2588},[],[2590],{"type":51,"value":2591},"{ dateRange: { min: '2020-01-01', max: '2030-12-31' } }",{"type":46,"tag":2060,"props":2593,"children":2594},{},[2595,2604,2609],{"type":46,"tag":2087,"props":2596,"children":2597},{},[2598],{"type":46,"tag":60,"props":2599,"children":2601},{"className":2600},[],[2602],{"type":51,"value":2603},"linkContentType",{"type":46,"tag":2087,"props":2605,"children":2606},{},[2607],{"type":51,"value":2608},"Link, Array of Links",{"type":46,"tag":2087,"props":2610,"children":2611},{},[2612],{"type":46,"tag":60,"props":2613,"children":2615},{"className":2614},[],[2616],{"type":51,"value":2617},"{ linkContentType: ['author', 'organization'] }",{"type":46,"tag":2060,"props":2619,"children":2620},{},[2621,2630,2635],{"type":46,"tag":2087,"props":2622,"children":2623},{},[2624],{"type":46,"tag":60,"props":2625,"children":2627},{"className":2626},[],[2628],{"type":51,"value":2629},"linkMimetypeGroup",{"type":46,"tag":2087,"props":2631,"children":2632},{},[2633],{"type":51,"value":2634},"Link (Asset)",{"type":46,"tag":2087,"props":2636,"children":2637},{},[2638],{"type":46,"tag":60,"props":2639,"children":2641},{"className":2640},[],[2642],{"type":51,"value":2643},"{ linkMimetypeGroup: ['image', 'video'] }",{"type":46,"tag":2060,"props":2645,"children":2646},{},[2647,2656,2660],{"type":46,"tag":2087,"props":2648,"children":2649},{},[2650],{"type":46,"tag":60,"props":2651,"children":2653},{"className":2652},[],[2654],{"type":51,"value":2655},"assetFileSize",{"type":46,"tag":2087,"props":2657,"children":2658},{},[2659],{"type":51,"value":2634},{"type":46,"tag":2087,"props":2661,"children":2662},{},[2663],{"type":46,"tag":60,"props":2664,"children":2666},{"className":2665},[],[2667],{"type":51,"value":2668},"{ assetFileSize: { min: 0, max: 5242880 } }",{"type":46,"tag":2060,"props":2670,"children":2671},{},[2672,2681,2685],{"type":46,"tag":2087,"props":2673,"children":2674},{},[2675],{"type":46,"tag":60,"props":2676,"children":2678},{"className":2677},[],[2679],{"type":51,"value":2680},"assetImageDimensions",{"type":46,"tag":2087,"props":2682,"children":2683},{},[2684],{"type":51,"value":2634},{"type":46,"tag":2087,"props":2686,"children":2687},{},[2688],{"type":46,"tag":60,"props":2689,"children":2691},{"className":2690},[],[2692],{"type":51,"value":2693},"{ assetImageDimensions: { width: { min: 100, max: 2000 } } }",{"type":46,"tag":54,"props":2695,"children":2696},{},[2697,2699,2705,2707,2713],{"type":51,"value":2698},"Apply validations via ",{"type":46,"tag":60,"props":2700,"children":2702},{"className":2701},[],[2703],{"type":51,"value":2704},".validations([...])",{"type":51,"value":2706}," on a field. See ",{"type":46,"tag":116,"props":2708,"children":2710},{"href":2709},"references\u002Fapi-reference.md#validations",[2711],{"type":51,"value":2712},"API Reference — Validations",{"type":51,"value":2714}," for all options.",{"type":46,"tag":124,"props":2716,"children":2718},{"id":2717},"entry-transformations",[2719],{"type":51,"value":2720},"Entry Transformations",{"type":46,"tag":54,"props":2722,"children":2723},{},[2724],{"type":46,"tag":71,"props":2725,"children":2726},{},[2727],{"type":51,"value":2728},"Transform entries in place:",{"type":46,"tag":77,"props":2730,"children":2732},{"className":272,"code":2731,"language":274,"meta":82,"style":82},"migration.transformEntries({\n  contentType: 'blogPost',\n  from: ['firstName', 'lastName'],\n  to: ['fullName'],\n  transformEntryForLocale: (fields, locale) => {\n    const first = fields.firstName[locale]\n    const last = fields.lastName[locale]\n    if (!first && !last) return\n    return { fullName: `${first || ''} ${last || ''}`.trim() }\n  },\n})\n",[2733],{"type":46,"tag":60,"props":2734,"children":2735},{"__ignoreMap":82},[2736,2761,2789,2845,2882,2924,2969,3009,3055,3133,3141],{"type":46,"tag":88,"props":2737,"children":2738},{"class":90,"line":91},[2739,2743,2747,2752,2756],{"type":46,"tag":88,"props":2740,"children":2741},{"style":301},[2742],{"type":51,"value":22},{"type":46,"tag":88,"props":2744,"children":2745},{"style":295},[2746],{"type":51,"value":206},{"type":46,"tag":88,"props":2748,"children":2749},{"style":420},[2750],{"type":51,"value":2751},"transformEntries",{"type":46,"tag":88,"props":2753,"children":2754},{"style":301},[2755],{"type":51,"value":429},{"type":46,"tag":88,"props":2757,"children":2758},{"style":295},[2759],{"type":51,"value":2760},"{\n",{"type":46,"tag":88,"props":2762,"children":2763},{"class":90,"line":27},[2764,2769,2773,2777,2781,2785],{"type":46,"tag":88,"props":2765,"children":2766},{"style":426},[2767],{"type":51,"value":2768},"  contentType",{"type":46,"tag":88,"props":2770,"children":2771},{"style":295},[2772],{"type":51,"value":357},{"type":46,"tag":88,"props":2774,"children":2775},{"style":295},[2776],{"type":51,"value":319},{"type":46,"tag":88,"props":2778,"children":2779},{"style":101},[2780],{"type":51,"value":439},{"type":46,"tag":88,"props":2782,"children":2783},{"style":295},[2784],{"type":51,"value":434},{"type":46,"tag":88,"props":2786,"children":2787},{"style":295},[2788],{"type":51,"value":483},{"type":46,"tag":88,"props":2790,"children":2791},{"class":90,"line":340},[2792,2797,2801,2806,2810,2815,2819,2823,2827,2832,2836,2841],{"type":46,"tag":88,"props":2793,"children":2794},{"style":426},[2795],{"type":51,"value":2796},"  from",{"type":46,"tag":88,"props":2798,"children":2799},{"style":295},[2800],{"type":51,"value":357},{"type":46,"tag":88,"props":2802,"children":2803},{"style":301},[2804],{"type":51,"value":2805}," [",{"type":46,"tag":88,"props":2807,"children":2808},{"style":295},[2809],{"type":51,"value":434},{"type":46,"tag":88,"props":2811,"children":2812},{"style":101},[2813],{"type":51,"value":2814},"firstName",{"type":46,"tag":88,"props":2816,"children":2817},{"style":295},[2818],{"type":51,"value":434},{"type":46,"tag":88,"props":2820,"children":2821},{"style":295},[2822],{"type":51,"value":448},{"type":46,"tag":88,"props":2824,"children":2825},{"style":295},[2826],{"type":51,"value":319},{"type":46,"tag":88,"props":2828,"children":2829},{"style":101},[2830],{"type":51,"value":2831},"lastName",{"type":46,"tag":88,"props":2833,"children":2834},{"style":295},[2835],{"type":51,"value":434},{"type":46,"tag":88,"props":2837,"children":2838},{"style":301},[2839],{"type":51,"value":2840},"]",{"type":46,"tag":88,"props":2842,"children":2843},{"style":295},[2844],{"type":51,"value":483},{"type":46,"tag":88,"props":2846,"children":2847},{"class":90,"line":394},[2848,2853,2857,2861,2865,2870,2874,2878],{"type":46,"tag":88,"props":2849,"children":2850},{"style":426},[2851],{"type":51,"value":2852},"  to",{"type":46,"tag":88,"props":2854,"children":2855},{"style":295},[2856],{"type":51,"value":357},{"type":46,"tag":88,"props":2858,"children":2859},{"style":301},[2860],{"type":51,"value":2805},{"type":46,"tag":88,"props":2862,"children":2863},{"style":295},[2864],{"type":51,"value":434},{"type":46,"tag":88,"props":2866,"children":2867},{"style":101},[2868],{"type":51,"value":2869},"fullName",{"type":46,"tag":88,"props":2871,"children":2872},{"style":295},[2873],{"type":51,"value":434},{"type":46,"tag":88,"props":2875,"children":2876},{"style":301},[2877],{"type":51,"value":2840},{"type":46,"tag":88,"props":2879,"children":2880},{"style":295},[2881],{"type":51,"value":483},{"type":46,"tag":88,"props":2883,"children":2884},{"class":90,"line":455},[2885,2890,2894,2898,2903,2907,2912,2916,2920],{"type":46,"tag":88,"props":2886,"children":2887},{"style":420},[2888],{"type":51,"value":2889},"  transformEntryForLocale",{"type":46,"tag":88,"props":2891,"children":2892},{"style":295},[2893],{"type":51,"value":357},{"type":46,"tag":88,"props":2895,"children":2896},{"style":295},[2897],{"type":51,"value":371},{"type":46,"tag":88,"props":2899,"children":2900},{"style":374},[2901],{"type":51,"value":2902},"fields",{"type":46,"tag":88,"props":2904,"children":2905},{"style":295},[2906],{"type":51,"value":448},{"type":46,"tag":88,"props":2908,"children":2909},{"style":374},[2910],{"type":51,"value":2911}," locale",{"type":46,"tag":88,"props":2913,"children":2914},{"style":295},[2915],{"type":51,"value":381},{"type":46,"tag":88,"props":2917,"children":2918},{"style":344},[2919],{"type":51,"value":386},{"type":46,"tag":88,"props":2921,"children":2922},{"style":295},[2923],{"type":51,"value":391},{"type":46,"tag":88,"props":2925,"children":2926},{"class":90,"line":486},[2927,2932,2937,2941,2946,2950,2954,2959,2964],{"type":46,"tag":88,"props":2928,"children":2929},{"style":344},[2930],{"type":51,"value":2931},"    const",{"type":46,"tag":88,"props":2933,"children":2934},{"style":301},[2935],{"type":51,"value":2936}," first",{"type":46,"tag":88,"props":2938,"children":2939},{"style":295},[2940],{"type":51,"value":366},{"type":46,"tag":88,"props":2942,"children":2943},{"style":301},[2944],{"type":51,"value":2945}," fields",{"type":46,"tag":88,"props":2947,"children":2948},{"style":295},[2949],{"type":51,"value":206},{"type":46,"tag":88,"props":2951,"children":2952},{"style":301},[2953],{"type":51,"value":2814},{"type":46,"tag":88,"props":2955,"children":2956},{"style":426},[2957],{"type":51,"value":2958},"[",{"type":46,"tag":88,"props":2960,"children":2961},{"style":301},[2962],{"type":51,"value":2963},"locale",{"type":46,"tag":88,"props":2965,"children":2966},{"style":426},[2967],{"type":51,"value":2968},"]\n",{"type":46,"tag":88,"props":2970,"children":2971},{"class":90,"line":516},[2972,2976,2981,2985,2989,2993,2997,3001,3005],{"type":46,"tag":88,"props":2973,"children":2974},{"style":344},[2975],{"type":51,"value":2931},{"type":46,"tag":88,"props":2977,"children":2978},{"style":301},[2979],{"type":51,"value":2980}," last",{"type":46,"tag":88,"props":2982,"children":2983},{"style":295},[2984],{"type":51,"value":366},{"type":46,"tag":88,"props":2986,"children":2987},{"style":301},[2988],{"type":51,"value":2945},{"type":46,"tag":88,"props":2990,"children":2991},{"style":295},[2992],{"type":51,"value":206},{"type":46,"tag":88,"props":2994,"children":2995},{"style":301},[2996],{"type":51,"value":2831},{"type":46,"tag":88,"props":2998,"children":2999},{"style":426},[3000],{"type":51,"value":2958},{"type":46,"tag":88,"props":3002,"children":3003},{"style":301},[3004],{"type":51,"value":2963},{"type":46,"tag":88,"props":3006,"children":3007},{"style":426},[3008],{"type":51,"value":2968},{"type":46,"tag":88,"props":3010,"children":3011},{"class":90,"line":546},[3012,3017,3021,3025,3030,3035,3040,3045,3050],{"type":46,"tag":88,"props":3013,"children":3014},{"style":284},[3015],{"type":51,"value":3016},"    if",{"type":46,"tag":88,"props":3018,"children":3019},{"style":426},[3020],{"type":51,"value":371},{"type":46,"tag":88,"props":3022,"children":3023},{"style":295},[3024],{"type":51,"value":788},{"type":46,"tag":88,"props":3026,"children":3027},{"style":301},[3028],{"type":51,"value":3029},"first",{"type":46,"tag":88,"props":3031,"children":3032},{"style":295},[3033],{"type":51,"value":3034}," &&",{"type":46,"tag":88,"props":3036,"children":3037},{"style":295},[3038],{"type":51,"value":3039}," !",{"type":46,"tag":88,"props":3041,"children":3042},{"style":301},[3043],{"type":51,"value":3044},"last",{"type":46,"tag":88,"props":3046,"children":3047},{"style":426},[3048],{"type":51,"value":3049},") ",{"type":46,"tag":88,"props":3051,"children":3052},{"style":284},[3053],{"type":51,"value":3054},"return\n",{"type":46,"tag":88,"props":3056,"children":3057},{"class":90,"line":560},[3058,3063,3067,3072,3076,3081,3086,3091,3096,3101,3106,3110,3115,3119,3124,3129],{"type":46,"tag":88,"props":3059,"children":3060},{"style":284},[3061],{"type":51,"value":3062},"    return",{"type":46,"tag":88,"props":3064,"children":3065},{"style":295},[3066],{"type":51,"value":298},{"type":46,"tag":88,"props":3068,"children":3069},{"style":426},[3070],{"type":51,"value":3071}," fullName",{"type":46,"tag":88,"props":3073,"children":3074},{"style":295},[3075],{"type":51,"value":357},{"type":46,"tag":88,"props":3077,"children":3078},{"style":295},[3079],{"type":51,"value":3080}," `${",{"type":46,"tag":88,"props":3082,"children":3083},{"style":301},[3084],{"type":51,"value":3085},"first ",{"type":46,"tag":88,"props":3087,"children":3088},{"style":295},[3089],{"type":51,"value":3090},"||",{"type":46,"tag":88,"props":3092,"children":3093},{"style":295},[3094],{"type":51,"value":3095}," ''}",{"type":46,"tag":88,"props":3097,"children":3098},{"style":295},[3099],{"type":51,"value":3100}," ${",{"type":46,"tag":88,"props":3102,"children":3103},{"style":301},[3104],{"type":51,"value":3105},"last ",{"type":46,"tag":88,"props":3107,"children":3108},{"style":295},[3109],{"type":51,"value":3090},{"type":46,"tag":88,"props":3111,"children":3112},{"style":295},[3113],{"type":51,"value":3114}," ''}`",{"type":46,"tag":88,"props":3116,"children":3117},{"style":295},[3118],{"type":51,"value":206},{"type":46,"tag":88,"props":3120,"children":3121},{"style":420},[3122],{"type":51,"value":3123},"trim",{"type":46,"tag":88,"props":3125,"children":3126},{"style":426},[3127],{"type":51,"value":3128},"() ",{"type":46,"tag":88,"props":3130,"children":3131},{"style":295},[3132],{"type":51,"value":708},{"type":46,"tag":88,"props":3134,"children":3135},{"class":90,"line":568},[3136],{"type":46,"tag":88,"props":3137,"children":3138},{"style":295},[3139],{"type":51,"value":3140},"  },\n",{"type":46,"tag":88,"props":3142,"children":3143},{"class":90,"line":606},[3144,3148],{"type":46,"tag":88,"props":3145,"children":3146},{"style":295},[3147],{"type":51,"value":1189},{"type":46,"tag":88,"props":3149,"children":3150},{"style":301},[3151],{"type":51,"value":557},{"type":46,"tag":54,"props":3153,"children":3154},{},[3155,3157,3163,3164,3169,3170,3175,3177,3183,3185,3190],{"type":51,"value":3156},"Options: ",{"type":46,"tag":60,"props":3158,"children":3160},{"className":3159},[],[3161],{"type":51,"value":3162},"shouldPublish",{"type":51,"value":371},{"type":46,"tag":60,"props":3165,"children":3167},{"className":3166},[],[3168],{"type":51,"value":695},{"type":51,"value":2279},{"type":46,"tag":60,"props":3171,"children":3173},{"className":3172},[],[3174],{"type":51,"value":1663},{"type":51,"value":3176},", or ",{"type":46,"tag":60,"props":3178,"children":3180},{"className":3179},[],[3181],{"type":51,"value":3182},"'preserve'",{"type":51,"value":3184}," — default ",{"type":46,"tag":60,"props":3186,"children":3188},{"className":3187},[],[3189],{"type":51,"value":3182},{"type":51,"value":981},{"type":46,"tag":54,"props":3192,"children":3193},{},[3194],{"type":46,"tag":71,"props":3195,"children":3196},{},[3197],{"type":51,"value":3198},"Derive linked entries:",{"type":46,"tag":77,"props":3200,"children":3202},{"className":272,"code":3201,"language":274,"meta":82,"style":82},"migration.deriveLinkedEntries({\n  contentType: 'blogPost',\n  derivedContentType: 'author',\n  from: ['authorName'],\n  toReferenceField: 'authorRef',\n  derivedFields: ['name'],\n  identityKey: (fields) =>\n    fields.authorName['en-US'].toLowerCase().replace(\u002F\\s+\u002Fg, '-'),\n  deriveEntryForLocale: (fields, locale) => {\n    if (locale !== 'en-US') return\n    return { name: fields.authorName[locale] }\n  },\n})\n",[3203],{"type":46,"tag":60,"props":3204,"children":3205},{"__ignoreMap":82},[3206,3230,3257,3285,3321,3350,3386,3415,3522,3562,3602,3651,3658],{"type":46,"tag":88,"props":3207,"children":3208},{"class":90,"line":91},[3209,3213,3217,3222,3226],{"type":46,"tag":88,"props":3210,"children":3211},{"style":301},[3212],{"type":51,"value":22},{"type":46,"tag":88,"props":3214,"children":3215},{"style":295},[3216],{"type":51,"value":206},{"type":46,"tag":88,"props":3218,"children":3219},{"style":420},[3220],{"type":51,"value":3221},"deriveLinkedEntries",{"type":46,"tag":88,"props":3223,"children":3224},{"style":301},[3225],{"type":51,"value":429},{"type":46,"tag":88,"props":3227,"children":3228},{"style":295},[3229],{"type":51,"value":2760},{"type":46,"tag":88,"props":3231,"children":3232},{"class":90,"line":27},[3233,3237,3241,3245,3249,3253],{"type":46,"tag":88,"props":3234,"children":3235},{"style":426},[3236],{"type":51,"value":2768},{"type":46,"tag":88,"props":3238,"children":3239},{"style":295},[3240],{"type":51,"value":357},{"type":46,"tag":88,"props":3242,"children":3243},{"style":295},[3244],{"type":51,"value":319},{"type":46,"tag":88,"props":3246,"children":3247},{"style":101},[3248],{"type":51,"value":439},{"type":46,"tag":88,"props":3250,"children":3251},{"style":295},[3252],{"type":51,"value":434},{"type":46,"tag":88,"props":3254,"children":3255},{"style":295},[3256],{"type":51,"value":483},{"type":46,"tag":88,"props":3258,"children":3259},{"class":90,"line":340},[3260,3265,3269,3273,3277,3281],{"type":46,"tag":88,"props":3261,"children":3262},{"style":426},[3263],{"type":51,"value":3264},"  derivedContentType",{"type":46,"tag":88,"props":3266,"children":3267},{"style":295},[3268],{"type":51,"value":357},{"type":46,"tag":88,"props":3270,"children":3271},{"style":295},[3272],{"type":51,"value":319},{"type":46,"tag":88,"props":3274,"children":3275},{"style":101},[3276],{"type":51,"value":2006},{"type":46,"tag":88,"props":3278,"children":3279},{"style":295},[3280],{"type":51,"value":434},{"type":46,"tag":88,"props":3282,"children":3283},{"style":295},[3284],{"type":51,"value":483},{"type":46,"tag":88,"props":3286,"children":3287},{"class":90,"line":394},[3288,3292,3296,3300,3304,3309,3313,3317],{"type":46,"tag":88,"props":3289,"children":3290},{"style":426},[3291],{"type":51,"value":2796},{"type":46,"tag":88,"props":3293,"children":3294},{"style":295},[3295],{"type":51,"value":357},{"type":46,"tag":88,"props":3297,"children":3298},{"style":301},[3299],{"type":51,"value":2805},{"type":46,"tag":88,"props":3301,"children":3302},{"style":295},[3303],{"type":51,"value":434},{"type":46,"tag":88,"props":3305,"children":3306},{"style":101},[3307],{"type":51,"value":3308},"authorName",{"type":46,"tag":88,"props":3310,"children":3311},{"style":295},[3312],{"type":51,"value":434},{"type":46,"tag":88,"props":3314,"children":3315},{"style":301},[3316],{"type":51,"value":2840},{"type":46,"tag":88,"props":3318,"children":3319},{"style":295},[3320],{"type":51,"value":483},{"type":46,"tag":88,"props":3322,"children":3323},{"class":90,"line":455},[3324,3329,3333,3337,3342,3346],{"type":46,"tag":88,"props":3325,"children":3326},{"style":426},[3327],{"type":51,"value":3328},"  toReferenceField",{"type":46,"tag":88,"props":3330,"children":3331},{"style":295},[3332],{"type":51,"value":357},{"type":46,"tag":88,"props":3334,"children":3335},{"style":295},[3336],{"type":51,"value":319},{"type":46,"tag":88,"props":3338,"children":3339},{"style":101},[3340],{"type":51,"value":3341},"authorRef",{"type":46,"tag":88,"props":3343,"children":3344},{"style":295},[3345],{"type":51,"value":434},{"type":46,"tag":88,"props":3347,"children":3348},{"style":295},[3349],{"type":51,"value":483},{"type":46,"tag":88,"props":3351,"children":3352},{"class":90,"line":486},[3353,3358,3362,3366,3370,3374,3378,3382],{"type":46,"tag":88,"props":3354,"children":3355},{"style":426},[3356],{"type":51,"value":3357},"  derivedFields",{"type":46,"tag":88,"props":3359,"children":3360},{"style":295},[3361],{"type":51,"value":357},{"type":46,"tag":88,"props":3363,"children":3364},{"style":301},[3365],{"type":51,"value":2805},{"type":46,"tag":88,"props":3367,"children":3368},{"style":295},[3369],{"type":51,"value":434},{"type":46,"tag":88,"props":3371,"children":3372},{"style":101},[3373],{"type":51,"value":617},{"type":46,"tag":88,"props":3375,"children":3376},{"style":295},[3377],{"type":51,"value":434},{"type":46,"tag":88,"props":3379,"children":3380},{"style":301},[3381],{"type":51,"value":2840},{"type":46,"tag":88,"props":3383,"children":3384},{"style":295},[3385],{"type":51,"value":483},{"type":46,"tag":88,"props":3387,"children":3388},{"class":90,"line":516},[3389,3394,3398,3402,3406,3410],{"type":46,"tag":88,"props":3390,"children":3391},{"style":420},[3392],{"type":51,"value":3393},"  identityKey",{"type":46,"tag":88,"props":3395,"children":3396},{"style":295},[3397],{"type":51,"value":357},{"type":46,"tag":88,"props":3399,"children":3400},{"style":295},[3401],{"type":51,"value":371},{"type":46,"tag":88,"props":3403,"children":3404},{"style":374},[3405],{"type":51,"value":2902},{"type":46,"tag":88,"props":3407,"children":3408},{"style":295},[3409],{"type":51,"value":381},{"type":46,"tag":88,"props":3411,"children":3412},{"style":344},[3413],{"type":51,"value":3414}," =>\n",{"type":46,"tag":88,"props":3416,"children":3417},{"class":90,"line":546},[3418,3423,3427,3432,3436,3441,3445,3449,3453,3458,3463,3467,3472,3476,3481,3486,3491,3497,3501,3505,3510,3514,3518],{"type":46,"tag":88,"props":3419,"children":3420},{"style":301},[3421],{"type":51,"value":3422},"    fields",{"type":46,"tag":88,"props":3424,"children":3425},{"style":295},[3426],{"type":51,"value":206},{"type":46,"tag":88,"props":3428,"children":3429},{"style":301},[3430],{"type":51,"value":3431},"authorName[",{"type":46,"tag":88,"props":3433,"children":3434},{"style":295},[3435],{"type":51,"value":434},{"type":46,"tag":88,"props":3437,"children":3438},{"style":101},[3439],{"type":51,"value":3440},"en-US",{"type":46,"tag":88,"props":3442,"children":3443},{"style":295},[3444],{"type":51,"value":434},{"type":46,"tag":88,"props":3446,"children":3447},{"style":301},[3448],{"type":51,"value":2840},{"type":46,"tag":88,"props":3450,"children":3451},{"style":295},[3452],{"type":51,"value":206},{"type":46,"tag":88,"props":3454,"children":3455},{"style":420},[3456],{"type":51,"value":3457},"toLowerCase",{"type":46,"tag":88,"props":3459,"children":3460},{"style":301},[3461],{"type":51,"value":3462},"()",{"type":46,"tag":88,"props":3464,"children":3465},{"style":295},[3466],{"type":51,"value":206},{"type":46,"tag":88,"props":3468,"children":3469},{"style":420},[3470],{"type":51,"value":3471},"replace",{"type":46,"tag":88,"props":3473,"children":3474},{"style":301},[3475],{"type":51,"value":429},{"type":46,"tag":88,"props":3477,"children":3478},{"style":295},[3479],{"type":51,"value":3480},"\u002F",{"type":46,"tag":88,"props":3482,"children":3483},{"style":101},[3484],{"type":51,"value":3485},"\\s",{"type":46,"tag":88,"props":3487,"children":3488},{"style":295},[3489],{"type":51,"value":3490},"+\u002F",{"type":46,"tag":88,"props":3492,"children":3494},{"style":3493},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[3495],{"type":51,"value":3496},"g",{"type":46,"tag":88,"props":3498,"children":3499},{"style":295},[3500],{"type":51,"value":448},{"type":46,"tag":88,"props":3502,"children":3503},{"style":295},[3504],{"type":51,"value":319},{"type":46,"tag":88,"props":3506,"children":3507},{"style":101},[3508],{"type":51,"value":3509},"-",{"type":46,"tag":88,"props":3511,"children":3512},{"style":295},[3513],{"type":51,"value":434},{"type":46,"tag":88,"props":3515,"children":3516},{"style":301},[3517],{"type":51,"value":381},{"type":46,"tag":88,"props":3519,"children":3520},{"style":295},[3521],{"type":51,"value":483},{"type":46,"tag":88,"props":3523,"children":3524},{"class":90,"line":560},[3525,3530,3534,3538,3542,3546,3550,3554,3558],{"type":46,"tag":88,"props":3526,"children":3527},{"style":420},[3528],{"type":51,"value":3529},"  deriveEntryForLocale",{"type":46,"tag":88,"props":3531,"children":3532},{"style":295},[3533],{"type":51,"value":357},{"type":46,"tag":88,"props":3535,"children":3536},{"style":295},[3537],{"type":51,"value":371},{"type":46,"tag":88,"props":3539,"children":3540},{"style":374},[3541],{"type":51,"value":2902},{"type":46,"tag":88,"props":3543,"children":3544},{"style":295},[3545],{"type":51,"value":448},{"type":46,"tag":88,"props":3547,"children":3548},{"style":374},[3549],{"type":51,"value":2911},{"type":46,"tag":88,"props":3551,"children":3552},{"style":295},[3553],{"type":51,"value":381},{"type":46,"tag":88,"props":3555,"children":3556},{"style":344},[3557],{"type":51,"value":386},{"type":46,"tag":88,"props":3559,"children":3560},{"style":295},[3561],{"type":51,"value":391},{"type":46,"tag":88,"props":3563,"children":3564},{"class":90,"line":568},[3565,3569,3573,3577,3582,3586,3590,3594,3598],{"type":46,"tag":88,"props":3566,"children":3567},{"style":284},[3568],{"type":51,"value":3016},{"type":46,"tag":88,"props":3570,"children":3571},{"style":426},[3572],{"type":51,"value":371},{"type":46,"tag":88,"props":3574,"children":3575},{"style":301},[3576],{"type":51,"value":2963},{"type":46,"tag":88,"props":3578,"children":3579},{"style":295},[3580],{"type":51,"value":3581}," !==",{"type":46,"tag":88,"props":3583,"children":3584},{"style":295},[3585],{"type":51,"value":319},{"type":46,"tag":88,"props":3587,"children":3588},{"style":101},[3589],{"type":51,"value":3440},{"type":46,"tag":88,"props":3591,"children":3592},{"style":295},[3593],{"type":51,"value":434},{"type":46,"tag":88,"props":3595,"children":3596},{"style":426},[3597],{"type":51,"value":3049},{"type":46,"tag":88,"props":3599,"children":3600},{"style":284},[3601],{"type":51,"value":3054},{"type":46,"tag":88,"props":3603,"children":3604},{"class":90,"line":606},[3605,3609,3613,3618,3622,3626,3630,3634,3638,3642,3647],{"type":46,"tag":88,"props":3606,"children":3607},{"style":284},[3608],{"type":51,"value":3062},{"type":46,"tag":88,"props":3610,"children":3611},{"style":295},[3612],{"type":51,"value":298},{"type":46,"tag":88,"props":3614,"children":3615},{"style":426},[3616],{"type":51,"value":3617}," name",{"type":46,"tag":88,"props":3619,"children":3620},{"style":295},[3621],{"type":51,"value":357},{"type":46,"tag":88,"props":3623,"children":3624},{"style":301},[3625],{"type":51,"value":2945},{"type":46,"tag":88,"props":3627,"children":3628},{"style":295},[3629],{"type":51,"value":206},{"type":46,"tag":88,"props":3631,"children":3632},{"style":301},[3633],{"type":51,"value":3308},{"type":46,"tag":88,"props":3635,"children":3636},{"style":426},[3637],{"type":51,"value":2958},{"type":46,"tag":88,"props":3639,"children":3640},{"style":301},[3641],{"type":51,"value":2963},{"type":46,"tag":88,"props":3643,"children":3644},{"style":426},[3645],{"type":51,"value":3646},"] ",{"type":46,"tag":88,"props":3648,"children":3649},{"style":295},[3650],{"type":51,"value":708},{"type":46,"tag":88,"props":3652,"children":3653},{"class":90,"line":641},[3654],{"type":46,"tag":88,"props":3655,"children":3656},{"style":295},[3657],{"type":51,"value":3140},{"type":46,"tag":88,"props":3659,"children":3660},{"class":90,"line":675},[3661,3665],{"type":46,"tag":88,"props":3662,"children":3663},{"style":295},[3664],{"type":51,"value":1189},{"type":46,"tag":88,"props":3666,"children":3667},{"style":301},[3668],{"type":51,"value":557},{"type":46,"tag":54,"props":3670,"children":3671},{},[3672,3674,3679,3681,3687,3689,3694],{"type":51,"value":3673},"This creates new ",{"type":46,"tag":60,"props":3675,"children":3677},{"className":3676},[],[3678],{"type":51,"value":2006},{"type":51,"value":3680}," entries from existing ",{"type":46,"tag":60,"props":3682,"children":3684},{"className":3683},[],[3685],{"type":51,"value":3686},"blogPost.authorName",{"type":51,"value":3688}," data and links them via ",{"type":46,"tag":60,"props":3690,"children":3692},{"className":3691},[],[3693],{"type":51,"value":3341},{"type":51,"value":206},{"type":46,"tag":54,"props":3696,"children":3697},{},[3698,3699,3705,3707,3713],{"type":51,"value":2396},{"type":46,"tag":116,"props":3700,"children":3702},{"href":3701},"references\u002Fpatterns.md#transform-entries",[3703],{"type":51,"value":3704},"Patterns — Transform Entries",{"type":51,"value":3706}," and ",{"type":46,"tag":116,"props":3708,"children":3710},{"href":3709},"references\u002Fpatterns.md#derive-linked-entries",[3711],{"type":51,"value":3712},"Patterns — Derive Linked Entries",{"type":51,"value":3714}," for more examples.",{"type":46,"tag":124,"props":3716,"children":3718},{"id":3717},"editor-interface",[3719],{"type":51,"value":3720},"Editor Interface",{"type":46,"tag":54,"props":3722,"children":3723},{},[3724],{"type":46,"tag":71,"props":3725,"children":3726},{},[3727],{"type":51,"value":3728},"Change the widget for a field:",{"type":46,"tag":77,"props":3730,"children":3732},{"className":272,"code":3731,"language":274,"meta":82,"style":82},"const page = migration.editContentType('page')\n\npage.changeFieldControl('slug', 'builtin', 'slugEditor', {\n  helpText: 'URL-friendly identifier',\n  trackingFieldId: 'title',\n})\n\npage.changeFieldControl('category', 'builtin', 'dropdown')\npage.changeFieldControl('publishDate', 'builtin', 'datePicker', { format: 'dateonly' })\n",[3733],{"type":46,"tag":60,"props":3734,"children":3735},{"__ignoreMap":82},[3736,3783,3790,3864,3893,3921,3932,3939,4008],{"type":46,"tag":88,"props":3737,"children":3738},{"class":90,"line":91},[3739,3743,3747,3751,3755,3759,3763,3767,3771,3775,3779],{"type":46,"tag":88,"props":3740,"children":3741},{"style":344},[3742],{"type":51,"value":347},{"type":46,"tag":88,"props":3744,"children":3745},{"style":301},[3746],{"type":51,"value":1053},{"type":46,"tag":88,"props":3748,"children":3749},{"style":295},[3750],{"type":51,"value":1058},{"type":46,"tag":88,"props":3752,"children":3753},{"style":301},[3754],{"type":51,"value":352},{"type":46,"tag":88,"props":3756,"children":3757},{"style":295},[3758],{"type":51,"value":206},{"type":46,"tag":88,"props":3760,"children":3761},{"style":420},[3762],{"type":51,"value":1236},{"type":46,"tag":88,"props":3764,"children":3765},{"style":301},[3766],{"type":51,"value":429},{"type":46,"tag":88,"props":3768,"children":3769},{"style":295},[3770],{"type":51,"value":434},{"type":46,"tag":88,"props":3772,"children":3773},{"style":101},[3774],{"type":51,"value":1083},{"type":46,"tag":88,"props":3776,"children":3777},{"style":295},[3778],{"type":51,"value":434},{"type":46,"tag":88,"props":3780,"children":3781},{"style":301},[3782],{"type":51,"value":557},{"type":46,"tag":88,"props":3784,"children":3785},{"class":90,"line":27},[3786],{"type":46,"tag":88,"props":3787,"children":3788},{"emptyLinePlaceholder":334},[3789],{"type":51,"value":337},{"type":46,"tag":88,"props":3791,"children":3792},{"class":90,"line":340},[3793,3797,3801,3806,3810,3814,3818,3822,3826,3830,3835,3839,3843,3847,3852,3856,3860],{"type":46,"tag":88,"props":3794,"children":3795},{"style":301},[3796],{"type":51,"value":1083},{"type":46,"tag":88,"props":3798,"children":3799},{"style":295},[3800],{"type":51,"value":206},{"type":46,"tag":88,"props":3802,"children":3803},{"style":420},[3804],{"type":51,"value":3805},"changeFieldControl",{"type":46,"tag":88,"props":3807,"children":3808},{"style":301},[3809],{"type":51,"value":429},{"type":46,"tag":88,"props":3811,"children":3812},{"style":295},[3813],{"type":51,"value":434},{"type":46,"tag":88,"props":3815,"children":3816},{"style":101},[3817],{"type":51,"value":1842},{"type":46,"tag":88,"props":3819,"children":3820},{"style":295},[3821],{"type":51,"value":434},{"type":46,"tag":88,"props":3823,"children":3824},{"style":295},[3825],{"type":51,"value":448},{"type":46,"tag":88,"props":3827,"children":3828},{"style":295},[3829],{"type":51,"value":319},{"type":46,"tag":88,"props":3831,"children":3832},{"style":101},[3833],{"type":51,"value":3834},"builtin",{"type":46,"tag":88,"props":3836,"children":3837},{"style":295},[3838],{"type":51,"value":434},{"type":46,"tag":88,"props":3840,"children":3841},{"style":295},[3842],{"type":51,"value":448},{"type":46,"tag":88,"props":3844,"children":3845},{"style":295},[3846],{"type":51,"value":319},{"type":46,"tag":88,"props":3848,"children":3849},{"style":101},[3850],{"type":51,"value":3851},"slugEditor",{"type":46,"tag":88,"props":3853,"children":3854},{"style":295},[3855],{"type":51,"value":434},{"type":46,"tag":88,"props":3857,"children":3858},{"style":295},[3859],{"type":51,"value":448},{"type":46,"tag":88,"props":3861,"children":3862},{"style":295},[3863],{"type":51,"value":391},{"type":46,"tag":88,"props":3865,"children":3866},{"class":90,"line":394},[3867,3872,3876,3880,3885,3889],{"type":46,"tag":88,"props":3868,"children":3869},{"style":426},[3870],{"type":51,"value":3871},"  helpText",{"type":46,"tag":88,"props":3873,"children":3874},{"style":295},[3875],{"type":51,"value":357},{"type":46,"tag":88,"props":3877,"children":3878},{"style":295},[3879],{"type":51,"value":319},{"type":46,"tag":88,"props":3881,"children":3882},{"style":101},[3883],{"type":51,"value":3884},"URL-friendly identifier",{"type":46,"tag":88,"props":3886,"children":3887},{"style":295},[3888],{"type":51,"value":434},{"type":46,"tag":88,"props":3890,"children":3891},{"style":295},[3892],{"type":51,"value":483},{"type":46,"tag":88,"props":3894,"children":3895},{"class":90,"line":455},[3896,3901,3905,3909,3913,3917],{"type":46,"tag":88,"props":3897,"children":3898},{"style":426},[3899],{"type":51,"value":3900},"  trackingFieldId",{"type":46,"tag":88,"props":3902,"children":3903},{"style":295},[3904],{"type":51,"value":357},{"type":46,"tag":88,"props":3906,"children":3907},{"style":295},[3908],{"type":51,"value":319},{"type":46,"tag":88,"props":3910,"children":3911},{"style":101},[3912],{"type":51,"value":535},{"type":46,"tag":88,"props":3914,"children":3915},{"style":295},[3916],{"type":51,"value":434},{"type":46,"tag":88,"props":3918,"children":3919},{"style":295},[3920],{"type":51,"value":483},{"type":46,"tag":88,"props":3922,"children":3923},{"class":90,"line":486},[3924,3928],{"type":46,"tag":88,"props":3925,"children":3926},{"style":295},[3927],{"type":51,"value":1189},{"type":46,"tag":88,"props":3929,"children":3930},{"style":301},[3931],{"type":51,"value":557},{"type":46,"tag":88,"props":3933,"children":3934},{"class":90,"line":516},[3935],{"type":46,"tag":88,"props":3936,"children":3937},{"emptyLinePlaceholder":334},[3938],{"type":51,"value":337},{"type":46,"tag":88,"props":3940,"children":3941},{"class":90,"line":546},[3942,3946,3950,3954,3958,3962,3967,3971,3975,3979,3983,3987,3991,3995,4000,4004],{"type":46,"tag":88,"props":3943,"children":3944},{"style":301},[3945],{"type":51,"value":1083},{"type":46,"tag":88,"props":3947,"children":3948},{"style":295},[3949],{"type":51,"value":206},{"type":46,"tag":88,"props":3951,"children":3952},{"style":420},[3953],{"type":51,"value":3805},{"type":46,"tag":88,"props":3955,"children":3956},{"style":301},[3957],{"type":51,"value":429},{"type":46,"tag":88,"props":3959,"children":3960},{"style":295},[3961],{"type":51,"value":434},{"type":46,"tag":88,"props":3963,"children":3964},{"style":101},[3965],{"type":51,"value":3966},"category",{"type":46,"tag":88,"props":3968,"children":3969},{"style":295},[3970],{"type":51,"value":434},{"type":46,"tag":88,"props":3972,"children":3973},{"style":295},[3974],{"type":51,"value":448},{"type":46,"tag":88,"props":3976,"children":3977},{"style":295},[3978],{"type":51,"value":319},{"type":46,"tag":88,"props":3980,"children":3981},{"style":101},[3982],{"type":51,"value":3834},{"type":46,"tag":88,"props":3984,"children":3985},{"style":295},[3986],{"type":51,"value":434},{"type":46,"tag":88,"props":3988,"children":3989},{"style":295},[3990],{"type":51,"value":448},{"type":46,"tag":88,"props":3992,"children":3993},{"style":295},[3994],{"type":51,"value":319},{"type":46,"tag":88,"props":3996,"children":3997},{"style":101},[3998],{"type":51,"value":3999},"dropdown",{"type":46,"tag":88,"props":4001,"children":4002},{"style":295},[4003],{"type":51,"value":434},{"type":46,"tag":88,"props":4005,"children":4006},{"style":301},[4007],{"type":51,"value":557},{"type":46,"tag":88,"props":4009,"children":4010},{"class":90,"line":560},[4011,4015,4019,4023,4027,4031,4035,4039,4043,4047,4051,4055,4059,4063,4068,4072,4076,4080,4085,4089,4093,4098,4102,4106],{"type":46,"tag":88,"props":4012,"children":4013},{"style":301},[4014],{"type":51,"value":1083},{"type":46,"tag":88,"props":4016,"children":4017},{"style":295},[4018],{"type":51,"value":206},{"type":46,"tag":88,"props":4020,"children":4021},{"style":420},[4022],{"type":51,"value":3805},{"type":46,"tag":88,"props":4024,"children":4025},{"style":301},[4026],{"type":51,"value":429},{"type":46,"tag":88,"props":4028,"children":4029},{"style":295},[4030],{"type":51,"value":434},{"type":46,"tag":88,"props":4032,"children":4033},{"style":101},[4034],{"type":51,"value":2036},{"type":46,"tag":88,"props":4036,"children":4037},{"style":295},[4038],{"type":51,"value":434},{"type":46,"tag":88,"props":4040,"children":4041},{"style":295},[4042],{"type":51,"value":448},{"type":46,"tag":88,"props":4044,"children":4045},{"style":295},[4046],{"type":51,"value":319},{"type":46,"tag":88,"props":4048,"children":4049},{"style":101},[4050],{"type":51,"value":3834},{"type":46,"tag":88,"props":4052,"children":4053},{"style":295},[4054],{"type":51,"value":434},{"type":46,"tag":88,"props":4056,"children":4057},{"style":295},[4058],{"type":51,"value":448},{"type":46,"tag":88,"props":4060,"children":4061},{"style":295},[4062],{"type":51,"value":319},{"type":46,"tag":88,"props":4064,"children":4065},{"style":101},[4066],{"type":51,"value":4067},"datePicker",{"type":46,"tag":88,"props":4069,"children":4070},{"style":295},[4071],{"type":51,"value":434},{"type":46,"tag":88,"props":4073,"children":4074},{"style":295},[4075],{"type":51,"value":448},{"type":46,"tag":88,"props":4077,"children":4078},{"style":295},[4079],{"type":51,"value":298},{"type":46,"tag":88,"props":4081,"children":4082},{"style":426},[4083],{"type":51,"value":4084}," format",{"type":46,"tag":88,"props":4086,"children":4087},{"style":295},[4088],{"type":51,"value":357},{"type":46,"tag":88,"props":4090,"children":4091},{"style":295},[4092],{"type":51,"value":319},{"type":46,"tag":88,"props":4094,"children":4095},{"style":101},[4096],{"type":51,"value":4097},"dateonly",{"type":46,"tag":88,"props":4099,"children":4100},{"style":295},[4101],{"type":51,"value":434},{"type":46,"tag":88,"props":4103,"children":4104},{"style":295},[4105],{"type":51,"value":309},{"type":46,"tag":88,"props":4107,"children":4108},{"style":301},[4109],{"type":51,"value":557},{"type":46,"tag":54,"props":4111,"children":4112},{},[4113,4115,4120,4121,4127,4129,4135],{"type":51,"value":4114},"Widget namespaces: ",{"type":46,"tag":60,"props":4116,"children":4118},{"className":4117},[],[4119],{"type":51,"value":3834},{"type":51,"value":2279},{"type":46,"tag":60,"props":4122,"children":4124},{"className":4123},[],[4125],{"type":51,"value":4126},"extension",{"type":51,"value":4128}," (UI extensions), ",{"type":46,"tag":60,"props":4130,"children":4132},{"className":4131},[],[4133],{"type":51,"value":4134},"app",{"type":51,"value":4136}," (custom apps).",{"type":46,"tag":54,"props":4138,"children":4139},{},[4140,4141,4147],{"type":51,"value":2396},{"type":46,"tag":116,"props":4142,"children":4144},{"href":4143},"references\u002Fapi-reference.md#editor-interface",[4145],{"type":51,"value":4146},"API Reference — Editor Interface",{"type":51,"value":4148}," for all built-in widgets and their settings.",{"type":46,"tag":124,"props":4150,"children":4152},{"id":4151},"best-practices",[4153],{"type":51,"value":4154},"Best Practices",{"type":46,"tag":829,"props":4156,"children":4157},{},[4158,4189,4199,4209,4225,4235,4245],{"type":46,"tag":140,"props":4159,"children":4160},{},[4161,4166,4168,4174,4175,4181,4182,4188],{"type":46,"tag":71,"props":4162,"children":4163},{},[4164],{"type":51,"value":4165},"Number migration files sequentially:",{"type":51,"value":4167}," ",{"type":46,"tag":60,"props":4169,"children":4171},{"className":4170},[],[4172],{"type":51,"value":4173},"001-create-blog-post.ts",{"type":51,"value":2279},{"type":46,"tag":60,"props":4176,"children":4178},{"className":4177},[],[4179],{"type":51,"value":4180},"002-add-author-field.ts",{"type":51,"value":2279},{"type":46,"tag":60,"props":4183,"children":4185},{"className":4184},[],[4186],{"type":51,"value":4187},"003-transform-categories.ts",{"type":51,"value":206},{"type":46,"tag":140,"props":4190,"children":4191},{},[4192,4197],{"type":46,"tag":71,"props":4193,"children":4194},{},[4195],{"type":51,"value":4196},"One logical change per migration.",{"type":51,"value":4198}," Easier to debug, revert, and review.",{"type":46,"tag":140,"props":4200,"children":4201},{},[4202,4207],{"type":46,"tag":71,"props":4203,"children":4204},{},[4205],{"type":51,"value":4206},"Always test in a sandbox environment",{"type":51,"value":4208}," before running against production.",{"type":46,"tag":140,"props":4210,"children":4211},{},[4212,4223],{"type":46,"tag":71,"props":4213,"children":4214},{},[4215,4217],{"type":51,"value":4216},"Use ",{"type":46,"tag":60,"props":4218,"children":4220},{"className":4219},[],[4221],{"type":51,"value":4222},"shouldPublish: 'preserve'",{"type":51,"value":4224}," (the default) to maintain existing publish states during transforms.",{"type":46,"tag":140,"props":4226,"children":4227},{},[4228,4233],{"type":46,"tag":71,"props":4229,"children":4230},{},[4231],{"type":51,"value":4232},"Prefer chaining over object notation",{"type":51,"value":4234}," — chaining gives line-level error messages.",{"type":46,"tag":140,"props":4236,"children":4237},{},[4238,4243],{"type":46,"tag":71,"props":4239,"children":4240},{},[4241],{"type":51,"value":4242},"Split data transforms from schema changes.",{"type":51,"value":4244}," First migration changes the schema, second transforms data. This makes each step independently verifiable.",{"type":46,"tag":140,"props":4246,"children":4247},{},[4248,4258],{"type":46,"tag":71,"props":4249,"children":4250},{},[4251,4252],{"type":51,"value":4216},{"type":46,"tag":60,"props":4253,"children":4255},{"className":4254},[],[4256],{"type":51,"value":4257},"context.makeRequest",{"type":51,"value":4259}," sparingly — only when the migration API doesn't cover your use case.",{"type":46,"tag":124,"props":4261,"children":4263},{"id":4262},"common-mistakes",[4264],{"type":51,"value":4265},"Common Mistakes",{"type":46,"tag":136,"props":4267,"children":4268},{},[4269,4300,4316,4354,4372,4397],{"type":46,"tag":140,"props":4270,"children":4271},{},[4272,4284,4285,4291,4293,4298],{"type":46,"tag":71,"props":4273,"children":4274},{},[4275,4277,4282],{"type":51,"value":4276},"Forgetting ",{"type":46,"tag":60,"props":4278,"children":4280},{"className":4279},[],[4281],{"type":51,"value":2315},{"type":51,"value":4283}," on Array fields.",{"type":51,"value":4167},{"type":46,"tag":60,"props":4286,"children":4288},{"className":4287},[],[4289],{"type":51,"value":4290},"type: 'Array'",{"type":51,"value":4292}," requires an ",{"type":46,"tag":60,"props":4294,"children":4296},{"className":4295},[],[4297],{"type":51,"value":2315},{"type":51,"value":4299}," property specifying the element type.",{"type":46,"tag":140,"props":4301,"children":4302},{},[4303,4308,4310,4315],{"type":46,"tag":71,"props":4304,"children":4305},{},[4306],{"type":51,"value":4307},"Deleting a content type with entries.",{"type":51,"value":4309}," You must delete all entries first, or move them with ",{"type":46,"tag":60,"props":4311,"children":4313},{"className":4312},[],[4314],{"type":51,"value":1392},{"type":51,"value":206},{"type":46,"tag":140,"props":4317,"children":4318},{},[4319,4331,4332,4338,4340,4346,4347,4353],{"type":46,"tag":71,"props":4320,"children":4321},{},[4322,4324,4329],{"type":51,"value":4323},"Missing ",{"type":46,"tag":60,"props":4325,"children":4327},{"className":4326},[],[4328],{"type":51,"value":2350},{"type":51,"value":4330}," on Link fields.",{"type":51,"value":4167},{"type":46,"tag":60,"props":4333,"children":4335},{"className":4334},[],[4336],{"type":51,"value":4337},"type: 'Link'",{"type":51,"value":4339}," requires ",{"type":46,"tag":60,"props":4341,"children":4343},{"className":4342},[],[4344],{"type":51,"value":4345},"linkType: 'Asset'",{"type":51,"value":1000},{"type":46,"tag":60,"props":4348,"children":4350},{"className":4349},[],[4351],{"type":51,"value":4352},"linkType: 'Entry'",{"type":51,"value":206},{"type":46,"tag":140,"props":4355,"children":4356},{},[4357,4362,4364,4370],{"type":46,"tag":71,"props":4358,"children":4359},{},[4360],{"type":51,"value":4361},"Running against master.",{"type":51,"value":4363}," Always test in a sandbox environment. Use ",{"type":46,"tag":60,"props":4365,"children":4367},{"className":4366},[],[4368],{"type":51,"value":4369},"--environment-id sandbox",{"type":51,"value":4371}," on the CLI.",{"type":46,"tag":140,"props":4373,"children":4374},{},[4375,4380,4381,4387,4389,4395],{"type":46,"tag":71,"props":4376,"children":4377},{},[4378],{"type":51,"value":4379},"Not handling missing locales in transforms.",{"type":51,"value":4167},{"type":46,"tag":60,"props":4382,"children":4384},{"className":4383},[],[4385],{"type":51,"value":4386},"transformEntryForLocale",{"type":51,"value":4388}," is called for every locale — return ",{"type":46,"tag":60,"props":4390,"children":4392},{"className":4391},[],[4393],{"type":51,"value":4394},"undefined",{"type":51,"value":4396}," to skip.",{"type":46,"tag":140,"props":4398,"children":4399},{},[4400,4412,4414,4419],{"type":46,"tag":71,"props":4401,"children":4402},{},[4403,4405,4410],{"type":51,"value":4404},"Setting ",{"type":46,"tag":60,"props":4406,"children":4408},{"className":4407},[],[4409],{"type":51,"value":1309},{"type":51,"value":4411}," to a non-Symbol field.",{"type":51,"value":4413}," The display field must be of type ",{"type":46,"tag":60,"props":4415,"children":4417},{"className":4416},[],[4418],{"type":51,"value":664},{"type":51,"value":206},{"type":46,"tag":124,"props":4421,"children":4423},{"id":4422},"references",[4424],{"type":51,"value":4425},"References",{"type":46,"tag":136,"props":4427,"children":4428},{},[4429,4440,4451],{"type":46,"tag":140,"props":4430,"children":4431},{},[4432,4438],{"type":46,"tag":116,"props":4433,"children":4435},{"href":4434},"references\u002Fapi-reference.md",[4436],{"type":51,"value":4437},"API Reference",{"type":51,"value":4439}," — complete migration API surface",{"type":46,"tag":140,"props":4441,"children":4442},{},[4443,4449],{"type":46,"tag":116,"props":4444,"children":4446},{"href":4445},"references\u002Fpatterns.md",[4447],{"type":51,"value":4448},"Patterns",{"type":51,"value":4450}," — common migration examples",{"type":46,"tag":140,"props":4452,"children":4453},{},[4454,4458],{"type":46,"tag":116,"props":4455,"children":4456},{"href":899},[4457],{"type":51,"value":902},{"type":51,"value":4459}," — CLI, programmatic API, CI\u002FCD",{"type":46,"tag":124,"props":4461,"children":4463},{"id":4462},"related-skills",[4464],{"type":51,"value":4465},"Related Skills",{"type":46,"tag":136,"props":4467,"children":4468},{},[4469,4474],{"type":46,"tag":140,"props":4470,"children":4471},{},[4472],{"type":51,"value":4473},"the contentful-guide skill — Contentful concepts, terminology, API routing",{"type":46,"tag":140,"props":4475,"children":4476},{},[4477],{"type":51,"value":4478},"the contentful-nextjs skill — Next.js integration with Contentful",{"type":46,"tag":4480,"props":4481,"children":4482},"style",{},[4483],{"type":51,"value":4484},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4486,"total":516},[4487,4501,4512,4524,4538,4545,4560],{"slug":4488,"name":4488,"fn":4489,"description":4490,"org":4491,"tags":4492,"stars":23,"repoUrl":24,"updatedAt":4500},"contentful-api","integrate Contentful REST and GraphQL APIs","Comprehensive Contentful REST API guide. Covers Content Management API (CMA) for creating\u002Fupdating content, Content Delivery API (CDA) for fetching published content, Preview API, Images API, and GraphQL API. All examples use curl\u002FHTTP — language-agnostic.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4493,4496,4497],{"name":4494,"slug":4495,"type":13},"API Development","api-development",{"name":15,"slug":16,"type":13},{"name":4498,"slug":4499,"type":13},"GraphQL","graphql","2026-07-12T08:47:43.592187",{"slug":4502,"name":4502,"fn":4503,"description":4504,"org":4505,"tags":4506,"stars":23,"repoUrl":24,"updatedAt":4511},"contentful-custom-app-enhancement","enhance and debug Contentful custom apps","Improve, debug, and extend an existing Contentful App Framework custom app in a customer's own repository. Use when users provide a bug report, feature request, support note, customer feedback, or direct change request for an existing custom app, including app configuration, sidebar, field editor, dialog, page, home, App Action, Function, installation parameters, local validation, or PR preparation. Also triggers on \"fix my Contentful app\", \"improve a custom app\", \"enhance App Framework app\", \"debug custom app\", \"update sidebar app\", and \"custom app feature request\". Not for creating a brand new app from scratch (contentful-custom-app-from-scratch), generic API examples (contentful-api), migrations (contentful-migration), or website integration (contentful-nextjs).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4507,4508],{"name":15,"slug":16,"type":13},{"name":4509,"slug":4510,"type":13},"Debugging","debugging","2026-07-12T08:48:03.887678",{"slug":4513,"name":4513,"fn":4514,"description":4515,"org":4516,"tags":4517,"stars":23,"repoUrl":24,"updatedAt":4523},"contentful-custom-app-from-scratch","build custom Contentful App Framework apps","Design, scaffold, build, and validate a new Contentful App Framework custom app for a customer's own repository or workspace. Use when users want to create a custom app from an idea, choose App Framework locations, build a sidebar app, field editor app, page app, dialog, configuration screen, App Action, or Function-backed app, scaffold with create-contentful-app, or make a locally testable app for an organization-specific Contentful workflow. Also triggers on \"build a Contentful app\", \"custom app from scratch\", \"App Framework app\", \"sidebar app\", \"field editor app\", \"page app\", \"app action\", and \"app function\". Not for generic Contentful API examples (contentful-api), content model migrations (contentful-migration), or website integration (contentful-nextjs).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4518,4521,4522],{"name":4519,"slug":4520,"type":13},"Architecture","architecture",{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},"2026-07-12T08:48:05.103951",{"slug":4525,"name":4525,"fn":4526,"description":4527,"org":4528,"tags":4529,"stars":23,"repoUrl":24,"updatedAt":4537},"contentful-guide","guide Contentful implementation and concepts","Explain core Contentful concepts and route users to the right implementation skill or documentation. Use when users ask conceptual questions, need terminology clarified, want help choosing between APIs (CDA\u002FCMA\u002FCPA\u002FGraphQL), or need guidance on the Contentful MCP server. Also triggers on \"Contentful 101\", \"which Contentful API\", \"how do I get started\", \"which skill should I use\", \"what does X mean in Contentful\", \"Contentful glossary\", \"CDA vs CPA\", \"CDA vs GraphQL\", \"how does Contentful work\", \"Contentful architecture\", \"explain environments\", \"what are aliases\", \"content model design\", \"headless CMS\", \"Contentful MCP\", \"MCP server\", \"set up MCP\", \"Remix Contentful\", \"Astro Contentful\", \"Gatsby Contentful\", \"SvelteKit Contentful\", \"Nuxt Contentful\". Not for framework-specific implementation (contentful-nextjs), migrations (contentful-migration), personalization (contentful-personalization), or hands-on REST\u002FGraphQL request examples (contentful-api).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4530,4531,4534],{"name":15,"slug":16,"type":13},{"name":4532,"slug":4533,"type":13},"Documentation","documentation",{"name":4535,"slug":4536,"type":13},"Reference","reference","2026-07-12T08:47:45.041396",{"slug":4,"name":4,"fn":5,"description":6,"org":4539,"tags":4540,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4541,4542,4543,4544],{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"slug":4546,"name":4546,"fn":4547,"description":4548,"org":4549,"tags":4550,"stars":23,"repoUrl":24,"updatedAt":4559},"contentful-nextjs","integrate Contentful into Next.js applications","Add and configure Contentful in an existing Next.js project. Covers installing the JavaScript SDK, configuring environment variables, creating production and preview-aware clients, fetching content in App Router or Pages Router, and wiring Draft Mode preview flows. Use when users ask to integrate Contentful with Next.js, fetch entries, set up preview or draft content, or configure the Contentful client. Also triggers on \"Contentful SDK Next.js\", \"contentful.js\", \"fetch Contentful entries\", \"get content from Contentful\", \"Contentful preview\", \"preview mode\", \"Contentful environment variables\", \"Contentful client setup\", \"create Contentful client\", \"Pages Router Contentful\", \"getStaticProps Contentful\", \"Server Components Contentful\", \"revalidate Contentful\", \"ISR Contentful\". Not for personalization or Experiences SDK setup (contentful-personalization). Not for non-Next.js frameworks (contentful-guide can route to platform docs).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4551,4552,4553,4556],{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":4554,"slug":4555,"type":13},"Frontend","frontend",{"name":4557,"slug":4558,"type":13},"Next.js","next-js","2026-07-12T08:47:49.223411",{"slug":4561,"name":4561,"fn":4562,"description":4563,"org":4564,"tags":4565,"stars":23,"repoUrl":24,"updatedAt":4570},"contentful-personalization","build and debug Contentful personalization","Implement, extend, and debug Contentful personalization. Use onboarding for new, project-wide, or unknown setups; use extend-existing only for scoped work on an explicitly working integration. Trigger keywords: personalization, optimization, ninetailed, A\u002FB test, experiment, multivariate test, targeting, audience targeting, segments, variants, content variants, set up personalization, implement personalization, enable personalization, personalization not working, personalization broken, personalize this component, am I ready for personalization, experience API, Contentful Experiences, Experiences SDK, Studio Experiences, personalization in Next.js, @contentful\u002Foptimization, @ninetailed\u002Fexperience.js, run an experiment, check this URL, debug this live page, inspect network requests, check console errors, experience.ninetailed.co",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4566,4567,4568,4569],{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":4509,"slug":4510,"type":13},{"name":4554,"slug":4555,"type":13},"2026-08-01T05:44:01.030731",{"items":4572,"total":546},[4573,4585,4591,4596,4602,4608,4615,4622],{"slug":4574,"name":4574,"fn":4575,"description":4576,"org":4577,"tags":4578,"stars":4582,"repoUrl":4583,"updatedAt":4584},"contentful-help","configure and diagnose Contentful projects","Diagnose, configure, and look up Contentful topics. Trigger keywords: contentful help, contentful doctor, contentful setup",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4579,4580,4581],{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":4532,"slug":4533,"type":13},61,"https:\u002F\u002Fgithub.com\u002Fcontentful\u002Fskill-kit","2026-07-12T08:48:00.085365",{"slug":4488,"name":4488,"fn":4489,"description":4490,"org":4586,"tags":4587,"stars":23,"repoUrl":24,"updatedAt":4500},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4588,4589,4590],{"name":4494,"slug":4495,"type":13},{"name":15,"slug":16,"type":13},{"name":4498,"slug":4499,"type":13},{"slug":4502,"name":4502,"fn":4503,"description":4504,"org":4592,"tags":4593,"stars":23,"repoUrl":24,"updatedAt":4511},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4594,4595],{"name":15,"slug":16,"type":13},{"name":4509,"slug":4510,"type":13},{"slug":4513,"name":4513,"fn":4514,"description":4515,"org":4597,"tags":4598,"stars":23,"repoUrl":24,"updatedAt":4523},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4599,4600,4601],{"name":4519,"slug":4520,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"slug":4525,"name":4525,"fn":4526,"description":4527,"org":4603,"tags":4604,"stars":23,"repoUrl":24,"updatedAt":4537},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4605,4606,4607],{"name":15,"slug":16,"type":13},{"name":4532,"slug":4533,"type":13},{"name":4535,"slug":4536,"type":13},{"slug":4,"name":4,"fn":5,"description":6,"org":4609,"tags":4610,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4611,4612,4613,4614],{"name":18,"slug":19,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":21,"slug":22,"type":13},{"slug":4546,"name":4546,"fn":4547,"description":4548,"org":4616,"tags":4617,"stars":23,"repoUrl":24,"updatedAt":4559},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4618,4619,4620,4621],{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":4554,"slug":4555,"type":13},{"name":4557,"slug":4558,"type":13},{"slug":4561,"name":4561,"fn":4562,"description":4563,"org":4623,"tags":4624,"stars":23,"repoUrl":24,"updatedAt":4570},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4625,4626,4627,4628],{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":4509,"slug":4510,"type":13},{"name":4554,"slug":4555,"type":13}]