{"_id":"@graphiql/plugin-collections","_rev":"1667250","name":"@graphiql/plugin-collections","description":"A first-party operation collections plugin for GraphiQL.","dist-tags":{"beta":"1.0.0-beta.4","latest":"1.0.1","rc":"1.0.0-rc.1"},"maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"time":{"modified":"2026-11-03T09:09:22.000Z","created":"2026-08-29T16:05:36.703Z","1.0.1":"2026-11-02T02:59:32.799Z","1.0.0":"2026-11-01T14:33:49.839Z","1.0.0-rc.1":"2026-09-30T15:31:18.518Z","1.0.0-rc.0":"2026-09-28T15:56:06.205Z","1.0.0-beta.4":"2026-09-28T14:53:09.056Z","1.0.0-beta.3":"2026-09-28T14:03:45.423Z","1.0.0-beta.2":"2026-09-26T15:09:53.613Z","1.0.0-beta.1":"2026-08-29T17:52:48.339Z","1.0.0-beta.0":"2026-08-29T16:11:16.604Z","0.0.0":"2026-08-29T16:05:36.703Z"},"users":{},"repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"versions":{"1.0.1":{"_id":"@graphiql/plugin-collections@1.0.1","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"7867ae84a9e0244bbf4927381256f8feaa3835f1","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.1.tgz","fileCount":58,"integrity":"sha512-R/h9UitMBfcBpFw4ZRS/232mKNF/+sjl4U0HWFjx9NSgGiEJlWdRxGXWiXtPguscWIv9Gx+rIHwxBv3nQiQJgA==","signatures":[{"sig":"MEUCIQDfUhjVKk9NEkJubTXXk2pthCv+TnEdwcS0qbqGov77IAIgT1dO+JuuMkD762R/3YL2TZ8yc2UBjOIiBbzdqm/EDas=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCgEr3vhnULjPTBQBG0yk4D/DJfsTlKH6CHSRv4riPcLgIgSjksPFT2zVTSTn4w1LoFCtCgRlmydQrzXArQ78SI99o="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231263,"size":57664,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.1.tgz"},"name":"@graphiql/plugin-collections","_from":"file:graphiql-plugin-collections-1.0.1.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"license":"MIT","scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsc --noEmit"},"version":"1.0.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c629800f-4aca-4f88-9b75-d03d51b41213"}},"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","keywords":["react","graphql","graphiql","plugin","collections"],"_resolved":"/tmp/f3f071dbf2b776fe05bb07ad845fab88/graphiql-plugin-collections-1.0.1.tgz","_integrity":"sha512-R/h9UitMBfcBpFw4ZRS/232mKNF/+sjl4U0HWFjx9NSgGiEJlWdRxGXWiXtPguscWIv9Gx+rIHwxBv3nQiQJgA==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.1","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"sideEffects":["*.css"],"_nodeVersion":"24.22.1","dependencies":{"zod":"^4.6.6","zustand":"^5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.3.5","react":"^19.1.0","graphql":"^17.0.2","react-dom":"^19.1.0","typescript":"npm:@typescript/typescript6@^6.0.2","@types/react":"^19","@graphiql/react":"^1.0.1","vite-plugin-dts":"^5.1.2","@types/react-dom":"^19","vite-plugin-svgr":"^5.2.0","@typescript/native":"npm:typescript@^7.0.2","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^6.1.2","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"^1.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-collections_1.0.1_1793588372725_0.3972217878104106"},"publish_time":1793588372799,"_cnpm_publish_time":1793588372799},"1.0.0":{"name":"@graphiql/plugin-collections","version":"1.0.0","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"5fbcace5be2906556add151b42d94896bfcb5422","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0.tgz","fileCount":58,"integrity":"sha512-6rZ4tIMt6TL9lCQrAGRLQYdG0lyMw56AJM2lXOjC3wjtB4C77t6K0/0DEWlsrbaSlY+sf+BRpATWQHT569B4nA==","signatures":[{"sig":"MEUCIQC+BYcrUW5UN+pw7YJrv5Rl1IKXIkIP48CycT9+VL0BYgIgMRg/gAyoUCNhzTWjzf3kt8m5/HVs92XJwsF19FtkKVQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCih9XoaYCG4lqGKY3ymabXI3+oQLvAIHvB0jsn5R5RhwIgWnwYJEuGY9ALLEoHloXyISdJU177tAUm6wCDhF5u2m0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":231163,"size":57398,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0.tgz"},"_from":"file:graphiql-plugin-collections-1.0.0.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c629800f-4aca-4f88-9b75-d03d51b41213"}},"_resolved":"/tmp/5493651dcd0b6a202bacee8867a48bf0/graphiql-plugin-collections-1.0.0.tgz","_integrity":"sha512-6rZ4tIMt6TL9lCQrAGRLQYdG0lyMw56AJM2lXOjC3wjtB4C77t6K0/0DEWlsrbaSlY+sf+BRpATWQHT569B4nA==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.1","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.22.1","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.2","react":"^19.1.0","graphql":"^17.0.2","react-dom":"^19.1.0","typescript":"^5.8.0","@types/react":"^19","@graphiql/react":"^1.0.0","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19","vite-plugin-svgr":"^5.2.0","@typescript/native":"npm:typescript@7.1.0-beta","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^5.2.0","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0_1793543629755_0.7222907243089433","host":"s3://npm-registry-packages-npm-production"},"publish_time":1793543629839,"_cnpm_publish_time":1793543629839},"1.0.0-rc.1":{"name":"@graphiql/plugin-collections","version":"1.0.0-rc.1","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-rc.1","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"18bf15ce0f11c34c834c477dc2d7d32e25974ac6","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-rc.1.tgz","fileCount":58,"integrity":"sha512-S4o/80t+mSS9khCfJmKclI7uckgBB5lIUENztoxdsjwN0rg396gMJB7GnTRcpcLIIqT+78WH2H3LVEEWX/2Y+g==","signatures":[{"sig":"MEQCIBV0Oy/E/yh6YjkjGMK622ofGSJcP4ChSFvaSeg2tb6pAiBBVUce4E4ZrlrXsDnZBhIKrBYL6BqMRUfUU/R6uyU3XA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDweoPOIUg2zKMFyoeM1ufxrqeOs+P9XU4IKCZVJSKvaAIhAOvJoXJaLwwbAgSoR6XHgfBxBOT+pwLhm3lq1vfy21mm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":229456,"size":57044,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-rc.1.tgz"},"_from":"file:graphiql-plugin-collections-1.0.0-rc.1.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c629800f-4aca-4f88-9b75-d03d51b41213"}},"_resolved":"/tmp/7c8592568d1e5f9a58995644a1500593/graphiql-plugin-collections-1.0.0-rc.1.tgz","_integrity":"sha512-S4o/80t+mSS9khCfJmKclI7uckgBB5lIUENztoxdsjwN0rg396gMJB7GnTRcpcLIIqT+78WH2H3LVEEWX/2Y+g==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^8.2.2","react":"^19.1.0","graphql":"^16.14.2","react-dom":"^19.1.0","@types/react":"^19","@graphiql/react":"^1.0.0-rc.1","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^5.2.0","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1","@typescript/native-preview":"^7.0.0-dev.20260707.2"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"^1.0.0-rc.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-rc.1_1790782278419_0.44903493283811136","host":"s3://npm-registry-packages-npm-production"},"publish_time":1790782278518,"_cnpm_publish_time":1790782278518},"1.0.0-rc.0":{"name":"@graphiql/plugin-collections","version":"1.0.0-rc.0","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-rc.0","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"c86758e8d47c3f77ada091ecd52a73526ce76222","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-rc.0.tgz","fileCount":58,"integrity":"sha512-0T0D+lqzGpB6z08unQLcCg9qMvYkK1rrV/IXjkrRIaa1TBtnEU5/gSNVbk/5L5xWrq9dSisQDdUUB/2FlRDIgg==","signatures":[{"sig":"MEQCIHhJv87FK0N6Lp+pQg1AFKFoJf/Mx2MVtyp6Lo8WOuHGAiAncuAcBQVDOKAcIW2vOM9vDW3jgULuBefMpmpbxruAXA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICLMgP88sR//ifOQbIYhP4qp3XWbauMz9dgkk6Y3p7c5AiEA6R+UqGZtiJyOsF+Nb1Eu/BXyIet9ykASFLLfVNZdai0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-rc.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":219562,"size":54706,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-rc.0.tgz"},"_from":"file:graphiql-plugin-collections-1.0.0-rc.0.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c629800f-4aca-4f88-9b75-d03d51b41213"}},"_resolved":"/tmp/d225230fd4dd37b217e9c1d2ed6da967/graphiql-plugin-collections-1.0.0-rc.0.tgz","_integrity":"sha512-0T0D+lqzGpB6z08unQLcCg9qMvYkK1rrV/IXjkrRIaa1TBtnEU5/gSNVbk/5L5xWrq9dSisQDdUUB/2FlRDIgg==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^8.2.2","react":"^19.1.0","graphql":"^16.14.2","react-dom":"^19.1.0","@types/react":"^19","@graphiql/react":"1.0.0-rc.0","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^5.2.0","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1","@typescript/native-preview":"^7.0.0-dev.20260707.2"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"1.0.0-rc.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-rc.0_1790610966101_0.4439216103780772","host":"s3://npm-registry-packages-npm-production"},"publish_time":1790610966205,"_cnpm_publish_time":1790610966205},"1.0.0-beta.4":{"name":"@graphiql/plugin-collections","version":"1.0.0-beta.4","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-beta.4","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"07e65227236d0eaf7093c04e07d4d14a6920108c","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-beta.4.tgz","fileCount":58,"integrity":"sha512-PV9aAOtr5IcP8TtcuqKbLQiPvQQyFN4XD8n8viiywgxC0nPc3kdZHV+RcpB3tsBVTsXiaLvqr8aDgv6W9pC24Q==","signatures":[{"sig":"MEQCIA8ihNXRD3EhCA2ivJaYMWeEBICVdWhczCROGH93Je8rAiBbIIY16KYuNFYDUU1i3bnn2TBSsPHOH4o9Fm7F0NeiQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIG6sY+BnFqbd0/JweyFAsH77vQ00QgjIhznjPr5IQDzMAiEAjptLJYDSimBB0pd2Va8dIm4WiMe1fyVoekw6wyu8+iU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-beta.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":219568,"size":54711,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-beta.4.tgz"},"_from":"file:graphiql-plugin-collections-1.0.0-beta.4.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c629800f-4aca-4f88-9b75-d03d51b41213"}},"_resolved":"/tmp/f58c8654d6663fc163aebfff2ec9b6e4/graphiql-plugin-collections-1.0.0-beta.4.tgz","_integrity":"sha512-PV9aAOtr5IcP8TtcuqKbLQiPvQQyFN4XD8n8viiywgxC0nPc3kdZHV+RcpB3tsBVTsXiaLvqr8aDgv6W9pC24Q==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^8.2.2","react":"^19.1.0","graphql":"^16.14.2","react-dom":"^19.1.0","@types/react":"^19","@graphiql/react":"1.0.0-beta.4","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^5.2.0","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1","@typescript/native-preview":"^7.0.0-dev.20260707.2"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"1.0.0-beta.4"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-beta.4_1790607188919_0.24485133552427474","host":"s3://npm-registry-packages-npm-production"},"publish_time":1790607189056,"_cnpm_publish_time":1790607189056},"1.0.0-beta.3":{"name":"@graphiql/plugin-collections","version":"1.0.0-beta.3","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-beta.3","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"3c35736fe56aa50205b15aa86a296194251199e5","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-beta.3.tgz","fileCount":58,"integrity":"sha512-kCR41rMYxJHzafQldu5fgeauQDG3QJeIaq3UtB4OjF8YJAgiI2s2+nEg6z4TpeFmiPWISg00JkHLP7LzQzejfA==","signatures":[{"sig":"MEYCIQCY2V7Xungx4Fyssn7tDBHH5JywH/dBfcQVR7VOHGermwIhAN7yib9dLxqhtlD04wbK2lEpMqIS/5++xFc5f4qahXzX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDy7feosqEjLwG4D8aG23epHX0pkC1LbLKTN/9OwwUxEwIhAPwC15nvUUZV6scZ98pTQSW7w+9IMGLWrEKMfBflHb+8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-beta.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":219568,"size":54711,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-beta.3.tgz"},"_from":"file:graphiql-plugin-collections-1.0.0-beta.3.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c629800f-4aca-4f88-9b75-d03d51b41213"}},"_resolved":"/tmp/50342d8ea0786261024f4390633cdf05/graphiql-plugin-collections-1.0.0-beta.3.tgz","_integrity":"sha512-kCR41rMYxJHzafQldu5fgeauQDG3QJeIaq3UtB4OjF8YJAgiI2s2+nEg6z4TpeFmiPWISg00JkHLP7LzQzejfA==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^8.2.2","react":"^19.1.0","graphql":"^16.14.2","react-dom":"^19.1.0","@types/react":"^19","@graphiql/react":"1.0.0-beta.3","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^5.2.0","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1","@typescript/native-preview":"^7.0.0-dev.20260707.2"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"1.0.0-beta.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-beta.3_1790604225327_0.6598295430601544","host":"s3://npm-registry-packages-npm-production"},"publish_time":1790604225423,"_cnpm_publish_time":1790604225423},"1.0.0-beta.2":{"name":"@graphiql/plugin-collections","version":"1.0.0-beta.2","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-beta.2","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"b35652e44c64f08eb3b3188ca2681a11926d8161","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-beta.2.tgz","fileCount":58,"integrity":"sha512-Nq6tfMdDQsVKqEgt4DM94QllOTxM8P0mHkW9cOtv7ubuknPY/1RZ8Zehole5U+8XVVUZciMzolo89v1f9U9UtA==","signatures":[{"sig":"MEQCIFe6Z7xQ0aK0+EUDlB77aYkqGXBUbpFoQPaIC3RZhTmWAiBhkY+eUz/punN2Qzpw+o/Egf4mGA2eL3PFTbQO3PPKgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDO0siMlQdNpLIvT2+RMU0TvFbI8rw1jU/1tM+m7xr6mgIgRHBWrY6ET2p5k9vx3WYkWveRLrsDgFukkgpYxVRwH1Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":219228,"size":54647,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-beta.2.tgz"},"_from":"file:graphiql-plugin-collections-1.0.0-beta.2.tgz","types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"pnpm types:check && vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c629800f-4aca-4f88-9b75-d03d51b41213"}},"_resolved":"/tmp/0a072ce33e9d86d045c11fe7d0a34ddd/graphiql-plugin-collections-1.0.0-beta.2.tgz","_integrity":"sha512-Nq6tfMdDQsVKqEgt4DM94QllOTxM8P0mHkW9cOtv7ubuknPY/1RZ8Zehole5U+8XVVUZciMzolo89v1f9U9UtA==","repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.19.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.21.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^8.2.2","react":"^19.1.0","graphql":"^16.14.2","react-dom":"^19.1.0","@types/react":"^19","@graphiql/react":"1.0.0-beta.2","vite-plugin-dts":"^4.5.3","@types/react-dom":"^19","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^5.2.0","@storybook/react-vite":"^10.3.6","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^7.0.1","@typescript/native-preview":"^7.0.0-dev.20260707.2"},"peerDependencies":{"react":"^18 || ^19","graphql":"^16.11.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"1.0.0-beta.2"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-beta.2_1790435393508_0.10710919024716614","host":"s3://npm-registry-packages-npm-production"},"publish_time":1790435393613,"_cnpm_publish_time":1790435393613},"1.0.0-beta.1":{"name":"@graphiql/plugin-collections","version":"1.0.0-beta.1","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-beta.1","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"f27db8b1a435a3417d7f4a4556abb535371ecad9","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-beta.1.tgz","fileCount":57,"integrity":"sha512-mSl5BYoAVLA05NUCXckhQA4LUQ1igLnpbo8VeaVDAkzAptuceC4FDH8aV7ihIAdZ1KB+GR74s0GYW/JHRaU51g==","signatures":[{"sig":"MEUCIEuW/KSWknxC/hKlXzRLFIowMdT6ladBoWR/lwyjNsafAiEA3vAKv09Zdrr7JVAhDPvPl8zzbII5M+6UI5xZRaplewY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":235063,"size":55220,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-beta.1.tgz"},"types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"gitHead":"9d389b8efb89e8462394e2ca8638f2d0915a7ece","scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c629800f-4aca-4f88-9b75-d03d51b41213"}},"repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.17.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.3.4","react":"^19.1.0","graphql":"^16.9.0","react-dom":"^19.1.0","@graphiql/react":"1.0.0-beta.1","vite-plugin-dts":"^4.5.3","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":"^18 || ^19","graphql":"^15.5.0 || ^16.0.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"1.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-beta.1_1788025968193_0.6561329732016401","host":"s3://npm-registry-packages-npm-production"},"publish_time":1788025968339,"_cnpm_publish_time":1788025968339},"1.0.0-beta.0":{"name":"@graphiql/plugin-collections","version":"1.0.0-beta.0","keywords":["react","graphql","graphiql","plugin","collections"],"license":"MIT","_id":"@graphiql/plugin-collections@1.0.0-beta.0","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"dist":{"shasum":"98dfdf73dc1c771a6bf1ad8a95bbc8f6fc4e9a13","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-1.0.0-beta.0.tgz","fileCount":57,"integrity":"sha512-rOosOtvoBx8WLrM1a0Jf1/CVS7/8PbTo2LBUd5EotbGzej9Q73S3gdu4prDENRx3Y9WIJv0I7WfEVPXewAfqeQ==","signatures":[{"sig":"MEYCIQCiigbDV8z6svc0yTlYha7Wpra4hwhG3/kF9VDK20L4lAIhAJkonCVRfsXJMs/qhL7SYQxy77FhaGNh2S8X4kYPpIIW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@graphiql%2fplugin-collections@1.0.0-beta.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":235065,"size":55223,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-1.0.0-beta.0.tgz"},"types":"dist/index.d.ts","exports":{".":"./dist/index.js","./style.css":"./dist/style.css","./package.json":"./package.json"},"gitHead":"97ade1b6f1dd0fa9644675fb5cfcdf882b9d4366","scripts":{"dev":"vite build --watch --emptyOutDir=false","test":"vitest run","build":"vite build","types:check":"tsgo --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c629800f-4aca-4f88-9b75-d03d51b41213"}},"repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git","directory":"packages/graphiql-plugin-collections"},"_npmVersion":"11.17.0","description":"A first-party operation collections plugin for GraphiQL.","directories":{},"sideEffects":["*.css"],"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.0.0","zustand":"^5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"vite":"^6.3.4","react":"^19.1.0","graphql":"^16.9.0","react-dom":"^19.1.0","@graphiql/react":"^1.0.0-beta.0","vite-plugin-dts":"^4.5.3","vite-plugin-svgr":"^4.3.0","@testing-library/dom":"^10.4.0","@vitejs/plugin-react":"^4.4.1","@testing-library/react":"^16.3.0","@testing-library/jest-dom":"^6.6.3"},"peerDependencies":{"react":"^18 || ^19","graphql":"^15.5.0 || ^16.0.0 || ^17.0.0","react-dom":"^18 || ^19","@graphiql/react":"^1.0.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_1.0.0-beta.0_1788019876473_0.5090005707474885","host":"s3://npm-registry-packages-npm-production"},"publish_time":1788019876604,"_cnpm_publish_time":1788019876604},"0.0.0":{"name":"@graphiql/plugin-collections","version":"0.0.0","_id":"@graphiql/plugin-collections@0.0.0","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"mjmahone","email":"mahoney.mattj@gmail.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"}],"dist":{"shasum":"1683e66f92b468ff6f24ade463952ac95c1fc4f3","tarball":"http://registry-npm.ywwl.com/@graphiql/plugin-collections/download/@graphiql/plugin-collections-0.0.0.tgz","fileCount":1,"integrity":"sha512-og6zyhlR7eE1jzHPCFtcw1JPoeB8DwcK/cAkQ1oEvewXcqA2aWnBKJUxl777c3UCoX9Swk5iEqeDQv/AQTYXpA==","signatures":[{"sig":"MEQCIEGI9+73UOyzMjiFGFxLYRw4q6I8RQj5j+ZuIDAn1FkGAiAxRpUZrO4KtKfJOcIw/06g/eYg+mWorslCrvSlZaOO5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67,"size":160,"noattachment":false,"key":"/@graphiql/plugin-collections/-/@graphiql/plugin-collections-0.0.0.tgz"},"_npmUser":{"name":"benjie","email":"npm@benjiegillam.com"},"_npmVersion":"12.0.2","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-collections_0.0.0_1788019536576_0.2576557861307416","host":"s3://npm-registry-packages-npm-production"},"publish_time":1788019536703,"_cnpm_publish_time":1788019536703}},"readme":"# @graphiql/plugin-collections\n\nA first-party operation collections plugin for GraphiQL. Save named GraphQL operations into collections and reuse them later, with drag-and-drop reordering, clipboard sharing, and JSON import/export that merges by id instead of duplicating.\n\n## Installation\n\n```sh\nnpm install @graphiql/plugin-collections\n```\n\nMake sure the peer dependencies are installed too:\n\n```sh\nnpm install react react-dom graphql @graphiql/react\n```\n\n## Usage\n\nThe collections plugin is installed by default in GraphiQL, so an unmodified `<GraphiQL>` already shows a Collections rail icon. Use `COLLECTIONS_PLUGIN` when you pass a custom `plugins` array and want to keep the default collections configuration. Use `collectionsPlugin(options)` to supply a custom storage backend or restrict what users can do.\n\n> **Note:** passing the `plugins` prop replaces the default plugin set, so include the others you want alongside it.\n\n```jsx\nimport { GraphiQL } from 'graphiql';\nimport { createTransport } from '@graphiql/toolkit';\nimport { COLLECTIONS_PLUGIN } from '@graphiql/plugin-collections';\nimport 'graphiql/style.css';\nimport '@graphiql/plugin-collections/style.css';\n\nconst transport = createTransport({\n  url: 'https://swapi-graphql.netlify.app/.netlify/functions/index',\n});\n\nfunction GraphiQLWithCollections() {\n  return <GraphiQL transport={transport} plugins={[COLLECTIONS_PLUGIN]} />;\n}\n```\n\n## Options\n\n```ts\ncollectionsPlugin({\n  storage, // custom persistence backend; see below\n  readOnly, // default false\n  allowImportExport, // default true\n  allowReplace, // default true\n});\n```\n\n| Option              | Default              | Effect                                                                                                                                 |\n| ------------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |\n| `storage`           | localStorage adapter | A custom `CollectionsStorage` (see [Custom storage](#custom-storage)).                                                                 |\n| `readOnly`          | `false`              | Hides every write affordance (create, rename, delete, reorder, save, import). Export and copy stay available so users can still share. |\n| `allowImportExport` | `true`               | When `false`, hides the import/export dialog button and turns off paste/drop import.                                                   |\n| `allowReplace`      | `true`               | When `false`, hides the destructive \"replace everything\" import mode and leaves only merge.                                            |\n\n## Import and merge behavior\n\nCollections and the operations inside them carry stable UUIDs that survive export and import. On import, the plugin reconciles by id instead of duplicating:\n\n- A new operation is added. An operation you already have is updated in place wherever you keep it, even if you've moved it to a different collection. A missing parent collection is recreated.\n- Re-importing an unchanged export does nothing, so you never get duplicates.\n- When an incoming operation differs from your local copy, a dialog lets you apply the changes, keep your versions, or review each operation one at a time. Merge never deletes.\n\nAn operation can also be shared on its own with \"Copy operation\". It travels as a one-item collection envelope stamped with its parent collection, so the recipient can re-home it on import.\n\n## Custom storage\n\nPersistence is pluggable through the `CollectionsStorage` interface:\n\n```ts\ntype CollectionsStorage = {\n  storageKey?: string;\n  load(): Promise<Collection[]>;\n  save(collections: Collection[]): Promise<void>;\n};\n```\n\nThe default writes to `localStorage` under the key `graphiql:collections`. To use a different key, pass an adapter from the exported `createLocalStorageAdapter` factory:\n\n```ts\nimport {\n  collectionsPlugin,\n  createLocalStorageAdapter,\n} from '@graphiql/plugin-collections';\n\nconst collections = collectionsPlugin({\n  storage: createLocalStorageAdapter('my-key'),\n});\n```\n\nTo back collections with your own service (REST, a database, a team-shared store), implement the interface and pass it as `storage`:\n\n```ts\nimport { collectionsPlugin } from '@graphiql/plugin-collections';\nimport type {\n  Collection,\n  CollectionsStorage,\n} from '@graphiql/plugin-collections';\n\nconst apiStorage: CollectionsStorage = {\n  async load() {\n    const res = await fetch('/api/collections');\n    return (await res.json()) as Collection[];\n  },\n  async save(collections) {\n    const response = await fetch('/api/collections', {\n      method: 'PUT',\n      headers: { 'content-type': 'application/json' },\n      body: JSON.stringify(collections),\n    });\n    if (!response.ok) {\n      throw new Error(`Saving collections failed (${response.status})`);\n    }\n  },\n};\n\nconst collections = collectionsPlugin({ storage: apiStorage });\n```\n\n`load()` runs once when the panel first mounts. `save()` receives the full collection list after mutations. For toolbar or keyboard saves, its promise must resolve only after the write commits. A rejection keeps the operation dirty and shows an error in GraphiQL. Other collection editing actions still update the UI immediately.\n\n### Team-shared backends and sync\n\nThe plugin has no opinion about conflict resolution or synchronization; that lives in your storage adapter. Because every operation and collection has a stable id, your adapter can diff successive `save()` snapshots and reconcile them however it needs to, whether that is a plain backend write, a last-write-wins policy, or a CRDT such as Yjs or Automerge. The plugin itself stays a CRUD UI over a serializable model.\n\nThe plugin does not react to remote changes on its own. When your backend reports an external change, call `reload()` to re-read storage and refresh the UI:\n\n```ts\nimport { collectionsStore } from '@graphiql/plugin-collections';\n\nawait collectionsStore.getState().actions.reload();\n```\n\n## Programmatic access\n\nThe store and its React hook are exported for programmatic access:\n\n```ts\nimport {\n  collectionsStore, // the vanilla zustand store\n  useCollectionsStore, // React hook: useCollectionsStore(selector)\n} from '@graphiql/plugin-collections';\n\nconst { actions } = collectionsStore.getState();\n\n// Replace the in-memory collections (e.g. after merging remote state).\n// Does NOT write back to storage.\nactions.setCollections(nextCollections);\n\n// Re-read from the configured storage and refresh the UI.\nawait actions.reload();\n```\n\n`actions` also exposes the full CRUD surface (`createCollection`, `addItem`, `updateItem`, `deleteItem`, `moveItem`, `renameCollection`, and so on) plus `exportCollections` / `exportCollection` / `exportItem` and the two-phase `analyzeImport` / `applyImport`.\n\n## Exports\n\n- `COLLECTIONS_PLUGIN` — the default plugin configuration\n- `collectionsPlugin(options?)` — the plugin factory for custom configuration\n- `collectionsStore`, `useCollectionsStore` — the store and its React hook\n- `createLocalStorageAdapter(key)`, `localStorageAdapter` — built-in storage\n- `CollectionsSaveDialog` — the save dialog component\n- Types: `Collection`, `CollectionItem`, `CollectionsStorage`, `CollectionsConfig`, `ActiveOperation`\n","_attachments":{},"homepage":"https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-collections#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-collections"},"license":"MIT"}