refactor type
This commit is contained in:
parent
e977bed02b
commit
d458097a4e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue