amplience-graphql-codegen-json

JSON →
library 1.2.0 ·javascript
verified Jun 7, 2026

GraphQL Codegen plugin that generates Amplience JSON content type schemas from GraphQL schemas using the @amplienceContentType directive. Current stable version 1.2.0, supports Node >=18. This plugin transforms GraphQL types annotated with @amplienceContentType into JSON schema files for Amplience CMS. Unlike generic codegen plugins, it supports Amplience-specific directives like @amplienceText, @amplienceNumber, @amplienceLink, @amplienceReference, and scalars AmplienceImage/AmplienceVideo. It integrates with GraphQL Codegen presets and is typically used in CI/CD pipelines to generate Terraform-ready content type definitions.