🐛 corrige l'url pour le script de download des règles

pull/1096/head
Johan Girod 2020-08-24 11:43:07 +02:00
parent 95b94118b3
commit e60afdb3e9
3 changed files with 298 additions and 449 deletions

View File

@ -73,7 +73,7 @@ export default function Library() {
& wget
https://raw.githubusercontent.com/betagouv/mon-entreprise/master/mon-entreprise/source/rules/impôt.yaml
& wget
https://raw.githubusercontent.com/betagouv/mon-entreprise/master/mon-entreprise/source/rules/situation-personelle.yaml
https://raw.githubusercontent.com/betagouv/mon-entreprise/master/mon-entreprise/source/rules/situation-personnelle.yaml
</code>
</blockquote>
<p>

View File

@ -1,17 +1,17 @@
import { map } from 'ramda'
import React from 'react'
import { Operation } from '../components/mecanisms/common'
import { convertToDate } from '../date'
import { typeWarning } from '../error'
import { evaluateNode, makeJsx, mergeMissing } from '../evaluation'
import { Operation } from '../components/mecanisms/common'
import { convertNodeToUnit } from '../nodeUnits'
import { liftTemporal2, pureTemporal, temporalAverage } from '../temporal'
import { inferUnit, serializeUnit } from '../units'
import { curry, map } from 'ramda'
import React from 'react'
export default (k, operatorFunction, symbol) => (recurse, v) => {
const evaluate = (cache, situation, parsedRules, node) => {
const explanation = map(
curry(evaluateNode)(cache, situation, parsedRules),
node => evaluateNode(cache, situation, parsedRules, node),
node.explanation
)
let [node1, node2] = explanation

737
yarn.lock

File diff suppressed because it is too large Load Diff