guilima / financial-back

Node API structure connection to postgreSQL / redis
MIT License
4 stars 0 forks source link

refactor(enums/upsertSeries): Add series and seriesAlpha enum #14

Closed guilima closed 4 years ago

guilima commented 4 years ago

Enum supports reverse mapping which means we can access the value of a member and also a member name from its value. This works for enum [key: string]: number not [key: string]: string and generate a extra code for lookup table.

resolves #2