GraphQL View
Adds a GraphQL view with IDE support to Payload collections and globals.
Installation
pnpm add @innovixx/payload-graphql-view-plugin About
The GraphQL View Plugin integrates into the Payload CMS interface, allowing users to interact with their collections and globals using GraphQL. This plugin provides a GraphQL IDE, enabling users to run queries directly within the Payload admin panel. Users can specify which collections or globals to add the GraphQL view to, providing flexibility in its implementation. To use this plugin, include it in your Payload config file and specify the collections or globals as needed. Users can override the GraphQL endpoint URL if required. The plugin supports TypeScript, making it easier for developers to integrate and customize it within their Payload projects. This plugin does not require extensive configuration to set up. Basic usage involves importing the plugin, defining it in the `plugins` array, and optionally providing an array of collection and global slugs to enable the GraphQL view for those entities.
Package info
- Package name
@innovixx/payload-graphql-view-plugin- Latest version
0.1.4- Unpacked size
- 44 kB
- License
- MIT
- Weekly downloads
- 3
- Last publish
- Feb 18, 2024
More from innovixx
View profileSimilar plugins
More in DevtoolsOpenAPI
Autogenerate an OpenAPI specification from a Payload CMS instance and render it with Swagger UI, Redoc, RapiDoc, or Scalar.
Puck visual page builder
Integrate Puck visual page builder with Payload CMS for drag-and-drop editing.
Create Ideal CMS
Interactive CLI that scaffolds a production-ready Payload CMS monorepo preconfigured with FocusReactive plugins.
Dry Run
Test Payload create operations end-to-end without persisting, by rolling back the transaction after hooks and validation run.
OpenAPI
Generates OpenAPI specifications from Payload CMS configurations.
Repository
Wrapper around Payload's Local API providing repository operations.