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 {
mappings: {
collectionName: string;
folderPath: string;
files: {
type FileMapping = {
path: string;
id: number;
}[];
}[];
};
interface Mapping {
collectionName: string;
folderPath: string;
files: FileMapping[];
}
export interface WatchStoreType {
mappings: Mapping[];
}
export enum FILE_PATH_TYPE {