@ws-ui/store 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +21 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +738 -731
- package/dist/index.es.js.map +1 -1
- package/dist/modules/explorer/thunks.d.ts +8 -0
- package/dist/modules/modals/thunks.d.ts +2 -0
- package/package.json +1 -1
|
@@ -115,6 +115,14 @@ export declare const openFile: import("@reduxjs/toolkit").AsyncThunk<ITab<any, P
|
|
|
115
115
|
}>>, {
|
|
116
116
|
file: IFileInfo;
|
|
117
117
|
inactive?: boolean | undefined;
|
|
118
|
+
flags?: Pick<Partial<{
|
|
119
|
+
touched: boolean;
|
|
120
|
+
removed: boolean;
|
|
121
|
+
pinned: boolean;
|
|
122
|
+
loading: boolean;
|
|
123
|
+
old: boolean;
|
|
124
|
+
enabled: boolean;
|
|
125
|
+
}>, "pinned" | "loading" | "enabled"> | undefined;
|
|
118
126
|
}, {
|
|
119
127
|
state: AppState;
|
|
120
128
|
}>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { store as appStore } from '../../store';
|
|
1
2
|
import { IModal, ModalType } from './types';
|
|
2
3
|
interface IOpenModalPayload extends Omit<IModal, 'id' | 'isOpen' | 'type'> {
|
|
3
4
|
type?: ModalType;
|
|
5
|
+
store?: typeof appStore;
|
|
4
6
|
}
|
|
5
7
|
interface IOpenModalReturnValue {
|
|
6
8
|
confirmed?: boolean;
|