Commit Graph

73 Commits

Author SHA1 Message Date
Kai Moseley 452775db02 0.4.1 2017-02-27 17:27:03 +00:00
Kai Moseley b33e21d0b9 Prevent the wildcard key adding a default value 2017-02-27 17:26:53 +00:00
Kai Moseley 8b743e16c4 0.4.0 2017-02-23 10:00:26 +00:00
Kai Moseley bfa06ac17f Add wildcardKey type
Being able to type a known structure ahead of time is super useful. Sometimes, however, this isn't possible. What if
your application has an entirely dynamic portion, where you use data from the server to build, day, a form? In this situation
it'd be great to still be able to type. This commit introduces the basic implementation of the 'wildcardKey' type, for use
in defining an object property. At the moment, every object can have one wildcardKey which specifies a specific type (including any()) which the reducer will happily accept, if an unknown property has it. The aim is to introduce regex to this type, and the ability to use multiple instances of the type, in order to specifically craft dynamic reducer structures (e.g. all properties with _date in them will be assigned to the Type.any(), but all others must be Type.string()).
2017-02-23 09:56:43 +00:00
Kai Moseley be42ab5958 0.3.5 2017-02-22 10:17:10 +00:00
Kai Moseley 9534c25adc Minor tweak to flowRight dependency use 2017-02-22 10:17:03 +00:00
Kai Moseley 260ac4edcf 0.3.4 2017-02-22 10:03:46 +00:00
Kai Moseley e88f936329 Update lodash dependency 2017-02-22 10:03:36 +00:00
Kai Moseley 438150f7a2 0.3.3 2017-02-21 09:31:30 +00:00
Kai Moseley e910c66b5f Adjust lodash imports to reduce bundle size when transpiled 2017-02-21 09:31:20 +00:00
Kai Moseley 8646223a0e 0.3.2 2017-02-21 09:09:51 +00:00
Kai Moseley 365f95d352 Remove unnecessary ramda dependency 2017-02-21 09:09:34 +00:00
Kai Moseley c02f027b7a 0.3.1 2017-01-24 16:27:14 +00:00
Kai Moseley f6dacf92f8 0.3.0 2017-01-24 16:27:10 +00:00
Kai Moseley 32820779b6 0.2.3 2017-01-24 16:26:12 +00:00
Kai Moseley ec5a5cafd5 Update the readme 2017-01-24 16:25:51 +00:00
Kai Moseley de67a74ac3 Tweak to removeAtIndex interface 2017-01-24 16:25:11 +00:00
Kai Moseley 1cd4cbf6bf Add new array methods, and remove unnecessary validation calls 2017-01-22 20:13:28 +00:00
Kai Moseley efa441f62e Update babelrc 2017-01-03 15:02:04 +00:00
Kai Moseley a248965e31 0.2.2 2016-12-22 11:26:39 +00:00
Kai Moseley 58f8689ca5 0.2.1 2016-12-22 11:26:15 +00:00
Kai Moseley ce24facd5a Add the 'any' Type for miscellaneous/uncheck values 2016-12-22 11:24:17 +00:00
Kai Moseley 70fc54d280 0.2.0 2016-12-20 12:34:29 +00:00
Kai Moseley 6c7c711c28 Update documentation 2016-12-20 12:34:18 +00:00
Kai Moseley 647410fd57 0.1.5 2016-12-20 11:55:52 +00:00
Kai Moseley c4ec80d43d Addmissing redux dependency 2016-12-20 11:55:43 +00:00
Kai Moseley dafe9eed77 0.1.4 2016-12-20 11:20:59 +00:00
Kai Moseley 7a2b678d80 0.1.3 2016-12-20 11:20:48 +00:00
Kai Moseley d6ac43a6b8 minor tweaks to config 2016-12-20 11:14:53 +00:00
Kai Moseley eca28339c1 0.1.2 2016-12-20 10:50:39 +00:00
Kai Moseley bbc3e9de28 Minor tweak to main location 2016-12-20 10:50:16 +00:00
Kai Moseley 217facf75d 0.1.1 2016-12-20 10:39:30 +00:00
Kai Moseley 7ddee47d9d Restructure for publshing 2016-12-20 10:39:23 +00:00
Kai Moseley 6f906585fe Tweak the example 2016-12-12 08:19:16 +00:00
Kai Moseley 0ab32d1fa3 Address ESLint errors 2016-12-12 08:01:21 +00:00
Kai Moseley 1cb903cfba Clean up module interface 2016-12-12 07:16:12 +00:00
Kai Moseley 84361fdae9 Improve test coverage to 100% 2016-12-11 17:24:01 +00:00
Kai Moseley 0f3ff8168b Remove coverage from git 2016-12-11 15:53:10 +00:00
Kai Moseley a904988c75 Apply minor formatting changes 2016-12-11 15:51:42 +00:00
Kai Moseley e4a9eeabfc Increasing test coverage 2016-12-11 15:50:06 +00:00
Kai Moseley 5271513b70 Addings comments! 2016-12-11 11:33:00 +00:00
Kai Moseley 43cf6935c5 Remove longer example 2016-12-09 13:52:43 +00:00
Kai Moseley 966b7739bf Update reducer recursion to improve output structure 2016-12-06 08:17:01 +00:00
Kai Moseley b5e6f9024c Apply minor tweak to buildReducer name 2016-12-05 21:46:25 +00:00
Kai Moseley 0452b816a4 Amended resulting reducer to be an object for spreading 2016-12-05 21:44:55 +00:00
Kai Moseley 00087c751d Tweaks to flow types 2016-12-05 21:21:15 +00:00
Kai Moseley 69a0d3c616 Address flow errors 2016-12-05 18:17:56 +00:00
Kai Moseley 6ff5c56a2a Apply payload validation to initial object state 2016-12-05 16:54:15 +00:00
Kai Moseley 128c55bc52 Improve validation of the arrayReducer 2016-12-05 16:50:51 +00:00
Kai Moseley 0f7bd6efe4 Initial draft of array reducer 2016-12-04 19:25:49 +00:00