@emailmaker/filemanager 0.0.2 → 0.0.3
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/debug-script.js +1 -1
- package/file-manager.css +1 -1
- package/file-manager.esm.js +1 -1
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/file-manager.js.LICENSE.txt +2 -0
- package/hooks/core/files/useFilesAPIHelpers.d.ts +1 -17
- package/hooks/core/useNavigation.d.ts +0 -3
- package/loacal_module/pixie/dist/pixie.es.js +1 -1
- package/loacal_module/pixie/dist/pixie.umd.js +1 -1
- package/mockServiceWorker.js +1 -1
- package/package.json +1 -1
- package/suppress-resize-observer-errors.js +1 -1
- package/types.d.ts +2 -0
- package/hooks/core/temp/context.d.ts +0 -0
- package/index.html +0 -141
|
@@ -103,6 +103,8 @@
|
|
|
103
103
|
|
|
104
104
|
/** */
|
|
105
105
|
|
|
106
|
+
/** */
|
|
107
|
+
|
|
106
108
|
/** */
|
|
107
109
|
|
|
108
110
|
/** */
|
|
@@ -1,18 +1,2 @@
|
|
|
1
1
|
import { File as AppFile, Folder, FilesQueryParams } from '../../../types';
|
|
2
|
-
export
|
|
3
|
-
page: number;
|
|
4
|
-
limit: number;
|
|
5
|
-
total: number;
|
|
6
|
-
}
|
|
7
|
-
interface ApiResponse {
|
|
8
|
-
data?: AppFile[];
|
|
9
|
-
files?: AppFile[];
|
|
10
|
-
pagination?: ApiPagination;
|
|
11
|
-
}
|
|
12
|
-
export declare const buildFilesURL: (baseURL: string, params?: FilesQueryParams) => string;
|
|
13
|
-
export declare const processApiResponse: (data: ApiResponse | AppFile[]) => {
|
|
14
|
-
files: AppFile[];
|
|
15
|
-
pagination?: ApiPagination;
|
|
16
|
-
};
|
|
17
|
-
export declare const addSubfoldersToFiles: (files: AppFile[], params: FilesQueryParams, getFolders: (() => Promise<Folder[]>) | undefined, getFoldersEndpoint: string | undefined) => Promise<AppFile[]>;
|
|
18
|
-
export {};
|
|
2
|
+
export declare const addSubfoldersToFiles: (files: AppFile[], params: FilesQueryParams, getFolders: (() => Promise<Folder[]>) | undefined) => Promise<AppFile[]>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { File as AppFile } from '../../types';
|
|
2
2
|
import { FileManagerHookBase } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Хук для навигации по структуре папок
|
|
5
|
-
*/
|
|
6
3
|
export declare const useNavigation: () => FileManagerHookBase & {
|
|
7
4
|
selectedFolder: string | null;
|
|
8
5
|
pathHistory: Array<{
|