File size: 587 Bytes
cbdd38a
e13a8b7
cbdd38a
 
 
 
75f3dfb
 
e13a8b7
 
cbdd38a
b76416f
cbdd38a
 
 
e13a8b7
 
cbdd38a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { IExerciseCSV } from './load-exercises-dataset';
import { IMealJson } from './load-meals-dataset';

export const dbStore: {
  dbConnected: boolean;
  excerisesDataset: IExerciseCSV[];
  musclesDataset: ({ name: IExerciseCSV['target'], image: IExerciseCSV["target_url"] })[];
  equipmentsDataset: ({ name: IExerciseCSV['equipment'], image: IExerciseCSV["equipment_url"] })[];
  mealsDataset: IMealJson[];
  ingredientsNames: string[];
} = {
  dbConnected: false,
  excerisesDataset: [],
  musclesDataset: [],
  equipmentsDataset: [],
  mealsDataset: [],
  ingredientsNames: [],
}