Skip to content
Snippets Groups Projects
Select Git revision
  • cdf359cac31883665795e85141b4c53583af1053
  • master default protected
  • maj-readme
  • update-budget-msg-2022
  • share-with-metadata
  • explications-resultats-macros-PLF2022
  • plf_fix
  • benoit-cty-master-patch-87290
  • activate-plf-2021
  • stats
  • switch-plf
  • carto
  • adapt-matomo
  • js-to-ts
  • nbre-part-logic
  • add-nbre-part
  • 1.0.0
17 results

server.js

Blame
  • entities.ts 335 B
    import entityByKeyUnknown from "@leximpact/socio-fiscal-openfisca-json/entities.json"
    import type { EntityByKey } from "@openfisca/json-model"
    
    export const entityByKey = entityByKeyUnknown as EntityByKey
    
    export const personEntityKey = Object.entries(entityByKey)
      .filter(([, entity]) => entity.is_person)
      .map(([key]) => key)[0]