{"_id":"@gojob/ts-elasticsearch","_rev":"30-5c954e200290b34b99316fa5b57fe40b","name":"@gojob/ts-elasticsearch","dist-tags":{"latest":"1.3.3"},"versions":{"1.0.0":{"name":"@gojob/ts-elasticsearch","version":"1.0.0","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.0.0","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"dist":{"shasum":"47a3926dc957fe9e7b27fc1137172acb9f61899c","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.0.0.tgz","fileCount":48,"integrity":"sha512-7fTfblnWVmx4nKylycOo36mnLoRsyh50Zt5BQD1OC2XcQXtDzqv/84JtkXBfolqzGvsHxTtOtxlEhFcuv5hXjA==","signatures":[{"sig":"MEYCIQCmcNarTqEQ3UFezUv/n/FXQvMXCKQinXh0/847Dt2QUgIhAM5+z5a0fidmaPrIJVS+NNnv+Xm243PT6/zLamhRoxUN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2u71CRA9TVsSAnZWagAAzgAP/iyQlJbLgctLYcT7v/22\n7twz2xwTntEW4t8nDofw144ZVTvCfjx2GiK8SQtIvkimIXhkd13rmssLk6AS\nSU/imQVioIT/fGdxe80wlwZnzVWhiMJ9Zn6VSdaxq/avvMrQFZEMOm1PO+Y4\nKw7uW07g73KmfJ4VewQJXjJhnowu6rPR90895SpeXSo7/kbe6SsUorMXB+kc\noHGelZFtDRsljbHbO6RptK/CHtnFIbGpmIJgYlGvie9c9Zd9RpcHdBZvU8u7\nxEyLI+AHFY00WnHk5TcAXbZgL8Uf3Ty/XPJT2JRuOT8ZapgSnwSZ738u5WJu\nWib4DlRCQegdGIl9iReNn24THLRSIOkr6GzjxDIReGaruMJht+xmBDMI0ywu\nKzRYeVoA8R6/UVzSZg4vbVIaljZWLLsMYr2m/iw42x48iBaoXN1Ijt2PVGiI\niGT0golletRIWI45mNuviKgb8xMAFR7yTKLY4K6lALVbC3Zp1ljK4vxhOuu0\n0+bi8/DSHFHoPdMWxZBKUBPXLj34YaP+ZongJYLDZ1g1SvItWITT3Rnbguu/\nnEXb/Jo+GDJR6oW9+m3D4FD9AYctDCc7hgoO7Z1DMLQewoBOBQd+4Z3kVX6O\nX4kbvfYM3q0ODVtIu9UM2XyYPmurXONWBDfudd66k5p69unQ8sMA3hQhaW9m\nuBcM\r\n=JWoZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"78a9de7c712d31a07f927d741f2e25232b3ccc6f","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"jbdemonte","email":"jbdemonte@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"_npmVersion":"5.7.1","description":"Elasticsearch decorated by TypeScript","directories":{},"_nodeVersion":"8.9.3","dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.12"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","tslint":"^5.9.1","ts-jest":"^22.4.2","ts-node":"^5.0.1","prettier":"^1.11.1","coveralls":"^3.0.0","typescript":"^2.8.1","@types/jest":"^22.2.2","@types/node":"^7.0.60","@gojob/tslint-config":"^0.0.3","@types/elasticsearch":"^5.0.22","tslint-config-prettier":"^1.10.0","tslint-plugin-prettier":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.0.0_1524297459325_0.25285816454790844","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@gojob/ts-elasticsearch","version":"1.1.0","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.1.0","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"dist":{"shasum":"49d413de4a063d27dd69d1fc4a551a1fc6d1efd7","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.1.0.tgz","fileCount":49,"integrity":"sha512-zFyg7k0wFHj1xb01u87mMwvIM5kPPljgJrJ7QfR42HV/H32cZwxBSNDVDuwqc0dlYYp7XUrghc/KrN05j6dX6Q==","signatures":[{"sig":"MEYCIQDt9ec8dv0ks+W3cZ3LEvoa+BRQuQvtcNZ2RheS8mRDewIhAOPuPbkzWD6sX8yQu9jYXcMJF88SrwxFzbQpZJYwu/NY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5zQwCRA9TVsSAnZWagAABooP/AxQ/8Cu2PqI/SQKur7Y\nmZ59qxeDbDefGRn2YSAoMz8TdteWaIfx9GpRA7kHbkIKx9wuNbCfcV70gcD4\nDswUjQTQ6cMZBhLeiBhNMrM76dEKgt1Hty7j/Noh1nbtiG2BWr0rDYTN8BJY\nyFKWlsjE6Yl/wSIxSA++IkqG2HX/Z0sK7sJsUHrwuTTKLI0nD5A4oYZ5x3Fi\nzAYsj7MObCZytoMWtkLW7WOIMoQKpvA2/snU2HruoppqvcZ1HY+n6EFZSwx9\n58PbuSpOU5oxB0NY2/bMzxcYGjg1EmC46BBKy6UH3bEuIw56nNZGfonmG6sb\nFHFR0suyp3HQyaT+gImatAl32zK2uJ0HXLuxxsoM/5yfpOviEQZH6LccH1IF\n61tOiEuFwVD1XgSuI6+yntWR5UqHrvymaz9VM8+INdvL4LHvBz09Ol5I3aHk\njzhAFgttmUXA54XhCPph78ntyNLCwHrqcxxK23gvu4PpxYIqlsqrIP5IuE6P\nvpEB+ibe+9u/0ChDiBtaf2r7OJhnVAqPKePBMl5Wv4ASBIXdl/TZEigI/xCS\nynQXZ0SiAGFB7cQjPV1abLMkxXWlprZ9+PH0759P+Sybmt6K7xSK/QAZFObQ\nYY/7/XASvudmlQo5xqptmrbmn8/47GJ9R3EUHEESS4Wp2uYfeYcYFPttR7fz\nEta5\r\n=FmDJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"jbdemonte","email":"jbdemonte@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch","type":"git"},"description":"Elasticsearch decorated by TypeScript","directories":{},"dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.12"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","tslint":"^5.9.1","ts-jest":"^22.4.2","ts-node":"^5.0.1","prettier":"^1.11.1","coveralls":"^3.0.0","typescript":"^2.8.1","@types/jest":"^22.2.2","@types/node":"^7.0.60","@gojob/tslint-config":"^0.0.3","@types/elasticsearch":"^5.0.22","tslint-config-prettier":"^1.10.0","tslint-plugin-prettier":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.1.0_1525101599795_0.8817476214093733","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@gojob/ts-elasticsearch","version":"1.2.0","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.2.0","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"dist":{"shasum":"39c09843051da5b21b4e8d0525d316feb5f144db","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.2.0.tgz","fileCount":49,"integrity":"sha512-YdvCxs5KKevUesQzvawSJEUa4ZQs6mllIxsJzsEOsV8AjlssFPucf2oiJwtwgrsPYh72iThitZnW9aZ5Kkzzkg==","signatures":[{"sig":"MEUCIAn1YrdpMvnUagVm/fI637Djo6tWQInhqU7RryaaKwF1AiEAlhgave0MGcKeHekXyfui5GZzXFTh1uq8tFjT3lNa1TE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+TUvCRA9TVsSAnZWagAAHZkP/j6i/eBslHcFfId05/yR\nzuIKj4AzSdnv2A2T1qXtZSSHrstM27m5c+KcxQt5gBtcwTRz7t779CpzKqZH\n4Ep0nPsWJXmoXwh0syEGN39zkbEkuzGZH7GvWNPczamHiKZhfT3E10Jdx2++\nBviMKMEXLTd0pkrzeWwJQFYDjQbWmibfM8vECmd3k2aoS8onwrauhOpAfV2w\nZqm/t/ZXWbL8rTH95/kY4cFODR7vaOYW77XfDn0NUaRYE5DubDxDkqPgbxK5\n1UCk/9w7lLNYciTpP7ajlzKzOHifRdjgr0hLgac6D84GnVwIvPLE31xcs1dz\nGM65UFK19676RmzyxybXx6T79TmgxErzm9K+tR8TLv3vZqc4TYzs0h+P+tWk\nQUeQOdQ5KJy2KKm4xAJdMIzAEXxhjGqu9OsdLmdqwCoJUzXcesvPI1QgE4TL\nvlKWMZ412WNa4eZ1eFU+7XFkgccZpxDMpaRrTrug3Gp8a9aljzUtdXRRuZnX\nsrQffRfmtZj8z34+V4KXUGTvrpNOwVK9nZ7KoFKEKbm3BO0Tm4N0ME+Mk+pb\nf7NNcss8BYkw43r3km++pxmgufHhpn5P0MxDuviBklvyUObgdwgNCE4rXzBq\nAx3UeOgNDHL4Pw03VCyCWNmn4Z/y1wE2Qbe45IKHPla0BFzZI+gxvAOH/w3A\n3kGe\r\n=af3A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"01669f2ef98bdf56a64dfef95a1b7a3b13e9cb01","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"jbdemonte","email":"jbdemonte@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"_npmVersion":"5.7.1","description":"Elasticsearch decorated by TypeScript","directories":{},"_nodeVersion":"8.9.3","dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.12"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","tslint":"^5.9.1","ts-jest":"^22.4.2","ts-node":"^5.0.1","prettier":"^1.11.1","coveralls":"^3.0.0","typescript":"^2.8.1","@types/jest":"^22.2.2","@types/node":"^7.0.60","@gojob/tslint-config":"^0.0.3","@types/elasticsearch":"^5.0.22","tslint-config-prettier":"^1.10.0","tslint-plugin-prettier":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.2.0_1526281518783_0.9091018158118489","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@gojob/ts-elasticsearch","version":"1.2.1","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.2.1","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"dist":{"shasum":"959a40881cf045471a6001b3a02b6b0010caa20f","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.2.1.tgz","fileCount":49,"integrity":"sha512-3HtO9j1eu4Gj86EOmMxMVh9i7ooRzZpl8MtMM6L4n5RfGTPOK9E+McrmlYMs+L9cSB5cmla+Mgk0Zo6Zq2Okng==","signatures":[{"sig":"MEUCIQDgav7n8YObrPadoV0mLewYnbUAMZI1NWuwtWLnEeeG+wIgXrbfLHz0pe1KOuGe5+l4ALbZkyoD12PcV3E8sCkeEUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+VH1CRA9TVsSAnZWagAAaI0P/2tujlHFBIg+jOCqDQ5R\nsvMSCpDP1t6z328WEscbb3b2pt93syNY/3Kld6sAHN6JALf/v3IZjIXJh+Za\nYg3AK+vyNhbWUvRjCJpdsUt8fyyyzaV8Hv+VqKM/Aw8pzIRzvF7j2yuhUkIW\nUuQ1AgXYyUr56v2YwmXEjqIQLQugAjQBKrG+ZkZPVHN0D88p3cdyjZWQ+rQK\nS5Drt12ZEQnQ0UenyrS84DbBDZzCUYLuDyPHdCipAnhc/02xZsx+awgLoFuZ\n9vatUR+CqdbAidBlEW2Wq0NnW5bwaALggTHl/CY59qpsilf+Lw6FSqHARGqE\nbaD7Eih06HWbcSeQKjWMioEZ2JT5IqMqlie60/FK0PZaoUVVM+rogoE5CjVW\nXAIUUSocFJU9KUyAhHoecspSBR/58ejFSFU2Ezf43EV7rGqS58wTtr1eFnt+\nDFelfjIPYKoH3LDPoDD3j9o9+OW1seXlHrd5ZWLpp6Nvs0Hjxt6LiphD2Jip\nEoCe0CO+W+uVy/+IYFdeKC2cJEemI7Rdhb2TQWL0/nyibM/XDseqc5jgPKY6\nLpIYYDt258Pj86mO3/S1GioOx9ExX/0kKvgekHfzrt/tJf1Dzums6/Wy8pix\npx9rRgUaEDk5UO/tOg4dfoKySnQ5ysfjfCiDuNhlzJ1Ea+Dm7cxv/etUvtJz\n1WyJ\r\n=fqje\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"293921dfa6e3b23062de638185579bf278bde59a","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"jbdemonte","email":"jbdemonte@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"_npmVersion":"5.7.1","description":"Elasticsearch decorated by TypeScript","directories":{},"_nodeVersion":"8.9.3","dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.12"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","tslint":"^5.9.1","ts-jest":"^22.4.2","ts-node":"^5.0.1","prettier":"^1.11.1","coveralls":"^3.0.0","typescript":"^2.8.1","@types/jest":"^22.2.2","@types/node":"^7.0.60","@gojob/tslint-config":"^0.0.3","@types/elasticsearch":"^5.0.22","tslint-config-prettier":"^1.10.0","tslint-plugin-prettier":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.2.1_1526288885167_0.477181876868209","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@gojob/ts-elasticsearch","version":"1.3.0","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.3.0","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"dist":{"shasum":"7a246aaa1daab5e43d3913ddfbc8aff897a71637","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.3.0.tgz","fileCount":55,"integrity":"sha512-JaHYaSV4ewdeU6ZsmwhIWgehBayvs+EVgDZex0HEyTeTdVMTfMVSjc5qvitaCHTJMlBW7bYav/jPWSDFHw7fzA==","signatures":[{"sig":"MEYCIQDQBMXTjru7Y/ZONqPf97BxiTIAKxhw50SCN4YgisZrUgIhAN8a8Ld/qAHtS03zuLaktQF1J9RU+JHOe14XkLzBOrxq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":178069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+ZB5CRA9TVsSAnZWagAA5s4QAJ4p0g360UA4zm6XdRo2\n8XTjDIsoYQFQ/SlxOiJw85PEgk/8UqatEqreDy76iUoqc4++2HkCRvpyeagy\nVUYAWxxd7aVs6oq7rfH1v89Uk95vVuI/o6mhaGb7MDYsC1sLPh4ArSyJiIfT\n1Ey3ZvXaXxaqv6libVndyDOLIvF9oU3CnWaiIlyTDCWEVHVl4lfy+pY3wA2p\ndgke8Wn3OsDabsuMKbeQjg2cUMWJhvdFSILdfqcl9EKGj4eq4SFyFwccChcT\ni1KZzHGWVzn2g2T0jduhwfunD0MmeSm8v/pBTa+awxQC8lJ60KSzW/UNpOxr\ngbh24Ge8vIoTzs4vMrrEnF3FXQBl6C3u0VRumKMgkyONhxfcY3uQ1GIGZfNF\nbvtvQaHajy2YcCou16+U5/p10S5aDyE1L3BcQnQpzmHFF5xbol17BD98hRuI\nTZptM+HcAotrdOIDI/707rbkMtAALK41WrHU3l36GB6lKxdirCT2sutKnoms\nzpHnpGIyBignMjmXrq9piwYeyMYP6ATya11UKyyNqWoFRgs+aDGvUX3p/E4G\nsj3B3SSJ1sSok/y6jpm1AeyI86G65AnlmH4YD6azFJSnTc31yRoAMWVnQyqY\nAABgrjkldZUWyMMYWC54MeXnSK6ht+RbsQb3fnrW0HNMAWNrFyBzf17+/jGj\nzOek\r\n=rXnY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"92b6821ca12ad4791a3ebd6d11c1117abadbd93f","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"jbdemonte","email":"jbdemonte@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"_npmVersion":"5.7.1","description":"Elasticsearch decorated by TypeScript","directories":{},"_nodeVersion":"8.9.3","dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.12"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","tslint":"^5.9.1","ts-jest":"^22.4.2","ts-node":"^5.0.1","prettier":"^1.11.1","coveralls":"^3.0.0","typescript":"^2.8.1","@types/jest":"^22.2.2","@types/node":"^7.0.60","@gojob/tslint-config":"^0.0.3","@types/elasticsearch":"^5.0.22","tslint-config-prettier":"^1.10.0","tslint-plugin-prettier":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.3.0_1526304888994_0.8633558476668206","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@gojob/ts-elasticsearch","version":"1.3.2","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.3.2","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"dist":{"shasum":"adb9bf3a68604d29797a6862e68f95e89f2dba23","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.3.2.tgz","fileCount":49,"integrity":"sha512-X6RU2rd6Vm4KyVD6c8oE6gsUFMReGyHdCAWGvm4vPDrw1eyrlnvNxAF23z1zyu5L6WmWly9JGQWVcdh2997qFg==","signatures":[{"sig":"MEYCIQDyudlK+qnjX7o4IHzMWWOd0jk1uYZuB3umVWX/C+Il+QIhANbm7E8k93mHBBfFnXj525q+ALYbTDjr5T0lH2Ty6om8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175962,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUYw6CRA9TVsSAnZWagAAL9MP/jirq0kikjfIQl1Xamny\nwzxVIsI0bgGfs4GsjTiub8K6DCnA/BW4sFQQzfqx/U5huncymJOmzlmQFYbY\nxsVrZXxUpe+dvlAjHNqAhYa3SVlQ+Ky+G2XvaaHSRKwDwIFCi3MlU14yO/si\nha48+Zk/cRFrokxbuQD+Y9nwqqggx5p5wwjg+gd3BDZWz0cNz0zh8b5ltsdV\nkzC05oCQRGkVR+4Z71T7ko6f0KD0U2U4Ye3tLwzS5uxIWcjeGpGJ9wfG9hs3\nClzBJJFhfph5qygpUmCfeke6qCK24JuMtWwx1GqdXLmRzPmdJtWhOolIU5Bi\nKfG3myBmwt15SFyTeibI4EX6Nov+QOl+GvQ2zkrG1ivyLtDnVh2DS22TNr18\nBuriE2cZLDkLTYFQBFddGBwyCloYJvad8Xq9Ctz7HttfpcXUpLxPmlelp6T7\ngoSrmyaVuNnBstCtBKFQpfPXrLOprh5LAtrmdDqIu59yRUJYFgEsMcFv8WrV\nrhWDD3hc2waXFIc7RLLdJ4Y4YkZ0Fp+61xGZetiqsXi/UIT1L72GiJ9IOZh6\nwwPIc6/nJj2jZ8/vhkCJBMP5sc3IXrxWGojl166zsIkdGsg6P73rtSV5D5vj\nH9R0/YMpgAsPNLqEIl1yjlX4AdPt5zxguxzDvJo4lt4MvhNZI7e7uVyhFVdY\ne84S\r\n=qPwV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"b0eec7c3eec909586c6c87b50296bdb588a13c8a","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"_npmVersion":"6.4.1","description":"Elasticsearch decorated by TypeScript","directories":{},"_nodeVersion":"10.10.0","dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.12","@types/elasticsearch":"^5.0.22"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^22.4.3","tslint":"^5.9.1","ts-jest":"^22.4.2","ts-node":"^5.0.1","prettier":"^1.11.1","coveralls":"^3.0.0","typescript":"^2.8.1","@types/jest":"^22.2.2","@types/node":"^7.0.60","@gojob/tslint-config":"^0.0.3","tslint-config-prettier":"^1.10.0","tslint-plugin-prettier":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.3.2_1548848186154_0.3196938155350093","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"@gojob/ts-elasticsearch","version":"1.3.3","keywords":["elasticsearch","typescript","decorator"],"license":"MIT","_id":"@gojob/ts-elasticsearch@1.3.3","maintainers":[{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},{"name":"jbdemonte","email":"jbdemonte@gmail.com"},{"name":"miramo","email":"miramond.maxime@gmail.com"},{"name":"vinceops","email":"vince.g.135@gmail.com"}],"homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"dist":{"shasum":"d3388a24cda2b8ea05770c060d5aa41cd2564511","tarball":"https://registry.npmjs.org/@gojob/ts-elasticsearch/-/ts-elasticsearch-1.3.3.tgz","fileCount":85,"integrity":"sha512-POqsYSAoz4FIR5oex7jLZWXSTdFgl2Q1Z1Ywu0EVzC/MaRY+ohDi97xF143VprErU9TWE+BzU3oalJo6uApBSw==","signatures":[{"sig":"MEQCIEKZAG5qDwV2dB+d5DU2+3rp7B3c2iowseiN6h9asEFwAiBmnO+u6hzySfXxlQMv+42s1TfSe0vOB5E5taCRn6RL0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":322933,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB9BKCRA9TVsSAnZWagAAnL4P/0h7Kjbb/MsOtPiS+cTE\nTEV4/2bJz58fXTsYCpmswiF1AY4J2D7DSGBQr5M6IPLn0+bDKfnPm0Cdqrxw\no9Vac2u7GV37lT69IwYmtGAyon6m9N4mCMQQTWgBqQNAs2FsxCA0p9ar+AR/\n9W9TUmmpj/gi6DxNTCpgt9v2QefbWiJQhlRo5uxaNn/gnMvSIB+QMRbrEhY4\nkxEsy7eUgfYMgLY0FIA1aZ8qVuntL4LNlpO278AQf9ehS76ilwak2AqJHDDW\n9ZZ1tmqz2qeCLHYsFec5cG2tfrEgKu9BA3RGs8Ii/7JoGHndRcSWZUy5lUdu\nz+SdFI6E7cwZb2FMEEuF8Pu89fEZ+loWkYbYARgkorz8Q+Y7QqMeCADXzhH4\n4PBd6gE0mLeKf9YtqaV6qSeekKve+MeBjqRJzORpIA0QEwsbSkk0oJOrWAhs\n7f2EdprlS8ONVDgjDowFQX/cSCT4SlPBPFRcOUW7ULyDM4oJ77lF47G0tgCX\npEJh1mLM6JhFP0urXOMPKNCu6TZIdJZJyM7422TGOLN/1rKzfvI0snL00zJf\nfk4j2ysScbLQD2mUg0rwYQJUGDw9XYpR9bVA9tGu9l6DACYcIJrLepKXUkB7\nWXJfl66L+Jmuxq1XpXMBIsaeMbw9SUCKn05iiGGzIT382+WSSP37TLHakPc4\nDB+1\r\n=16/a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"4d05dc1c80ad442c17923f508fa19beb77dfd7d3","scripts":{"lint":"tslint -c ./tslint.json -p ./tsconfig.json -t verbose","test":"jest --silent=false --config=jest.json","build":"tsc  -p tsconfig.json","start":"echo 'Not runable' && exit 1","coverage":"yarn test --coverage"},"_npmUser":{"name":"davidolivier1337","email":"davidolivier1337@gmail.com"},"pre-commit":["lint"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"_npmVersion":"6.4.1","description":"Elasticsearch decorated by TypeScript","directories":{},"_nodeVersion":"10.10.0","dependencies":{"elasticsearch":"^14.2.2","reflect-metadata":"^0.1.13","@types/elasticsearch":"^5.0.34"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.8.0","tslint":"^5.17.0","ts-jest":"^24.0.2","ts-node":"^8.3.0","prettier":"^1.18.2","coveralls":"^3.0.0","typescript":"^3.5.2","@types/jest":"^24.0.15","@types/node":"^12.0.8","@gojob/tslint-config":"^1.0.0","tslint-config-prettier":"^1.18.0","tslint-plugin-prettier":"^2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ts-elasticsearch_1.3.3_1560793161534_0.577974427707157","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-04-21T07:57:39.276Z","modified":"2025-03-17T15:09:02.999Z","1.0.0":"2018-04-21T07:57:39.453Z","1.1.0":"2018-04-30T15:20:00.288Z","1.2.0":"2018-05-14T07:05:18.878Z","1.2.1":"2018-05-14T09:08:05.260Z","1.3.0":"2018-05-14T13:34:49.121Z","1.3.1":"2019-01-30T11:13:05.465Z","1.3.2":"2019-01-30T11:36:26.289Z","1.3.3":"2019-06-17T17:39:21.727Z"},"bugs":{"url":"https://github.com/gojob-1337/node-ts-elasticsearch/issues"},"license":"MIT","homepage":"https://github.com/gojob-1337/node-ts-elasticsearch#readme","keywords":["elasticsearch","typescript","decorator"],"repository":{"url":"git+https://github.com/gojob-1337/node-ts-elasticsearch.git","type":"git"},"description":"Elasticsearch decorated by TypeScript","maintainers":[{"email":"remi@gojob.com","name":"remi-bruguier"},{"email":"dolivier83390@gmail.com","name":"davidolivier1337"},{"email":"eric.chappa@gojob.com","name":"ericchaps"},{"email":"miramond.maxime@gmail.com","name":"miramo"},{"email":"alexian.serrano@gmail.com","name":"alexian-serrano"},{"email":"francois.carlue@gojob.com","name":"fcarlue"},{"email":"bruno.devaux@gojob.com","name":"bruno.devaux.gojob"},{"email":"dedicad40@gmail.com","name":"dedicad"},{"email":"yannick.tian@gmail.com","name":"yannicktian"},{"email":"thaisderodez@gmail.com","name":"thaisrodez"},{"email":"benjamin.buleon@gojob.com","name":"benbuleongojob"}],"readme":"# @gojob/ts-elasticsearch\n\n[![travis build](https://img.shields.io/travis/gojob-1337/node-ts-elasticsearch.svg)](https://travis-ci.org/gojob-1337/node-ts-elasticsearch)\n[![Coverage Status](https://coveralls.io/repos/github/gojob-1337/node-ts-elasticsearch/badge.svg?branch=master)](https://coveralls.io/github/gojob-1337/node-ts-elasticsearch?branch=master)\n\n## NPM publish\n\n**To publish a new version of this package, you have to build the project before run `npm publish`.**\n\n## Description\n\nThe purpose of this library is to provide a decorated class approch to use the [elasticsearch](https://www.npmjs.com/package/elasticsearch) module.\n\n## Installation\n\n```\nyarn add @gojob/ts-elasticsearch\n```\n\n## Usage example\n\n```typescript\nimport { Field, Elasticsearch, Primary } from '@gojob/ts-elasticsearch';\n\n@Index()\nclass User {\n  @Primary()\n  @Field({ enabled: false})\n  id: string;\n\n  @Field('text') name: string;\n  @Field('integer') age: number;\n}\n\n// ...\n\nconst elasticsearch = new Elasticsearch({ host: 'http://192.168.99.100:9200' });\n\nawait elasticsearch.indices.create(User);\nawait elasticsearch.indices.putMapping(User);\n\nconst user = new User();\nuser.id = 'agent-1122';\nuser.name = 'Smith';\nuser.age = 33;\n\nawait elasticsearch.index(user);\n\nawait elasticsearch.indices.refresh(User);\n\nconst { documents } = elasticsearch.search(User, { body: { query: { match_all: {} } } });\n\n\n```\n\n## Documentation\n\n### Decorators\n\n#### decorator `@Index`\n\nKeep in mind that index [types are scheduled to be removed in Elasticsearch 8](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html#_skipping_types_2).\n\nThis class decorator factory declares a new Elasticsearch index.\n\nBy default, it uses the class name as index (and type), but it can be overwritten.\n\nIndex settings may be added in the `settings` optional parameter.\n\n```typescript\n@Index({index: 'twt', settings: { number_of_shards: 3 } })\nclass Tweeter {}\n```\n\n\n#### decorator `@Primary`\n\nThis property decorator factory declares the class primary key which will be used as `_id` in Elasticsearch index.\nWhen not provided, Elasticsearch generates ids by it own.\n\n```typescript\n@Index()\nclass User {\n  @Primary()\n  @Field({ enabled: false})\n  id: string;\n\n  @Field('text') name: string;\n  @Field('integer') age: number;\n}\n```\n\n\n#### decorator `@Field`\n\nThis property decorator factory declares a new property in the current class.\n\nIt takes either a simple type as string or an elasticsearch mapping setting.\n\n```typescript\n@Index()\nclass User {\n  @Field('keyword') id: string;\n  @Field({ type: 'text', boost: 2 })name: string;\n  @Field('integer') age: number;\n}\n```\n\n##### Special case of object or nested (array of object)\n\nWhen dealing with object or nested, you have to declare a class with some fields declared.\nNotice in this case, the class in not decorated with `@Index`.\n\nObject example:\n\n```typescript\nclass Country {\n  @Field('text') name: string;\n}\n\n@Index()\nclass City {\n  @Field('text') name: string;\n  @Field({ object: Country })\n  country: Country;\n}\n```\n\nNested example:\n\n```typescript\nclass Follower {\n  @Field({ enabled: false}) name: string;\n  @Field({ enabled: false}) popularity: number;\n}\n\n@Index()\nclass User {\n  @Primary()\n  @Field({ enabled: false})\n  id: string;\n\n  @Field('text') name: string;\n\n  @Field({ nested: Follower })\n  followers: Follower[];\n}\n```\n\n### Elasticsearch class\n\nThis class provides main elasticsearch features directly usable with indexed classes.\n\n__The purpose of this library is not to override all official plugin features, but only those that are relevant for managing documents using classes.__\n\nWhen dealing with documents, you can either uses indexed class instances or literal object associated to their indexed class.\n\nThe examples presents in this chapter are based on this setup.\n\n```typescript\nimport { Field, Elasticsearch, Primary } from '@gojob/ts-elasticsearch';\n\nconst elasticsearch = new Elasticsearch({ host: 'http://192.168.99.100:9200' });\n\n@Index()\nclass User {\n  @Primary()\n  @Field({ enabled: false})\n  id: string;\n\n  @Field('text') name: string;\n  @Field('integer') age: number;\n}\n```\n\n#### Elasticsearch core\n\nInstanciate this class with an [IConfigOptions](#iconfigoptions) or an [official elasticsearch.Client](https://github.com/elastic/elasticsearch-js/blob/14.x/docs/configuration.asciidoc) instance.\n\n#### IConfigOptions\n\nIConfigOptions extends the official [client configuration option](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/configuration.html).\n\nExtended options provided by IConfigOptions:\n\n|     Name    |                                                    Type                                                   | Optional | Description                     |\n|:-----------:|:---------------------------------------------------------------------------------------------------------:|:--------:|---------------------------------|\n| client      | [elasticsearch.Client](https://github.com/elastic/elasticsearch-js/blob/14.x/docs/configuration.asciidoc) |     X    | Official client instance to use |\n| indexPrefix |                                                   string                                                  |     X    | Prefix to set to all indices    |\n\n#### Core functions\n\nThe main class provides the main part of the [document API](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/docs.html) functions.\n\n- bulkIndex: Index an arary or a stream of documents ([bulk api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-bulk)\n- count: Count documents in the index ([count api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-count))\n- create: Add a new document to the index [create api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-create))\n- delete: Delete a document from the index [delete api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-delete))\n- get: Retrieve a document by its id [get api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-get))\n- getIndices: Return all Indexed classes\n- index: Add or update a document in the index [index api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-index))\n- search: Search documents in the index [search api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search))\n- update: Update a document [update api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-update))\n\n#### Elasticsearch.indices\n\nThe indices provides the main part of the [document API](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/indices.html) functions.\n\n- create: Create an Index ([indice create api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-indices-create))\n- delete: Delete an Index ([indice delete api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-indices-delete))\n- exists: Check if an Index exists ([indice exists api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-indices-exists))\n- flush: Flush an Index ([indice flush api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-indices-flush))\n- putMapping: Put mapping of an Index ([indice putmapping api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-indices-putmapping))\n- refresh: Refresh an Index ([indice refresh api](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-indices-refresh))","readmeFilename":"README.md"}