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
- 21
- Last publish
- Feb 18, 2024
More from innovixx
View profileSimilar plugins
More in DevtoolsResolve alias webpack helper
Payload plugin that injects webpack resolve aliases to stub out server-only modules in the admin bundle.
OpenAPI
Generates OpenAPI specifications from Payload CMS configurations.
Query
Type-safe query filters and field selection for Payload, with a REST select parameter plugin.
create api docs
Generate OpenAPI 3 documentation for Payload CMS.
Swagger
Swagger plugin for Payload CMS that generates OpenAPI documentation.
OpenAPI
Generate OpenAPI 3 documentation for Payload CMS endpoints.