@envelop/operation-field-permissions
Version:
Disallow executing operations that select certain fields. Useful if you want to restrict the scope of certain public API users to a subset of the public GraphQL schema, without triggering execution (e.g. how [graphql-shield](https://github.com/maticzav/gr
58 lines • 1.5 kB
JSON
{
"name": "@envelop/operation-field-permissions",
"version": "4.0.0-alpha-20220909172432-a082c09b",
"sideEffects": false,
"peerDependencies": {
"@envelop/core": "3.0.0-alpha-20220909172432-a082c09b",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"@envelop/extended-validation": "2.0.0-alpha-20220909172432-a082c09b",
"tslib": "^2.4.0"
},
"repository": {
"type": "git",
"url": "https://github.com/n1ru4l/envelop.git",
"directory": "packages/plugins/operation-field-permissions"
},
"author": "Laurin Quast <laurinquast@googlemail.com.com>",
"license": "MIT",
"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"
}
},
"./*": {
"require": {
"types": "./typings/*.d.cts",
"default": "./cjs/*.js"
},
"import": {
"types": "./typings/*.d.ts",
"default": "./esm/*.js"
},
"default": {
"types": "./typings/*.d.ts",
"default": "./esm/*.js"
}
},
"./package.json": "./package.json"
}
}