{"_id":"@dmamontov/graphql-mesh-public-schema-plugin","_rev":"5-f6e17fceb71b715609dcf474af4024fc","name":"@dmamontov/graphql-mesh-public-schema-plugin","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@dmamontov/graphql-mesh-public-schema-plugin","version":"1.0.0","author":{"name":"Dmitry Mamontov"},"type":"module","repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"require":{"types":"./dist/typings/index.d.cts","default":"./dist/cjs/index.js"},"import":{"types":"./dist/typings/index.d.ts","default":"./dist/esm/index.js"},"default":{"types":"./dist/typings/index.d.ts","default":"./dist/esm/index.js"}},"./package.json":"./package.json"},"typings":"dist/typings/index.d.ts","scripts":{"build":"bob build","lint":"eslint ."},"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@envelop/extended-validation":"^4.0.0","@graphql-mesh/string-interpolation":"^0.5.3","@graphql-mesh/types":"^0.97.5","graphql":"*"},"devDependencies":{"@babel/core":"7.24.5","@eslint/js":"8.57.0","@theguild/prettier-config":"2.0.6","@types/node":"20.12.2","@typescript-eslint/eslint-plugin":"7.4.0","@typescript-eslint/parser":"7.4.0","bob-the-bundler":"7.0.1","eslint":"8.57.0","eslint-config-love":"43.1.0","eslint-config-prettier":"9.1.0","eslint-config-standard":"17.1.0","eslint-formatter-stylish":"8.40.0","eslint-import-resolver-alias":"1.1.2","eslint-import-resolver-typescript":"3.6.1","eslint-plugin-import":"2.29.1","eslint-plugin-jsonc":"2.14.1","eslint-plugin-n":"16.6.2","eslint-plugin-prettier":"5.1.3","eslint-plugin-promise":"6.1.1","eslint-plugin-sonar":"0.13.2","eslint-plugin-standard":"5.0.0","eslint-plugin-unicorn":"51.0.1","prettier":"3.2.5","ts-node":"10.9.2","typescript":"5.4.3"},"publishConfig":{"access":"public","directory":"dist"},"sideEffects":false,"typescript":{"definition":"dist/typings/index.d.ts"},"bob":{"build":{"copy":["./src/private-directive.graphql"]}},"_id":"@dmamontov/graphql-mesh-public-schema-plugin@1.0.0","gitHead":"7db61f9d8e842afc37eef490d1e225919b386a04","description":"# Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed t","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-/xxAm25o+K8TJrbgXINZIGrW6o1k4HFPXWQ6kV6KNkzU9++tWH+ayrdKQ/KImIK/8Ebc0C33bk1qswxqM9Ge2w==","shasum":"afd652c814ec31b6d7ccd30605acaf79a7d191a5","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-public-schema-plugin/-/graphql-mesh-public-schema-plugin-1.0.0.tgz","fileCount":23,"unpackedSize":38653,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7JVAg2Y40dWCKAMSdwV7/SDdhCSpuM84sDi0NW9k3dwIgImcsTwN05f910HTEoZrtjsJsKUHRSDOOrRpXSRfqM7g="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-public-schema-plugin_1.0.0_1715173901392_0.9719108453536676"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dmamontov/graphql-mesh-public-schema-plugin","version":"1.0.1","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@envelop/extended-validation":"^4.0.0","@graphql-mesh/string-interpolation":"^0.5.3","@graphql-mesh/types":"^0.97.5","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-public-schema-plugin@1.0.1","gitHead":"5774b0c3404d1a5603beeb837c3c129354f2c643","description":"# Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed t","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-RrLZzahM3PwceKDsMlKaeuFNXvPJA89EEVOatmapn0XL+EBi9IBZtZokUwFbCltE8uImkfETjh+wjtbvKSlGPw==","shasum":"3c7e5339bb678469c032193d502331e0bd537239","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-public-schema-plugin/-/graphql-mesh-public-schema-plugin-1.0.1.tgz","fileCount":13,"unpackedSize":18681,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF95nU15NogZ8oEPpTVwQ2T6NY0Ekso+g7a8MObooL4eAiAjVfyPp2bCoYHefhW3IJJtiLGZIvW8ToMZ7qL+qNDzMQ=="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-public-schema-plugin_1.0.1_1715174043743_0.8754970970017051"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dmamontov/graphql-mesh-public-schema-plugin","version":"1.0.2","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@envelop/extended-validation":"^4.0.0","@graphql-mesh/string-interpolation":"^0.5.3","@graphql-mesh/types":"^0.97.5","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-public-schema-plugin@1.0.2","gitHead":"d221422e7f7bb2b3d9afb3238135e1dce19561bd","description":"Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed to ","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-5TJVzi2QL6+JXOor7Kgm1w9gxEJuKuCQhZIMqmhxSsAB6G0V5WDKsh6j3Ct7nMAgP9BqlDRYfkY0KFCo2D/x3Q==","shasum":"eb2ff8cfc9aef3c4f357d8294b78d1bb0c6aa129","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-public-schema-plugin/-/graphql-mesh-public-schema-plugin-1.0.2.tgz","fileCount":13,"unpackedSize":18679,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAhCMIf9Kjp12bQ76/egNzyc37RQkV/iI/ncIqWYpjAPAiEAonRnHWYazh7yFE0alb0Mkq4iOQFrZ9PWQvRGFt9oE0c="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-public-schema-plugin_1.0.2_1715174491008_0.3403423518325992"},"_hasShrinkwrap":false},"1.0.3-alpha1":{"name":"@dmamontov/graphql-mesh-public-schema-plugin","version":"1.0.3-alpha1","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@envelop/extended-validation":"^4.0.0","@graphql-mesh/string-interpolation":"^0.5.3","@graphql-mesh/types":"^0.97.5","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-public-schema-plugin@1.0.3-alpha1","gitHead":"d221422e7f7bb2b3d9afb3238135e1dce19561bd","description":"Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed to ","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-n6ll4QhPPZXnUQYWk0Zo0hBEGe3RKDAKLWJkKpEXFthdwCAQCQab0qU4qpyDbZXISc+UXbOajqq95/qhnhgMrg==","shasum":"1a173418f29ca30c95536fe80d0bd2f1bf94ea08","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-public-schema-plugin/-/graphql-mesh-public-schema-plugin-1.0.3-alpha1.tgz","fileCount":13,"unpackedSize":20366,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE0P3NvGjW/S/PHdXH8wRg/9Ir0Z0eDyA7K0RVEG6ZQGAiEA6gaH19udeRuyWmFbouFQOaRCTxrUh3EnYKlXJ8GC1Ds="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-public-schema-plugin_1.0.3-alpha1_1715261959203_0.5201441495678365"},"_hasShrinkwrap":false},"1.0.3":{"name":"@dmamontov/graphql-mesh-public-schema-plugin","version":"1.0.3","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@envelop/extended-validation":"^4.0.0","@graphql-mesh/string-interpolation":"^0.5.3","@graphql-mesh/types":"^0.97.5","apollo-server-errors":"*","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-public-schema-plugin@1.0.3","gitHead":"25dffeb70b22b27c26aa46995ef9299dc8d46dbe","description":"Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed to ","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-tB6ckqN9V6aknZhZ7G/33sxjoMYujtzHWSYyI5BecmV3Ps4e53i1AUduvTQoypwTGQTbVnVsqXTKFvpa+6HD6g==","shasum":"a9c1119662eb716e8d9598de4ad72e40534a224e","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-public-schema-plugin/-/graphql-mesh-public-schema-plugin-1.0.3.tgz","fileCount":13,"unpackedSize":18825,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdu1Qj2x7+tkysAr30k7JZXHm0etK18wFTlFclKyOVdQIgVvIJVGtf86SDtrBzlN0LDKM60Hy/5SKSJLXYwBuYh00="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-public-schema-plugin_1.0.3_1715341385032_0.36982515736670485"},"_hasShrinkwrap":false},"1.0.4":{"name":"@dmamontov/graphql-mesh-public-schema-plugin","version":"1.0.4","sideEffects":false,"peerDependencies":{"graphql":"*"},"dependencies":{"@envelop/core":"^5.0.0","@envelop/extended-validation":"^4.0.0","@graphql-mesh/string-interpolation":"^0.5.3","@graphql-mesh/types":"^0.97.5","apollo-server-errors":"*","graphql":"*"},"repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"author":{"name":"Dmitry Mamontov"},"license":"MIT","engines":{"node":">=20.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./package.json":"./package.json"},"_id":"@dmamontov/graphql-mesh-public-schema-plugin@1.0.4","gitHead":"f8396ac78b01e7e5bdbb40963638865cdaed24de","description":"Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed to ","bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-+t+2M7uNzS5GstsXaJXOxQQaI72nU+isYkHcs5KyAc2ABCEHRRNV45d2mqSw8fWDy6Ij7hAYfNGY01wI0iMh+g==","shasum":"ca4304fd31a282a9f58c81294d9717b8990a1316","tarball":"https://registry.npmjs.org/@dmamontov/graphql-mesh-public-schema-plugin/-/graphql-mesh-public-schema-plugin-1.0.4.tgz","fileCount":13,"unpackedSize":20175,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnBAdeAU0Mvf68XDpZ7icU/AQSSPQQkebwD2htejSX8AiBaQawqxoBuCYLaBqtVyi8ohQLKnjyljiZ56Y7SWBwDKQ=="}]},"_npmUser":{"name":"dmamontov","email":"d.slonyara@gmail.com"},"directories":{},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-mesh-public-schema-plugin_1.0.4_1715975991502_0.41389593241531175"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-08T13:11:41.295Z","1.0.0":"2024-05-08T13:11:41.543Z","modified":"2024-05-17T19:59:51.859Z","1.0.1":"2024-05-08T13:14:03.913Z","1.0.2":"2024-05-08T13:21:31.174Z","1.0.3-alpha1":"2024-05-09T13:39:19.374Z","1.0.3":"2024-05-10T11:43:05.230Z","1.0.4":"2024-05-17T19:59:51.664Z"},"maintainers":[{"name":"dmamontov","email":"d.slonyara@gmail.com"}],"description":"Public Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed to ","homepage":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin#readme","repository":{"type":"git","url":"git+https://github.com/dmamontov/graphql-mesh-public-schema-plugin.git"},"author":{"name":"Dmitry Mamontov"},"bugs":{"url":"https://github.com/dmamontov/graphql-mesh-public-schema-plugin/issues"},"license":"MIT","readme":"# Public Schema Plugin for GraphQL Mesh\n\nPublic Schema Plugin is a plugin for GraphQL Mesh that allows you to separate public and private schemas in your API. With this plugin, you can designate which parts of your schema should be accessible only within your service and which can be exposed to external service.\n\n## Installation\n\nBefore you can use the Public Schema Plugin, you need to install it along with GraphQL Mesh if you haven't already done so. You can install these using npm or yarn.\n\n```bash\nnpm install @dmamontov/graphql-mesh-public-schema-plugin\n```\n\nor\n\n```bash\nyarn add @dmamontov/graphql-mesh-public-schema-plugin\n```\n\n## Configuration\n\n### Modifying tsconfig.json\n\nTo make TypeScript recognize the Public Schema Plugin, you need to add an alias in your tsconfig.json.\n\nAdd the following paths configuration under the compilerOptions in your tsconfig.json file:\n\n```json\n{\n  \"compilerOptions\": {\n    \"paths\": {\n       \"public-schema\": [\"node_modules/@dmamontov/graphql-mesh-public-schema-plugin\"]\n    }\n  }\n}\n```\n\n### Adding the Plugin to GraphQL Mesh\n\nYou need to include the Public Schema Plugin in your GraphQL Mesh configuration file (usually .meshrc.yaml). Below is an example configuration that demonstrates how to use this plugin:\n\n```yaml\nadditionalTypeDefs:\n  - node_modules/@dmamontov/graphql-mesh-public-schema-plugin/esm/private-directive.graphql\n  \nplugins:\n  - publicSchema:\n      enabled: true\n```\n\n## Conclusion\n\nRemember, always test your configurations in a development environment before applying them in production to ensure that everything works as expected.","readmeFilename":"README.md"}