Zeichen's backing service for remote storage.
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
259 B

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