UNPKG

@codetanzania/majifix-service

Version:

A representation of an acceptable service (request types)(e.g Water Leakage) offered(or handled) by a specific jurisdiction

226 lines (177 loc) 19 kB
#### 1.4.0 (2019-08-29) ##### Chores * clear unused apidocs ([a1e3c468](https://github.com/CodeTanzania/majifix-service/commit/a1e3c468a2d242c95575f34855f8e793e8385bd3)) * improve package scripts ([0fd0d09f](https://github.com/CodeTanzania/majifix-service/commit/0fd0d09fbe1942faa02b1bcf60cbeae49115d702)) * **examples:** improve sample app & seed ([cae34a8d](https://github.com/CodeTanzania/majifix-service/commit/cae34a8d9b4e5b21471fa0ca35334965997712d1)) * **deps:** * force latest version & audit fix ([58106a10](https://github.com/CodeTanzania/majifix-service/commit/58106a10f6a9dd29bcf91b526ca66e726d46dd4c)) * force latest version & audit fix ([cb3f0f8d](https://github.com/CodeTanzania/majifix-service/commit/cb3f0f8db21e415700bb2cfc3c43b2d5a00bf06b)) * force latest version & audit fix ([83c58c46](https://github.com/CodeTanzania/majifix-service/commit/83c58c460a25bf4a03f66309302a8da77ed48ec1)) * force latest version & audit fix ([c7b23300](https://github.com/CodeTanzania/majifix-service/commit/c7b233007f751fa1a243297ab1537332cff52206)) * update dependency rollup to v1.20.3 ([13552f00](https://github.com/CodeTanzania/majifix-service/commit/13552f00b4f429a7e32dd1f4cb1c15b6a57c3f1b)) * update dependency lint-staged to v9.2.5 ([e4ac273b](https://github.com/CodeTanzania/majifix-service/commit/e4ac273b215fca8a0ba5df38b6c047d7094d34c7)) * update dependency mongoose to v5.6.11 ([8f1d6485](https://github.com/CodeTanzania/majifix-service/commit/8f1d648596892154b01d7df20e8cc49630b6b786)) * update dependency lint-staged to v9.2.4 ([1e1fbcbd](https://github.com/CodeTanzania/majifix-service/commit/1e1fbcbdc9f4726328e5b0e746234e0c80364947)) * update dependency rollup to v1.20.2 ([a2f47974](https://github.com/CodeTanzania/majifix-service/commit/a2f47974cdfa2ad413ed79368ecd5e853d66bb5b)) * update dependency eslint to v6.2.2 ([f3c9baea](https://github.com/CodeTanzania/majifix-service/commit/f3c9baead0d1e6927c865f0d7e711210ffa3c7b8)) * update dependency rollup to v1.20.1 ([e106e363](https://github.com/CodeTanzania/majifix-service/commit/e106e3632e413c54b2b39424d422e42ee1f6cdae)) * update dependency eslint-plugin-mocha to v6.1.0 ([c28a4f8f](https://github.com/CodeTanzania/majifix-service/commit/c28a4f8ff29ff7ce84d1a23aa18574d7fe126d13)) * update dependency rollup to v1.20.0 ([290254a0](https://github.com/CodeTanzania/majifix-service/commit/290254a003a88d3c0c047ac9c9c37f18b65f8481)) * update dependency mongoose to v5.6.10 ([656fa4db](https://github.com/CodeTanzania/majifix-service/commit/656fa4db2a064f75f1bf2effb2f8e086eb5d3aaa)) * pin dependencies ([02a10a64](https://github.com/CodeTanzania/majifix-service/commit/02a10a64757d022cf30ea547635bf3c306b01beb)) * **configs:** * update eslint configs ([01c16303](https://github.com/CodeTanzania/majifix-service/commit/01c163039b0257dbebda5d23d08fc05e08896d54)) * update prettier configs ([28a92aac](https://github.com/CodeTanzania/majifix-service/commit/28a92aac96a2797547b44a35b7dec36f10c3ae87)) * update npm files ([0e4ba0c1](https://github.com/CodeTanzania/majifix-service/commit/0e4ba0c1627222c46a8dd6a640728ec91a80c07d)) * update git files ([4434e836](https://github.com/CodeTanzania/majifix-service/commit/4434e8367e53ab6c2a63dc6f44ab96b7ec65648f)) * update babel configs ([784e6891](https://github.com/CodeTanzania/majifix-service/commit/784e6891e247b85c77c6b54a2ea4f102b9dec82f)) * **ci:** update travis configs ([a8d490b7](https://github.com/CodeTanzania/majifix-service/commit/a8d490b7f3d7231beaec51dab0b652de1fa94a27)) ##### Documentation Changes * update usage ([52dc6d2a](https://github.com/CodeTanzania/majifix-service/commit/52dc6d2ab7e3d5c1c24ae5a633d82a13dd94d45b)) * update requirements version ([6f7e2b97](https://github.com/CodeTanzania/majifix-service/commit/6f7e2b97789c1bcd528e212321acd72c84e84311)) * update statuses badge ([df0c9ccd](https://github.com/CodeTanzania/majifix-service/commit/df0c9ccdec21fd08ae38f2d7ab64af09d87cf9ef)) * update contributor guide and code of conduct ([63717cbd](https://github.com/CodeTanzania/majifix-service/commit/63717cbdb5a18d6e58cf270337e807ce03b44028)) ##### New Features * ensure values for name & description locales ([7f064184](https://github.com/CodeTanzania/majifix-service/commit/7f06418489bc5db1b532fff377cba42287dbd1a1)) ##### Refactors * extract apidoc & improve main jsdocs ([75a35d18](https://github.com/CodeTanzania/majifix-service/commit/75a35d18eaaca7c9ee36afa143714326e5303bb6)) ##### Code Style Changes * improve jsdocs ([f833b3b4](https://github.com/CodeTanzania/majifix-service/commit/f833b3b40ebf876531f98e3a8045c5308090706c)) ##### Tests * improve local imports ([44509b58](https://github.com/CodeTanzania/majifix-service/commit/44509b586c964918e4de5afe84de2de18359cb89)) * refactor use test helpers ([fd2638bf](https://github.com/CodeTanzania/majifix-service/commit/fd2638bf62c66fd8d44c84d2e66c2953d4a47cdd)) #### 1.3.0 (2019-08-20) ##### Chores * **examples:** improve seed for open311 ([3bb7caa5](https://github.com/CodeTanzania/majifix-service/commit/3bb7caa5fe279aabc9dd532693048bc005592abb)) * **configs:** update eslint, prettier & ignore files ([76f5b847](https://github.com/CodeTanzania/majifix-service/commit/76f5b847095891d538c430372521c114098c9474)) * **deps:** * force latest version & audit fix ([270676a9](https://github.com/CodeTanzania/majifix-service/commit/270676a9df7cab96bf881127d2adec8cb01bd396)) * update dependency eslint-config-prettier to v6.1.0 ([5ab1af25](https://github.com/CodeTanzania/majifix-service/commit/5ab1af251574417b4ba95dcde65ad3aa6b6c17f6)) * update dependency eslint to v6.2.0 ([c1def6e8](https://github.com/CodeTanzania/majifix-service/commit/c1def6e88d8ddb3afad0c65fe58a79fc34de6dc2)) * update dependency lint-staged to v9.2.3 ([35d6f2a5](https://github.com/CodeTanzania/majifix-service/commit/35d6f2a57e27c2b132df957fb77f102565a73185)) * update dependency lint-staged to v9.2.2 ([af9ef38b](https://github.com/CodeTanzania/majifix-service/commit/af9ef38b796680807741bec8cd87f27891ad6c7a)) * update dependency husky to v3.0.4 ([02da436f](https://github.com/CodeTanzania/majifix-service/commit/02da436fc950fda16c7443eda10fd65104d0be00)) * update dependency rimraf to v3 ([85915e83](https://github.com/CodeTanzania/majifix-service/commit/85915e83344e396e279a0f5ac53d4d1dbc8b4ef7)) * update dependency @lykmapipo/mongoose-test-helpers to v0.7.17 ([da1965ca](https://github.com/CodeTanzania/majifix-service/commit/da1965cacc2af9475737e08a36721302e0a2accb)) * update dependency eslint-config-airbnb-base to v14 ([e9380513](https://github.com/CodeTanzania/majifix-service/commit/e9380513355bbce59300e910ec2d000194202d3a)) * update dependency husky to v3.0.3 ([101ca959](https://github.com/CodeTanzania/majifix-service/commit/101ca9590721ea30450d88035a3af6a8fe5ca38d)) * update dependency mongoose to v5.6.9 ([1ff93fb9](https://github.com/CodeTanzania/majifix-service/commit/1ff93fb9995b54f4789a52c1d6255b6b3438c621)) * update dependency rollup to v1.19.4 ([00fd9543](https://github.com/CodeTanzania/majifix-service/commit/00fd95435858072724655291c3470725913df368)) * update dependency sinon to v7.4.1 ([f797a420](https://github.com/CodeTanzania/majifix-service/commit/f797a420c68321392cd62bb2d8594df13111228d)) * update dependency rollup to v1.19.3 ([b6564fa9](https://github.com/CodeTanzania/majifix-service/commit/b6564fa9a5a7b563a03436321af1ce25b1c953d8)) * update dependency rollup to v1.19.2 ([1705277e](https://github.com/CodeTanzania/majifix-service/commit/1705277eae185da3d873e5bcfb2ebfe558a36be0)) * roll back dependency sinon to 7.3.2 ([cab349ca](https://github.com/CodeTanzania/majifix-service/commit/cab349cad311638ffa9cc06f39ce702e97fa4325)) * update dependency sinon to v7.4.0 ([f3d6ef06](https://github.com/CodeTanzania/majifix-service/commit/f3d6ef066ce4740f170111e60809f491ab2c32c1)) * update dependency mongoose to v5.6.8 ([e939eef8](https://github.com/CodeTanzania/majifix-service/commit/e939eef85187e000560fc1dc32bf81618496af2c)) * update dependency rollup to v1.18.0 ([9f48062a](https://github.com/CodeTanzania/majifix-service/commit/9f48062aa01dad91d3e0e78cb2be209b24240a62)) * pin dependencies ([e8f988f6](https://github.com/CodeTanzania/majifix-service/commit/e8f988f6de0be3b5d28ff76141875e12e395c190)) * update dependencies to latest versions ([abaa1e78](https://github.com/CodeTanzania/majifix-service/commit/abaa1e78374ea1d438396f100b78de84955f3bad)) * configure renovate ([b2185bb1](https://github.com/CodeTanzania/majifix-service/commit/b2185bb10cd59ecc26c55672d68d00ff58a0a109)) ##### Documentation Changes * add test coverage badge ([6d812f97](https://github.com/CodeTanzania/majifix-service/commit/6d812f9720ee5203c581a29e0e3030ee8326f659)) ##### Refactors * **router:** use express rest actions ([34e85964](https://github.com/CodeTanzania/majifix-service/commit/34e85964076a98e0af2ed487e9442b23c00b111b)) * **model:** use latest depedencies api ([ba602294](https://github.com/CodeTanzania/majifix-service/commit/ba6022942098e903e02adc063561750e0b651d96)) * migrate to latest dependencies api ([82a914de](https://github.com/CodeTanzania/majifix-service/commit/82a914deed1f5bec5103eff7e0d00ca0f4cecfe6)) ##### Tests * **integration:** * add seed specs ([a290e105](https://github.com/CodeTanzania/majifix-service/commit/a290e105e174ee24a6cd6924152286d27e6ca493)) * add getOneOrDefault specs ([1aa0ae17](https://github.com/CodeTanzania/majifix-service/commit/1aa0ae17726e842725165c8e122c674acf91ed13)) * use test helpers ([6605e264](https://github.com/CodeTanzania/majifix-service/commit/6605e2644616ecb125b58050bbd7c7750ffc23e1)) * **unit:** * use test helpers ([4818e0c2](https://github.com/CodeTanzania/majifix-service/commit/4818e0c2b955bd311faa39e4808cac924f40f690)) * improve schema and model specs ([9dae5aed](https://github.com/CodeTanzania/majifix-service/commit/9dae5aed19df04089fde0425baa7c75a2c74438e)) #### 1.2.0 (2019-07-27) ##### Chores - **deps:** - force latest version & audit fix ([174eb499](https://github.com/CodeTanzania/majifix-service/commit/174eb49935b5abe5f1f7a6045e96f8c3c0ac7d32)) - force latest version & audit fix ([43f043a7](https://github.com/CodeTanzania/majifix-service/commit/43f043a71470b49f4aec2d3454e7b409a1fea82a)) - install handlebars to fix security issue ([cabccce2](https://github.com/CodeTanzania/majifix-service/commit/cabccce2949913f9b38a768b674b92c929ddbe4f)) - add winston as dependency ([59c86b49](https://github.com/CodeTanzania/majifix-service/commit/59c86b499304a3b5bce42df4444a6a9e19b59203)) - add mongoose-common ([d5ae0c8a](https://github.com/CodeTanzania/majifix-service/commit/d5ae0c8abdc24e9bd75f7fb7730ae517389310ff)) - add dependencies ([9e1e6128](https://github.com/CodeTanzania/majifix-service/commit/9e1e612878391bad0cc8daa0d9f441cd17b8fc49)) - ignore neovim editor configs ([cea93348](https://github.com/CodeTanzania/majifix-service/commit/cea9334877d38ecba78bab6707155e2f26ed0635)) - generate file from rollup ([38785f40](https://github.com/CodeTanzania/majifix-service/commit/38785f403dbac4c9fbb204040678020665e2517e)) - implement to es6 and fix prettier issues ([d39779e9](https://github.com/CodeTanzania/majifix-service/commit/d39779e93cde23dfe05639fdb08054fbd41d480b)) - implement to es6 ([89d46ca5](https://github.com/CodeTanzania/majifix-service/commit/89d46ca50caaab92943dfe4e65a32cebdf49b55c)) - implement to es6 ([04f084ec](https://github.com/CodeTanzania/majifix-service/commit/04f084ecec4b678ea1ced059fd91426883a94393)) - implement to es6 ([497482cc](https://github.com/CodeTanzania/majifix-service/commit/497482cca3ef8cc9c25bef8ace2cdaed5680cbf5)) - **integration:** - refactor service.get.spec.js ([8693d45b](https://github.com/CodeTanzania/majifix-service/commit/8693d45bd786be533a485a0dd59e4bcfb05b6187)) - refactor service.delete.spec.js ([74d1305e](https://github.com/CodeTanzania/majifix-service/commit/74d1305e29df98d105beeeff5f50d9924e607db4)) - refactor https.spec.js ([d2d45ad3](https://github.com/CodeTanzania/majifix-service/commit/d2d45ad31d00ab3b1cfd3419598ba91375bcae2d)) - implement to es6 and fix prettier errors ([99c6ba97](https://github.com/CodeTanzania/majifix-service/commit/99c6ba97edb30aef228798520bc2d91613dbacfb)) - **examples:** - implement seed.js ([c73e6953](https://github.com/CodeTanzania/majifix-service/commit/c73e695323e00493b1f0043db625fc49eabf1f9a)) - new implementation of the app.js ([f356d70b](https://github.com/CodeTanzania/majifix-service/commit/f356d70bd012991b28b56ead4eb1f54b7e0ec4d2)) - rename file from samples.js to seed.js ([cf1a867b](https://github.com/CodeTanzania/majifix-service/commit/cf1a867bc89f42076bbeedf092d9db80f8ea659c)) - **unit:** - implement to es6 and fix prettier errors ([d81b59ce](https://github.com/CodeTanzania/majifix-service/commit/d81b59cef26ef76b791516157a422bc6e385b356)) - implement to es6 and fix prettier issues ([1b4d4c3b](https://github.com/CodeTanzania/majifix-service/commit/1b4d4c3bae5bc358c0a25d8622a73e9c877488c5)) - **plugin:** implement to es6 ([08edcf51](https://github.com/CodeTanzania/majifix-service/commit/08edcf516dab3766053d88855f19fb05d11e950d)) - **router:** implement to es6 ([79f84e92](https://github.com/CodeTanzania/majifix-service/commit/79f84e92f69e9a3aba223c4bafdcda08109c6249)) - **model:** implement to es6 ([e3e6f727](https://github.com/CodeTanzania/majifix-service/commit/e3e6f72781ee720227b4178e894a0631ba0f68af)) - **config:** - move files to src folder ([35bacef4](https://github.com/CodeTanzania/majifix-service/commit/35bacef47b7d2692af3c01d6de68dbee6eef8a68)) - add scripts ([4da85b04](https://github.com/CodeTanzania/majifix-service/commit/4da85b0445a1682210f4bdc3e1b97a3cf882ee19)) - move files from lib to src ([0213ad2d](https://github.com/CodeTanzania/majifix-service/commit/0213ad2de8dea034557d916f752b603f9281f2b6)) - add rollup.config.js file ([ab517cf9](https://github.com/CodeTanzania/majifix-service/commit/ab517cf9c429ab2aa562f8f7f944043ae90b692a)) - delete Gruntfile.js ([40873e5d](https://github.com/CodeTanzania/majifix-service/commit/40873e5d7d9a1042b4db2ccbcc452b271bee5f68)) - delete .jshintrc file ([c911dbb6](https://github.com/CodeTanzania/majifix-service/commit/c911dbb6be34f6aa7c1689b0d8f1e6c55b8e0e2b)) - delete .jsbeautifyrc file ([3dc6dede](https://github.com/CodeTanzania/majifix-service/commit/3dc6dede2b759ea32f57b4e64846e3e9b7f479f3)) - add .eslintrc files ([dca9c456](https://github.com/CodeTanzania/majifix-service/commit/dca9c45616c4d0c256eadee61b51ee6fc72eba0f)) - rewrite .editorconfig file ([f0a75e96](https://github.com/CodeTanzania/majifix-service/commit/f0a75e9602758f719eba2d11d89cd16d253c0c3f)) - add .babelrc file ([ae3ead7a](https://github.com/CodeTanzania/majifix-service/commit/ae3ead7ade6391cfb27ff1b3ac59a625eece927d)) ##### New Features - add service type field ([1008f8ad](https://github.com/CodeTanzania/majifix-service/commit/1008f8ad90bb9ae34115a8b92b9713ca2730e04c)) ##### Refactors - **integration:** - implement service.put.spec.js ([36b99fca](https://github.com/CodeTanzania/majifix-service/commit/36b99fca85651ae8e6c36549e38ff04694354192)) - implement service.post.spec.js ([c4f9c3cf](https://github.com/CodeTanzania/majifix-service/commit/c4f9c3cff44355b4526a22c2527d1e92744ecacf)) - implement service.patch.spec.js ([119efae4](https://github.com/CodeTanzania/majifix-service/commit/119efae48a26415ecafab85a086918275c18ef6e)) - implement service.getById.spec.js ([1a431d25](https://github.com/CodeTanzania/majifix-service/commit/1a431d254874b84ae223ac38a88a28cc76ca3d20)) ##### Code Style Changes - add service type to api docs ([44ba11dd](https://github.com/CodeTanzania/majifix-service/commit/44ba11dd85e25f7ae05dca6bc8f80a366d4d3951)) #### 1.1.5 (2019-05-21) ##### Chores - **deps:** - force latest version & audit fix ([26e40c91](https://github.com/CodeTanzania/majifix-service/commit/26e40c9164c1d0fcbdb865c35e9ab88b14d69779)) - force latest version & audit fix ([6631ab6c](https://github.com/CodeTanzania/majifix-service/commit/6631ab6c78047224c2fcf1a1206f76a2e9b806e8)) - reorder dependencies ([64d2b2c0](https://github.com/CodeTanzania/majifix-service/commit/64d2b2c0e71a0e478d7758a494faa72be0042b51)) - update dependencies ([692fa17a](https://github.com/CodeTanzania/majifix-service/commit/692fa17ab5ac649db54a196b64040f520b950fd0)) ##### Refactors - migrate to use latest dependencies api ([4787ef0a](https://github.com/CodeTanzania/majifix-service/commit/4787ef0a04d0140c4dc9509a5d5d0baf7d1b798a)) - migrate to use latest dependencies api ([78248d61](https://github.com/CodeTanzania/majifix-service/commit/78248d61d4b54172703b767ed278130cc5be2733)) - add missing arrow function ([2131d03d](https://github.com/CodeTanzania/majifix-service/commit/2131d03db5a3f4753c50eadfd01c9ff547885a1a)) - use arrow function ([09164cb7](https://github.com/CodeTanzania/majifix-service/commit/09164cb74e4f166732b946fe5acef84454cc5d98)) #### 1.1.4 (2019-04-12) ##### Chores - update package version to 1.1.4 ([5afe65dc](https://github.com/CodeTanzania/majifix-service/commit/5afe65dc57a159b65812c56b3181b94d2def0902)) - add commitizen support ([df5f7184](https://github.com/CodeTanzania/majifix-service/commit/df5f7184fb603ccfb78bf2dddbd602bd3152baec)) - move peerDependencies to dependencies ([06390964](https://github.com/CodeTanzania/majifix-service/commit/06390964b7d1d78bcd316ae2d7a75a6e08cf6ca4)) ##### Refactors - remove prefix v on url ([9844dce5](https://github.com/CodeTanzania/majifix-service/commit/9844dce5ecd65ffd14d286f35cc7c2f02d8a4515)) - change get default_locale and locales from @lykmapipo/env ([6fe6a3e1](https://github.com/CodeTanzania/majifix-service/commit/6fe6a3e1a419ad41c5ba8737c78fd9036b1c029c)) - get env. default_locale from @lykmapipo/env ([ed129e59](https://github.com/CodeTanzania/majifix-service/commit/ed129e59f28450486d7e63f10e59cc0825129d87)) - get env. apiversion from @lykmapipo/env ([a51f4f8f](https://github.com/CodeTanzania/majifix-service/commit/a51f4f8f64b3548c7fc4c95194daff0df15592be)) - change router apiversion to version ([3f68ffda](https://github.com/CodeTanzania/majifix-service/commit/3f68ffda1401cbfacde7863830c65f6c1cba5e6a)) - add prettier support ([4421bed6](https://github.com/CodeTanzania/majifix-service/commit/4421bed608000e1ace067fa5871a1730a32e4f25)) # 1.1.3 / 16-10-2018 - Force latest dependencies - Push dependencies to peerDependencies - Improve integration test # 1.1.1 / 09-09-2018 - force latest dependencies - run security audit fix # v1.1.0 / 2018-08-26 - Force latest dependencies - Export apiVersion module level # v1.0.0 / 2018-07-05 - Initial Release - Multilingual Support - Routes versioning - Routes Documentation - Use latest majifix common, jurisdiction, priority and service group dependencies - Add flags schema to track common service flags - Add open311 plugin - Expose open311 api endpoint