Adds a GraphQL view with an embedded GraphQL IDE to Payload collections and globals in the admin panel. It is registered in the plugins array and can be limited to chosen collection or global slugs, otherwise it applies to all. The GraphQL endpoint URL can be overridden. Built for Payload 2.x.
payload-graphql-view-plugin
Installation
npm i @innovixx/payload-graphql-view-plugin5
Stars
0
Forks
1
Open Issues
2 years ago
Last Updated
33
Weekly Downloads
v0.1.4
npm Version
43.9 KB
Unpacked Size
4
Dependencies
50 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 5 |
| Dec 4, 2026 | 5 |
| Dec 3, 2026 | 5 |
| Dec 2, 2026 | 5 |
| Dec 1, 2026 | 5 |
| Nov 30, 2026 | 5 |
| Nov 29, 2026 | 5 |
| Nov 28, 2026 | 5 |
| Nov 27, 2026 | 5 |
| Nov 26, 2026 | 5 |
| Nov 25, 2026 | 5 |
| Nov 24, 2026 | 5 |
| Nov 23, 2026 | 5 |
| Nov 22, 2026 | 5 |
| Nov 21, 2026 | 5 |
| Nov 20, 2026 | 5 |
| Nov 19, 2026 | 5 |
| Nov 18, 2026 | 5 |
| Nov 17, 2026 | 5 |
| Nov 16, 2026 | 5 |
| Nov 15, 2026 | 5 |
| Nov 14, 2026 | 5 |
| Nov 13, 2026 | 5 |
| Nov 12, 2026 | 5 |
| Nov 11, 2026 | 5 |
| Nov 10, 2026 | 5 |
| Nov 9, 2026 | 5 |
| Nov 8, 2026 | 5 |
| Nov 7, 2026 | 5 |
| Nov 6, 2026 | 5 |
| Nov 5, 2026 | 5 |
| Nov 4, 2026 | 5 |
| Nov 3, 2026 | 5 |
| Nov 2, 2026 | 5 |
| Nov 1, 2026 | 5 |
| Oct 31, 2026 | 5 |
| Oct 30, 2026 | 5 |
| Oct 29, 2026 | 5 |
| Oct 28, 2026 | 5 |
| Oct 27, 2026 | 5 |
| Oct 26, 2026 | 5 |
| Oct 25, 2026 | 5 |
| Oct 24, 2026 | 5 |
| Oct 23, 2026 | 5 |
| Oct 22, 2026 | 5 |
| Oct 21, 2026 | 5 |
| Oct 20, 2026 | 5 |
| Oct 19, 2026 | 5 |
| Oct 18, 2026 | 5 |
| Oct 17, 2026 | 5 |
| Oct 16, 2026 | 5 |
| Oct 15, 2026 | 5 |
| Oct 14, 2026 | 5 |
| Oct 13, 2026 | 5 |
| Oct 12, 2026 | 5 |
| Oct 11, 2026 | 5 |
| Oct 10, 2026 | 5 |
| Oct 9, 2026 | 5 |
| Oct 8, 2026 | 5 |
| Oct 7, 2026 | 5 |
| Oct 6, 2026 | 5 |
| Oct 5, 2026 | 5 |
| Oct 4, 2026 | 5 |
| Oct 3, 2026 | 5 |
| Oct 2, 2026 | 5 |
| Oct 1, 2026 | 5 |
| Sep 30, 2026 | 5 |
| Sep 29, 2026 | 5 |
| Sep 28, 2026 | 5 |
| Sep 27, 2026 | 5 |
| Sep 26, 2026 | 5 |
| Sep 25, 2026 | 5 |
| Sep 24, 2026 | 5 |
| Sep 23, 2026 | 5 |
| Sep 22, 2026 | 5 |
| Sep 21, 2026 | 5 |
| Sep 20, 2026 | 5 |
| Sep 19, 2026 | 5 |
| Sep 18, 2026 | 5 |
| Sep 17, 2026 | 5 |
| Sep 16, 2026 | 5 |
| Sep 15, 2026 | 5 |
| Sep 14, 2026 | 5 |
| Sep 13, 2026 | 5 |
| Sep 12, 2026 | 5 |
| Sep 11, 2026 | 5 |
| Sep 10, 2026 | 5 |
| Sep 9, 2026 | 5 |
| Sep 8, 2026 | 5 |
| Sep 7, 2026 | 5 |
| Sep 6, 2026 | 5 |
34+25 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 34 |
| Dec 4, 2026 | 15 |
| Dec 3, 2026 | 16 |
| Dec 2, 2026 | 15 |
| Dec 1, 2026 | 7 |
| Nov 30, 2026 | 10 |
| Nov 29, 2026 | 20 |
| Nov 28, 2026 | 20 |
| Nov 27, 2026 | 22 |
| Nov 26, 2026 | 20 |
| Nov 25, 2026 | 20 |
| Nov 24, 2026 | 18 |
| Nov 23, 2026 | 15 |
| Nov 22, 2026 | 7 |
| Nov 21, 2026 | 7 |
| Nov 20, 2026 | 4 |
| Nov 19, 2026 | 4 |
| Nov 18, 2026 | 20 |
| Nov 17, 2026 | 19 |
| Nov 16, 2026 | 20 |
| Nov 15, 2026 | 19 |
| Nov 14, 2026 | 19 |
| Nov 13, 2026 | 19 |
| Nov 12, 2026 | 19 |
| Nov 11, 2026 | 3 |
| Nov 10, 2026 | 14 |
| Nov 9, 2026 | 13 |
| Nov 8, 2026 | 12 |
| Nov 7, 2026 | 21 |
| Nov 6, 2026 | 22 |
| Nov 5, 2026 | 23 |
| Nov 4, 2026 | 25 |
| Nov 3, 2026 | 18 |
| Nov 2, 2026 | 18 |
| Nov 1, 2026 | 18 |
| Oct 31, 2026 | 8 |
| Oct 30, 2026 | 7 |
| Oct 29, 2026 | 6 |
| Oct 28, 2026 | 4 |
| Oct 27, 2026 | 0 |
| Oct 26, 2026 | 12 |
| Oct 25, 2026 | 13 |
| Oct 24, 2026 | 13 |
| Oct 23, 2026 | 13 |
| Oct 22, 2026 | 16 |
| Oct 21, 2026 | 16 |
| Oct 20, 2026 | 16 |
| Oct 19, 2026 | 4 |
| Oct 18, 2026 | 3 |
| Oct 17, 2026 | 4 |
| Oct 16, 2026 | 5 |
| Oct 15, 2026 | 2 |
| Oct 14, 2026 | 2 |
| Oct 13, 2026 | 2 |
| Oct 12, 2026 | 2 |
| Oct 11, 2026 | 3 |
| Oct 10, 2026 | 2 |
| Oct 9, 2026 | 1 |
| Oct 8, 2026 | 1 |
| Oct 7, 2026 | 1 |
| Oct 6, 2026 | 2 |
| Oct 5, 2026 | 2 |
| Oct 4, 2026 | 2 |
| Oct 3, 2026 | 2 |
| Oct 2, 2026 | 3 |
| Oct 1, 2026 | 3 |
| Sep 30, 2026 | 3 |
| Sep 29, 2026 | 2 |
| Sep 28, 2026 | 2 |
| Sep 27, 2026 | 2 |
| Sep 26, 2026 | 6 |
| Sep 25, 2026 | 5 |
| Sep 24, 2026 | 5 |
| Sep 23, 2026 | 5 |
| Sep 22, 2026 | 6 |
| Sep 21, 2026 | 16 |
| Sep 20, 2026 | 15 |
| Sep 19, 2026 | 11 |
| Sep 18, 2026 | 12 |
| Sep 17, 2026 | 13 |
| Sep 16, 2026 | 13 |
| Sep 15, 2026 | 13 |
| Sep 14, 2026 | 4 |
| Sep 13, 2026 | 4 |
| Sep 12, 2026 | 5 |
| Sep 11, 2026 | 4 |
| Sep 10, 2026 | 3 |
| Sep 9, 2026 | 5 |
| Sep 8, 2026 | 9 |
| Sep 7, 2026 | 9 |
| Sep 6, 2026 | 9 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/703617268-root)<a href="https://payloaddirectory.dev/plugins/703617268-root"><img src="https://payloaddirectory.dev/badge/703617268-root.svg" alt="Payload Directory"></a>README
A plugin for Payload that adds a graphql view with a graphql IDE to collections and globals.
Core features:
yarn add @innovixx/payload-graphql-view-plugin
# OR
npm i @innovixx/payload-graphql-view-plugin
In the plugins array of your Payload config, call the plugin with options:
import { buildConfig } from 'payload/config';
import GraphqlPlugin from '@innovixx/payload-graphql-view-plugin';
const config = buildConfig({
collections: [
{
slug: 'pages',
fields: []
},
{
slug: 'media',
upload: {
staticDir: // path to your static directory,
},
fields: []
}
],
plugins: [
GraphqlPlugin({
collections: ['pages']
})
]
});
export default config;
collections : string[] | optional
An array of collection slugs to add the Grapqhl view onto. If not provided, the Grapqhl view will be added to all collections.
globals : string[] | optional
An array of global slugs to add the Grapqhl view onto. If not provided, the Grapqhl view will be added to all globals.
graphqlUrl : string | optional
Override url to the graphql endpoint.
All types can be directly imported:
import {
PluginConfig,
} from '@innovixx/payload-graphql-view-plugin/types';
To actively develop or debug this plugin you can either work directly within the demo directory of this repo, or link your own project.
This repo includes a fully working, self-seeding instance of Payload that installs the plugin directly from the source code. This is the easiest way to get started. To spin up this demo, follow these steps:
cd YOUR_PLUGIN_REPO && yarn && cd demo && yarn && yarn cleanDevhttp://localhost:3000/admin in your browser[email protected] and password Pa$$w0rd!That's it! Changes made in ./src will be reflected in your demo. Keep in mind that the demo database is automatically seeded on every startup, any changes you make to the data get destroyed each time you reboot the app.
You can alternatively link your own project to the source code:
cd YOUR_PLUGIN_REPO && yarn && cd demo && cp env.example .env && yarn && yarn devcd back into your own project and run, yarn link @innovixx/payload-graphql-view-plugincd node_modules/react && yarn link && cd ../react-dom && yarn link && cd ../../cd YOUR_PLUGIN_REPO && yarn link react react-domAll set! You can now boot up your own project as normal, and your local copy of the plugin source code will be used. Keep in mind that changes to the source code require a rebuild, yarn build.
You might also need to alias these modules in your Webpack config. To do this, open your project's Payload config and add the following:
import { buildConfig } from "payload/config";
export default buildConfig({
admin: {
webpack: (config) => ({
...config,
resolve: {
...config.resolve,
alias: {
...config.resolve.alias,
react: path.join(__dirname, "../node_modules/react"),
"react-dom": path.join(__dirname, "../node_modules/react-dom"),
payload: path.join(__dirname, "../node_modules/payload"),
"@innovixx/payload-graphql-view-plugin": path.join(
__dirname,
"../../payload/payload-graphql-view-plugin/src"
),
},
},
}),
},
});
mcp
Adds Model Context Protocol capabilities to a Payload application
98275.9k/wk46.1kv3 v4
fields select
Select specific fields in Local API and REST API responses, similar to GraphQL
4839/wk335v3
payload rest client
Typesafe REST API client for Payload collections, globals, auth and custom endpoints
43956/wk49v?
create api docs
CLI that generates OpenAPI 3 documentation for a Payload CMS project
4348/wk143v1
payload operations
Typed custom RPC operations for Payload with shared Zod contracts, server endpoints and type-safe clients
77208/wk3v3
payload oapi
Generate an OpenAPI spec from your Payload config with optional documentation UIs
7631.1k/wk125v3