app: Déplacement de fetch.js dans data/
This commit is contained in:
parent
46355c8776
commit
3b2592ed7a
|
@ -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 = () =>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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}) =>
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import * as mock from './data/mock.js';
|
import * as mock from './mock.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Recherche l’ensemble des maladies liées par une relation « a pour symptôme »
|
* Recherche l’ensemble des maladies liées par une relation « a pour symptôme »
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* @module
|
||||||
|
* Jeu de données d’exemple.
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types de termes de la base.
|
* Types de termes de la base.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue