UNPKG

@codetanzania/ewea-common

Version:
535 lines (346 loc) 31.4 kB
#### 0.21.3 (2021-06-05) ##### Chores * **deps:** * force latest version & audit fix ([44b9ed51](https://github.com/codetanzania/ewea-common/commit/44b9ed51a70816b5aae246b9201583a143a10a31)) * force latest versions ([b169b644](https://github.com/codetanzania/ewea-common/commit/b169b644f2140d8abccbf1055cbf86c81d1b6372)) * force latest version & audit fix ([ee740d59](https://github.com/codetanzania/ewea-common/commit/ee740d59ec5ad4bcefd0331eb7f589ffbf7560ff)) * force latest version & audit fix ([11d41896](https://github.com/codetanzania/ewea-common/commit/11d418960918096d9b7ee31d7579ea0d74e0f0a2)) * add inline todos ([36ce3715](https://github.com/codetanzania/ewea-common/commit/36ce371525e01622e7acb8c8770b87ce89ede1b1)) * add inline todos ([480eb2c9](https://github.com/codetanzania/ewea-common/commit/480eb2c9ab5612a2da127afafc56c8156e2f66c0)) ##### New Features * **seed:** * setup administrator party ([7d5b14d0](https://github.com/codetanzania/ewea-common/commit/7d5b14d06d3754d4e1b2bfe4b8aa203215759391)) * support health facilities with domains ([5c2a9cbf](https://github.com/codetanzania/ewea-common/commit/5c2a9cbfc29e3219e640f764212d5e9131fe0ca9)) * set permission id on seed ([77af37f3](https://github.com/codetanzania/ewea-common/commit/77af37f3c824c4db92f8ff2998a14cadbef53cf8)) * apply transform on seed files ([bdb2e826](https://github.com/codetanzania/ewea-common/commit/bdb2e826cd6ac57c8fec113e38ab13aca634dc31)) * allow domain on predefine seeding ([80480c24](https://github.com/codetanzania/ewea-common/commit/80480c242c72ccd5ff5c95a16ac9bad30dfdb1d9)) * support predefine domain field ([689a3fe5](https://github.com/codetanzania/ewea-common/commit/689a3fe5fa07ffb1db3e8d450524739f27584366)) * set party id on seed ([77d0c562](https://github.com/codetanzania/ewea-common/commit/77d0c562db1a0933d5e60fd0599192b2b8342742)) * set event id on seed ([fabca2a5](https://github.com/codetanzania/ewea-common/commit/fabca2a5636e0ee7ea8d7db4c161e8f75b4ff85a)) * set vehicle dispatch id on seed ([4c6b6f67](https://github.com/codetanzania/ewea-common/commit/4c6b6f674094074e965acb845f89865c90ceff22)) * set case id on seed ([f6c7cd4c](https://github.com/codetanzania/ewea-common/commit/f6c7cd4cc30d5c51eb2f0133044ce2e0e937be61)) ##### Bug Fixes * **database:** skip file models on test env ([ca9f6100](https://github.com/codetanzania/ewea-common/commit/ca9f6100d6f44b12b64999aee097601e4a1efd03)) * **seed:** * ensure allowed resource permissions ([b2278ca2](https://github.com/codetanzania/ewea-common/commit/b2278ca2c696f6f92b2391029717dcb12e1706df)) * ensure resource permissions ([aab447b7](https://github.com/codetanzania/ewea-common/commit/aab447b75408d0d917e6ed6f40b6a6fd42d9692c)) ##### Refactors * **seed:** * clear party lock properties ([7587a0ae](https://github.com/codetanzania/ewea-common/commit/7587a0aef4f822c7d684d5a95fdeeb03bd3aab8a)) * generate unique id before seed ([caf2e61a](https://github.com/codetanzania/ewea-common/commit/caf2e61a00191c64c7781e7c215fc77ba860e157)) * update test env & dependencies ([75c2bc4e](https://github.com/codetanzania/ewea-common/commit/75c2bc4e55fb7f52a4e4ed2a8054e756c228bb0d)) #### 0.21.2 (2020-06-15) ##### Chores * **deps:** * force latest version & audit fix ([a8052ae4](https://github.com/codetanzania/ewea-common/commit/a8052ae4ce9637990695645ad0ac71dc94930efd)) * force latest version & audit fix ([22b41894](https://github.com/codetanzania/ewea-common/commit/22b418947f095fb32010fe375ba491bc9abf28d2)) #### 0.21.1 (2020-06-09) ##### Chores * **deps:** force latest version & audit fix ([8f9f310c](https://github.com/codetanzania/ewea-common/commit/8f9f310caef10f7d0e1a385038604fba5fb9f27f)) ##### Bug Fixes * **helpers:** return seeded case severity ([f9807512](https://github.com/codetanzania/ewea-common/commit/f9807512a5913af3cf03103ff2b519fbca9d2091)) #### 0.21.0 (2020-06-09) ##### Chores * **deps:** force latest version & audit fix ([04cb1b04](https://github.com/codetanzania/ewea-common/commit/04cb1b045c6cbc155503768bc7a5b21d783c569c)) ##### New Features * **helpers:** compute case severity from score ([ced15ec3](https://github.com/codetanzania/ewea-common/commit/ced15ec3fb0f5476d1dc34d268d41abf9ace4f66)) #### 0.20.0 (2020-06-08) ##### Chores * **deps:** force latest version & audit fix ([32cc154e](https://github.com/codetanzania/ewea-common/commit/32cc154e901c1f109b3c459ffe0a744f28650faa)) ##### New Features * **seed:** * add extra case stages seed ([eb28c908](https://github.com/codetanzania/ewea-common/commit/eb28c90804f398bd9cd76c8b59b04bc8a1e6dab5)) * add case severity & stages ([754a79aa](https://github.com/codetanzania/ewea-common/commit/754a79aaca13c4b1069893b6262af4157295d38b)) * **constants:** add common case stages & severities ([1f5ef6e7](https://github.com/codetanzania/ewea-common/commit/1f5ef6e7f2181a5192b023148bec1190953d5d14)) #### 0.19.0 (2020-06-04) ##### Chores * **deps:** force latest version & audit fix ([3c64df7c](https://github.com/codetanzania/ewea-common/commit/3c64df7c9d7b4913e78fb1857a146889dd187bf1)) ##### New Features * **seed:** add party nationality ([08010db2](https://github.com/codetanzania/ewea-common/commit/08010db2b7ad02aa9e57e1c63396758fd36f0319)) #### 0.18.0 (2020-06-03) ##### Chores * **deps:** force latest version & audit fix ([5b2bb961](https://github.com/codetanzania/ewea-common/commit/5b2bb9616aaa7279851c14816c6ebd767f5c68b3)) ##### New Features * **seed:** add case ([270e072b](https://github.com/codetanzania/ewea-common/commit/270e072b602b12e89f24fae808e303bec05878da)) ##### Bug Fixes * **seeds:** ensure vehicle dispatch seeding ([f3fb2e17](https://github.com/codetanzania/ewea-common/commit/f3fb2e17f629fecf8c37a6f5adf4779f220c8cec)) #### 0.17.1 (2020-06-02) #### 0.17.0 (2020-06-02) ##### Chores * **deps:** * force latest version & audit fix ([36d32f12](https://github.com/codetanzania/ewea-common/commit/36d32f12d5a80ab1ab5935586e4e9dab55137d9f)) * force latest version & audit fix ([a3372977](https://github.com/codetanzania/ewea-common/commit/a33729779b17e9856540a732cef0816a556dd414)) * force latest version & audit fix ([35971511](https://github.com/codetanzania/ewea-common/commit/35971511d2d3b3f8b2948a7829a05956eafc570f)) ##### New Features * **seed:** add party occupation ([e1352f5d](https://github.com/codetanzania/ewea-common/commit/e1352f5d360c1352953ec682b5a9fbd25ba3477d)) #### 0.16.0 (2020-05-22) ##### Chores * **deps:** * force latest version & audit fix ([5ade60cd](https://github.com/codetanzania/ewea-common/commit/5ade60cd5cb0d6a6c826ae657bfb89f8ff871397)) * force latest version & audit fix ([9302017e](https://github.com/codetanzania/ewea-common/commit/9302017e9a85c075383824db9150b635058a8fe0)) ##### New Features * **constants:** * derive dispatch status from timestamps ([847890f1](https://github.com/codetanzania/ewea-common/commit/847890f105f2db0c63c43cb6f031e71f845b2d78)) * prepare common status seeds ([9993ed6d](https://github.com/codetanzania/ewea-common/commit/9993ed6ddb5eb8320adc48df3bf5c5b62a3ca154)) * derive constact object id of a unique value ([0a2daf14](https://github.com/codetanzania/ewea-common/commit/0a2daf144fde6d1d19b40e622713116655f22abc)) * **seed:** add common statuses ([6048feb5](https://github.com/codetanzania/ewea-common/commit/6048feb5f4d94c81ad74e60914c74740c6aacfd8)) #### 0.16.0 (2020-05-22) ##### Chores * **deps:** force latest version & audit fix ([9302017e](https://github.com/codetanzania/ewea-common/commit/9302017e9a85c075383824db9150b635058a8fe0)) ##### New Features * **constants:** * derive dispatch status from timestamps ([847890f1](https://github.com/codetanzania/ewea-common/commit/847890f105f2db0c63c43cb6f031e71f845b2d78)) * prepare common status seeds ([9993ed6d](https://github.com/codetanzania/ewea-common/commit/9993ed6ddb5eb8320adc48df3bf5c5b62a3ca154)) * derive constact object id of a unique value ([0a2daf14](https://github.com/codetanzania/ewea-common/commit/0a2daf144fde6d1d19b40e622713116655f22abc)) * **seed:** add common statuses ([6048feb5](https://github.com/codetanzania/ewea-common/commit/6048feb5f4d94c81ad74e60914c74740c6aacfd8)) #### 0.15.0 (2020-05-19) ##### Chores * **deps:** * force latest version & audit fix ([b70f7c07](https://github.com/codetanzania/ewea-common/commit/b70f7c07a5b0f0cff4f9f23a147794a25e7b9a4b)) * force latest version & audit fix ([f34bd23a](https://github.com/codetanzania/ewea-common/commit/f34bd23a4d14f6faaa2f70a6ed69cc428405db91)) * force latest version & audit fix ([bd82eeaf](https://github.com/codetanzania/ewea-common/commit/bd82eeafca04bb3cee1ac775445a2c865a52446c)) * force latest version & audit fix ([a9f7139f](https://github.com/codetanzania/ewea-common/commit/a9f7139f8c4546afa27e26535343989c4d82882e)) ##### New Features * **seed:** * add default predefines ([43850621](https://github.com/codetanzania/ewea-common/commit/438506216f00e5641609c51ebee5561e61f9b108)) * add priorities ([14cd75a0](https://github.com/codetanzania/ewea-common/commit/14cd75a08e14acaa225713cc90bc358f3b08a37e)) * **constants:** derive default seeds ([3cee2595](https://github.com/codetanzania/ewea-common/commit/3cee2595c9b22c1e3aa5d73613899ef917d956c1)) #### 0.14.0 (2020-05-10) ##### Chores * **deps:** * force latest version & audit fix ([10814ad5](https://github.com/codetanzania/ewea-common/commit/10814ad5251243aa585967c1dbad148d96e84c2a)) * force latest version & audit fix ([f943487b](https://github.com/codetanzania/ewea-common/commit/f943487bc82a19b3be54e77b4e596dbc2ff8fc70)) * add dispatch for seed implement ([c5a1b141](https://github.com/codetanzania/ewea-common/commit/c5a1b141472b40090069d475c4e3fb46edec26fa)) ##### New Features * **seed:** add vehicle dispatch ([e4c2082b](https://github.com/codetanzania/ewea-common/commit/e4c2082ba1f2d7ed9ca75ec9972c992a334cda71)) #### 0.13.0 (2020-05-05) ##### Chores * **deps:** force latest version & audit fix ([dfe9abe0](https://github.com/codetanzania/ewea-common/commit/dfe9abe064c0ef548bb7d8d021555926ff8b2a89)) ##### New Features * **seed:** add party gender ([968fb6d0](https://github.com/codetanzania/ewea-common/commit/968fb6d0fd747d48e2f5c6d0212bd62cb0b14f76)) #### 0.12.0 (2020-05-05) ##### Chores * **deps:** force latest version & audit fix ([02afc1ea](https://github.com/codetanzania/ewea-common/commit/02afc1ea2c6c0e8cb397fc8420dbfc5556596037)) ##### New Features * **seed:** add vehicle statuses ([a72877e4](https://github.com/codetanzania/ewea-common/commit/a72877e42e98886d6203fee37e30964ef102b7ea)) #### 0.11.0 (2020-05-03) ##### Chores * **deps:** * force latest version & audit fix ([1d7194c0](https://github.com/codetanzania/ewea-common/commit/1d7194c04e4b30dcbcf62cad72c96c4457b939d2)) * force latest version & audit fix ([cff94c7b](https://github.com/codetanzania/ewea-common/commit/cff94c7b9dc522230a504e4bafeecc59df58244e)) * force latest version & audit fix ([1fea4345](https://github.com/codetanzania/ewea-common/commit/1fea43457deac455b2c745ed08fc9173ce441d1c)) ##### New Features * **seed:** * add vehicles ([69be2546](https://github.com/codetanzania/ewea-common/commit/69be2546775b98da143a4631599fd91363788a32)) * add vehicle types, models and makes ([c5654f81](https://github.com/codetanzania/ewea-common/commit/c5654f81f3130092293e942e017544bdca82c57a)) * add party ownership ([15e5747e](https://github.com/codetanzania/ewea-common/commit/15e5747e1145de44ad7cf15be716f0ec780c10e2)) #### 0.10.0 (2020-04-29) ##### Chores * **deps:** force latest version & audit fix ([f85a0629](https://github.com/codetanzania/ewea-common/commit/f85a06296cc0c9b28749f09d16a9dd249dc2aa5a)) ##### New Features * **constants:** expose default predefine value & relations ([eded0879](https://github.com/codetanzania/ewea-common/commit/eded08797e0d7dbb3c1006b3226cc007a4eecd91)) #### 0.9.0 (2020-04-28) ##### Chores * **deps:** * force latest version & audit fix ([ba27d84c](https://github.com/codetanzania/ewea-common/commit/ba27d84c9d4680f43df04ffb19cd65462166aa4c)) * force latest version & audit fix ([e90b18ff](https://github.com/codetanzania/ewea-common/commit/e90b18ffa1d01ae1bc3fcdeac346fbeb6a496a27)) * force latest version & audit fix ([d5bd6e30](https://github.com/codetanzania/ewea-common/commit/d5bd6e30933799e212cbef0cec8a09c291e732cb)) ##### New Features * **queries:** add shortcuts ([3b445f89](https://github.com/codetanzania/ewea-common/commit/3b445f895d46ed3bed89e419230b06f0639b73a5)) ##### Tests * reorder seed test cases ([fb90cb25](https://github.com/codetanzania/ewea-common/commit/fb90cb259693113b4e4ee87a258f384ba3bd724e)) #### 0.8.1 (2020-04-25) ##### Bug Fixes * **build:** ensure correct export orders ([54f5ae78](https://github.com/codetanzania/ewea-common/commit/54f5ae7860a08faa9c2b04e03a781a77b0da9ef4)) #### 0.8.0 (2020-04-25) ##### Chores * **deps:** * force latest version & audit fix ([1cd267e0](https://github.com/codetanzania/ewea-common/commit/1cd267e013cad67749208128d19610ee14e87de2)) * force latest version & audit fix ([26445e75](https://github.com/codetanzania/ewea-common/commit/26445e7537ea2214f488e93554be5098520bccb8)) * force latest version & audit fix ([5be129d7](https://github.com/codetanzania/ewea-common/commit/5be129d70c89e271acf41082f1ffac252c456476)) * force latest version & audit fix ([e78881e7](https://github.com/codetanzania/ewea-common/commit/e78881e7510cd274a0bef7b5af16c2b7cd751de1)) * force latest version & audit fix ([77357b6f](https://github.com/codetanzania/ewea-common/commit/77357b6f6e194d1984140c6712173b02da3929bb)) * force latest version & audit fix ([8cf380b9](https://github.com/codetanzania/ewea-common/commit/8cf380b94fedf09a381e64f19ce3be32ea98df5c)) * force latest version & audit fix ([4576c4ad](https://github.com/codetanzania/ewea-common/commit/4576c4ad92f9e4ecf92f2e0fd128c0d6604d3f39)) * force latest version & audit fix ([ed487627](https://github.com/codetanzania/ewea-common/commit/ed4876276fa968fb90d328c94e73786d12c263e7)) ##### New Features * **queries:** * add find party default helper ([b42b675c](https://github.com/codetanzania/ewea-common/commit/b42b675c803b938ceee8cb75993dca47523c9e4b)) * allow recursive administrative area & level queries ([9dd3ba86](https://github.com/codetanzania/ewea-common/commit/9dd3ba86c58b40bca5b1046bdb88c4928207c282)) * add default predefines finder ([38959f01](https://github.com/codetanzania/ewea-common/commit/38959f018e3b5ce40f194762966161809e242ca1)) * expose extra common constants ([de655015](https://github.com/codetanzania/ewea-common/commit/de6550159da294b9a3bcd58dfe6d139b76af97af)) * expose default constants ([e5f4c764](https://github.com/codetanzania/ewea-common/commit/e5f4c764fa381a7408db28d34188f9ec9cdceaa8)) * **seed:** prevent overerride with related ([df150163](https://github.com/codetanzania/ewea-common/commit/df150163e441ff3c10247c09bebbc4cab011f38e)) ##### Tests * **unit:** improve assertions ([7320af6f](https://github.com/codetanzania/ewea-common/commit/7320af6f1be0680702d342153b265b12b121dff1)) * **fixtures:** update csv seeds ([510abade](https://github.com/codetanzania/ewea-common/commit/510abadeac95f2dc9688e6d2ad3fb45e383d8728)) #### 0.7.0 (2020-03-06) ##### Chores * **deps:** force latest version & audit fix ([b0779f65](https://github.com/codetanzania/ewea-common/commit/b0779f65a86700e1366801a0495cde05083daf76)) * **seed:** update seed data for resources ([2dbc1572](https://github.com/codetanzania/ewea-common/commit/2dbc1572fe2659369ec305a2ba3f5f8b268b42f2)) ##### New Features * **seed:** add event responses ([b948f977](https://github.com/codetanzania/ewea-common/commit/b948f9772e0b5f55eb528f1a2897ecee5b974d0c)) #### 0.6.6 (2020-03-06) ##### Chores * **deps:** * force latest version & audit fix ([364f3ec0](https://github.com/codetanzania/ewea-common/commit/364f3ec05d2e4b4c0b67023274e5f8856a2f5aa8)) * force latest version & audit fix ([5369e4be](https://github.com/codetanzania/ewea-common/commit/5369e4be44fd2f8cc124a161e3982467d6b1c861)) #### 0.6.5 (2020-03-02) ##### Bug Fixes * **seed:** esnure party confirmedAt ([5bc7e921](https://github.com/codetanzania/ewea-common/commit/5bc7e921558818a9101915bccd684015e8c55424)) #### 0.6.4 (2020-03-02) ##### Bug Fixes * **seed:** ensure seed order of csv, json & seeds ([712eecff](https://github.com/codetanzania/ewea-common/commit/712eecff2125f6bc185d0acd57518a37c94b4d88)) #### 0.6.3 (2020-02-29) ##### Refactors * **focals:** ensure default password ([82d7b8da](https://github.com/codetanzania/ewea-common/commit/82d7b8da6d743ce5ae2f7ebb324afe631bd5093f)) #### 0.6.1 (2020-02-26) ##### Chores * **deps:** force latest version & audit fix ([32d7d813](https://github.com/codetanzania/ewea-common/commit/32d7d8136296c4fefaa0470383ae36b9589eb023)) #### 0.6.1 (2020-02-26) ##### Chores * **release:** compile latest source & release notes ([4ecf3eb6](https://github.com/codetanzania/ewea-common/commit/4ecf3eb6634071d17b5456bdd953f20047aa4af5)) * **deps:** force latest version & audit fix ([c7e030f5](https://github.com/codetanzania/ewea-common/commit/c7e030f569d6a85d515440ad4ecc11f47dd25fb2)) #### 0.6.0 (2020-02-24) ##### Chores * **deps:** * force latest version & audit fix ([a0967f9d](https://github.com/codetanzania/ewea-common/commit/a0967f9de04faa1d324c4e608938c580be0813c0)) * force latest version & audit fix ([9ee59a76](https://github.com/codetanzania/ewea-common/commit/9ee59a76dfa848bf2457bf67bf07f25b1b8a31ea)) ##### New Features * **seed:** * ensure name from event action catalogue:action ([ea0333db](https://github.com/codetanzania/ewea-common/commit/ea0333db1c0e0e3ea8778e7c6db47eed9dab0f66)) * support location and centroid geo fields parsing ([c077c689](https://github.com/codetanzania/ewea-common/commit/c077c6893b35986f695ca28d4d2ecb030ecc820d)) * transform geo fields ([77546447](https://github.com/codetanzania/ewea-common/commit/77546447c096a28cf577dc83744651c60c018489)) #### 0.5.4 (2020-02-22) ##### Chores * **deps:** * force latest version & audit fix ([9c36bad8](https://github.com/codetanzania/ewea-common/commit/9c36bad86c890a653c820866a4602c53530e6919)) * force latest version & audit fix ([23cdd98a](https://github.com/codetanzania/ewea-common/commit/23cdd98a4a0f9bc9b8c2dff1e02ab2dddf70b32b)) ##### New Features * **seed:** add event action catalogue seeder ([e2117dd9](https://github.com/codetanzania/ewea-common/commit/e2117dd92249de4002cff83ff8fe34b94970a353)) ##### Refactors * **seed:** * add question topic ([fb2501a7](https://github.com/codetanzania/ewea-common/commit/fb2501a74a3cc78a76c48b7ce22fedb764e9b1c7)) * add level to event ([0e54b842](https://github.com/codetanzania/ewea-common/commit/0e54b842e4fc48e6f6da85d0ed5fde0235dac26e)) * implement seed action for eventlevels ([e0219ec1](https://github.com/codetanzania/ewea-common/commit/e0219ec1ef218e8eecf016f52090b68a79636813)) * **eventtopics:** implement seed for eventtopics ([429c74ec](https://github.com/codetanzania/ewea-common/commit/429c74ec0fb6be8ff307e05500e48abd9911bc3b)) ##### Tests * **fixtures:** retain only one seed on event levels ([9e605ded](https://github.com/codetanzania/ewea-common/commit/9e605ded636b43ff55840d9cd508153eba4dc8d5)) #### 0.5.3 (2020-02-19) ##### Chores * **deps:** force latest version & audit fix ([9ced9e3b](https://github.com/codetanzania/ewea-common/commit/9ced9e3ba3bf01daabe06b99ef5a24ee67dbc885)) #### 0.5.2 (2020-02-19) ##### Chores * **deps:** * force latest version & audit fix ([288a4a7b](https://github.com/codetanzania/ewea-common/commit/288a4a7b53569979b94dae14660377a8f00a3e32)) * force latest version & audit fix ([9d05554c](https://github.com/codetanzania/ewea-common/commit/9d05554c3db3df00f2f4e524b3ed10d62f7d814d)) * force latest version & audit fix ([2ec74aa1](https://github.com/codetanzania/ewea-common/commit/2ec74aa134f90741b99e08350895a49d43d43393)) * install ewea-event on dev ([4a8136b0](https://github.com/codetanzania/ewea-common/commit/4a8136b0d70b49ef44892c891efa2875b0382448)) * force latest version & audit fix ([aa25b67a](https://github.com/codetanzania/ewea-common/commit/aa25b67aead1ceb41bc9784f4b229fc831e60947)) * **fixtures:** add events csv file ([07a508e1](https://github.com/codetanzania/ewea-common/commit/07a508e1f358ad581e87f493d0ce7ba665e31fae)) ##### New Features * **seed:** * implement agencies & focals seeding ([98737e28](https://github.com/codetanzania/ewea-common/commit/98737e281bd9ed13aaac9f0d6b9be472f2bcf47f)) * support json data files ([1c080c82](https://github.com/codetanzania/ewea-common/commit/1c080c82922057d8642e6ff2813993aab4b12f23)) * order predefine seeding order ([1ed5a3c6](https://github.com/codetanzania/ewea-common/commit/1ed5a3c681cd91ae8bb5de9429806375422497c7)) * support filePath & extra properties on csv seed ([4ad7fc42](https://github.com/codetanzania/ewea-common/commit/4ad7fc4219b9f6193c7ba4aa2a6ef6a317e0aa8c)) * add seedFromJson for any data model ([f7a6d12f](https://github.com/codetanzania/ewea-common/commit/f7a6d12f12e83b9d80ddd09d6762a680437f4081)) * add seedFromCsv for any model form csv ([5c7f011d](https://github.com/codetanzania/ewea-common/commit/5c7f011df7fb766b928dcaeeddfdbd2900002e2e)) * **seeds:** support seeding of seeds ([290cda5e](https://github.com/codetanzania/ewea-common/commit/290cda5ec8b27f44f98cc40f2a54be72688880bf)) ##### Other Changes * CodeTanzania/ewea-common into feature/improve-test-coverage ([d02a5163](https://github.com/codetanzania/ewea-common/commit/d02a51638070deb687a6a18070b9bec026c8beb5)) ##### Refactors * **seed:** * improve event seed ([1589b47b](https://github.com/codetanzania/ewea-common/commit/1589b47b20b05bb8967bcd759adf377013f3a950)) * implement event seed ([cf2b31b6](https://github.com/codetanzania/ewea-common/commit/cf2b31b67f58ccea2f39db4b3bde7893c0765f36)) * improve predefine seed flow ([a951e229](https://github.com/codetanzania/ewea-common/commit/a951e22918b4200e623108b90c5b0a2492d194c7)) * name permission seed tasks ([23a12dd9](https://github.com/codetanzania/ewea-common/commit/23a12dd9ab84efcfc4839ed9c0369cfef2179889)) * improve assertion on unit tests ([4d1b15d1](https://github.com/codetanzania/ewea-common/commit/4d1b15d149413045eaed44b8540c0cd59b1069b2)) * process csv function ([bd6eaf39](https://github.com/codetanzania/ewea-common/commit/bd6eaf3987781506cfc3d5bb042dfac78599e5a2)) * order seed helpers & test scripts ([0b3ef8c2](https://github.com/codetanzania/ewea-common/commit/0b3ef8c2263c0cb836a78cd222cad6c4776cb99d)) ##### Tests * **seed:** improve test coverage ([89eec776](https://github.com/codetanzania/ewea-common/commit/89eec776b822075089d4b4ca7627fd582cb80134)) * **fixtures:** add events json file ([32b8fb74](https://github.com/codetanzania/ewea-common/commit/32b8fb744c8e80539e3883caa37fe7d6529cd3e9)) * add unit test for process csv function ([0c5037f5](https://github.com/codetanzania/ewea-common/commit/0c5037f5d5c115d393b9fcaee8cfbc76cdadbc19)) * **env:** ensure same locales ([10754730](https://github.com/codetanzania/ewea-common/commit/10754730b20c0c50271c9e4e41a5c1e088dc56c6)) #### 0.5.1 (2020-01-20) ##### New Features * **seed:** add event statuses & urgencies ([f3b1273f](https://github.com/codetanzania/ewea-common/commit/f3b1273f182609940a15acf7057a3cc59b599263)) #### 0.5.0 (2020-01-20) ##### Refactors * **internals:** re-export for early import ([48bbff6c](https://github.com/codetanzania/ewea-common/commit/48bbff6c4e49b723cdebec35f1eec618b7094759)) #### 0.4.1 (2020-01-20) ##### Chores * **deps:** * force latest version & audit fix ([d84e261f](https://github.com/codetanzania/ewea-common/commit/d84e261fa62ee509211d5e22f6fb2e212ffa40de)) * force latest version & audit fix ([baa820f3](https://github.com/codetanzania/ewea-common/commit/baa820f36a4d2a2d2263834838457cd0a9c4ecbc)) * **todos:** * add to be implemented placeholders ([d18d6038](https://github.com/codetanzania/ewea-common/commit/d18d6038d4845c7072bbf83f39aea9b998132b1c)) * add to be implemented placeholders ([0b3a126a](https://github.com/codetanzania/ewea-common/commit/0b3a126ada696258c36de479b477bc2ee4d4dd2f)) * **fixtures:** rename to samples to avoid collisions ([945950cf](https://github.com/codetanzania/ewea-common/commit/945950cfa27914390649ccc540b8eb4cb5d20d59)) ##### New Features * **seed:** * add runtime permissions seed ([7b170999](https://github.com/codetanzania/ewea-common/commit/7b170999b8df0c874dd17b868ead30c25dd8a8c7)) * seed event catalogues from csv ([dbc49e9e](https://github.com/codetanzania/ewea-common/commit/dbc49e9e2b21cf3e3f5fcac0198d679516028909)) * seed features from csv ([c98259a0](https://github.com/codetanzania/ewea-common/commit/c98259a0db1fad585fd90ef97396f45d1e12704e)) * seed administrative areas from csv ([f613d460](https://github.com/codetanzania/ewea-common/commit/f613d460ec8ac329ec9b1569ee12cadfcc9e574d)) * seed notification templates from csv ([e635584d](https://github.com/codetanzania/ewea-common/commit/e635584df2a6075fdbc6c718efd8c36ba46fd38f)) ##### Other Changes * **seed:** seed administrative areas from csv ([8564b7b7](https://github.com/codetanzania/ewea-common/commit/8564b7b76970fcc3f0b97ebaa8611ad8e6645f02)) #### 0.4.0 (2020-01-14) ##### Chores * **deps:** * force latest version & audit fix ([54521070](https://github.com/codetanzania/ewea-common/commit/5452107066a4e49e632c229f2ab282c9235548b5)) * force latest version & audit fix ([fca54ffd](https://github.com/codetanzania/ewea-common/commit/fca54ffdcc1a939d37099be5c496dcd553134f97)) ##### Refactors * use ewea internals ([8cf0704f](https://github.com/codetanzania/ewea-common/commit/8cf0704f61f7d4ed2aec8614442ab52d92602dce)) #### 0.3.0 (2019-12-17) ##### Chores * prepare release v0.3.0 ([2d6aadff](https://github.com/codetanzania/ewea-common/commit/2d6aadff83a331f1439e3c55177a599e66d6bfb1)) ##### Documentation Changes * drop WIP ([d8fdacd5](https://github.com/codetanzania/ewea-common/commit/d8fdacd518e995e7061894e454c103a40e2dd1a1)) ##### New Features * **seed:** * seed event questions from csv ([bb2c3d3b](https://github.com/codetanzania/ewea-common/commit/bb2c3d3b9ef96d83d506b0ca4e839120d3d2fd47)) * seed event indicators from csv ([d2feb5d9](https://github.com/codetanzania/ewea-common/commit/d2feb5d961928bd1b3222d50bd045ba3d0db12e4)) * seed feature types from csv ([b8b6025b](https://github.com/codetanzania/ewea-common/commit/b8b6025b0c1a19b5932da8e374afacf30d20f4ae)) * seed administrative levels from csv ([f59adcfd](https://github.com/codetanzania/ewea-common/commit/f59adcfd2646d852759d34091fa9b7d201f1f118)) * seed unit from csv ([851aa6e2](https://github.com/codetanzania/ewea-common/commit/851aa6e22bf265cdf5eeb3c735e937a11dfa394c)) * seed event actions from csv ([073716af](https://github.com/codetanzania/ewea-common/commit/073716af498ed73d2f5a0fd41b38e9344459bc7e)) * seed event functions from csv ([427932a6](https://github.com/codetanzania/ewea-common/commit/427932a683707dcb0bead57de23c09055fc5ef94)) * seed event types from csv ([17f9f779](https://github.com/codetanzania/ewea-common/commit/17f9f779ed2242e58f38e6473d7fa90cd7ef7769)) * seed event groups from csv ([279116e6](https://github.com/codetanzania/ewea-common/commit/279116e66e67d64cae0591870060f2c0e802a1be)) * seed party roles from csv ([6ddab0df](https://github.com/codetanzania/ewea-common/commit/6ddab0df5d2912d39811ab83b8e386a172cd8293)) * seed party groups from csv ([8297eed5](https://github.com/codetanzania/ewea-common/commit/8297eed5d5f985139943d41fcfe0621e7b382aa0)) * seed event certainty from csv ([46aec348](https://github.com/codetanzania/ewea-common/commit/46aec34871192df37eee4db0b1ddcfe7d28d134a)) * implement base seed helpers ([8653dee5](https://github.com/codetanzania/ewea-common/commit/8653dee5e2629ece1947cb5256b7856466ab6004)) * implement predefine seed transformer ([9d3e587e](https://github.com/codetanzania/ewea-common/commit/9d3e587e7726d4d9d49743219709e093075306db)) * add to predefine transform ([759a4a52](https://github.com/codetanzania/ewea-common/commit/759a4a5274fe952b0a97fad0bc3e55c10cc2c719)) * implement inital seed helper ([7489e554](https://github.com/codetanzania/ewea-common/commit/7489e554ec801cb684142cda8b7fd0cc7529dc91)) * add transform runner ([4fcf6f2d](https://github.com/codetanzania/ewea-common/commit/4fcf6f2d368cd857e2b7d4cdda06fa0e9f62e993)) * add key transformer ([6d8720f2](https://github.com/codetanzania/ewea-common/commit/6d8720f247acf8350a0704f9964373a29cf23246)) * compute json seed path of given model name ([6af30db4](https://github.com/codetanzania/ewea-common/commit/6af30db4ac87f64aa9fec50031516a69cebdc8e6)) * compute geojson seed path for given model name ([faeadb85](https://github.com/codetanzania/ewea-common/commit/faeadb8574656322354dc2545238d5625e2e14fc)) * compute shapefile path for given model name ([2125ee7e](https://github.com/codetanzania/ewea-common/commit/2125ee7ea0dc54c0ef715840c3690ebb518abd50)) * compute csv path for model name ([e49e3df8](https://github.com/codetanzania/ewea-common/commit/e49e3df86b0488bd66e0e7f329c3f963f388452b)) * add path derive helpers ([f7045a2d](https://github.com/codetanzania/ewea-common/commit/f7045a2d73cdf82b205fdecc6ff39045b8c2a8ae)) * **data:** add action predefine relation ([140898da](https://github.com/codetanzania/ewea-common/commit/140898daa7fad32ad1d50c8117f0c76526b0c3cb)) ##### Code Style Changes * **seed:** * add seed runner jsdoc ([86c5fa9c](https://github.com/codetanzania/ewea-common/commit/86c5fa9cb7f4c71895c3d7ebfbe4c9c3243ec5ef)) * add missing jsdocs ([a15eb16b](https://github.com/codetanzania/ewea-common/commit/a15eb16b8a25a5dfe2c815fa3b2ab12ef0b77cc5)) ##### Tests * **fixtures:** * add sample csv ([09c30c42](https://github.com/codetanzania/ewea-common/commit/09c30c42ac84e8456d691114ec789ae90484a02c)) * rename to features ([a271b05a](https://github.com/codetanzania/ewea-common/commit/a271b05a8ebed693971977c8faa3cf686bbb5502)) * add sample json fixture ([c795110c](https://github.com/codetanzania/ewea-common/commit/c795110c14af9b41067ba86678e7f478bd368a58)) * add fixtures ([5e2f3fb1](https://github.com/codetanzania/ewea-common/commit/5e2f3fb158632a58ff26ab7797d745cb5fcb7d14)) #### 0.2.1 (2019-12-16) ##### Chores * **deps:** force latest version & audit fix ([09ef43c9](https://github.com/codetanzania/ewea-common/commit/09ef43c9f7a5821a5e21aef1ef05141265c93b56)) #### 0.1.0 (2019-12-10) ##### New Features * **database:** add connect & syncIndexes shortcuts ([c5ad0754](https://github.com/codetanzania/ewea-common/commit/c5ad07547a862677d53a501ff712055ebaa25c87)) * add common predefine relations ([d8ca220b](https://github.com/codetanzania/ewea-common/commit/d8ca220bd415bcbc474b2156090a5b2db88385a5)) * add predefine relations ([31619ba3](https://github.com/codetanzania/ewea-common/commit/31619ba341566c96be2cebceb10295897c9b34c5)) * **internals:** ensure predefine namespaces ([029705eb](https://github.com/codetanzania/ewea-common/commit/029705eb2220822b66c6599c09d93640dfd02864))