{"_id":"@pothos/plugin-authz","_rev":"24-a1bc85f4d8146e30c14d3f311e97ea27","name":"@pothos/plugin-authz","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","dist-tags":{"preview":"0.0.0-preview-20220225212244","latest":"3.5.10"},"versions":{"3.0.0":{"name":"@pothos/plugin-authz","version":"3.0.0","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.0.0","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"d5b373cd46eb488f21b33c3af295cec0bf472c64","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.0.0.tgz","fileCount":37,"integrity":"sha512-UoXiTb6mr4wagkjZ3d4nNI0WjPS76pJYxu7dmzsG6JS18iQn5ddXfEdMeUxDBdvCsrih6+G2k3MKa7PvKIZQ5A==","signatures":[{"sig":"MEUCIDX3YONMZ788usWHCtZr0mjDO+YW9mf84LbVFch5MWhAAiEAzDPvHnQETwPcYR+IM8XQ82CtIF4jwevADzoxbcGfOeE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh75tjCRA9TVsSAnZWagAAqeUP+wZHP5PxZqzmAA9WB7xx\nJi+X8md3M3BvlVfg1EU4Li/zW+bu9UZsnmXojS1qPNYmB221a/xtlz13bnrT\nrGX6Ks7FvBq3PAfO00ZXBVxmq2gn1kluUyYwg8wlUUzRyHdTI+DSVGvJe5sL\nZVIe44TrP+Y6Bu1GtPwP+UJx48ODjQ/alKf2os6GTEZWbLPKsztOl6fOLxZW\n8K/wD13bf5R7hZAXoggzEENIJd9qZQo0f72SLjqK/osXwIdoFE+cuHvBFLKy\nFNY2CH5exHZCGQmX3FUuiPE4ilXYZ5UEZtG6tpwRhz+eM54GhYUQnayj3ifA\nPmQy80XolSw2QwOPttkgycXew5jE3dzknKoCXKWoGDzDp1i4NxGHrxNXHf62\nsxZmChUc14CQVR+K7gX+F4UOjKTLYjy748+NLSfOjKK0laxg2rvql1x70V2+\nxHKKvckURWfXBN1428d1zKzRLCywi/+qFdKLyJjNbw05LXYrwhbZK2BuvnjG\nlWcEDpUTA0nEGz28rjvQlvKLprDUpAP78UEEaPyrH8Xrhv1qd1OpIURrVHx/\nwhyZBtbtE9Z98yaS62LC8xKIXeZTmNKL8KoQKjZv/Gv4DiVsVfRhe2+/98/v\nAzC5xo1kKEQ9p0rhGyvy7oL8W8aGpDL2AC9eOVWKZSb0qqb94E57OgMB/Nt3\nH9Qx\r\n=Msa4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.0.0.tgz","types":"./lib/index.d.ts","module":"./esm/index.js","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --noEmit && tsc --project tests/tsconfig.json","build":"pnpm build:cjs && pnpm build:esm","build:cjs":"tsc --module commonjs --outDir lib","build:esm":"tsc --module es2020 --outDir esm && pnpm esm:extensions","esm:extensions":"ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"","_integrity":"","_npmVersion":"6.14.15","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"14.18.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"^3.0.0","@pothos/test-utils":"^1.0.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.0.0_1643092835164_0.2369298841789269","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@pothos/plugin-authz","version":"3.0.1","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.0.1","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"fe5df5e05d81f5363252710b2ed9e2889cb7a11c","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.0.1.tgz","fileCount":38,"integrity":"sha512-2Aqq49FwEhL5Epo6QuvGBq/i+IZnnRYRkGmx1nOC2cw+TYeP7JfosERhlqx9yAPP4//ekfHx4GDDfm8ZggFbIA==","signatures":[{"sig":"MEUCIQCeZSrsaPfIlLFGkLHgozLHaHkJXeZni8LL17moGyp7wwIgTAXac9CThClD5JNG9FaYLkd4BgaTa1qok92nhm9J7gI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/c/1CRA9TVsSAnZWagAAsRgQAIyUNiz/k7tlcW6uNwC+\n1cl9HkvKJxz3/rHqnWuru5yfzT6JQ0cX8ZN/iC9bFzErXcRiIJgNVMtV6I9p\nYCX9xgWOiW/urH0DPYQ5wxxU/Igx6Xq/ZVT4dOF8/maQDd0DSCjrEbJQajof\n6eu0unZG9liEFZ/o6Tl0oDmK/sQagb0zgnctlndQ/vwHNpQAYB3QwRyKx2MV\n/HPSF+AxFo6xdgv9SwdZJQwC42UudXKbRHXj+iEFhpalbJWIfVUWXPU4JxZM\nbOGMoabi1Zum9kVKhmlu1SiEQTPCOvFWUYbUlshq3MePoxad7na8zdScDWfA\nLstr1NsB8hk8B0ugJ75bH0magezrUzkQDCNwxgd9AV/IsJeRcpX2epT1p1+W\nY9AIVmbfLd6Q1s8RftopavfHYgkuzChuSzMYl3zBXXohVqQ6aGA/Zpa9kICv\nC27O1F/kPudu3cuJx+OFz8idENRQZMD5jKflpGGR0WQGwwUF648k2nAaPJGo\n+8olk1Ies5UwdgP6E5xBTQa/tl6sRWxffERKJf3zcpC3Zbijrl3C5muYcpy+\n041fLwbItsV9gDU+qsnZD8BxH9wp6uBrGrq3mzgAYuAzc4YkjyzoPnqNf34m\n7CCpcxHvJjQlMnZtx6D3WLffwCF4/+YWzB3laDY8u3NvTLQX/NiGhUVkIN8b\nL5Uc\r\n=HO/t\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.0.1.tgz","types":"./lib/index.d.ts","module":"./esm/index.js","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --noEmit && tsc --project tests/tsconfig.json","build":"pnpm build:cjs && pnpm build:esm","build:cjs":"tsc --module commonjs --outDir lib","build:esm":"tsc --module es2020 --outDir esm && pnpm esm:extensions","esm:extensions":"ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"","_integrity":"","_npmVersion":"6.14.15","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"14.18.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"3.1.2","@pothos/test-utils":"1.0.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.0.1_1644023797011_0.8013960662037258","host":"s3://npm-registry-packages"}},"0.0.0-preview-20220211212258":{"name":"@pothos/plugin-authz","version":"0.0.0-preview-20220211212258","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":"Michael Hayes","license":"ISC","_id":"@pothos/plugin-authz@0.0.0-preview-20220211212258","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"7dc69b6d33d0cdb0227cf79e8f12774ba685e0f0","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-0.0.0-preview-20220211212258.tgz","fileCount":37,"integrity":"sha512-c6Mu9F3b2qwEhEFhjkQCj5rXUTF1kSABzRx1uNZjqVry9qELcJfm2CXzXi1+zSmA1oBy/zsMngy+FWAFu2OYbg==","signatures":[{"sig":"MEYCIQCa54fz0ehhDoBriu8Sj+dzHy5lxt1PBvqewh2FQRyilQIhAJxfjRg+5rnXpRc9b/o66BETvq99+t8PJmmbVdL9H6Oi","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBtPKCRA9TVsSAnZWagAAU50P/Ri/hwOIB67HKiLgVPWc\nODyYfpjLBhd7RdxDPx8HKOUNbYQccst0utFeL5G6Loe+ivKXCVBL9777HCLC\n4sJWy7TpxMuMMR6JPvwHEiZkr5wBm/muoUiip+OewNBI0FiqixhRDFhEwpX0\n55Pv1UMv9sjf0/9cc/379Aik7cM7DyQqdARYiUcGdcb3aHsUxYQjWc9dvLg3\n6n+hevWDxjNB8HBLaysnD2y1vj1s+VqBaEyw3QoL/S0fZdj9JV/c7RhrQnfB\nfH//52LIvsBsmTa9UfFKUtH0nV4jNQIhBpTEHRRH5nar5+j/3lSv4JyykGU3\nE5ZIVrmbNz+jACjb8p5/iW+cXQcLyqWNtPtWeaw4bji90rKXxBcmIP8XOeLA\nTxR58YlKcbGflqo+UMrpZfqgiuUeT4T2SuE4s82LvBAwsN5d02yx0prLFZde\n+qr9Oqhv8oPoR3KHxqagnQSnJbMIAo6q7ePsmorxFY0yr1p0PsRtHmKpKsUr\nNiQt11oNEpgUopZ4NvuEUAHGID/Qm3LyeTFjBTCSWtOpf881KYw6rczBrElz\nefKbYowb06QqWPut1z7Eadvk1ucu4KqDP3pC9289x7hSEbZhEwTMwzzhZrBP\nBF19T7m7sgoGQOFJN/hLqFFznXui3dJeC/SRH+USSaIGF4RmBJyl8Wn45QJQ\ncBUG\r\n=pJ6b\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-0.0.0-preview-20220211212258.tgz","types":"./lib/index.d.ts","module":"./esm/index.js","readme":"# AuthZ plugin\n\nThis is a simple plugin for integrating with\n[GraphQL AuthZ](https://github.com/AstrumU/graphql-authz)\n\nFor more details on GraphQL AuthZ see the official\n[documentation here](https://github.com/AstrumU/graphql-authz)\n\n## Usage\n\n### Install\n\n```bash\nyarn add @pothos/plugin-authz\n```\n\n### Setup\n\n```typescript\nimport AuthzPlugin from '@pothos/plugin-authz';\n\nconst builder = new SchemaBuilder<{\n  AuthZRule: keyof typeof rules;\n}>({\n  plugins: [AuthzPlugin],\n});\n```\n\nThis plugin will add the rules to your schema, but you will still need to set up your server (or\nexecute function) to run the authorization checks. The implementation of this depends on how your\napp is set up.\n\nA simple example that just wraps the execute function might look like:\n\n```typescript\nimport { execute } from 'graphql';\nimport { wrapExecuteFn } from '@graphql-authz/core';\nimport rules from './auth-rules';\n\nconst wrappedExecute = wrapExecuteFn(execute, { rules });\n```\n\n## Defining rules for fields\n\n```typescript\nbuilder.queryType({\n  fields: (t) => ({\n    users: t.field({\n      type: [User],\n      authz: {\n        rules: ['IsAuthenticated'],\n      },\n      resolve: () => users,\n    }),\n  }),\n});\n```\n\n## Defining rules for types\n\n```typescript\nconst Post = builder.objectRef<IPost>('Post');\n\nPost.implement({\n  authz: {\n    rules: ['CanReadPost'],\n  },\n  fields: (t) => ({\n    id: t.exposeID('id'),\n  }),\n});\n```\n","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --noEmit && tsc --project tests/tsconfig.json","build":"pnpm build:cjs && pnpm build:esm","build:cjs":"tsc --module commonjs --outDir lib","build:esm":"tsc --module es2020 --outDir esm && pnpm esm:extensions","esm:extensions":"ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/Users/mhayes/code/pothos/packages/plugin-authz/pothos-plugin-authz-0.0.0-preview-20220211212258.tgz","_integrity":"sha512-c6Mu9F3b2qwEhEFhjkQCj5rXUTF1kSABzRx1uNZjqVry9qELcJfm2CXzXi1+zSmA1oBy/zsMngy+FWAFu2OYbg==","_npmVersion":"8.1.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"0.0.0-preview-20220211212258","@pothos/test-utils":"1.0.1","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_0.0.0-preview-20220211212258_1644614602389_0.8543164189722223","host":"s3://npm-registry-packages"}},"0.0.0-preview-20220211214221":{"name":"@pothos/plugin-authz","version":"0.0.0-preview-20220211214221","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":"Michael Hayes","license":"ISC","_id":"@pothos/plugin-authz@0.0.0-preview-20220211214221","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"6a8289968df0b94fab7b07a7141ec38952b566ee","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-0.0.0-preview-20220211214221.tgz","fileCount":37,"integrity":"sha512-8be28+zSoMpomZskBAaGejDFl3aHorM3HiA2YwU7fqlX7VDZHjui15HEyZCyhBZWXqJ0+BKhF7fn9/dxkIBRBA==","signatures":[{"sig":"MEUCIQDrlAiUOr5QOdIflYC47CrhDPGUzD0yStmjl+i7iCr2kAIgIH4gh9BFlOSbvNSwHb6i5lZmZAaJJ84kp1K1nCkP38M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBthWCRA9TVsSAnZWagAAJZgP/2KyS6uuRA61T32wpTgr\nSVbOAEUQNibWOpQ/916vc5TRGV9c3EcpjqmJ8ZJT4HDRHIZshyPSffd0zD+O\n1tGMKCNvjEWzrgKqT/1bhT3bVlFkYgzff9c/Jd1n5vSDvZKTqz4MOXLNuP2d\nxGpnF8GBUBWOGNl1l15tX78ILFahDEswHzeMA1Lf5E62cDQG31sIUN3zpiVJ\nGhtl3Qtl6BPBag2ynlw2FdgHFQMYDi+/XKvTrhCVmGgm8cDPKug/bc4MBfrc\ngsfBzg6vw4wkCfF8B0ZIqg0wlFtuWqnp4JcnxS2q6J7aGRecBtzfYr5C3Uv7\nZhPk1DAqQkyGSVvlIfYY45fAt8ncfgcuG7EvPyFbnJvtCat/PvTuSV+R87Pg\nPkqQ2Y/tdX3NMgQkD2BYLNTMhBGfe6sXRrqMQcUir9exRCzhO1VlLagkw7aH\nrji+mfegaqvtPtyzQ2HOLYzIBXu11eL5+4hbHKSafkUyCzb923nm6kD9HMKF\nfGDUivHXr9N0UGPyfpR4ebwxNxqPHa1159WVuGtiwyHHrMMFSMuWobNv+wb+\nrM7vd/wx01QcftrZk+d15ebtdMGtiP7f/K/CvsLKxF3I2mcxWoBh9E3QMvCL\nHW0icw+t5unInaLwpNDkU/BOQu96akgwXL51HIogLvnoQGxL2zZcTU2MVViD\nhLZV\r\n=zmeS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-0.0.0-preview-20220211214221.tgz","types":"./lib/index.d.ts","module":"./esm/index.js","readme":"# AuthZ plugin\n\nThis is a simple plugin for integrating with\n[GraphQL AuthZ](https://github.com/AstrumU/graphql-authz)\n\nFor more details on GraphQL AuthZ see the official\n[documentation here](https://github.com/AstrumU/graphql-authz)\n\n## Usage\n\n### Install\n\n```bash\nyarn add @pothos/plugin-authz\n```\n\n### Setup\n\n```typescript\nimport AuthzPlugin from '@pothos/plugin-authz';\n\nconst builder = new SchemaBuilder<{\n  AuthZRule: keyof typeof rules;\n}>({\n  plugins: [AuthzPlugin],\n});\n```\n\nThis plugin will add the rules to your schema, but you will still need to set up your server (or\nexecute function) to run the authorization checks. The implementation of this depends on how your\napp is set up.\n\nA simple example that just wraps the execute function might look like:\n\n```typescript\nimport { execute } from 'graphql';\nimport { wrapExecuteFn } from '@graphql-authz/core';\nimport rules from './auth-rules';\n\nconst wrappedExecute = wrapExecuteFn(execute, { rules });\n```\n\n## Defining rules for fields\n\n```typescript\nbuilder.queryType({\n  fields: (t) => ({\n    users: t.field({\n      type: [User],\n      authz: {\n        rules: ['IsAuthenticated'],\n      },\n      resolve: () => users,\n    }),\n  }),\n});\n```\n\n## Defining rules for types\n\n```typescript\nconst Post = builder.objectRef<IPost>('Post');\n\nPost.implement({\n  authz: {\n    rules: ['CanReadPost'],\n  },\n  fields: (t) => ({\n    id: t.exposeID('id'),\n  }),\n});\n```\n","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --noEmit && tsc --project tests/tsconfig.json","build":"pnpm build:cjs && pnpm build:esm","build:cjs":"tsc --module commonjs --outDir lib","build:esm":"tsc --module es2020 --outDir esm && pnpm esm:extensions","esm:extensions":"ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/Users/mhayes/code/pothos/packages/plugin-authz/pothos-plugin-authz-0.0.0-preview-20220211214221.tgz","_integrity":"sha512-8be28+zSoMpomZskBAaGejDFl3aHorM3HiA2YwU7fqlX7VDZHjui15HEyZCyhBZWXqJ0+BKhF7fn9/dxkIBRBA==","_npmVersion":"8.1.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"0.0.0-preview-20220211214221","@pothos/test-utils":"1.0.1","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_0.0.0-preview-20220211214221_1644615766324_0.4585093661301143","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@pothos/plugin-authz","version":"3.0.2","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.0.2","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"61534af8c135461347dd41ba0f44b93e5b18da08","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.0.2.tgz","fileCount":33,"integrity":"sha512-GR5SpUqA2ZfGIOepbaozRHhAVvQf7BqIvlrdqQtZnc6fsf+01TaRuD+uxjdMBcyKYk/3Rn8IW9r6u3DIXeR0IA==","signatures":[{"sig":"MEUCIQCo0JSNr6BEtDkhNUnlcwfsUbyyD9M5EjaTMMqDWls0qAIgGbO2MiGjgplBVNo06D4U0rp20yUuNL46/UpGP7ffSko=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23494,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDWkhCRA9TVsSAnZWagAAhlIP/3PX5gYvP7j1bDR+lNYu\n2KbX9yV3tuGVpKoxHf8xy/Acw51r/qTy+vFAzR8udCBrgoeCjldbcnruR29t\n6WucwJxdQAwFa6MCaYonwPmP/KwY+30NwU5r6iwDNu8I4fwlSoEbAlGG0zQS\nFaa0h4+W161JIvo23UWZxKOnSs3aNwCtoSaSe/+M6Dlew2l1oac2RBd1Se32\nAMdGH8KEGqV6xe/Ul1hsCIyWGYhe5R3H6nEcYNKLgMr6zSwrE1zoaZVdXmhX\nNKIVozKbFQZIfQFcaBnR3EPTB5+GlJXOjd4xmsPJ96jqySa+GnOZmdIUS4Iv\n2+8t7HhOnHb+/mJbw+aTZPY4j3tkCDuplACl7XeMhesKUx5+9+BAxfgj2M7P\n41Jb/ZQKkoNeWguY33TtQdkBbE4wLExDgZFUYGtlOXVwcQ2Se8TryRKHFkR3\nLC00a2QxVqTgomOz9IEbE8iasn6dmQQbA25eToJ7ydXfFaKtorAVhnZB2cze\nk3l1wUx8geYlEWAbI3JmqX/EULnmuC0cWSiJoC7fXIUvbkimFPLDleYi77Xl\noDtX2bPmywAxFTWHLcCG3ftEmpwIu0uiQHVSAN4w0fLXPzSPK8qAGDd/3WDK\nZX2crtWFxywsiFz/JZ+J/kUlRCxaQncZxhNR+MfkrpMGnUrjZkRZ1i3E4soS\nL/7J\r\n=icuT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.0.2.tgz","types":"./lib/index.d.ts","module":"./esm/index.js","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --noEmit && tsc --project tests/tsconfig.json","build":"pnpm build:cjs && pnpm build:esm","build:cjs":"tsc --module commonjs --outDir lib","build:esm":"tsc --module es2020 --outDir esm && pnpm esm:extensions","esm:extensions":"ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"","_integrity":"","_npmVersion":"6.14.16","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"14.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"3.3.1","@pothos/test-utils":"1.0.2","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.0.2_1645046049393_0.9111778249240485","host":"s3://npm-registry-packages"}},"0.0.0-preview-20220225212244":{"name":"@pothos/plugin-authz","version":"0.0.0-preview-20220225212244","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":"Michael Hayes","license":"ISC","_id":"@pothos/plugin-authz@0.0.0-preview-20220225212244","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"b9261bf7d5d406fa003c0d20da756a36c37801fa","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-0.0.0-preview-20220225212244.tgz","fileCount":33,"integrity":"sha512-oRaiH3yrsQpsGntpgkDEGO7BACOR9BTacRdGoBVfpG2ijkq+9DgIMtFqdDTtLsxsspQApoh7mTVsGkOPTL5VRg==","signatures":[{"sig":"MEQCIEC9mFqziKlguiw3AqGFLQPwmKb0061I67ynPVTG8V1WAiAyUHbAe103r96uZMo+kZcZLO4rCqv4IXBvLQQba/cgGQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGUjEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqubBAAom9QSQI8mu/7l2zJqf1kAtpZSSrlSh63KAAFgDaCYlWwYCyf\r\nrS40UYdTyTIiQDLkNMyznYt9hJS5nsGlReDwLK7XV4C5SEQ8WQwpch3CRZBe\r\nmeLFo3zr0SxNRvyhNOVfWpv2cyBZMPWO15ISI0BKywWpeNEiW7IiglD1NMKV\r\nc95ZjRN4WIqu+QHvUlwVtMuddH6AkYholIldRGz3G17DpL3qH8YsQ1Zp7/dn\r\nyYv4jZTmOIuKDDfXQztzkjW5Wd0n5BSlwllV0jRlosbsz+Pd2QexX4hQ8sB4\r\nVKr08OG482QcWu2ZY8XahVEuWVxoBHhWdDbPf/SSSnIudfQX8shZmgPjDVrw\r\nuGJF8K9preXv/klMBLiN9PonHfYkkO5Vq0DChgHbGtjrBDmofyl0S0e03tAt\r\n6+eLBaN/mCOYKVFr8Gwg285keSpuOlpt0oyfU1j5Rr7OVH3iG1SDit5dUXXd\r\njvEglnjZzM18YpleLAtYpBjWoHyD5N3PyNEHLXw6lSu5rd74l6FEwFWvS7tf\r\nGphX8iM45p7npnZTHvowC6sXtD7XMAAZ7yDZAcAUvng1Xv/JKH0TjOvGLyZZ\r\n+/rUqyao/xd4EEZr83XHGSUSuFcX5Uq3N+BLIXIVKh7Shj+C/g89jJjDsw5W\r\ne28aaRoTkMMcFOGE4X+DUd05NSLv25wLpic=\r\n=CP+G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-0.0.0-preview-20220225212244.tgz","types":"./lib/index.d.ts","module":"./esm/index.js","readme":"# AuthZ plugin\n\nThis is a simple plugin for integrating with\n[GraphQL AuthZ](https://github.com/AstrumU/graphql-authz)\n\nFor more details on GraphQL AuthZ see the official\n[documentation here](https://github.com/AstrumU/graphql-authz)\n\n## Usage\n\n### Install\n\n```bash\nyarn add @pothos/plugin-authz\n```\n\n### Setup\n\n```typescript\nimport AuthzPlugin from '@pothos/plugin-authz';\n\nconst builder = new SchemaBuilder<{\n  AuthZRule: keyof typeof rules;\n}>({\n  plugins: [AuthzPlugin],\n});\n```\n\nThis plugin will add the rules to your schema, but you will still need to set up your server (or\nexecute function) to run the authorization checks. The implementation of this depends on how your\napp is set up.\n\nA simple example that just wraps the execute function might look like:\n\n```typescript\nimport { execute } from 'graphql';\nimport { wrapExecuteFn } from '@graphql-authz/core';\nimport rules from './auth-rules';\n\nconst wrappedExecute = wrapExecuteFn(execute, { rules });\n```\n\n## Defining rules for fields\n\n```typescript\nbuilder.queryType({\n  fields: (t) => ({\n    users: t.field({\n      type: [User],\n      authz: {\n        rules: ['IsAuthenticated'],\n      },\n      resolve: () => users,\n    }),\n  }),\n});\n```\n\n## Defining rules for types\n\n```typescript\nconst Post = builder.objectRef<IPost>('Post');\n\nPost.implement({\n  authz: {\n    rules: ['CanReadPost'],\n  },\n  fields: (t) => ({\n    id: t.exposeID('id'),\n  }),\n});\n```\n","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --noEmit && tsc --project tests/tsconfig.json","build":"pnpm build:cjs && pnpm build:esm","build:cjs":"tsc --module commonjs --outDir lib","build:esm":"tsc --module es2020 --outDir esm && pnpm esm:extensions","esm:extensions":"ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/Users/mhayes/code/pothos/packages/plugin-authz/pothos-plugin-authz-0.0.0-preview-20220225212244.tgz","_integrity":"sha512-oRaiH3yrsQpsGntpgkDEGO7BACOR9BTacRdGoBVfpG2ijkq+9DgIMtFqdDTtLsxsspQApoh7mTVsGkOPTL5VRg==","_npmVersion":"8.1.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"0.0.0-preview-20220225212244","@pothos/test-utils":"1.0.2","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_0.0.0-preview-20220225212244_1645824196155_0.3761313550478318","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@pothos/plugin-authz","version":"3.1.0","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.1.0","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"3f8d294e58ca83cc2c81513da0e6e20442493d9d","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.1.0.tgz","fileCount":30,"integrity":"sha512-nxlFhbLjiwtblcI+Sh6zAX8kr+TYvmyCGUk6dZUXhZd5ZRYfrQV11l5YTdc3X/Yff5TSrgfvMnZpazuIf+rx/w==","signatures":[{"sig":"MEUCIQCXJjBIhhDHcswl8396AK1FnhIw1o6sj5Ddto9xa5tufAIgQtlKT+inkFBHCkhkN9P/aNrRJQAd2UPbO5mx3hVCha0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTQDqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcJQ/+MYmdXHz5/AJHXDEv+v5X6NobQgXhz98DStDWU+N9/yFLgFep\r\nzWrr0A8txT97/+pKlRBpBZumcq1JNBxjG2/8G/6fdu6HUmTpX8yUmu2PGVFl\r\nCs4qjZZQrKyGEleB95ZJE3E2xPyjskQlQnbWIq3UF99EIwrQI0p3VvKRrwA8\r\nCzReTi1A3R3rCxyEHe/48Jeh7bzbHKinpEsYB0tPckBMoUMx0S0Bsx1LXA4d\r\nV2Vjh32klacuUEqQH+5dWIr1x/XSUAndNew4Gvf47fA47+qt2Z6wlrdi6E19\r\nC44fi5xvs7ATcmW7pTezOlCDpIGpDY6+n/ABptBZ9AflS2FpifPticwhBeK7\r\nR5u9DRo74shEsOOTV5KzUJEuayI/ycBEUajCAuhpXyVUyqEi9DbQ44zQtwtR\r\noyOoZhJiGWH86Xg8MVScO7Etz5VOYZwSKFu7R74aRAvMukMtUPfLoVXDuyIv\r\nHsn0D9NIgRR4xlwsIR8aljEq4FPHzXzCK39JJNORvOvj+G5QMvHKGAuJrpKo\r\n6opWiASiw7hoKUFh14W+8M9dEtGKZY5F8OErh8Dd8xFPst44EKwo7bdUginM\r\nwCHtxhmG6UinaNNrwjGCwO+WweCoWJgcxRqqv6ng/3RECWUP10lzHU/vWsGS\r\nR/b20toGHT1L7yRxvkrufaZ7wnQBmd4TDPE=\r\n=MV6E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.1.0.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"","_integrity":"","_npmVersion":"6.14.16","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"14.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql-tag":"^2.12.6","@pothos/core":"3.5.0","@pothos/test-utils":"1.1.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.1.0_1649213673957_0.7848561336548452","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@pothos/plugin-authz","version":"3.2.0","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.2.0","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"a6b1b9983b2858ec1f1f300ff7b7cb40e74c0f6a","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.2.0.tgz","fileCount":30,"integrity":"sha512-H+6uUEYX0mcvebf5AitlAyXdyvwXK7c8ka8WhxwNkWjguSYyng4aRJald+gWSpaRCH1rFs4X56k0gaEEU2Zlbw==","signatures":[{"sig":"MEUCIHRWd8C+ww9oDphvhq/zko1u3Bqck6cxFQOloOk15R/tAiEAyuWWkqvF5/kJm0bbOJClduwlEM+MzKXnootnHqV9/L0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJievpyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqkBxAAnQ3jUe2HELyBNn6znL6RFHAPB5MqBpfRneokJhVghOj6oLdb\r\n3vPttsIarvBiY2kDhuRSR4JVyqbjGRCHHrSCdD/FlTfHPOt17MbhPJ2jlrPo\r\nD6eSVjaRRHzpKnIYSNbv5FVw+uBEW5uZAglAcZkxGicAlKvuOS2z86xgty8a\r\nu+C4xldwFpwHZ0dWwe1opZlTEhsZgH1fyPBcHj2G1qFABkhijgnt9JRwscUY\r\n8GstG5OVch8tbtrPvHR455MJsI+v2smTHhoE/rAjSTtgQ9206PBJ/XFupjJ6\r\nfv3HYVgLz+NTCp2atRNsa87DUY0NFRsH217+xjJid5hKKebRfd8RleZGquat\r\nmFKt2xvgandYkpms/vIuWa8E4ZUl1sP2f+giaRH/tDf8R890ad1Z7mL9mIEB\r\nmkbYDFgmvFpTniNRsWmoNtbKSmryghb74BeLQ+moPTBCYwNKd6fkaiIFKNRW\r\nV+ziShSiInheDbDWS+a5ceAnuC/FXTdc1ZRwko226S56GH8GzqxF1ghPHJH8\r\nU+nq9FBZs7E6eoKhS6Aelvw0QFf6fi7KLhjdL60OYW4kw3wpL8+8keZmiOPp\r\n/iAzkJyhy3fWgB4YySGtruBHKUyt8mxMPwZM5fl+6LNpwTL/3zBGBXFWIq3V\r\nJekgB1YkAi+EL0cy2HZ2C4Jq/Y/AvmZSlCs=\r\n=4+8O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.2.0.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"types":"./dts/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/ac36fbb4cb565a23c0288089090c30d4/pothos-plugin-authz-3.2.0.tgz","_integrity":"sha512-H+6uUEYX0mcvebf5AitlAyXdyvwXK7c8ka8WhxwNkWjguSYyng4aRJald+gWSpaRCH1rFs4X56k0gaEEU2Zlbw==","_npmVersion":"8.8.0","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.1.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"^16.5.0","graphql-tag":"^2.12.6","@pothos/core":"3.11.0","@pothos/test-utils":"1.2.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.2.0_1652226674767_0.8978421299285149","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@pothos/plugin-authz","version":"3.3.0","keywords":["giraphql","pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.3.0","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"a05b5ef43cbcd2dac30366928bb5509cd7a6acc2","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.3.0.tgz","fileCount":30,"integrity":"sha512-nUBlb3JVRzoxGUqggEqXD8vahiDwrHWr8wduRoUW5Sl1JW7Mjv1RZrQ4wUOxIHR+/eCRi1lrhV/MDW59tq2tqQ==","signatures":[{"sig":"MEUCID1IEolvZ67AUZx4pAKFsL01AILVgPZqr5a1WTDf1dBMAiEA+KrtmYVGucLLxa6k+dhJuQJfoZPtwhD5ebxMepE75m8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi156OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrwog//dPKbpChZxkEEC0QFFXTKGA6tlltxPUX1JV51uhu5EQip3yDL\r\n56T2yBdZaI2rS1UhiiKIwQVtNjgd8HfAHLm6S2yyDZaYWLV//i6HINxbMJCT\r\nMtJNoCbeyiZTzN7szLjh4k3kQUTrE+Oh0dn+t5/WkCNVCtlTXkjRWy1lcrBi\r\nL0ybekmISvBT351zE+lm8xEfX0YTdjwDSLLQVsF5qB2opxaHjA03MX1sMQQp\r\nWaq8ODRTyElng8isJLXCNMM1DwKIXqdDkj+8Qa2KbTQtcwIpV1ahQzOItvsQ\r\nPUaO6vP4BBrbzkwit3p1u9Z0hy8hTdqs6FMkTrNfGsxWOBNoXB1ASnI4Z9VR\r\npRdk75GVKEAjfebxRhRvJAc/3uD8Tg7L4EW1iiAYEMy2vLwGg4cEI4Bl99lX\r\nNh47EudKe6rIR8Udr1elSm8qL8faCkNJH13deMTLpLoAMH4+ubDbnPbbxd5F\r\nUUqNos3nVmqOACcABDOmQCQUddHPOCetvGNYoJwdPNoci7gFbO19e8bHGB9y\r\njwrqlTQBplToSkIszxZHjw/rM4zq9qVNnofLoWk7ezOxywS6w2d4CG0XpRm6\r\nmO1Whiu6u6NWT8WqYwNzdYDfp7nf+GjbeqqZ5R8YO4ADCIvrtHKNRjjwTgP6\r\nBArmfbxiTOsE8829QOV8fHwHnNLENkAemoQ=\r\n=FDbb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.3.0.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"types":"./dts/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/402c819cd5ea55e6ce215cd2e038cedc/pothos-plugin-authz-3.3.0.tgz","_integrity":"sha512-nUBlb3JVRzoxGUqggEqXD8vahiDwrHWr8wduRoUW5Sl1JW7Mjv1RZrQ4wUOxIHR+/eCRi1lrhV/MDW59tq2tqQ==","_npmVersion":"8.13.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.6.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"^16.5.0","graphql-tag":"^2.12.6","@pothos/core":"3.13.0","@pothos/test-utils":"1.3.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.3.0_1658297998218_0.3002038990976339","host":"s3://npm-registry-packages"}},"3.3.1":{"name":"@pothos/plugin-authz","version":"3.3.1","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.3.1","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"c9167d4c15bb0b4ae42f1e1426c0aa034dd66c66","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.3.1.tgz","fileCount":30,"integrity":"sha512-Mid5sxwlfzAqMk/Wq+xqn0KTC2WS364fszZ93+Zzlm7wCZ0YU2zA9WO21DkKGEFIIzYAzvgluEOTKWsn8/2eyQ==","signatures":[{"sig":"MEUCIDwOz2i/+B93VsHflvqq/Neo2mOtG7ge/hOLzI+XyAflAiEAoaBvWEbLlez23WemZxUzhiTvnjSnsfKjH3FZeC/l73Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEUTNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmow8RAAorbei/Dsu9upHVY4mokToGVaPqfAUGjMiYqmOCRcGwAcrOVk\r\na0zrqRz8DrxTEe2HBf17kVxI6I6IGcvQAOCrOVwK1hbyP/ISRk4KQsXbCBrO\r\nbTUJF6Z8Uj7mxZLorGEoiUKBHrXlWBVIOutVDFEjVcYfMf/Ffvx6eBqU35sD\r\nvAo2+CFTYTqr4K8thMPUhi/IwrULfzeWIPO8We3dguHKUSMooUaxGRoolBbj\r\n+s7rHj/mmPtFu35H/HNvMLOvk9idkeMV6myFDKS5UuMXGUScGTRwtTQ0qHqJ\r\nG/ZhXihz2wjgUUssLB1ot8i9GGncpnBtt2lkZiF9pcWepN5mDgZbMHxYKVBl\r\nyRTcw7uL/ywtGPN5GbDsRYXorNTKU7LzN3bVSzwOAKBOCL8SVU/yxK1fzKZZ\r\n3i6CMU34TDU9EcbsLumKHGecBrpNMI0los9THrt034DGpLzWj3vmIFz9T/IB\r\nDfk7Y6ElTVj/d7nqaC8W49BzeMGUKdlEQx6jp9Kla++XFXXwJPBo8Io00ZM0\r\nGZwmdF6jFp0Zss8esG4hlPfMMj8G+eL9hAyajTtLJtXGvwZg1Qddzuf4MAV9\r\nUZrf/YfiiPFVLxlFqiTbI2AsYOVF2cCmpOQPI+VSfrMA+tDBSOwdi+s1538w\r\nj1CZvzTKbggwIlV0tYpxYzVuHO9ws4HOn58=\r\n=3aKp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.3.1.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"types":"./dts/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/389af41e469c90df1d5afada4172abf0/pothos-plugin-authz-3.3.1.tgz","_integrity":"sha512-Mid5sxwlfzAqMk/Wq+xqn0KTC2WS364fszZ93+Zzlm7wCZ0YU2zA9WO21DkKGEFIIzYAzvgluEOTKWsn8/2eyQ==","_npmVersion":"8.18.0","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.19.1","@pothos/test-utils":"1.3.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.3.1_1662076109204_0.845049847483583","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"@pothos/plugin-authz","version":"3.4.0","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.4.0","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"7b8ce25fecf4d2bbdbf1e486a90e57695107668a","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.4.0.tgz","fileCount":30,"integrity":"sha512-YY9ZWaHjXhoyfoTiZP/cr2aErx/yTLmJZDyWjF+CheV4ln4j83NrcAUDlnoVk9EvqsRFI2amM1rzVmwiFL+zYg==","signatures":[{"sig":"MEUCIFicuZZ3XOVhRHZimMNYSKwUFaMTjrFNm3lJEdVD+wBdAiEA1EpVOfwpV8f9ChAQ4xqqBSHJhc8s8xtBhlUVf35zyU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjE6pzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqaiw//bExJek6j/Lw3lxCOHF05Ocx3NjlXrOkhQQv6cqCYRK5TUg8Z\r\nlwLWetjTX1nM4GxUjXx8inovuWfOFyRYqro18yDa5tCsNYKZy38W1lMmqZ9u\r\n2XYo7uom0X1Ybt2BM2XDYOPGNhCjKFI54fzVfxaEX1aOfiMnY/YatQy156GN\r\nZeWria2j8fizb89ttbAlwnR63mMGgm3sZXGz6kTisZ9rNYFKrrF2ruGkvJRs\r\nTxnStgHGH+qWdoq5Qvyi96jrpe6ElRFk+BpI6ebFI8VfcXyN05ikIrcx31TA\r\nb/ajEadbMq7Zv3Ahq0RDFjGJ5yY7+vWhKm76gG5v5kCU6AeTq8+BwQ+EgxyX\r\nd13Ae2Apfyja363jmsvbQJCVvslHQUGSTneUYDKRZRWbUL49EsxLcX4zkE45\r\nPHOeXwEiCyEHOyqsXN/XCmtekn5W2s4JId6+5LYEcA5IylD7hA0jPFpO1WgA\r\njWlc20EjTkoWrKgP6bk7ronn0IS+RVJsAfsSN5qey1vXrkuN1Sqq9gWjhgar\r\n0x2ilYgVfWOinZgnMhMONbD3Gi6h4fgtLdt+fJ3gTIcqsT7u7KJvwSZSN85k\r\nfK/4GWzJFxTXdEHeHm6P4C9tVv0F5Rb2NNlkKYvE5BFJQhAyUnVXfGabBEtR\r\nclYYjOhgBVzDSYoePfeRH648OsxUrl9YdFE=\r\n=xWyT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.4.0.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"types":"./dts/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/5a19200576e9b9ae39ba5b656a9356e4/pothos-plugin-authz-3.4.0.tgz","_integrity":"sha512-YY9ZWaHjXhoyfoTiZP/cr2aErx/yTLmJZDyWjF+CheV4ln4j83NrcAUDlnoVk9EvqsRFI2amM1rzVmwiFL+zYg==","_npmVersion":"8.18.0","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.8.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.20.0","@pothos/test-utils":"1.3.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.4.0_1662233203146_0.7673758076154817","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"@pothos/plugin-authz","version":"3.4.1","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.4.1","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"7633da0f65fe13d7afb624462ab5a2cba3e53fe5","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.4.1.tgz","fileCount":30,"integrity":"sha512-J32w7qYlclOGQAy+lcp3wkILRGprD3kr2Plpk8gR+ty90DBUdwWwQ6GzT+KaJpLFYBfLJWH2/GjfRGdxLc6fRA==","signatures":[{"sig":"MEUCIGHhlPDi9tmP+PQn1vG6jjmolmpBGhdd4rBOT849tcCjAiEA8xfzybAOkf+IM10Pd2/Az9jRe4IT9/XQFsYbp4PDtWI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJywdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLQg//UtO7cxL4gMfocbSFQM3mryavp16eV1QhH4IWSDpQuuk99ES5\r\nkP5e0SZL5aYwf1MDQBEImpGjcHo0TzLadWQxFJExZn9bFbHGgIKFVQt36MPp\r\n/mwF45FXLPh7zog4a9jRsPDbDZRFkixlwk14O1CIhFZUsqTcM9cnWsrWVZte\r\nKaj3qEh7oiyuDkoq8kCvs7xCyfT2VwdyHvLjQSFGi1/bewARWGztBCkcUNlX\r\nvp6Et504aBfh+tJ+VRftJ0BG62D7+NMIluCHuJJWCLL4mDe0fO+M6EXDkTZj\r\njS9pZe9HOSt1mQSoTpKK+JBZkjNRMUhRDVITyr6+jCs4o1AUdUDWCE1gReOP\r\n48wtTlOc3hnt3sL9fhmDOhntdjOEtAQ/zKWJ3W+fekZ/O8BYAKyg1ndvoaBN\r\ngXeXGf2kH46y9mjJLRna+GDV1/GgjpLs4LwulyLMwnbf5NEtky03GCck9ecA\r\nh8dIykcm9dRGMXNGVoP5vQW5y4PA/exkWTL89dK9b4dtgoKI/UWJwH0G9luN\r\neC8DkpRz9qICrYhx8fdk/2XnNFrag/76zTKLIKjOGK4DdvfYrJUe3U2u+ARQ\r\nU7bDvw3x96AlDhxXvx5YXUnCsJ9w5pogCSG9S6crWKPlCNAclR2xrhHMi7BA\r\n+YkkHeyNb09SQIQXOjTeLUixm8jmAxzw02I=\r\n=/Tco\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.4.1.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"types":"./dts/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../.config/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/55e8e064c389df641b7b9d59c7cd8374/pothos-plugin-authz-3.4.1.tgz","_integrity":"sha512-J32w7qYlclOGQAy+lcp3wkILRGprD3kr2Plpk8gR+ty90DBUdwWwQ6GzT+KaJpLFYBfLJWH2/GjfRGdxLc6fRA==","_npmVersion":"8.19.1","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.21.0","@pothos/test-utils":"1.3.0","@graphql-authz/core":"^1.2.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.4.1_1663511581457_0.5340828286104342","host":"s3://npm-registry-packages"}},"3.4.2":{"name":"@pothos/plugin-authz","version":"3.4.2","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.4.2","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"e52c1e24bda79a897e02ddfb67f6d3d4d9c4426a","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.4.2.tgz","fileCount":30,"integrity":"sha512-6UWYmydXdl88XuNq6c1zKwmW+ommhJHbLHSLsZc/7R0lUNAx4nLv0lJlBzo6oh8KX6KHpmztlKS6qcybP1Zwmw==","signatures":[{"sig":"MEUCIQDqKzKG/Ghd37rDcBhL0NCdJbOXqtwx0lO+NKy1Cy0ZxAIgUIVJqIDuimVoX5JrYjQvu1acGduPABIpXJ0ByZ6wfUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMyuwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmryUw//WD9mV30KaRbZydLaUG45uKFThd/WmwhkcSoQscWlob/bMNka\r\nbFIGDwhjv3xqbbnVT8eG8OIvkpRqFwApRedBQH5+A13uWWyTgqVphpmz5kh2\r\nGQB1d8rJU5nx3qokD6e+oHr4UH86gy6VVnZIbNBwb3htk+7n0usiGY7ARb4C\r\nliFmK7Fe0HvW8+pzg+gwzI1zvC49doMeLQn7sQ9STEFLNLZVOFRG8WKsFVJv\r\n9bwou9ETNeslu6TsWHdoC36mENmkYtIsA+gkjTZ9imqHm5iGw0I/S9afdNSL\r\nLZaTHN1zcH7UdyJCAgoANfWW/VN1IF1MnHnKP5GKDt87S+EN49nB1uQVersI\r\nJphul12NOvlnLhMEhDj/UQF3OLSANa5/lryMcmaB/2wH72YQxoVJ14IxMJpJ\r\nUqjo6vAL+o/ZRaidVjSqQ+O0MjRRYsE08hIScX0gslsMZZJOtv5xQ9fHV5dc\r\nRtPZUxqRH2nlh3ALs8RxvmvZE3MqdLL3H8Gx7jrqXJtU3clpz0SEYZQ5IXh2\r\nOXzBvws8Dms1aDWzNOjUgPaMp/F3DuEC9OOKr9UobamI6VXi1pHo+dj2ewws\r\n0VRl2QvE3u351NrjjOuI0ZRbeVlMbgvpSus42+NPzaZ/w7RwPw782iYkkbVI\r\nDI92LN1boX1uuq4fznweeK1XrnP29JbVoJI=\r\n=v36N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.4.2.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"types":"./dts/index.d.ts","import":"./esm/index.js","require":"./lib/index.js"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/29651526d8149559ea2a5cb815bf4aaa/pothos-plugin-authz-3.4.2.tgz","_integrity":"sha512-6UWYmydXdl88XuNq6c1zKwmW+ommhJHbLHSLsZc/7R0lUNAx4nLv0lJlBzo6oh8KX6KHpmztlKS6qcybP1Zwmw==","_npmVersion":"8.19.1","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.21.1","@pothos/test-utils":"1.3.1","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.4.2_1664297903908_0.34285411300060487","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@pothos/plugin-authz","version":"3.5.0","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.0","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"7111a6acc1f8cae3a84463cb08e93b12f9ce6558","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.0.tgz","fileCount":31,"integrity":"sha512-iFEPM+rzPDpRlLfVoJrufz1uIxBV5R9TE3GBWX54VKB8BnM4f+dD3swDMDKUuvj1WRO4d7NVrM9SVHIv8VM72g==","signatures":[{"sig":"MEQCIFCwM5pQfsRHwxipfQ1PBOEewsVIzbEOOjpA6qRJ8dd8AiBOjV5lbrjhAdMv4E1d8uprhO+2uvc+rNkYXPUcDkpjlQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNNVYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqHZQ/7BDEw+/kOsQpxVRgB523fqHyRsOmcFjvW/2qtsQV3jiarHsge\r\nonYAHtO8OOaBLjSwaHXBZrL6LyZ+ryYzHGb/ksMU71VTHqB+lcODxGEc1LcZ\r\nNr0bUgit5yJnhWyDkYVx0bNnTvJNjX9lY7prBM8NPDA3EhXpjO/EeOBw5xZ6\r\nIoznpzY2G/Jk5qYFoJTvIpUeRChh0UVBaBd2w1rORext5GWiIOVASIZ+O1RA\r\n69iwA2pFotqAgBGAYpe/71rI7fr6gW9LLsuyVybVAf+P5l8hnKTYZrj8rgQ6\r\nppeYIdc7ZNzYngeEk+xzFfSYlz+rMPy75NODK+Jf9OGKtPVD/0cZTo+7A3IW\r\no2IIfBVC8Sb3WQnCNBcGmzjPspBMFW6mDqtjWE1mb8rAQElM7eIKigvJxrl+\r\nygtHWKpKOAZkoHjEq1jT4BLYES3eCBPXwr7fphYIk6OcxrmgqthNOvKARL6/\r\n948Aj0+vtYsg75E3DOw+/pXwwlwqe4qhJ25i8nzqUcEecgiPEKdGaAf3qvLP\r\nf8OXSgu2fud10MGakkKpHY11Yqx3DgBPwoa8sP8lczInBfKVMqDsEVP6SdEo\r\njsE9WlaARn9NYQ8hIK60WMEHq+N0C7M8K33XRo9+uS4zE6Ce/gbNIinhhG4C\r\nGbrcOtiV8mXSTlxlCKEHMu4qDHRr0UTORWo=\r\n=NRh/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.0.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:esm && pnpm build:dts","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/eb87540af1842650ec714594f628b214/pothos-plugin-authz-3.5.0.tgz","_integrity":"sha512-iFEPM+rzPDpRlLfVoJrufz1uIxBV5R9TE3GBWX54VKB8BnM4f+dD3swDMDKUuvj1WRO4d7NVrM9SVHIv8VM72g==","_npmVersion":"8.19.1","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.9.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.0","@pothos/test-utils":"1.4.0","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.0_1664406872209_0.05032500486866387","host":"s3://npm-registry-packages"}},"3.5.1":{"name":"@pothos/plugin-authz","version":"3.5.1","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.1","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"44a0854c62ea175991178f02e891c3bac7ca32ea","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.1.tgz","fileCount":32,"integrity":"sha512-8GCkHtJ0c7KEiMb7eOXhDjkqoVonkGZUf6DymF1lyuOoOsMuJTkRgoyeK2s0NSuD7tVLd7e8vrs4eD2lOmrbwA==","signatures":[{"sig":"MEUCIQDSZzqW4rkuuejRRxzFE6ch1sA5Zj/j1J0iwQPxmhwIVgIgEEPmGfWCa2mDRaqWbfKoB0Rzpw2K5gXpEAseGr/Lxqs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNdn4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZqQ//azxghVHgnbccTW7clNgrf/XgPeUK/+6tqF/3yd/8tk4Vnsay\r\nbk+Z8CuOtYPb6El87viOexg+hqQSdsbAyHI9+Jtg/PIzyyLplfx1Lq6N6MUJ\r\niSyPZU7zxmlr9LQKXw4sH9gnlBhHxcq5X8psZ4mnWIOMRxj1Z656t7j696is\r\nKhOcnSyFK2Dm2cJl+4K6QgpcwDKiYzrywFxBvbswp1YEj0DB1+aGNwIXxcq4\r\n3WxGSekTKRsAKInM1zOrVP2WxwaukqmVkKSL3wv4Jg/XllDIzhjhIvHrK1WN\r\nB6ew1jRogjhKrMXvS4G5JngOuvlS77A5OguYb1KNgzGk9Dg2MhCLhFM10ryD\r\nhTdD32ZAG1h0ND6GiqL44/ohEJ7B4kQjjQ2CRM1etXYAcJodrVhDeGybeX+T\r\nMavgOY8mEarE8GZhoqHlIrR6pRgtZJ9kCBtxu6JYpJmiCF++CeooczMg6+CM\r\nTNZLaZT4r7lzg+6O0XqRmkOIxdSTQUEVMwWRa9B8dS+Yuxpy7pjRbAwcQ4hu\r\ng2oA3EHs3Dt8Lcro2NFCcX4urisZfghBQ7zyB2V55wZLDL0+ZTHeUSj3MFoS\r\nCtafA4fxSiT3i9LN332BRLTxAZHBi0KWRVPCgCO3YUziQPBWcQXcE0TXh+bq\r\nzIxJmNS2AfUhFnKZXqQ6d09l36yN7AjZw38=\r\n=SOeg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.1.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/ esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/da3ef58abf30a37cc93a82027a24b388/pothos-plugin-authz-3.5.1.tgz","_integrity":"sha512-8GCkHtJ0c7KEiMb7eOXhDjkqoVonkGZUf6DymF1lyuOoOsMuJTkRgoyeK2s0NSuD7tVLd7e8vrs4eD2lOmrbwA==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.1","@pothos/test-utils":"1.4.1","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.1_1664473592490_0.8098487241346737","host":"s3://npm-registry-packages"}},"3.5.2":{"name":"@pothos/plugin-authz","version":"3.5.2","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.2","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"749f4d22f0ac4f4b8d42aa1e14d90286b5b46de4","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.2.tgz","fileCount":32,"integrity":"sha512-tPOh1DlSqnrzyaQRichzNKmdIQcQjOTSgxAbY9jTC4EJKqmjUH1XJSa0l3cfzOWdRkyvSULWcL/p1SuqgUb13g==","signatures":[{"sig":"MEUCIF22NDt8j+uV7AHgmFIBO1zvNcCeTN7QYbk7d0T9//qXAiEA2pYv7OD7QdnimueMegwpGrr24MEahSrr8PCEc3nOAc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNrrZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVkxAAl68imLPg80gGv6UrvcG/GsjIDGpi5uW7/hbDykeRC9/68PEF\r\n5fBrXi7J4C2Ul4adQKVYnu3cW7ac89UApHNbdBHIjX6QxUMZtPEifngP66nQ\r\n2k0+ZfgXnuDcgRhNIMt4i4KnVkZ3G93a8touijb/TviUxZ5gu7+RAIY7z/PN\r\nSXAxCqWGUZAFmABs0leHWOPGY6D1Knv/C43cBZTSLz/bsTZh69NsYsbGKu5k\r\nzXK9M2QnBPpnSKdIDFRC3T96ruDQzya9gX0OJrVn2cJKqAQ0V1ic3RzS/aSk\r\nemOZbyC6mBhgZ89RX91wVRqllO184SccAInJXI7dqeLEiwVLD7AFsxYUvheD\r\nKQnvMplAujevXrp+DlFjUfEE4L5fs93sfWVXhWi103iCHtonpt3ul8T9INJl\r\nR7ZCJO8dkuTRaieTsI8UnB4BxDG7azBQGeanKa60n6NOT5kFxvp4dTltctRr\r\nVl8yFakjvIQVFvL0CBNdGRDQXYq1U+XX2Ho+P8oAg0kZMZsIzcOGmC9uAJuU\r\nQaUcME3JoFXZyzNV4xeFxWPGSw2av+fDAOUkJjvggQ5zxK1aM/kRNKPlpkZI\r\n3cQiaekPM8ZGLkYOaak/JX/OQDSECxmPNoxj0q2mo0LRfMMjo419SGKT1cV7\r\n7KOiy8Os+nmJrutekC81VVDVfPtZO9oqiHo=\r\n=Ch2l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.2.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/127aa1b268d0e1f15200cdf2fb2e66b1/pothos-plugin-authz-3.5.2.tgz","_integrity":"sha512-tPOh1DlSqnrzyaQRichzNKmdIQcQjOTSgxAbY9jTC4EJKqmjUH1XJSa0l3cfzOWdRkyvSULWcL/p1SuqgUb13g==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.2","@pothos/test-utils":"1.4.1","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.2_1664531161058_0.364956069998136","host":"s3://npm-registry-packages"}},"3.5.3":{"name":"@pothos/plugin-authz","version":"3.5.3","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.3","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"ae590f89b45ee51a5e9b50ee10ce8d5171644fe3","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.3.tgz","fileCount":32,"integrity":"sha512-jsDJbLcdj6/fyBDwwSkgTHqPgSgM6P5rNtf1h3rHrsLO3AwPGLRzv63s8YLU2IkImLYx1J3WBMjxWHEHb22oig==","signatures":[{"sig":"MEUCIQDfW19HL8o5It45g5/0b5P6UPAJXRiMNguZZMzY8x3R3QIgT5KmhNXwh3jtSBblGGshMGwx0Fro2cRksyX+Ejjt4X4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNtZJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOBxAAniu2d+Z1ZvC4j2jVYq4VfiMhNaeZKbpb6YPFJEZH48wNtaxw\r\nBl21PbaFjwtZGhdE7nPeXKbQH/0/Bg4iLi+BOahPywtJV4YKxqmbD0ZmywTc\r\npHNZgXJlbxW7qYRfRh/QNQiquyMrXtJwx49aLoF9kXGfoOAji+Pt2+2znGEP\r\ndlGbSc4unC5LCGh4MG26QL9zCwOCdjcYOkWYOA9EUMR3VKGYX1X6aMejLBeU\r\nE8nke1PQWKraeB32izAVbEyimHUMzNlgd2D1pwJ/FVU1LMHrWd4UTCaw9KGd\r\nDJxXd5Hagc9sqb6zaehSDNBAX36ZdWIsvDfYpJ1O+SSZlR5gObarB//PQoD6\r\nme06Ooray1gdEFPtyVLttpty2l6pLjxO47cvZiyl5hJliMDvwQgndEO1zJLG\r\nMxT0elKo8GGfuqLXoTToHPJ+s18loMJ6snH8Qz/yRmuUBJw1y964enyTiLJe\r\nvms3W9/waAlXFgqdpKo+PK+L3I0vNXYyyNHqZTIy3HDqXRF5hU0XW95dPin4\r\n9wiq5i5WCpEUBb8XoV7WYE21DV76tHaV/7kh8sTLOXc9SBcSeYbs2VW5vuzM\r\nVZvFKnWpTUc6bFxIsMsScifZ6l0GVi5ZmJ0DhI9788Mmjuuj4Paiey+mU7Ba\r\nZSqcKCMXbshJTBNfnaubtXf6EvIFL/yOnQo=\r\n=VGu0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.3.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/8129cc9bb73bde1bbee1be6f6a9fcb0a/pothos-plugin-authz-3.5.3.tgz","_integrity":"sha512-jsDJbLcdj6/fyBDwwSkgTHqPgSgM6P5rNtf1h3rHrsLO3AwPGLRzv63s8YLU2IkImLYx1J3WBMjxWHEHb22oig==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.4","@pothos/test-utils":"1.4.2","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.3_1664538185754_0.9893769474840961","host":"s3://npm-registry-packages"}},"3.5.4":{"name":"@pothos/plugin-authz","version":"3.5.4","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.4","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"040fde9a34438cccef4b9d5053fcb6d2d904c0aa","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.4.tgz","fileCount":32,"integrity":"sha512-8WGb7E85YRZY/IUaGF0/gHNBcRQ5lo/DiKZwb7UJo5x3Fi0BYzKJqozMVo2W8AFvlu+76G4Hj2b62YiHtFLmTg==","signatures":[{"sig":"MEYCIQDgjvoxKeKaZMJFNVRFRqKna5DOdoRLcSX7i1trU0Q7BQIhAJ0RZB5GYKUyMQYKSAwZnWiRbLwjHDFBqqKCjHE+bQCJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27169,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNuLSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp/BRAAovFy6Lab5ty3kM2uLoi1D+i0VE4xpIeX/TKXPNbajhJd5HZD\r\nBqTSZWjFRlqEQN1/URsib+3WX5sRA0evRjH8qOw2Z/b/BOhp6SXcU90e7M62\r\nKfDuqD3CxG5pVeClVmmnzVXeY9lSFDpAr9H9qJUkjPGJN8Riuya5yNhogEtp\r\nQzmVkqb9g7nX6xyq/1gYFotHVNoaurl1I94dfH9XZ7vzXFJYjVeJZou+v1ea\r\n2n4zmC+EggGu67OOmQGXSzY+ljCBs1Au0YgrnMleGI6nAvwVt99KrYZbPMdu\r\nnD7qj1w1pfI8fW0vhLLNPzYwlvzNp2sXQQ0S8Pre6PIzTIMnx5UlxYkmqXKp\r\n5YIxa+/AUODS+XtJip0NxOqsIoGTTGM8uu78VOaGITTimDho+Zbd496ZOCe4\r\nJWMIhLY7t1wFRPwb/TggMLeRpU1ZI54wRzG+3YvimbFydGfhr1YAknGKtnl6\r\n5AyQe9W2yaPpGWQ6ZQdud/IYu2ZAk3u6n5gbSDBe4075xJLCjLot6toJfnGv\r\nqcAv/lJ6LXjZlRFyD+yXFxTJu4HJupnvq8RwFMfhZcy+oXdmzvtp6hlbkyQX\r\na7oyzqJ82NudqVhCfA62lKeZ/0Cf2ieYpqNj3js7HX8G0gXLtjVSFpdOpKBc\r\n0K90S67L7u+l+WkZWOr0VEZlcP0wj6pnuQA=\r\n=+aOr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.4.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/a6c8b16ad3c45ae3cf18ebd050fe9b72/pothos-plugin-authz-3.5.4.tgz","_integrity":"sha512-8WGb7E85YRZY/IUaGF0/gHNBcRQ5lo/DiKZwb7UJo5x3Fi0BYzKJqozMVo2W8AFvlu+76G4Hj2b62YiHtFLmTg==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.5","@pothos/test-utils":"1.4.3","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.4_1664541394372_0.06964556290385127","host":"s3://npm-registry-packages"}},"3.5.5":{"name":"@pothos/plugin-authz","version":"3.5.5","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.5","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"6d305231f420ef2d4695058edc500040d0547796","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.5.tgz","fileCount":32,"integrity":"sha512-Y6mQRQRQQUo1Ww1aL5TAvk/eNVGXw2SH3Ex0iPTQVWlOy/x7XVmcFwMmfAGwh4MM4krCDp0G5tDP1kbU1trgew==","signatures":[{"sig":"MEQCIFW+mSFIGXChWw0KhYHOoxY2Ih+rM7kIQ/yTrT8/cbkJAiATgseBItnnHxRiEbh9alGMopeAqxx6dfEI8MNAZ+fsxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUgPvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmocyg/+MVefrC0Y+rUdFN0/kYQzma+bim8z+AxykvRIyPAF50wyEH5s\r\nXFkIAqKASE6aVeIxeJWdQb8fCkKjb5zygtSBOYQSfatk0JJ4n8i5vfPT80y3\r\ngby0w1B21vic2MbigqZm8issW1WShNkxAE3wVTK3wOQ5Vdk7JSEG/vn9V/M2\r\nvd5NNXrMwVSjzc2dUAut1Qgd+ahzkKhDFmnwbVNcj767fGfXihnx7zyGALl4\r\n0OO7a5dLCSIakpPODhC0ntYVZeS5J1rvsHcXEPTcoS4mPPtjpiTuQm+Y3dQ3\r\n7VpvNhxYN1L2BN6xm8Z0aE0PRhrvf3y4zvpRmHn42kh5P10BDlt/p70SOUCL\r\naMfC7afbaD1osoogO0Lj+e88m98Na8LsOeahL4mRpnXViX4N7QfXGadQ2FvO\r\n5EMgRZaOvzrii5ZyiBj3cQSoeF+QEWe99344MLY7MUuL0UV1tO70xaYSOcIL\r\ndb2s6viybjfJUgiXlgS1ES9tCUkKd1ojIAWx4OnhWX7Radt9Ee3He4kHMImO\r\nAOCsOjBsv/6ZjCdegOyXKRQ/MIJXY9lA3cE2sL4pN9ohKL2E2EeDCB2Ws7yE\r\nBveP/l+bZuGymJ4do2uPf9GRAklTr7uGtHb7ptzT/FNQy9M8TisYrInJ/Ub5\r\nO4RFpyU+rpBT7g0X+aK6G2gLABd2eevmxoo=\r\n=Y5Fl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.5.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/826c3115e127793ca947150caa6403c2/pothos-plugin-authz-3.5.5.tgz","_integrity":"sha512-Y6mQRQRQQUo1Ww1aL5TAvk/eNVGXw2SH3Ex0iPTQVWlOy/x7XVmcFwMmfAGwh4MM4krCDp0G5tDP1kbU1trgew==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.7","@pothos/test-utils":"1.4.5","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.5_1666319343057_0.6047945226342832","host":"s3://npm-registry-packages"}},"3.5.6":{"name":"@pothos/plugin-authz","version":"3.5.6","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.6","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"4b5372eb37d48da78ddfc8afbe001ee493d9d9e9","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.6.tgz","fileCount":32,"integrity":"sha512-qGbqRi0wR7/Mswwq/F3C155Dq3Enfl7G0/5PeFHGqDbALJjirJB/CA62sz292xqJErxbmAB8aDyL0ht59ahhOg==","signatures":[{"sig":"MEUCIAIlxudc7fbfkFoglq4MRJ/w9+3VD4LeMJ+qecDI4apUAiEA4jAS2kzdiGIrNgGONssZZ+gMtQckmFFnAakfEhuIhGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26711,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUjn5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7sQ//SlxrmlUPvRnEReoURgpUT/1JGJISNz8qSfzO3WsSInZUB8t6\r\njM2EsuriR7QCOEj9Cm116UgsG69V0tMSC8/o4ZcGM5vnb0oiG1JWmnw8iXwu\r\njqsGMhD0Ltw7ruDo5lnAjyVsFXstkRaYhV3H4YCAOKUqWUfIww0XitJs7ua+\r\n7O3SNyugmjzzgnQWEcyjxSUw8YWfeSCJm6wqr7vnVTSDopyTmrD5Di6Fnqi2\r\n1J2AZjeTIrjooAaopxL8UguJoUWgKkG6qL4jwv8SqF1f1p7gIHQckBKIPqIP\r\nSZZWDrrl3QzHrGuujuwPUN9N4nhttjmdNH97Ydr3bkVuOxi4NYh8IgOAfgeS\r\n7UM2gBsurcj1EDENlhZlio7EZcbmIsPxTLjY4WuCPCiNJuzbvVPeuS7GF5g2\r\n7gsPI6kr8xlTzIPZT5sCGedwQgyHD6g87kS9UV1xjYLIcwks09CzpdHWax7B\r\nTmqBrdS2B5K9Kxe3oyQCW3En4amjNwx3m2wMWT5KHIpwYiCNsd51mnzgB5Jy\r\nNUMd7igwGa8Zg3x08LACVsBt6Jr7MitalzpaB/eSmYSvMIVEMDUPf6iIf153\r\n06c9vBgwxLB2GGqImtMUsLJjM2A/cKOvE2wH6tHtEUxCJ9FLsMHaekIelCxK\r\nVofiGjyFxJDJXkIVvWOhdfOOF+vQ3Z8DX/w=\r\n=FVsx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.6.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/c2b61196b7addae8da5943f029e06e4d/pothos-plugin-authz-3.5.6.tgz","_integrity":"sha512-qGbqRi0wR7/Mswwq/F3C155Dq3Enfl7G0/5PeFHGqDbALJjirJB/CA62sz292xqJErxbmAB8aDyL0ht59ahhOg==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.10.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.8","@pothos/test-utils":"1.4.6","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.6_1666333176886_0.5119890248871646","host":"s3://npm-registry-packages"}},"3.5.7":{"name":"@pothos/plugin-authz","version":"3.5.7","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.7","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"dist":{"shasum":"cbdec7ffc062ca9133e3e0f4021fcdbae21ee415","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.7.tgz","fileCount":32,"integrity":"sha512-Ami4kfIqJhZhkeKMEsX+/aKrBlS6SPKerZ1F2x8NCtv+vHEXbLaucf60AQi6at8Fwkr41uG7xn4lK9pO3GMreQ==","signatures":[{"sig":"MEYCIQDylRF/ESom0bKa5V3k72sd5JYBnEplzqixQqJSs87JzQIhALNGjkgKLgBapnTyORk5LesoYUq4LE7Cr89k/e0Ty2Ds","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjW2F3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMZw/9GXvQ0QQYDMBmV2yqFZDi6HD/dD9ugabxBgTWl/4uk3NDjbI9\r\nFzr/AUKVvrZ5wCNen5s3KQw4qtiNJIjNV+C+IvBXFTcS0M/Y92o2t+mZV0Gl\r\navRSqzbIETA6BaTCeLRhC7IMFxgmkBL954sEFOd9so5h0YmfJc9MY9oh31yo\r\nIitamXJbBgJZfBYJ+jXV6nVfeDUQwX/+XzIfJ1MY3XVrOKn02C7p8Q//m+hZ\r\nThcYxVte/jNtqBWGxfaa5SHILvjZrZG1vYLpNWYK8HA/6Fw/dDRwJLRO2ndc\r\nuPooK4TEQkhgcxOjryhCA5EpLAPBNYgwQJy3oXyaPjb+0ueAxiVFq/wsotFv\r\nSANkxYCmk9fypk6pPGEmwk7evK7+/yYZgI8uTiebvEkK4xbrGkuhhSoLDcta\r\nGJDrYWb85E2CPM9QyPHp+iieCDuDlEyJaEj9FdKfdsAgWssgh6GNwV/wMaFF\r\n1Igu4uMG2Cg/Za+HlFAw6hDChQ13Z3E3t7Lo/wLfOByexZ3s3MwmpyaSeiRR\r\nWj2q1zy+Z0+Q2R6FZQFyFouzDtZ2mgeM83+JOqp6hvyYw64TZtU7Yw82v1dq\r\neNGJroOOkMlU1qL5BtQ297JdrEzPXHZNkjuW7735KC1uQIGMZ6uq3MkMLnui\r\nO4srkvje9u20KGRKkcQSz03z+cZjokNmNBs=\r\n=aCMU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.7.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/b3f76e2d12bae3c8eca4f36bebcf531c/pothos-plugin-authz-3.5.7.tgz","_integrity":"sha512-Ami4kfIqJhZhkeKMEsX+/aKrBlS6SPKerZ1F2x8NCtv+vHEXbLaucf60AQi6at8Fwkr41uG7xn4lK9pO3GMreQ==","_npmVersion":"8.19.2","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.22.9","@pothos/test-utils":"1.4.7","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.7_1666933111510_0.26169623653908447","host":"s3://npm-registry-packages"}},"3.5.8":{"name":"@pothos/plugin-authz","version":"3.5.8","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.8","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"homepage":"https://github.com/hayes/pothos#readme","bugs":{"url":"https://github.com/hayes/pothos/issues"},"dist":{"shasum":"accb6c4b0b068b3d83b7fb6677d050142d4e1baf","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.8.tgz","fileCount":32,"integrity":"sha512-jhD/YbkwLtOxN4wi7mT30TurmJ2ZftXeQCwmNMicZ02NJRJj8AtrQrhPyLsy8yB3RExuFJLnLbiuVeTSSr9fdg==","signatures":[{"sig":"MEYCIQCpudsTtWi5kAPprBAvSN89nArAgIjjHML+p5fa6eBFbQIhALNISrBBmX84pLYMfQpDrn+IG5z607Alit8T+Um8Xrme","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pothos%2fplugin-authz@3.5.8","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":26957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkT+DZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQWA//deLdphr1m1p33g0Nhm17qgW8OwmuSRruG8159l4TLwmNjraP\r\n8wcMfN2ncleUqHOWiAbnoV3vOqUn6aGyPDw4m4rqeITUN7sMfTwVhtCYlylY\r\n5AQmcey3tqWpxH2qY2JDBwQkFiaPuKT5Ly4iK2fPDjn0iuwhVUN+35dA2CMK\r\npngB8Ys6Z7Yc6Z9f7xpW0VkQ3oVEfObyjPCtetUO+vkvgZmQHMTRq/iMpd1l\r\nV9jYMdkRn1cycbNsO8rzQ1DojGTY6mDFlkl1xMfcij54uJinDho/ygYMdpUI\r\nsBSWViHR7J8xuf0w7RaR4uLUHexxzyH2mNeC1HyMTDbDjopD4y53bZSFEz2N\r\nkMkVuYYCJDAJiWCY4RRJ80WAdr4jzrYqIoUeP17jzIScAPBL10820jnCcerl\r\n+IM9CSoKwbejBhgIGNW4XnXvSPVgia854FtsFg0UwH4T1/1zQBqYVQZ57Lkw\r\n1RjoimIn8F2s9qyi0iQ3gW2EDST4ZwCOxkZFmcV9KH6xxMqxeIzrE88VgZ7Q\r\nL8B/GdyXvh5Li7LPko1xsp2ThmcSZX7uPkjv/CYEZkhMy9U5NvIgEoUbyynS\r\nDVkbqVbETgQR5nEyx9eRRygSXhdPRLc2n2Mg1S16U/Y5gZK8IyNJAaWMbJOM\r\n1osyfY0TvdGDRwQ2e0hHEF/U3ZBUrliYaDU=\r\n=nHnO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.8.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/3a3b8ed3bd278b01813aa72e3f3a66d8/pothos-plugin-authz-3.5.8.tgz","_integrity":"sha512-jhD/YbkwLtOxN4wi7mT30TurmJ2ZftXeQCwmNMicZ02NJRJj8AtrQrhPyLsy8yB3RExuFJLnLbiuVeTSSr9fdg==","repository":{"url":"git+https://github.com/hayes/pothos.git","type":"git","directory":"packages/plugin-authz"},"_npmVersion":"9.5.1","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.6.0","graphql-tag":"^2.12.6","@pothos/core":"3.30.0","@pothos/test-utils":"1.4.8","@graphql-authz/core":"^1.3.0"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.8_1682956505395_0.580036796501892","host":"s3://npm-registry-packages"}},"3.5.9":{"name":"@pothos/plugin-authz","version":"3.5.9","keywords":["pothos","graphql","auth","authz","authorization"],"author":{"name":"Michael Hayes"},"license":"ISC","_id":"@pothos/plugin-authz@3.5.9","maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"homepage":"https://github.com/hayes/pothos#readme","bugs":{"url":"https://github.com/hayes/pothos/issues"},"dist":{"shasum":"38b42bce13bce675d05403ffe27eed1468668908","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.9.tgz","fileCount":32,"integrity":"sha512-Jwc71iTVJCoffeHb9G9VdY4ZvNQranHRSR1AqV7Bf8KK+MOBg/c6UGlU2+cA32MYp2AAYMwRdbGI+8G1HC9cgQ==","signatures":[{"sig":"MEYCIQChUemyOHdc2oMtUaYGhs6+xSBemKX9eGynXRh922rQlwIhAJd4OnCNus4LgVsjEUrQB3V/Chp6zJOfdkhiWFYNmMLS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pothos%2fplugin-authz@3.5.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27278},"main":"./lib/index.js","_from":"file:pothos-plugin-authz-3.5.9.tgz","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"test":"pnpm jest --runInBand","type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs","build:dts":"tsc","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 && pnpm esm:extensions","build:clean":"git clean -dfX esm lib","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts"},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"_resolved":"/tmp/2ef5387957d89a9cb8f7ae8714924515/pothos-plugin-authz-3.5.9.tgz","_integrity":"sha512-Jwc71iTVJCoffeHb9G9VdY4ZvNQranHRSR1AqV7Bf8KK+MOBg/c6UGlU2+cA32MYp2AAYMwRdbGI+8G1HC9cgQ==","repository":{"url":"git+https://github.com/hayes/pothos.git","type":"git","directory":"packages/plugin-authz"},"_npmVersion":"10.5.0","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","directories":{},"_nodeVersion":"18.20.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"graphql":"16.8.1","graphql-tag":"^2.12.6","@pothos/core":"3.41.0","@pothos/test-utils":"1.4.8","@graphql-authz/core":"^1.3.1"},"peerDependencies":{"graphql":">=15.1.0","@graphql-authz/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/plugin-authz_3.5.9_1712344621463_0.14199251592467643","host":"s3://npm-registry-packages"}},"3.5.10":{"name":"@pothos/plugin-authz","version":"3.5.10","description":"A Pothos plugin for applying GraphQL AuthZ rules to fields","main":"./lib/index.js","types":"./dts/index.d.ts","module":"./esm/index.js","exports":{"import":{"default":"./esm/index.js"},"require":{"types":"./dts/index.d.ts","default":"./lib/index.js"}},"repository":{"type":"git","url":"git+https://github.com/hayes/pothos.git","directory":"packages/plugin-authz"},"author":{"name":"Michael Hayes"},"license":"ISC","keywords":["pothos","graphql","auth","authz","authorization"],"publishConfig":{"access":"public","provenance":true},"peerDependencies":{"@graphql-authz/core":"*","graphql":">=15.1.0"},"devDependencies":{"@graphql-authz/core":"^1.3.1","graphql":"^16.8.1","graphql-tag":"^2.12.6","@pothos/core":"3.41.2","@pothos/test-utils":"1.4.9"},"gitHead":"9dfe52f1975f41a111e01bf96a20033a914e2acc","scripts":{"type":"tsc --project tsconfig.type.json","build":"pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm","build:clean":"git clean -dfX esm lib","build:cjs":"swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths","build:esm":"cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths && pnpm esm:extensions","build:dts":"tsc","esm:extensions":"TS_NODE_PROJECT=../../tsconfig.json node -r @swc-node/register ../../scripts/esm-transformer.ts","test":"pnpm jest --runInBand"},"_id":"@pothos/plugin-authz@3.5.10","bugs":{"url":"https://github.com/hayes/pothos/issues"},"homepage":"https://github.com/hayes/pothos#readme","_integrity":"sha512-HIrz72+KnbvJjRKEtuy+c/J69jxET/yiSKLx/q3IV8FC4GyPKnPxlwuGlMczxlpK6+UG0gE0ziCAwY6LWEd2Yg==","_resolved":"/tmp/dd93d02e2a38a01d71c0141445aebbfb/pothos-plugin-authz-3.5.10.tgz","_from":"file:pothos-plugin-authz-3.5.10.tgz","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-HIrz72+KnbvJjRKEtuy+c/J69jxET/yiSKLx/q3IV8FC4GyPKnPxlwuGlMczxlpK6+UG0gE0ziCAwY6LWEd2Yg==","shasum":"3d17c6c47e09523a477dd49e0c859cd758d08e20","tarball":"https://registry.npmjs.org/@pothos/plugin-authz/-/plugin-authz-3.5.10.tgz","fileCount":32,"unpackedSize":27696,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pothos%2fplugin-authz@3.5.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTKBjPhvyVfYpwp06TLW97FqqtwIunQpFjNUpHdrqo2QIhAMnPtkLwa1pnqApjVxRHHX6Gs2jsbDsLI2fuMkc4b0k+"}]},"_npmUser":{"name":"hayes","email":"michael@hayes.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-authz_3.5.10_1719071145193_0.9919152466651355"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-25T06:40:35.095Z","modified":"2024-06-22T15:45:45.769Z","3.0.0":"2022-01-25T06:40:35.311Z","3.0.1":"2022-02-05T01:16:37.190Z","0.0.0-preview-20220211212258":"2022-02-11T21:23:22.520Z","0.0.0-preview-20220211214221":"2022-02-11T21:42:46.470Z","3.0.2":"2022-02-16T21:14:09.584Z","0.0.0-preview-20220225212244":"2022-02-25T21:23:16.309Z","3.1.0":"2022-04-06T02:54:34.092Z","3.2.0":"2022-05-10T23:51:14.959Z","3.3.0":"2022-07-20T06:19:58.405Z","3.3.1":"2022-09-01T23:48:29.388Z","3.4.0":"2022-09-03T19:26:43.330Z","3.4.1":"2022-09-18T14:33:01.730Z","3.4.2":"2022-09-27T16:58:24.100Z","3.5.0":"2022-09-28T23:14:32.379Z","3.5.1":"2022-09-29T17:46:32.672Z","3.5.2":"2022-09-30T09:46:01.188Z","3.5.3":"2022-09-30T11:43:05.912Z","3.5.4":"2022-09-30T12:36:34.527Z","3.5.5":"2022-10-21T02:29:03.231Z","3.5.6":"2022-10-21T06:19:37.045Z","3.5.7":"2022-10-28T04:58:31.658Z","3.5.8":"2023-05-01T15:55:05.548Z","3.5.9":"2024-04-05T19:17:01.601Z","3.5.10":"2024-06-22T15:45:45.384Z"},"maintainers":[{"name":"hayes","email":"michael@hayes.io"}],"author":{"name":"Michael Hayes"},"repository":{"type":"git","url":"git+https://github.com/hayes/pothos.git","directory":"packages/plugin-authz"},"keywords":["pothos","graphql","auth","authz","authorization"],"license":"ISC","homepage":"https://github.com/hayes/pothos#readme","bugs":{"url":"https://github.com/hayes/pothos/issues"},"readme":"# AuthZ plugin\n\nThis is a simple plugin for integrating with\n[GraphQL AuthZ](https://github.com/AstrumU/graphql-authz)\n\nFor more details on GraphQL AuthZ see the official\n[documentation here](https://github.com/AstrumU/graphql-authz)\n\n## Usage\n\n### Install\n\n```bash\nyarn add @pothos/plugin-authz\n```\n\n### Setup\n\n```typescript\nimport AuthzPlugin from '@pothos/plugin-authz';\n\nconst builder = new SchemaBuilder<{\n  AuthZRule: keyof typeof rules;\n}>({\n  plugins: [AuthzPlugin],\n});\n```\n\nThis plugin will add the rules to your schema, but you will still need to set up your server (or\nexecute function) to run the authorization checks. The implementation of this depends on how your\napp is set up.\n\nA simple example that just wraps the execute function might look like:\n\n```typescript\nimport { execute } from 'graphql';\nimport { wrapExecuteFn } from '@graphql-authz/core';\nimport rules from './auth-rules';\n\nconst wrappedExecute = wrapExecuteFn(execute, { rules });\n```\n\n## Defining rules for fields\n\n```typescript\nbuilder.queryType({\n  fields: (t) => ({\n    users: t.field({\n      type: [User],\n      authz: {\n        rules: ['IsAuthenticated'],\n      },\n      resolve: () => users,\n    }),\n  }),\n});\n```\n\n## Defining rules for types\n\n```typescript\nconst Post = builder.objectRef<IPost>('Post');\n\nPost.implement({\n  authz: {\n    rules: ['CanReadPost'],\n  },\n  fields: (t) => ({\n    id: t.exposeID('id'),\n  }),\n});\n```\n\n## Defining inline composite rules\n\n```typescript\nconst Post = builder.objectRef<IPost>('Post');\n\nPost.implement({\n  authz: {\n    compositeRules: [{ or: ['CanReadPost', 'IsAdmin'] }],\n  },\n  fields: (t) => ({\n    id: t.exposeID('id'),\n  }),\n});\n```\n\nMore details about composite rules are in the documentation of\n[AuthZ](https://github.com/AstrumU/graphql-authz#inline-composition-rules)\n","readmeFilename":"README.md"}