app: Déplacement de fetch.js dans data/

This commit is contained in:
Mattéo Delabre 2019-12-04 14:41:31 -05:00
parent 46355c8776
commit 3b2592ed7a
Signed by: matteo
GPG Key ID: AE3FBD02DC583ABB
4 changed files with 8 additions and 3 deletions

View File

@ -5,7 +5,7 @@ import {useAsync} from '../util.js';
import { import {
diseasesBySymptoms, diseasesBySymptoms,
exploreSymptoms exploreSymptoms
} from '../fetch.js'; } from '../data/fetch.js';
const App = () => const App = () =>
{ {

View File

@ -2,7 +2,7 @@ import React from 'react';
import Graph from './Graph.js'; import Graph from './Graph.js';
import {types} from '../data/mock.js'; import {types} from '../data/mock.js';
import {useAsync} from '../util.js'; import {useAsync} from '../util.js';
import {symptomsSubgraph} from '../fetch.js'; import {symptomsSubgraph} from '../data/fetch.js';
const DiseaseGraph = ({terms, setTerms, results}) => const DiseaseGraph = ({terms, setTerms, results}) =>
{ {

View File

@ -1,4 +1,4 @@
import * as mock from './data/mock.js'; import * as mock from './mock.js';
/** /**
* Recherche lensemble des maladies liées par une relation « a pour symptôme » * Recherche lensemble des maladies liées par une relation « a pour symptôme »

View File

@ -1,3 +1,8 @@
/**
* @module
* Jeu de données dexemple.
*/
/** /**
* Types de termes de la base. * Types de termes de la base.
*/ */