Pre-installed Modules

Every decoupled.io space comes with these Drupal modules pre-configured for headless CMS functionality.

API Modules

GraphQL

Automatically generates a GraphQL schema from your content types for flexible, type-safe queries.

  • Auto-generated schema from content types
  • Field-level selection
  • Nested relationships
  • GraphiQL explorer at /graphql/explorer

JSON:API

RESTful API following the JSON:API specification for standard CRUD operations.

  • Standard REST endpoints
  • Filtering and sorting
  • Include related resources
  • Sparse fieldsets

Simple OAuth

OAuth 2.0 authentication for secure API access from your Next.js frontend.

  • Client credentials flow
  • Pre-configured consumer
  • Scoped permissions

Next.js Integration

Custom module for on-demand revalidation and Next.js-specific features.

  • On-demand revalidation endpoint
  • Automatic cache purging
  • Preview mode support

Content Modules

Media Library

Centralized media management with automatic image optimization.

  • Image, video, document support
  • Automatic WebP conversion
  • Responsive image styles
  • Alt text and metadata

Paragraphs

Flexible content components for building rich, structured pages.

  • Reusable content components
  • Nested paragraph support
  • Drag-and-drop reordering

Pathauto

Automatic URL alias generation based on content patterns.

  • Auto-generated URL aliases
  • Pattern-based aliases (e.g., /blog/[title])
  • Bulk alias generation

Redirect

URL redirect management for SEO and content migrations.

  • 301/302 redirects
  • Automatic redirects on path change
  • Import/export redirects

Editorial Modules

Content Moderation

Publishing workflows with draft, review, and published states.

  • Draft > Review > Published workflow
  • Role-based state transitions
  • Revision history

Scheduler

Schedule content to publish or unpublish at specific times.

  • Scheduled publishing
  • Scheduled unpublishing
  • Per-content-type settings

Performance Modules

Caching:

  • Dynamic Page Cache
  • Internal Page Cache
  • Render caching

Optimization:

  • CSS/JS aggregation
  • Image optimization
  • Lazy loading

Database:

  • Query optimization
  • Entity caching
  • BigPipe streaming

Content Import Module

decoupled.io includes a custom content import module that allows you to create content types and import sample data from JSON.

  • CLI Import -- npx decoupled-cli@latest content import --file data.json
  • MCP Import -- Use the import_content tool from AI assistants
  • Starter Templates -- Use npm run setup-content in starter templates

Config Import Module

decoupled.io includes a custom config import module that allows you to import Drupal configuration YAML -- views, image styles, roles, menus, display modes, and more -- via the API, CLI, or MCP.

  • CLI Import -- npx decoupled-cli@latest config-import import --file config.json
  • MCP Import -- Use the import_config tool from AI assistants
  • Safe by Default -- Allowlist of safe config prefixes (views, image styles, roles, etc.) with dangerous configs blocked
  • Preview Mode -- Validate config YAML without applying changes using the --preview flag