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