refactor type

This commit is contained in:
Abhinav 2022-06-15 11:47:56 +05:30
parent e977bed02b
commit d458097a4e

View file

@ -20,15 +20,19 @@ export interface KeysStoreType {
}; };
} }
export interface WatchStoreType { type FileMapping = {
mappings: {
collectionName: string;
folderPath: string;
files: {
path: string; path: string;
id: number; id: number;
}[]; };
}[];
interface Mapping {
collectionName: string;
folderPath: string;
files: FileMapping[];
}
export interface WatchStoreType {
mappings: Mapping[];
} }
export enum FILE_PATH_TYPE { export enum FILE_PATH_TYPE {