Files
pybricks-code/src
David Lechner 9641898a75 actions: refactor actions
The pattern we were using for actions required actions to be defined in
three places, an enum member containing the type string, an type
definition and a function. This combines all three of these into one by
using a helper function based on the ideas from [1].

[1]: https://phryneas.de/redux-typescript-no-discriminating-union
2022-02-25 17:58:30 -06:00
..
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-25 17:58:30 -06:00
2022-02-22 12:32:20 -06:00
2022-02-25 17:58:30 -06:00
2022-02-22 14:23:20 -06:00
2022-02-22 14:23:20 -06:00
2022-02-25 17:58:30 -06:00
2021-02-01 10:26:05 -06:00
2021-12-27 17:30:15 -06:00
2022-02-24 16:59:49 -06:00
2021-01-25 21:05:14 -06:00
2021-07-02 20:59:09 -05:00