Monorepo containing core modules of Zeichen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
255 B

  1. import Operation from './services/Operation'
  2. export default {
  3. 'operations': (
  4. Object
  5. .entries(Operation)
  6. .filter(([, value]) => !isNaN(Number(value)))
  7. .map(([name, id]) => ({
  8. id: Number(id),
  9. name,
  10. }))
  11. ),
  12. }