{"_id":"wordexpress-schema","_rev":"31-f55d6345999feebb636a08f477f8e1c5","name":"wordexpress-schema","description":"A GraphQL Schema for WordPress","dist-tags":{"latest":"4.3.0"},"versions":{"0.1.0":{"name":"wordexpress-schema","version":"0.1.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"},"bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","lodash":"^4.0.1","php-unserialize":"0.0.1","rimraf":"^2.5.1","sequelize":"^3.18.0"},"gitHead":"7ed9679e70f62253368c6379b93fd1faba264dc9","_id":"wordexpress-schema@0.1.0","_shasum":"e0216a8013dd15bfc572873dd9708f2827b914ce","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"e0216a8013dd15bfc572873dd9708f2827b914ce","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.1.0.tgz","integrity":"sha512-pTEBVgFX8ATXHMxHWBuVb8Bz/f/jTsG8zoeEG/NKjVfBtb/2eOZVm8ci72CQnfUwKpPlk6LwO1XY+thuNQQ2/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXZf787LtCM2p6PwicXLkRaPsOstcWV58W+srG47qhkgIgfy1YLmRlYCqdG1qg95IIBrAoIg7JN3Hd90Mrcc8g6Wk="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"0.1.1":{"name":"wordexpress-schema","version":"0.1.1","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"},"bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","lodash":"^4.0.1","php-unserialize":"0.0.1","rimraf":"^2.5.1","sequelize":"^3.18.0"},"gitHead":"8faf5b3e5164b53f9de3b84663e147ecb86ace97","_id":"wordexpress-schema@0.1.1","_shasum":"0d14e7f9ff2559457e6f79670ef8d974c4651e00","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"0d14e7f9ff2559457e6f79670ef8d974c4651e00","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.1.1.tgz","integrity":"sha512-iL6Em3PywZMMsg2kTsveXlwAtU7+5+pv2gGDUDxXd2hq2T2Pi2oAcBuYA7l3wTZy1jEE3ICAepFhXz2wmxkv2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJjKwxVydPonpqOkrOwSlJE4GZ0grlM6O4Ab/RP1m2ugIhAID1i/fzFshKm/59RUH5/nplcbx5nSv/XYd+EF1LQvQz"}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"0.2.0":{"name":"wordexpress-schema","version":"0.2.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"},"bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","lodash":"^4.0.1","php-unserialize":"0.0.1","rimraf":"^2.5.1","sequelize":"^3.18.0"},"gitHead":"542c75aa98ad2749debaff3aeeec5de456807db6","_id":"wordexpress-schema@0.2.0","_shasum":"ab50434639efa293bc7bdefe5e384d26c4c3fa46","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"ab50434639efa293bc7bdefe5e384d26c4c3fa46","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.2.0.tgz","integrity":"sha512-8EMX+t1/WTryzifdjR8KRzhyVlIDv5MuAt7PHAdRqz5U/+XGunqAVAIBPVD6muZo7g3hA/3KGvI2uzbRInc3tA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDyirGK78WKVSnPZFltB33jwNzv5ixbFOAjaR9pBW5SAiEA04qImAs8jpXc6Ee0gckXmnbDWye16EKzEu2SCs16uUo="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"0.2.1":{"name":"wordexpress-schema","version":"0.2.1","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"},"bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","lodash":"^4.0.1","php-unserialize":"0.0.1","rimraf":"^2.5.1","sequelize":"^3.18.0"},"gitHead":"0d460717d74b49f6ac08f4389ae3e2ccdeb75971","_id":"wordexpress-schema@0.2.1","_shasum":"1ef99b6ba63814eb04e4a1185d3daa7a2c6b3b13","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"1ef99b6ba63814eb04e4a1185d3daa7a2c6b3b13","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.2.1.tgz","integrity":"sha512-RStqGWpcXKBY6acs+oU9wI0NbVuJ9/YJz/IMNPhAWGHxL3Giy0Xsdr436wdt6CCpHjl4inOwHyqZiwmLvBEHBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSdNSyz13oldIApbG9oStlYPMfCPATz0yXBAZvMkBRgAiEAreFKx9KGJ/Hr2GJSrKA+Icg6GVoGq8N6+8rTClOBsts="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"0.3.0":{"name":"wordexpress-schema","version":"0.3.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":{"type":"MIT","url":"https://github.com/brentertz/scapegoat/blob/master/LICENSE-MIT"},"bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","lodash":"^4.0.1","php-unserialize":"0.0.1","rimraf":"^2.5.1","sequelize":"^3.18.0"},"gitHead":"3b62359401bcc498183f3d29ef8a45757951d836","_id":"wordexpress-schema@0.3.0","_shasum":"866b6633f6640398fea534c2af08a77724fcc54f","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"866b6633f6640398fea534c2af08a77724fcc54f","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.3.0.tgz","integrity":"sha512-xZJRpkU5jGVc/ELICWz8tuA9sIk7cMro35We0nj5am/t8BymlXuJk/hGoPLf5Kzm7JI+ny1Zcwcv4QYAgEzVpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfzETcCphr6G+2Wy0LuFEGbfrPF3IovJcui97deWA6FAiEAj451a3U13n0GcOaxJ5QYDHsgfSK7EKzMDygCXq5IPWo="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"0.3.1":{"name":"wordexpress-schema","version":"0.3.1","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.0.1","php-unserialize":"0.0.1","sequelize":"^3.18.0"},"devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","lodash":"^4.0.1","php-unserialize":"0.0.1","rimraf":"^2.5.1","sequelize":"^3.18.0"},"gitHead":"aad22496d232170bca1afc3b0744e4323ba4d700","_id":"wordexpress-schema@0.3.1","_shasum":"81f83c9d6e4b4ea70d0c78e0f461330e120c9524","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"81f83c9d6e4b4ea70d0c78e0f461330e120c9524","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.3.1.tgz","integrity":"sha512-uzsqxHhFyiavDytezBZ5TkwsnHuO15xxB6HFVBbauP154h64xZ5kCmPyi7lXTc+Qgvazb7fNdzZCcaQzaX3FNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEncaCy2p0DGxFBfWAVaFkl4G+seqdtT/DQ/u+CsE9eeAiAY4q+Y9dsXbwxxw8/TMFRC+tkWQY8cT7tiD8yERV7thA=="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"0.3.2":{"name":"wordexpress-schema","version":"0.3.2","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.0.1","php-unserialize":"0.0.1","sequelize":"^3.18.0"},"devDependencies":{"babel-cli":"^6.4.5","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.4.14","graphql-relay":"^0.3.6","rimraf":"^2.5.1"},"gitHead":"690c6bba05a9362212473c25d51b2f5412ef1e42","_id":"wordexpress-schema@0.3.2","_shasum":"9577c1fccce5a6db008ecb6039caf8ca9283841f","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"9577c1fccce5a6db008ecb6039caf8ca9283841f","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-0.3.2.tgz","integrity":"sha512-6AWiTO4oEHK8DXmkNNW8tbRNF0ue5ZcygDtxsd9gNEcX7Z/r28F73qeiRyQHCw3EafscklBsjjt9bgyd9FqA9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKqgo/taS2MECzzHv1lHKWvuUV5JP5Z1xfwSnjP0ZZkwIgToPcxWFcVHnZJvERaOObX1BBuCySoQ4NW4MyxGHz86s="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{}},"1.0.0":{"name":"wordexpress-schema","version":"1.0.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"apollo-client":"^0.3.26","graphql-tag":"^0.1.7","lodash":"^4.13.1","php-unserialize":"0.0.1","sequelize":"^3.18.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.6.0","rimraf":"^2.5.1"},"gitHead":"4c663a23134b6a6a900a1fd993845eb9149224a6","_id":"wordexpress-schema@1.0.0","_shasum":"7956e1ca5c889b0fc2a3ebf8dd9ae12e9cfa5c27","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"7956e1ca5c889b0fc2a3ebf8dd9ae12e9cfa5c27","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-1.0.0.tgz","integrity":"sha512-4u/PjV/6k2lUjFLxD8pfGjv9wm0Ye+vAl2FyRIeMKdqFQc6Lf+gAHVtEU+VnqYjCYHCu5h5q+DqAtRiXYrJefQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4QTCBk+ugzsgcB9cCMIPU0lrKSzJWR0EDYKskJrmOBAiEA7Pb8o0coyldM8SRnw41nZ8GSOiCpgHZzvmfHmXtOoQM="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wordexpress-schema-1.0.0.tgz_1467607174099_0.9641310446895659"},"directories":{}},"1.1.0":{"name":"wordexpress-schema","version":"1.1.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"apollo-client":"^0.3.26","graphql-tag":"^0.1.7","lodash":"^4.13.1","mysql":"^2.11.1","php-unserialize":"0.0.1","sequelize":"^3.18.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.6.0","rimraf":"^2.5.1"},"gitHead":"d0c09439c4007823177f40301330bb21f26c0317","_id":"wordexpress-schema@1.1.0","_shasum":"3b231a1d2a56054ee8b6fec518ebfc8d336850b8","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"3b231a1d2a56054ee8b6fec518ebfc8d336850b8","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-1.1.0.tgz","integrity":"sha512-MtaaFyFamUMqkIH/aRVnzcB8HR1WzMstKIT1hneyfGESZlcj3CrL1RWIvR/uxPbfHxB3JQnhAA4/tPjy/Y0QDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDfsgdBb4TvAz0wlW574QoUARW9QpTWcPhOefg6Mx4waAiEA1JWX6Ag7Zc1ZxBotDYKc9uTO14R7+kJcPZ1uLlnW0vk="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/wordexpress-schema-1.1.0.tgz_1468420633812_0.6643481622450054"},"directories":{}},"1.2.0":{"name":"wordexpress-schema","version":"1.2.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"apollo-client":"^0.3.26","graphql-tag":"^0.1.7","lodash":"^4.13.1","mysql":"^2.11.1","php-unserialize":"0.0.1","sequelize":"^3.18.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","graphql":"^0.6.0","rimraf":"^2.5.1"},"gitHead":"11401c9a2540cd55d3b6a549c0a49995a3a815f0","_id":"wordexpress-schema@1.2.0","_shasum":"3fe8f206d12a5852473ab136ce5ccd46a0666df8","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.0.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"3fe8f206d12a5852473ab136ce5ccd46a0666df8","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-1.2.0.tgz","integrity":"sha512-W6OFw8CgE3YRnXKNqRdZ40c8ubxGrLw+8/RADFi7dUjsKi4oXbaQbcsnQVAt/l7ld/0vbqLb+DFscttMop8kEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFLB5tS01020atTbjc7hQuLCnKe7ERCrh8l5Byjtj2AAIhAKzmo62IU+7wRzaQp3jcPXAFB+WFaXLnKdyVpNSTJ1lT"}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/wordexpress-schema-1.2.0.tgz_1472825343124_0.7952880912926048"},"directories":{}},"2.0.0":{"name":"wordexpress-schema","version":"2.0.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"apollo-client":"^1.0.1","lodash":"^4.13.1","mysql":"^2.11.1","php-unserialize":"0.0.1","sequelize":"^3.18.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","graphql":"^0.9.2","rimraf":"^2.5.1"},"gitHead":"8f51ae575a36ffb358ad3598278e96c0d7366f8a","_id":"wordexpress-schema@2.0.0","_shasum":"9815aba079fa1c4db65824df798f854a07708575","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"9815aba079fa1c4db65824df798f854a07708575","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-2.0.0.tgz","integrity":"sha512-2mYX+MU+YVuF5BmnFNPYyOoQipDYWVCFFzIXYzLaI7w8r/iQc4eIoTPfgJaPvpnymYq4jc7JAxPZMaJzHl2JAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtfLO3kEhy7w/LTJKVZOwgrWXi3ZMYm+ZWILTNFC/wsgIhAPNrvSQqP/BCfschimNT9vzY4iLMNdNx2eXHw3KK5DGU"}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/wordexpress-schema-2.0.0.tgz_1491423919645_0.7401306428946555"},"directories":{}},"3.0.0":{"name":"wordexpress-schema","version":"3.0.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"e6ab6965d21357cca6dd037adcb2aedb28d5e75d","_id":"wordexpress-schema@3.0.0","_shasum":"589e2fb8dad0ef312d8936ef030073ec462b3a8c","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"589e2fb8dad0ef312d8936ef030073ec462b3a8c","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-3.0.0.tgz","integrity":"sha512-+XhIyK1hJgwDpDPAH3VFW7U7ZpmIr1GfE7S19heym73qhjy8rbRBYWDuCssE2tm4+1/UaD6UE3fdbFAx5TSxrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl6GGR588f3j5NRIHHVBsfvdo4xE53gAvH/z9/VaIrRQIhAKk8Wjd46DSDT+EHcdLQ5ITY6yxaPGkgduNNJAQemNzE"}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-3.0.0.tgz_1513190352702_0.9633378381840885"},"directories":{}},"3.0.1":{"name":"wordexpress-schema","version":"3.0.1","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"c9ae7d3d2c51330401a0a5187f048a76d67e4c87","_id":"wordexpress-schema@3.0.1","_shasum":"404cfa68862476cdbeb1f91f7da2b5813a032946","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"404cfa68862476cdbeb1f91f7da2b5813a032946","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-3.0.1.tgz","integrity":"sha512-bMf13O1miC9Ov/bRy12QLOGVzE4NDq6g12Er7vKbnUA3wuT0fLxw1gMXtQwKnSqLbuIqh+kyiQtRVSz8ptMSeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBY/Rh8WXRzRTkS/sY2gQ8Gfgw1MlqbS+y+j7zieVYknAiBqt7qUTrZPlVppksRIDaYB2YLnACW2KjUs6kfG1MvXNw=="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-3.0.1.tgz_1513355735238_0.966418394818902"},"directories":{}},"3.0.2":{"name":"wordexpress-schema","version":"3.0.2","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"c9ae7d3d2c51330401a0a5187f048a76d67e4c87","_id":"wordexpress-schema@3.0.2","_shasum":"453c1ea37f90b8754128c17a346350d13e31a229","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"453c1ea37f90b8754128c17a346350d13e31a229","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-3.0.2.tgz","integrity":"sha512-P90+3Vyz+DRnYoMb2AQ3Uum+3kP5xUCEChud444U/kq3hpVX7GhCiRdK54U9gyovbYMyzGTOFcRLBeqKeDdU+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzp34YjM3CTet7xP07ct6UMSZkftkmQPnC64+zdut8EAiEA/OoV6aqqIcyB1Jyq04h51+ok/dIn9qPN91e7YKCCG1o="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-3.0.2.tgz_1513355872644_0.5374612824525684"},"directories":{}},"3.0.3":{"name":"wordexpress-schema","version":"3.0.3","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"4abf78691a32d3c95ed50603ce63b7b77db3a0f3","_id":"wordexpress-schema@3.0.3","_shasum":"535c7cee3ca6581c4601b0a05884452d939d3de3","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"535c7cee3ca6581c4601b0a05884452d939d3de3","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-3.0.3.tgz","integrity":"sha512-whGIcTXXiTRSvzUgmsVHU6S7LugykSYWMJLrNB97oPVXsh1leJt9DptnHGSCipPobBKhhpL/GGgDWrcg0RG/zg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2XpWzv1ZLSXxYIieo1/39yLRheZtwy3LbGUAkI7+BCAIgJl29TiX8PQ81HiIQJCuaj5p7/15f3spqVJPqAr2Bwyg="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-3.0.3.tgz_1513731115271_0.5904898601584136"},"directories":{}},"3.0.4":{"name":"wordexpress-schema","version":"3.0.4","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"649d64259fd59cbb8d48708d32890eca169b05a7","_id":"wordexpress-schema@3.0.4","_shasum":"fb13490abb7c62ac35367c14edcc760b29182db8","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"fb13490abb7c62ac35367c14edcc760b29182db8","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-3.0.4.tgz","integrity":"sha512-uy4IwQZat6WvAL1UlGFJb27rW3JdoCF5h2Gx2F84ZLzC38RR0I+GGUiPxlj8HRLzShXC9EhtrpMZsTLwWo4ylw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMGACIv4VR7tejOPYeNsqYCiHDl88iCm2nLLdYd95BTAiAeEX1GlPWvTHcHCKroyhdSY3yBhS8yfOTV+C3N//6UeQ=="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-3.0.4.tgz_1514559007951_0.18168327095918357"},"directories":{}},"3.1.0":{"name":"wordexpress-schema","version":"3.1.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"29c1eb3ce2000927009167e1298d6e78ec4a8850","_id":"wordexpress-schema@3.1.0","_shasum":"aff29b65658ac68834ec95635a973a530c102684","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.5.0","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"aff29b65658ac68834ec95635a973a530c102684","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-3.1.0.tgz","integrity":"sha512-oMxAzjUKb66de6g8IXppqC7VhgP0yriWM4lMiz0cSruys0cqagpXyyRtIPC67givML87XAUBQCa45oDC3Nj02g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAueiRrXu4EXtU7NFUl891ZVlV0s9tWYzCe2ZF6l/hCvAiEAjY6IbEQFRm/aR5dCLK614SMZbZikT4ZTQjiwQ29b06I="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-3.1.0.tgz_1515253959143_0.012057173531502485"},"directories":{}},"4.1.0":{"name":"wordexpress-schema","version":"4.1.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"ef28e3702a7af6e26b6e74c16465eafcb5c97c30","_id":"wordexpress-schema@4.1.0","_shasum":"70030486cb42cbdd5723c20ffd86f5e1a0727f80","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.5","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"shasum":"70030486cb42cbdd5723c20ffd86f5e1a0727f80","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.1.0.tgz","integrity":"sha512-KBJMOwAg5UWPC68eQLSLE0D98ZaWFEtOcAjjvQ+LvnxzXcUyIxkqbZeW5Abs6NYnTCdk3nY5kq7sU+7akNfv9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHY0SNbsDvd0sUUrF3n8YzCm2acWm/93FMwD80GnNw+CAiBT/28ciIR61nW/uKcHOxo4Yu1l0KDgNV51a0Yjd2lBoQ=="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema-4.1.0.tgz_1515700030014_0.6452130030374974"},"directories":{}},"4.2.0":{"name":"wordexpress-schema","version":"4.2.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"567965748eae56589bf0521cc05b52c4e287dcc7","_id":"wordexpress-schema@4.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-1B3G8LxMhHW3YiLoAAyc4iSLHk9tIfzxYByrKvm7b9mVnw20VzR4j3zENATtFIIkB3TfQWwkjm3mDy7TqVpX1g==","shasum":"6d534da8cf5221aef7438c9dfae7919092bd49ce","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.2.0.tgz","fileCount":39,"unpackedSize":49328,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICoo7Dy66BeihvvkbCnmJ9p++FBopvlUlCt6YAmvesJ2AiEAy/p9h9LH/8+IPYiEpAiaatOXWYoKnTegUz/BnsUT/pE="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.2.0_1519309928337_0.36190048738562797"},"_hasShrinkwrap":false},"4.2.1":{"name":"wordexpress-schema","version":"4.2.1","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"551b148338fedad6a82a49143dd0cfdc3d406643","_id":"wordexpress-schema@4.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-Q534xfCL9uV1vNHx2eUzI7bEcIxtAnZ0FVREc0E16vhjgDHoB4jc4FP5so7mlwK5ItsnhR0ZODkGESRR7luTPg==","shasum":"abaf1d088fec63694758bb2380d124a611c8b732","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.2.1.tgz","fileCount":39,"unpackedSize":49486,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD4zsg8ZYL/8njDw5SA3JkY+xa/NjfGEtJyqJZkoQdRwIgI3Ur60PGTPzEeC84qY5Orx9orokOYWtcjd7SoUNovDc="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.2.1_1519569440770_0.5374284880620319"},"_hasShrinkwrap":false},"4.2.2":{"name":"wordexpress-schema","version":"4.2.2","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"864089d03bb23bdc53742348b21f8c5aadb6e508","_id":"wordexpress-schema@4.2.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-fmUWJ3/J07e3dhR1LGlC96VJRX6NYZ2JmAuAi+TkZ0ellezEj/slRJFyEI4mcXaZSuutvyaEvfEtmk3rEFsBCQ==","shasum":"aabc2913bf63cf2c634393d2328ad6627119272a","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.2.2.tgz","fileCount":39,"unpackedSize":49745,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe0wDFEREAo0dK+uDUpho+FOLKU5H682WrALf4giwjIQIga2igf7+X4EUN8XEClxy1z7ab/XdVg2rk0VhjyuaE/mo="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.2.2_1519655224874_0.5658011795467299"},"_hasShrinkwrap":false},"4.2.3":{"name":"wordexpress-schema","version":"4.2.3","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"b4c737bc8d8a6de485cad68c6a73edaa966c7ab8","_id":"wordexpress-schema@4.2.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-P1QpYay2Mw3Ri2mLFK9E3v2lDdpcWuG7VYtGA2jb4pcGg9VT//PJNKSQgi+IjBBv/XZHOjbERc5hUXDfb5/eYg==","shasum":"37e753257dc0e5958fc7511fca2aed1c20c30420","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.2.3.tgz","fileCount":39,"unpackedSize":50325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrel8Y3C3banviEMXkbwbtvPS5Y6UbX5u+tK4BqxGixgIgQqNdd6vUM7Dp46HkrLXEuSssGHX4Y4jDVhMzOplGRB8="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.2.3_1519740860841_0.09021494570357702"},"_hasShrinkwrap":false},"4.2.4":{"name":"wordexpress-schema","version":"4.2.4","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"d16590de8550f009af49cd8ff0089a9a87c2c7df","_id":"wordexpress-schema@4.2.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-PLjnIRdZ0ZrmLW3HuL6kE6DcDTIX2VVvHtv6gPSn//yAa2PSUAPcAj/7TkFCuUT2Q6IzN8p4mHmN7Fjq2Wl1yA==","shasum":"35441ce58861584ff31994758e0388b54d4353e3","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.2.4.tgz","fileCount":39,"unpackedSize":50493,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+t990GKtV+Mv3p00eG/8pRUUhhHojtdYh1u4Bcjz2JAiEAvsdr7wClCtBKA7Q612yYOE5hwppj7qU++kbbSKEJ/Uo="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.2.4_1519924332432_0.5730125898589404"},"_hasShrinkwrap":false},"4.2.5":{"name":"wordexpress-schema","version":"4.2.5","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"d16590de8550f009af49cd8ff0089a9a87c2c7df","_id":"wordexpress-schema@4.2.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-KYROQ+umRLYaYBdJ8+XWtsJyggfihXXUbigwrE6PcUmvQW66bnLo6Iw6dpt2pWDROL/eVKYonrC7L8b+SS7r7Q==","shasum":"fc804d98faec858f933a99dbd0cc3ae0f122ef83","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.2.5.tgz","fileCount":39,"unpackedSize":50493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/HM3CRA9TVsSAnZWagAAgw4P/2ZPGOWQ3QpuaIRfHzRG\nwDzIj3DDcAu992xEbvZaERmJB0i0sl6BsOE+N6BtcgJIGk2vrT+tABp2gYQ4\nkJ7IvfBgtGkutBb1vjeGKLwRp+0ntJE+PG0yvAqyfVYwoT6C3hK/BFXN38UP\nXPnTs6BkKmoyyADFFk2xb7sip+doSXhY0eNyrDgSenQrnkESpoXfNS5MJW6a\nM9nTkkYOKs/kGmqjq7oQ8s6oiMqLZ8n6oindP00YzuaYA3ZE+LHngnFDYvdd\n1F0KIwYNOALvMnHZOahmF4v58q85JELDQLIjDLzvYdrOc9LvA3VrqxeJIRF6\naF12sGBbnMG3T8/WKeOr1d+dAS2JJp3BAOQwW8R0XlfsdPX8BraIeg8DczWF\nmucdBOh9spLkQPRrx/IQsxFhg9wPcCIPV0HqzgF9ioPK69Dg32aXD0OZ5vVs\nv3wr5rv2gjFX7z/vMocBwwx1F/ueUmzsYsNFbqWXrnHZbdciAAoC/QlzTb7t\nGZZ4gCGvTnATb00Jo3NWPpsX0cwe15UaQFk6xp1CQ8EJYox5X/bxgFRWhWmj\nb8CUgIoF75y/a/Cw/RNjIJvysN6r/1KXUEJ+DLQFzzrbaqjDALvQPZEvfhz8\nFDHm9lHdo3WxklgJfGBXbGRFtCF0MBpJcmSIkwvrwSc9lndc6Twy/xJoVzSW\nXQ1Q\r\n=q9nh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK2XuYUJEwK6Rp89GNF2UkueKeXx6ktNVavMuCy8xW9gIhAJij4Z+wBA1doChPkcgEPSf+0ENP2ChWlYlFl/BOZBhZ"}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.2.5_1526494005787_0.5062513281555701"},"_hasShrinkwrap":false},"4.3.0":{"name":"wordexpress-schema","version":"4.3.0","description":"A GraphQL Schema for WordPress","files":["lib"],"main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf lib && babel src -d lib","buildwatch":"nodemon --exec npm run build --watch ./src"},"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"keywords":["WordPress","Javascript","React","GraphQL"],"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"license":"MIT","bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","dependencies":{"lodash":"^4.13.1","mysql2":"^1.5.1","nodemon":"^1.14.9","php-unserialize":"0.0.1","sequelize":"^4.28.0"},"devDependencies":{"babel-cli":"^6.3.17","babel-eslint":"^7.2.1","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","eslint":"^3.19.0","rimraf":"^2.5.1"},"gitHead":"b513d5bea90487d91cc7557a01631c223454fd31","_id":"wordexpress-schema@4.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"},"dist":{"integrity":"sha512-ocmt9ZkFGvnYApf+RcbjVDz156O3dZ8RBYmwT8uEVq2kZkITrx1vqPSr8ai3bE2MltPMMUcFV4bBjXsN6OOK4g==","shasum":"2cfd1c5e8fa6fd49354e6316a49e3cacbf234793","tarball":"https://registry.npmjs.org/wordexpress-schema/-/wordexpress-schema-4.3.0.tgz","fileCount":39,"unpackedSize":50491,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/HN9CRA9TVsSAnZWagAAt8cQAJ5BxYvpirVeMlO53YM3\niOlsVNG3Qevc4jm4+PT8GZGfSXWVjKrlz5BELKRjygQkE4+R6bpYRV6yOrVm\nHBFEcpZkhegKwTOo8QiRI1BdFrIRfZJxiSSThVabrdUSRnXQnyrRjb+KnkbZ\nd8fWn+bTY4gnYAj0XuPPCA8RrxtYJVK9Xp0NDzHLowiBav5JVB1f1LMz8S7u\n3T26MSNw/PhUCYLFAJE4QFhsdl4RK9CrbLI8mTCy7c6HvCSNL7ouQNbzIcVF\nAeJ8CrVDgKhwSU5X7hFHw6HV03C50kwfbAOVOePQBfWSJ4reno8gBP/yNx6D\nTHMTyHGdOyyeyTgyxG+nYPyU4N8aGPdWVN4a7deHQnamclkZuQGQLyVmWYmY\nE+18/OFQysD/6HAkreQAjB34IX4cgJn27WFljGFad3TnM4NHS4dOmvOC8C4S\n5rKFdSOFei5Dlh6oucUpM6at1NQB91/Eb6T1TzV9tKzyJEmWGN2B4vFPvmQm\npjOYjmDGOPt7Nrofq762rfxLtVXpVmfIIQj0WOy1WNU8FL4QkdLtzmMOoLnk\nVWKdMBfQjb2UhYovdacNCCHVbFs0BiKOjXYoIFI+cl/yeT+myyePDvRtSjS0\n8qlJsERxuiw7QCO8iwLZ4q8XMRaxnrgxwkIJF5WCVuc1sWCiFd1QTEj/sk+y\nyHnw\r\n=lU9G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOdZi5n175Rds2ONhUQUBJIfgsKiTYTK/mRk2rLq0oPAiBAKafdxuOsQNbdL/F4Kcz0c9fp8+j5rat5+HC8ok7+nQ=="}]},"maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wordexpress-schema_4.3.0_1526494075899_0.8782639585955778"},"_hasShrinkwrap":false}},"readme":"[![npm version](https://badge.fury.io/js/wordexpress-schema.svg)](https://badge.fury.io/js/wordexpress-schema)\n\n# wordexpress-schema\n\nWordExpress Schema provides the following:\n\n- **WordExpress Database**: provides a connection to your WordPress database and returns some models and queries using Sequelize. These queries replace MYSQL queries, and return promises. These queries function as connectors and are used in the WordExpressResolvers resolving functions.\n\n- **WordExpress Resolvers**: resolving functions that work with the WordExpress Database connectors to resolver GraphQL Queries\n\n- **WordExpress Definitions**: a module GraphQL Schema based on the queries provided to it from WordExpressDatabase. With the schema, you can do things like Find Posts by post_type, get the Postmeta of a Post by the post_id, and so on.\n\nThis package is intended to be used with [Apollo Server](https://www.apollographql.com/docs/apollo-server/) to provide an easy way to setup a GraphQL server and connect it to your WordPress database. Note that Apollo Server is not a depenedecy of this package. An example of using this package with Apollo Server and Webpack is provided below.\n\n## Installation\n\n```\nnpm install --save-dev wordexpress-schema\n```\n\n## Usage\n\n* [Using WordExpress Database](#wordexpressdatabase)\n\n  * [Connection Settings](#connection-settings)\n\n  * [The Database Class](#the-database-class)\n\n    * [The Models](#the-models)\n\n\n* [Making an Executable Schema](#creating-the-schema)  \n\n* [Using Definitions and Resolvers with Apollo Server](#using-definitions-and-resolvers-with-apollo-server)\n\n* [Types](#types)\n\n  * [Post](#post)\n  \n  * [Postmeta](#postmeta)\n  \n  * [MetaType](#metatype)\n  \n  * [Category](#category)\n  \n  * [Menu](#menu)\n  \n  * [MenuItem](#menuitem)\n  \n  * [Setting](#setting)\n\n* [Inputs](#inputs)\n\n* [Queries](#queries)\n\n\n\n## WordExpressDatabase\nThe first part of WordExpress Schema is **WordExpressDatabase**. This class provides an easy connection to your WordPress database using some connection settings. Typically, you'll want to put the database in its own file in case you want to extend the Models.\n\nBelow is the basic implementation:\n```es6\n\n//db.js\nimport Config from 'config'\nimport {WordExpressDatabase} from 'wordexpress-schema'\n\n/*\n  Example settings object:\n  public: {\n    uploads: \"http://wordexpress.s3.amazonaws.com/\",\n    amazonS3: true\n  },\n  private: {\n    wp_prefix: \"wp_\",\n    database: {\n      name: \"wpexpress_dev\",\n      username: \"root\",\n      password: \"\",\n      host: \"127.0.0.1\"\n    }\n  }\n*/\n\n\nconst publicSettings = Config.get('public')\nconst privateSettings = Config.get('private')\n\nconst Database = new WordExpressDatabase({publicSettings, privateSettings})\nconst {connectors, models} = Database\n\nexport default Database\nexport {connectors, models}\n```\n\n### Connection Settings\n\nIn the above example, **WordExpressDatabase** is passed a settings object that contains some WordPress database settings. Name, username, password, and host are all self-explanatory.\n\nWordExpress will work with Amazon S3; passing in a truthy value for amazonS3 will alter the query for getting Post Thumbnail images. If you are using S3, you just need the include the base path to your S3 bucket (which means you should exclude the wp-content/uploads/ part of the path). If you are hosting images on your own server, include the full path to the uploads folder.\n\nLastly, you can modify the wordpress database prefix. Some people don't use the default \"wp_\" prefix for various reasons. If that's you, I got your back.\n\n### The Database Class\n\nThe Database class above contains the connectionDetails, the actual Sequelize connection, the database queries, and the database models. Really, all you need for GraphQL setup are the queries; however, if you'd like to extend queries with your own, the Database Models are exposed.\n\n#### The Models\nHere are the models and their definitions.  As you can see, for the Post model, not every column in the wp_posts table is included. I've included the most relevant columns; however because the Database class exposes the models, you can extend them to your liking.\n\n```es6\nPost: Conn.define(prefix + 'posts', {\n  id: { type: Sequelize.INTEGER, primaryKey: true},\n  post_author: { type: Sequelize.INTEGER },\n  post_title: { type: Sequelize.STRING },\n  post_content: { type: Sequelize.STRING },\n  post_excerpt: { type: Sequelize.STRING },\n  post_status: { type: Sequelize.STRING },\n  post_type: { type: Sequelize.STRING },\n  post_name: { type: Sequelize.STRING},\n  post_date: { type: Sequelize.STRING},\n  post_parent: { type: Sequelize.INTEGER},\n  menu_order: { type: Sequelize.INTEGER}\n}),\nPostmeta: Conn.define(prefix + 'postmeta', {\n  meta_id: { type: Sequelize.INTEGER, primaryKey: true, field: 'meta_id' },\n  post_id: { type: Sequelize.INTEGER },\n  meta_key: { type: Sequelize.STRING },\n  meta_value: { type: Sequelize.INTEGER },\n}),\nUser: Conn.define(prefix + 'users', {\n  id: { type: Sequelize.INTEGER, primaryKey: true },\n  user_nicename: { type: Sequelize.STRING },\n  user_email: { type: Sequelize.STRING },\n  user_registered: { type: Sequelize.STRING },\n  display_name: { type: Sequelize.STRING }\n}),\nTerms: Conn.define(prefix + 'terms', {\n  term_id: { type: Sequelize.INTEGER, primaryKey: true },\n  name: { type: Sequelize.STRING },\n  slug: { type: Sequelize.STRING },\n  term_group: { type: Sequelize.INTEGER },\n}),\nTermRelationships: Conn.define(prefix + 'term_relationships', {\n  object_id: { type: Sequelize.INTEGER, primaryKey: true },\n  term_taxonomy_id: { type: Sequelize.INTEGER },\n  term_order: { type: Sequelize.INTEGER },\n}),\nTermTaxonomy: Conn.define(prefix + 'term_taxonomy', {\n  term_taxonomy_id: { type: Sequelize.INTEGER, primaryKey: true },\n  term_id: { type: Sequelize.INTEGER },\n  taxonomy: { type: Sequelize.STRING },\n  parent: { type: Sequelize.INTEGER },\n  count: { type: Sequelize.INTEGER },\n})\n```\n\n## Creating The Schema\nWordExpress uses [GraphQL Tools](https://github.com/apollographql/graphql-tools)'s [makeExecutableSchema](https://www.apollographql.com/docs/graphql-tools/generate-schema.html#makeExecutableSchema) to generate an executable schema. `makeExecutableSchema` requires type definitions and resolvers. WordExpress gives you both of those! Here's the basic implementation of the schema:\n\n```es6\nimport {makeExecutableSchema} from 'graphql-tools'\nimport {WordExpressDefinitions, WordExpressResolvers} from 'wordexpress-schema'\nimport {connectors} from './db'\nimport Config from 'config'\n\nconst RootResolvers = WordExpressResolvers(connectors, Config.get('public'))\n\nconst schema = makeExecutableSchema({\n  typeDefs: [WordExpressDefinitions]\n  resolvers: RootResolvers\n})\n\nexport default schema\n```\n\n`WordExpressResolvers` requires some database connectors that the `WordExpressDatabase` provides. These connectors provide the root sequelize queries. `WordExpressResolvers` is simply a (resolving map)[https://www.apollographql.com/docs/graphql-tools/resolvers.html#Resolver-map] that tell the GraphQl queries how to fetch the data from the WordPress database. \n\n`WordExpressDefinitions` is a modular GraphQL schema written in the [GraphQL Schema language](https://www.apollographql.com/docs/graphql-tools/generate-schema.html#schema-language). \n\n\n## Using Definitions and Resolvers with Apollo Server\nThis example is from the [WordExpress Server](https://github.com/ramsaylanier/WordExpress-Server). \nAfter creating an executable schema, all we need to do is provide the schema to [apollo-server-express](https://www.apollographql.com/docs/apollo-server/servers/express.html).\n\n```es6\nimport express from 'express'\nimport {graphqlExpress, graphiqlExpress} from 'apollo-server-express'\nimport bodyParser from 'body-parser'\nimport graphqlSchema from './schema'\n\nconst PORT = 4000\nconst app = express()\n\napp.use(\n  '/graphql',\n  bodyParser.json(),\n  graphqlExpress(req => {\n    return({\n      schema: graphqlSchema\n    })\n  })\n)\n \napp.use(\n  '/graphiql',\n  graphiqlExpress({\n    endpointURL: '/graphql',\n  })\n)\n\napp.listen(PORT, () => {\n  console.log(`wordexpress server is now running on port ${PORT}`)\n})\n```\n\n## Types\n\n### Post\n```es6\nimport Postmeta from './Postmeta'\nimport User from './User'\n\nconst Post = `\n  type Post {\n    id: Int\n    post_title: String\n    post_content: String\n    post_excerpt: String\n    post_status: String\n    post_type: String\n    post_name: String\n    post_parent: Int\n    post_date: String\n    menu_order: Int\n    post_author: Int\n    layout: Postmeta\n    thumbnail: String\n    post_meta(keys: [MetaType], after: String, first: Int, before: String, last: Int): [Postmeta]\n    author: User\n  }\n`\n\nexport default () => [Post, Postmeta, User]\n```\n\n### Postmeta\n``` es6\nimport Post from './post'\n\nconst Postmeta = `\n  type Postmeta {\n    id: Int\n    meta_id: Int\n    post_id: Int\n    meta_key: String\n    meta_value: String\n    connecting_post: Post\n  }\n`\n\nexport default () => [Postmeta, Post]\n```\n\n### MetaType\n```es6\nconst MetaType = `\n  enum MetaType {\n    _thumbnail_id\n    _wp_attached_file\n    react_layout\n    amazonS3_info\n    order\n  }\n`\n\nexport default MetaType\n```\n\n### Category\n``` es6\nimport Post from './post'\n\nconst Category = `\n  type Category {\n    term_id: Int!\n    name: String\n    slug: String\n    posts(post_type: String = \"post\", limit: Int, skip: Int): [Post]\n  }\n`\n\nexport default () => [Category, Post]\n```\n\n### Menu\n```es6\nimport MenuItem from './menuItem'\n\nconst Menu = `\n  type Menu {\n    id: ID!\n    name: String\n    items: [MenuItem]\n  }\n`\n\nexport default () => [Menu, MenuItem]\n```\n\n### MenuItem\n```es6\nimport Post from './post'\n\nconst MenuItem = `\n  type MenuItem {\n    id: ID!\n    post_title: String\n    linkedId: Int\n    object_type: String\n    order: Int\n    navitem: Post\n    children: [MenuItem]\n  }\n`\n\nexport default () => [MenuItem, Post]\n```\n\n### Setting\n```es6\nconst Setting = `\n  type Setting {\n    uploads: String\n    amazonS3: Boolean\n  }\n`\n\nexport default Setting\n```\n\n## Inputs\n\n### OrderInput\n```es6\nconst OrderInput = `\n  input OrderInput {\n    orderBy: String,\n    direction: String\n  }\n`\n\nexport default OrderInput\n```\n\n\n## Queries\nWordExpress provides some out-of-the-box queries to do some basic stuff like getting posts, getting posts by category, getting a post by post_type, etc.\n\n### Posts\n```\nposts(post_type: String = \"post\", limit: Int, skip: Int, order: OrderInput): [Post]\n```\n\nYou can query posts by `post_type`. If you don't provide a post_type, it will default to 'post'. You can also limit the results and skip results (allowing for pagination). Also, you can provide a custom sorting object to sort the results. Here's an example of sorting:\n\n<img width=\"1035\" alt=\"screen shot 2017-12-13 at 12 31 14 pm\" src=\"https://user-images.githubusercontent.com/2359852/33953187-258e7394-e002-11e7-9792-a4680d087cd7.png\">\n\n#### Layouts for Pages and Posts\nPosts and pages can be assigned a Component to use as a layout. You can use the [WordExpress Companion Plugin](https://github.com/ramsaylanier/WordExpress-Plugin) for WordPress which will allow you to add the custom field to any page or post. Or you can add your own custom field. It needs to be called `page_layout_component`. Here's an example of the querying with a layout:\n\n<img width=\"1064\" alt=\"screen shot 2017-12-13 at 12 41 43 pm\" src=\"https://user-images.githubusercontent.com/2359852/33953467-11e93990-e003-11e7-9994-fb967a2acb4a.png\">\n\n### Post\n```\npost(name: String, id: Int): Post\n```\n\nReturns a Post by either its ID or its name.\n\n<img width=\"1431\" alt=\"screen shot 2017-12-13 at 12 57 05 pm\" src=\"https://user-images.githubusercontent.com/2359852/33954058-306b90f0-e005-11e7-83fe-383c6ed490f6.png\">\n\n### Menu\n```\nmenus(name: String!): Menu\n```\n\nReturns a menu and the menu items associated with it, as well as children items. Uses the slug of the menu that is registered with WordPress.\n\n<img width=\"1065\" alt=\"screen shot 2017-12-13 at 12 52 01 pm\" src=\"https://user-images.githubusercontent.com/2359852/33953852-8479de64-e004-11e7-84b3-c51d84eb98fd.png\">\n\n\n### Category\n```\ncategory(term_id: Int!): Category\n```\n\nGets a category by its ID. Also capable of returning all posts with the category id. Here's an example:\n\n\n<img width=\"1373\" alt=\"screen shot 2017-12-13 at 12 59 57 pm\" src=\"https://user-images.githubusercontent.com/2359852/33954203-8f2031e6-e005-11e7-932b-fdc1d4321e53.png\">\n\n### Postmeta\n```\npostmeta(post_id: Int!, keys:[MetaType]): [Postmeta]\n```\nGets the postmeta of a post by the post id. \n\n<img width=\"1088\" alt=\"screen shot 2017-12-13 at 1 28 34 pm\" src=\"https://user-images.githubusercontent.com/2359852/33955582-02546f98-e00a-11e7-8fcb-c106b9372b65.png\">\n\nIf `keys` are passed it, it will only return those keys which are part of the `MetaType`. Example:\n\n<img width=\"995\" alt=\"screen shot 2017-12-13 at 1 32 49 pm\" src=\"https://user-images.githubusercontent.com/2359852/33955614-2603bf98-e00a-11e7-9ce3-100b60190dd6.png\">\n\n\n\n\n","maintainers":[{"name":"ramsaylanier","email":"ramsaylanier@gmail.com"}],"time":{"modified":"2022-06-29T03:12:36.663Z","created":"2016-01-26T00:17:19.809Z","0.1.0":"2016-01-26T00:17:19.809Z","0.1.1":"2016-01-26T02:02:30.760Z","0.2.0":"2016-01-26T03:31:38.303Z","0.2.1":"2016-01-26T03:52:34.153Z","0.3.0":"2016-01-27T06:16:14.387Z","0.3.1":"2016-01-28T22:59:20.902Z","0.3.2":"2016-01-28T23:01:55.665Z","1.0.0":"2016-07-04T04:39:36.518Z","1.1.0":"2016-07-13T14:37:16.348Z","1.2.0":"2016-09-02T14:09:05.493Z","2.0.0":"2017-04-05T20:25:20.464Z","3.0.0":"2017-12-13T18:39:13.757Z","3.0.1":"2017-12-15T16:35:36.282Z","3.0.2":"2017-12-15T16:37:53.651Z","3.0.3":"2017-12-20T00:51:56.355Z","3.0.4":"2017-12-29T14:50:08.934Z","3.1.0":"2018-01-06T15:52:39.418Z","4.1.0":"2018-01-11T19:47:11.071Z","4.2.0":"2018-02-22T14:32:08.466Z","4.2.1":"2018-02-25T14:37:20.824Z","4.2.2":"2018-02-26T14:27:04.962Z","4.2.3":"2018-02-27T14:14:20.943Z","4.2.4":"2018-03-01T17:12:12.684Z","4.2.5":"2018-05-16T18:06:45.899Z","4.3.0":"2018-05-16T18:07:56.020Z"},"homepage":"https://github.com/ramsaylanier/wordexpress-schema#readme","keywords":["WordPress","Javascript","React","GraphQL"],"repository":{"type":"git","url":"git+https://github.com/ramsaylanier/wordexpress-schema.git"},"author":{"name":"Ramsay Lanier","email":"ramsaylanier@gmail.com","url":"ramsaylanier.com"},"bugs":{"url":"https://github.com/ramsaylanier/wordexpress-schema/issues"},"license":"MIT","readmeFilename":"README.md","users":{"ramsaylanier":true}}