{"_id":"@dialexa/pleco-joi","_rev":"13-54be2746adc5aaec5ec20b8c47a0fb1f","name":"@dialexa/pleco-joi","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"@dialexa/pleco-joi","version":"0.1.0","license":"MIT","_id":"@dialexa/pleco-joi@0.1.0","maintainers":[{"name":"thekuom","email":"matthewjkuo@gmail.com"},{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"ehis","email":"eojielu@gmail.com"},{"name":"tedchoward","email":"ted@tedchoward.com"}],"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"50e39692af03ed5f917e7bff24558023e746714f","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.1.0.tgz","fileCount":6,"integrity":"sha512-0tsAB7MzvJtyvKRIgRtcn8gWJNuJ/KoZxlP1p3Cx1SQ5VkPJ7RJ1vKtLZLmF9YB0iHvvKZzwoSCrxihp5pYiFg==","signatures":[{"sig":"MEQCIBEkGTdNLj2kDpqk8F4uhNX0XEa8t0XqWDiaXJ9Yk0NKAiB/YNdrawrJYbx18+MbuQ2yr3wDFkzJkXz854yH02yl2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct4WVCRA9TVsSAnZWagAA5mkQAI6GicfvEceWLjohtYkV\nXaUwQjnrlTyXit8fZkBg0F4Sua9bDfzr20/qp/khICBOLsBZnbD3lBLO05R9\nNnR/eYx4HvVJzXosI9ChGtBKN70J/gf7A1LV4MPMiUwobkqKcgiG2KbWMvcD\n2BnrVtE+PuJq6JiWI2Vgh5UUX4yTP0kWX0BRzmSWU6DIbmD/y+pEpQGNRxqX\n5lZgYl9K3WJMUjiQ34E9UMVM1KIGuEgvHWotWe7/VtOCUwLWAdyEqysKgstI\nRQfSsYbKvQo2rAfNwJ7lZNZkBxBxqaMKs3ZT2XE7gNL+NHe6Ohv/02AHaePg\nP/iU5Jgwk1bSQn4NXhbyLI/x355vXqlec+5AUbbHjUNJaDcPOEshgwmuycwg\nEbWLuG7gkcTeHjkwWj+IW3A1tmYvL2JuWtoE4d3miBsvLdZjaggWU8CertVt\n6IxKqsUqdQgWnJ3XljxgfLusSHXJgiUCt6G7IiRRv/EnaEhlSQxoN97axtE5\npfhnq8+McTIPwIemXw+DkgBCTOrW01BiMxQuYnFfOPt0K575Z4V/gAF5SRBI\nYBpir98g962sseNPsJuxor0o4WCzG19GyBvgF9Xd06jDQYoW7HadXVA33zSX\nIyYnobixwyZhv1ztUbm0lGf1cmgwKBJkqGGHZ1RQ7IsOJimHQChr4xTX39RD\njLkO\r\n=Ahhx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"61e8b9ee28f0ed6d87f3461d3dcbb92b90cea238","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"lerna/3.13.2/node@v11.14.0+x64 (darwin)","description":"## Table of Contents - [Overview](#overview) - [Joi Validation Schemas](#joi-validation-schemas)   * [Provided Exports](#provided-exports)     + [Usage](#usage)     + [Usage](#usage-1) - [Resources](#resources)","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"11.14.0","dependencies":{"joi":"^14.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.1.0_1555531156492_0.043591340170109794","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@dialexa/pleco-joi","version":"0.1.1","license":"MIT","_id":"@dialexa/pleco-joi@0.1.1","maintainers":[{"name":"ehis","email":"eojielu@gmail.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"tedchoward","email":"ted@tedchoward.com"},{"name":"thekuom","email":"matthewjkuo@gmail.com"}],"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"8e11db5ec6fb1b739774261beea61917e7b3fd3e","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.1.1.tgz","fileCount":6,"integrity":"sha512-hlE5Gw+rIIrwJph/oOnGmHbKzjMgNwjzXkvwoh0BmlVB5f4SzhI5rCDtjIgHc2hwxO3QW4Yx1/MiX0vSaKO5YQ==","signatures":[{"sig":"MEQCIECi8d3gHeg3u/YMTALy2hG9on//H1ma5K/ctEwvuxsqAiA6Ek5EoEH3gxp/sqSEQFazkHwTa6HOzxnnOBLAMPqwTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct4meCRA9TVsSAnZWagAAktkP/i8GN3WYaXaCsvHGBR4n\nrlld0uaIxDIk1brTRvYQDzeDKIjZsHhT5tfdUTuTiZpESCQWzS9Bhppz+mpF\ntXBSL5bIdIEdzP5l9sGNmmaI0y+6nvHn5kWIRA/XakBggPl/jwoN3jp4lZj4\n3KL1pNn0pz8PWUe6Tn7Z9YLT+wJFlU8llGGD0wpZzSA7PQyOR8DvBaiqSuzF\njynjLgdg0UCibNUfT6Jk1G2tNQs5ds62/hGNLzMwZnXALozDw1XaBv100+/G\nJHiqXa9iLbTelMLJ8v+Jb4bvH9RMZWCamHc7taVe0dsAzEpv8Rli+IhuSJ4z\n2d6vYCPexP6NwbuFiNGxkvA8Sv2uXRWCS3bbg7nxrT9MdddUKYrWXaFn38Kf\nejO0b6/8zIlvpN3PUOH7Jfz+aYLfmAzqk0aAQApBfU9WIMshfNVqwAnRE2bD\nBVTGzHox2DzwLLlIalU6XbWIyNQmoRKYpGDs/LS9Og46Lj/6wYmvIRKUIcAw\nKQjvaEOlgLgDWJuZNP8DCOPtIGO0jlR+bGAcma8gFACJHbIHVmqlIl4EmmdC\nkLWvUqApIaRm3VRh9LPHFk1pSP/75OTWRZun3omew/p6w4jShK5GDM/uKKVp\ni6qQT5r8V9ZUsdSyyYgcS2EYl+Y/ffhUUU1S6EmITqUW5wQnaZhLPV+1e9pm\nvs8B\r\n=XO3i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"6e0dcd1722310f9d25f16d7b839ad84e8d4f5964","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"lerna/3.13.2/node@v11.14.0+x64 (darwin)","description":"## Table of Contents - [Overview](#overview) - [Joi Validation Schemas](#joi-validation-schemas)   * [Provided Exports](#provided-exports)     + [Usage](#usage)     + [Usage](#usage-1) - [Resources](#resources)","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"11.14.0","dependencies":{"joi":"^14.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.1.1_1555532189603_0.28930768188354716","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@dialexa/pleco-joi","version":"0.1.2","license":"MIT","_id":"@dialexa/pleco-joi@0.1.2","maintainers":[{"name":"ehis","email":"eojielu@gmail.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"tedchoward","email":"ted@tedchoward.com"},{"name":"thekuom","email":"matthewjkuo@gmail.com"}],"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"3df9b698b96404f500b079b9a756a061ea6ad0d1","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.1.2.tgz","fileCount":6,"integrity":"sha512-+hAlZMkzZr7wDia3TADRsh6WBkni/lPOXK/ypUtnX6Zl3Pu43Lg687uROLsSZkf97I2M8XUYFwLMq/r32ghxjg==","signatures":[{"sig":"MEUCIQDFsGZeFIAxbur3OF792DDqLI7YA4kkiUErRuNE24ifMQIgMH+rXQLjYjLdhZx40VraKSD7wtNU8aLMjA6RHmuHxVg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct69tCRA9TVsSAnZWagAAKn4P+wSy0Mkly0U3QjyeEV2S\nFH0vFQtX35iBM/DrSH2G22GoYrrBHV4JOYrgqM2x0QZqg76t78NTmMWHHKkU\nLnLjQmsKGaK/ZbSnaZRo+W5HVhgLJ+7n/ELN23NDCaUUMwHcw5/TQLljzcZj\ndh/VOcoyubWrkIDYuRL9TzbOkmp8dRiLoq3JuTO6kvxePDwVOtqPJ4cqx1+h\nAoOtHaBqH58avlUkoBQUPnxSiaVc15wNHuUrP8nscO82NjhqlZTLMnd0q/eW\nt0Cm6pqt5AhkHqz4vXaKA6Bhzf67wr+Gd8s6ygVEfAep0+bCHhDHVJSeiENb\nxNm6ErwEWvxyJOE3Te2HLkF7VwPi/W6CautUfp3sDvpDafCgwyQpn7ruAyjX\nmO6jTqjS6ddOCebdW8Go5G7YjBcotf0KOUYYlAFszfD4p/fEdWHROXUaEi5o\n6c14cvEfobX+uLVE4qDpv1537Di+JjaA7gRndxZwFCiSiQwPPWwpSIi0dqbi\nK5JagaH3uAYMDejNc1s8xiljYqUbwCixVR74R/7tF6HjxiaUec3Vjto9Wwru\nj5qfzaXmljU/uSCbWz9h17J/u3xiloSVv1cr4esi6hJf8gR5ImaKiSCSUL61\nGOrxFSW1kBK2yNqSDnNRtmg4SESYMuEBOOdFhqL99u+TD+hPFXBhTsovp/HI\nf/Br\r\n=yO+i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"7d4f75cd056067e3648b75d151ce1b0bdf47ddd2","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"https://github.com/dialexa/pleco/tree/master/packages/pleco-joi","type":"git"},"_npmVersion":"lerna/3.13.3/node@v11.14.0+x64 (darwin)","description":"## Table of Contents - [Overview](#overview) - [Joi Validation Schemas](#joi-validation-schemas)   * [Provided Exports](#provided-exports)     + [Usage](#usage)     + [Usage](#usage-1) - [Resources](#resources)","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"11.14.0","dependencies":{"joi":"^14.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.1.2_1555541869409_0.30272624639804513","host":"s3://npm-registry-packages"}},"0.2.0-alpha.0":{"name":"@dialexa/pleco-joi","version":"0.2.0-alpha.0","license":"MIT","_id":"@dialexa/pleco-joi@0.2.0-alpha.0","maintainers":[{"name":"ehis","email":"eojielu@gmail.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"tedchoward","email":"ted@tedchoward.com"},{"name":"thekuom","email":"matthewjkuo@gmail.com"}],"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"3fa984714efe3704838a59dc0846faa564c1350e","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.2.0-alpha.0.tgz","fileCount":6,"integrity":"sha512-hpPqSGEINPU1KLIY2QzlGX+af7rb+EKkk2RAzAAHMmTtcWnOGfn5jYGS2FaPQhP9E3QGMYTWlUgl3nZhoVastw==","signatures":[{"sig":"MEUCIQDn5wXuyv7EmSbekwYJV6q9tHT+BBa1kYI7nX5ZvlLyzQIgXgDbzDgvdaikdx9zMPDZbeYLIm1tLqQ7o3jMmN+wYnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFSd3CRA9TVsSAnZWagAAsBYP/AqGbjYhpwEXVKXpHJmk\nB2563qOG6vjz81fmuZa3Sbp4zx65xcJK3JMX16qlbP4u83pPRM0s6JGg6O2L\n64KBSLDlJ+n7fPMVXWmluSpkh/neYOjINeNZtFXzg/MlaR/pFykDvHWOf/ZT\ntMTn0nt0aCFfSAqzziks9b1cnQT7+mFso+ieBVSU9Vu3pJjQ7MlBumA/+ZMn\ntRZj4bvS2YD4xxmpT3bLhxYUHuXhQmUS9Gv0hrRqaH3uGI9JZubGWwwCzxRZ\nYGP18vWLIgSehPXr3qhinPdd6yFcmQeAjdMw6FidKr6Ze/yLBTvCnX5yDFnr\ntRDkqibLVYHFb3f0e8EbBzyEu/9omqHpV/asVKNJIfMBpZlidcr9vj0MY5Mg\ntCXOm+rWghAJYR+MSGshJUqiBaepYzJRqaCW/BaJXSDho1UuT9Nyem2AMCC4\n22rJOShubuZOXIUeLB6YdIEAfW+VWLIujBFCa/n9j3QIA3u2xhZ46atRiIFM\nzZ8fs7cGVthb11oa7saWX+Z7MTFDi1IYj71X8PzZjSqtCAJYtBzJWh5lo8aT\naGFVPDuH1RWu1LzAUN8RiAG9W7AU31mFvPU2IbVVZxZILA3UlfOk8m4fGNDv\nLs+rnnrP56JOUh/eUJDczsXxNxnzmRBJ77yQ4397dyv9YTqnPoCJfzeQe/Fg\nANvu\r\n=9UDv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"57647b94a4e22526d44dea56ad9e229543b0464e","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"https://github.com/dialexa/pleco/tree/master/packages/pleco-joi","type":"git"},"_npmVersion":"lerna/3.14.0/node@v11.14.0+x64 (darwin)","description":"# Pleco Joi","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"11.14.0","dependencies":{"joi":"^14.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.2.0-alpha.0_1561667446293_0.2903869123107379","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@dialexa/pleco-joi","version":"0.2.0","license":"MIT","_id":"@dialexa/pleco-joi@0.2.0","maintainers":[{"name":"ehis","email":"eojielu@gmail.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"tedchoward","email":"ted@tedchoward.com"},{"name":"thekuom","email":"matthewjkuo@gmail.com"}],"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"f501c8cbd2d009db425ae54c95c1b99edf0786bc","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.2.0.tgz","fileCount":6,"integrity":"sha512-VhrHwzCQT77IZ/xSrWhXSnN0dwBr6FXrGuaod/iHwgABy2K6Uzsm0Ojbp4YgayiPz83P7h3489d8wb6yJ7G6QA==","signatures":[{"sig":"MEUCIA8fYFmNV+yjBKihQIsIA83CwaioVFxlAcWFDnyu5dkDAiEA4HyZZYZEqQnAU+9+e6WtWheo2RIaVGs8UY7KH3d8O4U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFSy+CRA9TVsSAnZWagAAV38QAJVafMHKly1BS+BRi/Dx\npaNU2wqZC5xwAAoCCUvsQN3gASKXVrsdArMhu57FQNBWSe3Y/PvGEur6JGIx\niNhe+E9RgnHCYX2QxVYcj8eFtCBdm4e9VRtCLJlpP14qfzXBzaQBKhuOrd59\nQjT5UA4z/DMWN0onRyKVWPHRdYDL6SvB4f5pWjPjhQVfDL8mLlBAxF/JO1zl\nD/xNEkpYpmUlIhxdyz0gyHQzZxl8Gn9irMWw1Ku5QexG9yJBFEVRcKbzkf4X\nmmvwB1N4Akhg6FH/lFA+rSW7wTaZ3PXbv133hIP/jpBSwwQzt8vLhvJSFcSl\nJu0zVQVaO1anvkpuYBKem+JHyiRmqKOY879Z0ZEkIjzNnzQdp7yhdAigbO+R\nwdJPkRFEoPeRYRpFn1UT6AGjIdH0snHp6Rl2zbVcEZyu6i7tglYy8UQ6gUQe\nNb9YrX3E2HHEP039Pf848t0OooccKhM5O/6Ze+KFWduQfkgh5cD8P1dBJz4c\n7dNMKiq5S/XlrLFksU0xotEgh05LnTZgmodial7rx7GKNjcIjSlrICWdM29H\n4OGmqhd4onFzel1sFvC1lUcEMOjCyYHcvKXbL1oNyQHKzYsV97dcG5nrEdBU\nm0nY094qVWvpZMn0pSINUj4JKKY6xASdKDt2MtBBBarqUB+yBM+ApxcXvm+x\n1ohs\r\n=76h5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"28267a406891909eade4ce2250b09fd5debf01a4","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"https://github.com/dialexa/pleco/tree/master/packages/pleco-joi","type":"git"},"_npmVersion":"lerna/3.14.0/node@v11.14.0+x64 (darwin)","description":"# Pleco Joi","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"11.14.0","dependencies":{"joi":"^14.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.2.0_1561668797451_0.6374829954694539","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@dialexa/pleco-joi","version":"0.2.1","license":"MIT","_id":"@dialexa/pleco-joi@0.2.1","maintainers":[{"name":"ehis","email":"eojielu@gmail.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"tedchoward","email":"ted@tedchoward.com"},{"name":"thekuom","email":"matthewjkuo@gmail.com"}],"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"94e4e4874b90667334605c7f89e315dad41d5f8a","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.2.1.tgz","fileCount":6,"integrity":"sha512-IYl+Lbc7X8AvRPEU9e6611N1JctxYD4HxQELNDD8ge7QYnAkawiIvI9KqEhMOwH52EsNtkjjKA7UvKJwOPo3Cw==","signatures":[{"sig":"MEQCICddVUrn/t9y6KNVnl/EZS1SkSfeenssKVXH5wNw15GmAiAGtxhjaGQrWDkkPbirmEAB639LFtSy8J9vdUFVatn6zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7651,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL2S0CRA9TVsSAnZWagAAg8kP/1YtmDcvTCr+pJfMOm7l\nZHxT7Kd0BpMwYXnYr0pokCLllUI00HwDLTr1u0LV8t4G3pVkmIw5xSqh9ZFh\njJueZDUwEarLBF5xJFK0c0rP68fVyQwURzh4GFRj9N3BeVFs+EpviP6PHNf4\nGg+vsUv45/CVWRyDeuIM9+p7BwLSOcn+lyYA6QgtpEwPVrNT74AAaS8jhsgN\n8Ikh/v5uqeaw0nHQbi274hysPIHDorzHoyRfc4zo6YhYlcsuI2N7W8EQvgGS\n5PFl8IpiAZcKoxo7VSnJ09G95wM5YYTA1/mIBSNDz2kQ921ZajnKjj/yge94\nAO8qcSk5D9duEKiWFvDgseUtOyeQCOZW5KApX5ProTGNpCiJvkKkfeUFmlvg\neYT+Zpx7OV2ru/xWWCvfX/jogNF/W5hsJ+rmB8a2BUx1FXHDKOybMOM5OSId\nqJranXFKQMl3HPsR71lCbo8KItBKvdPJ+QHw4M+Ju8jiSV64fAvKAGeKOCVw\nu+rOXV9ZQju9Qkf06fIaKMyf0g7vzMEy8SxxGHWKBVB7eFJneN7qG4XdcvvJ\ney6ezKzR1P8zXFeHyYJ5dx4C2Wuu9aYYRhDlZV4LL253LddriDNZ5ZNhjBSs\nAKKWEyzRniLBxFi+MBpfkNMJGLjoEuDK6ZjNVnIVH6YmogEGfnkYIfZ6VC8Q\nqRMM\r\n=/v3s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"2681cc473594e15a9ba309fc90cbd229cfd948fe","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"https://github.com/dialexa/pleco/tree/master/packages/pleco-joi","type":"git"},"_npmVersion":"lerna/3.14.0/node@v11.14.0+x64 (darwin)","description":"# Pleco Joi","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"11.14.0","dependencies":{"@hapi/joi":"^15.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.2.1_1563387059611_0.29098757165130307","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@dialexa/pleco-joi","version":"0.2.2","license":"MIT","_id":"@dialexa/pleco-joi@0.2.2","maintainers":[{"name":"samerfallouh","email":"samer@dialexa.com"},{"name":"galenandrew","email":"galen.turner@me.com"},{"name":"ehis","email":"eojielu@gmail.com"},{"name":"tedchoward","email":"ted@tedchoward.com"},{"name":"thekuom","email":"matthewjkuo@gmail.com"},{"name":"tbravo","email":"tbravo.dev@gmail.com"}],"homepage":"https://github.com/dialexa/pleco/tree/master#readme","bugs":{"url":"https://github.com/dialexa/pleco/issues"},"nyc":{"include":["src/**/*.ts"],"require":["ts-node/register"],"reporter":["text-summary","text","html"],"extension":[".ts"],"sourceMap":true,"instrument":true},"dist":{"shasum":"45dd8af2bb13042615ff875fe0d1c78aa57e19f2","tarball":"https://registry.npmjs.org/@dialexa/pleco-joi/-/pleco-joi-0.2.2.tgz","fileCount":7,"integrity":"sha512-jHO8S36y4ulnGedhD1v6EzdihpRL/eAufL53cwdZkC50mptjCeFBszIVzCPDmqfkXQEUwwXDdS0RnxtVpTWMIw==","signatures":[{"sig":"MEQCIEXhbyUZIfcqLr28Skm5aOCDCy2shgHRDfPsh84olj38AiAofS5vm25vBsfzfM/xJwbVwO9OgK8N1H5GUraK0J5fTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggOXsCRA9TVsSAnZWagAAM3AP/iKnqM+eBJt7oaSGdPZU\nUMjd75awhzLJLLJQLYB1vDimF71FHQgZq5c0vOh7xUS/qZXRzC7d07BzvTtE\nUkwNVCukIkjuiEXzwKqbSgpvx0zlVvlZV9O0ptm9ZRm9DbIhrr+cL+B1ae2+\nP+UoGXfTEmUNSmAQv5ocJS4x0TAHmlV6Jp1j8U0X2YZwR4w8c88UwFUMvrQj\nF6j13e2oNW0BnO6q5Ffi4wIr0eRj46FrFgMiHNb8DRFwlAhUZ+4GlhN3LWBC\nBpMgQs7RTmyolVDEqpXeu1Mk63YdV4n9Yu+5xjcPZdo8hHWDX5Pd6LR+hIDS\nce6jPO4amNWrdN8CrpGfhiAponBoEhleXxF/6sFzDVgS+KegXvYPWOp4BhAH\nFODu5WvZ2YcXn0ERViG76xDQuRMzXjWX9ysvQIshZ8BaWaFnlMBlCF3Hoc2k\naXJGWp8CQUaWhmwICC27E5QyTRpnmuPxqNSVQd94F8ccaATwh6AD2NlEQpx3\ntG/ks92yYwYBJuRJPLC1Yzci0BXATxqTdgMgQpIRuntkzifmvZyiCA4T4iyp\nZFSwXmhvVyFqACmnb9p7E8xKIfzZEvfi7JfcxRpLHTTb0WzYpZGobn0hAkVv\nDHUtudAdCrcJpfyIvcDGisTJAYww9MiWPmnQnqNGSwCzTYhFuIxrQ8D69vR+\nGmpu\r\n=EmZy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","gitHead":"e43d5126a1e98912c7d5777653e7d636f73fec96","scripts":{"lint":"eslint --color src/**/*.ts test/**/*.ts","test":"TS_NODE_PROJECT=./test/tsconfig.json nyc mocha test/**/*.test.ts --exit --colors","build":"tsc","precommit":"lint-staged","test:coverage":"nyc report --reporter=text-lcov | coveralls"},"typings":"dist/index.d.ts","_npmUser":{"name":"thekuom","email":"matthewjkuo@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/dialexa/pleco.git#master","type":"git"},"_npmVersion":"lerna/4.0.0/node@v12.21.0+x64 (linux)","description":"# Pleco Joi","directories":{},"lint-staged":{"src/**/*.ts":["npm run lint --fix","git add"],"test/**/*.ts":["npm run lint --config test/.eslintrc.json --fix","git add"]},"_nodeVersion":"12.21.0","dependencies":{"@hapi/joi":"^15.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pleco-joi_0.2.2_1619060203856_0.5085015621021809","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-04-17T19:59:16.304Z","modified":"2025-04-03T15:54:31.210Z","0.1.0":"2019-04-17T19:59:16.599Z","0.1.1":"2019-04-17T20:16:29.758Z","0.1.2":"2019-04-17T22:57:49.518Z","0.2.0-alpha.0":"2019-06-27T20:30:46.470Z","0.2.0":"2019-06-27T20:53:17.626Z","0.2.1":"2019-07-17T18:10:59.774Z","0.2.2":"2021-04-22T02:56:44.045Z"},"bugs":{"url":"https://github.com/dialexa/pleco/issues"},"license":"MIT","homepage":"https://github.com/dialexa/pleco/tree/master#readme","repository":{"url":"git+https://github.com/dialexa/pleco.git#master","type":"git"},"description":"# Pleco Joi","maintainers":[{"email":"support@npmjs.com","name":"npm-support"}],"readme":"# ![Pleco logo](/assets/logo.svg)\n\n# Pleco Joi\n\n## Table of Contents\n- [Overview](#overview)\n- [Joi Validation Schemas](#joi-validation-schemas)\n  * [Provided Exports](#provided-exports)\n    + [Usage](#usage)\n    + [Usage](#usage-1)\n- [Resources](#resources)\n\n## Overview\nThe Joi validation schemas provide additional protection around what the user inputs.\n\n## Joi Validation Schemas\n### Provided Exports\n`filterQuerySchema`: a function that returns the schema pertaining to the `IFilterQuery` typescript type or the `FilterQuery_*` GraphQL type.\n\nThe rules for filters are:\n- each filter query can contain nested AND or OR\n- each filter object can have multiple operators\n- each filter can only have the keys specified in the schema\n- the filter can be empty\n\n#### Usage\n```ts\nimport { filterQuerySchema } from '@dialexa/pleco-joi';\nimport Joi from 'joi';\n\nconst vehicleFilterSchema = Joi.object().keys({\n  AND: Joi.array().items(Joi.lazy(() => vehicleFilterSchema)),\n  OR: Joi.array().items(Joi.lazy(() => vehicleFilterSchema)),\n  make: filterQuerySchema('String', Joi.string()),\n  model: filterQuerySchema('String', Joi.string()),\n  // We can define any Joi schema\n  numberOfUsers: filterQuerySchema('Int', Joi.number().integer().min(0)),\n  highwayMPG: filterQuerySchema('Int', Joi.number().integer().min(0)),\n  cityMPG: filterQuerySchema('Int', Joi.number().integer().min(0)),\n  userSurveyRating: filterQUerySchema('Float', Joi.number().min(0).max(100)),\n});\n```\n\n`sortDirectionSchema`: validates that the argument to a sort operation is 'ASC' or 'DESC' (case insensitive).\nValidating against this schema will also automatically convert the input to uppercase.\n\n#### Usage\n```ts\nimport { sortDirectionSchema } from '@dialexa/pleco-joi';\nimport Joi from 'joi';\n\nconst vehicleSortSchemaKeys = {\n  numberOfUsers: sortDirectionSchema,\n  userSurveyRating: sortDirectionSchema,\n};\n\nconst vehicleSortSchema = Joi.object().keys(vehicleSortSchemaKeys).oxor(Object.keys(vehicleSortSchemaKeys));\n```\n\n`limitOffsetPageSchema`: validates that an object containing optional `limit` and `offset` are non-negative integers\n\n## Resources\n- [GraphQL Types](https://github.com/dialexa/pleco/tree/master/packages/pleco-graphql)\n- [Typescript Types](https://github.com/dialexa/pleco/tree/master/packages/pleco)\n","readmeFilename":"README.md"}