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
- 1
- Last publish
- Feb 18, 2024
More from innovixx
View profileSimilar plugins
More in DevtoolsREST Client
A typesafe REST API client for Payload CMS.
Integration Test Utils
Provides integration test helpers for a ready-to-use Payload instance in vitest.
Repository
Wrapper around Payload's Local API providing repository operations.
Utilities
Utility functions for Payload CMS to handle validation, ID extraction, and document resolution.
Assist
Provides utilities for DTO management and validation hooks in Payload CMS.
payload-cli
CLI for direct access to PayloadCMS data for AI agents and humans.