@nextcloud/files 3.11.0 → 3.12.0

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.d.ts CHANGED
@@ -1,40 +1,11 @@
1
- import { Entry } from './newFileMenu';
2
- import { Folder } from './files/folder';
3
- export { FileAction, getFileActions, registerFileAction, DefaultType } from './fileAction';
4
- export { getFileListActions, registerFileListAction, FileListAction } from './fileListAction.ts';
5
- export { Header, getFileListHeaders, registerFileListHeaders } from './fileListHeaders';
6
- export { type Entry, NewMenuEntryCategory } from './newFileMenu';
7
- export { Permission } from './permissions';
8
- export { FileType } from './files/fileType';
9
- export { File, type IFile } from './files/file';
10
- export { Folder, type IFolder } from './files/folder';
11
- export { Node, NodeStatus, type INode } from './files/node';
12
- export type { NodeData } from './files/nodeData.ts';
13
- export * from './utils/filename-validation';
14
- export { getUniqueName } from './utils/filename';
15
- export { formatFileSize, parseFileSize } from './utils/fileSize';
16
- export { orderBy, type SortingOrder } from './utils/sorting';
17
- export { sortNodes, FilesSortingMode, type FilesSortingOptions } from './utils/fileSorting';
18
- export * from './navigation/index';
19
- export * from './fileListFilters';
20
- /**
21
- * Add a new menu entry to the upload manager menu
22
- *
23
- * @param entry The new file menu entry
24
- */
25
- export declare const addNewFileMenuEntry: (entry: Entry) => void;
26
- /**
27
- * Remove a previously registered entry from the upload menu
28
- *
29
- * @param entry Entry to remove (or name of entry)
30
- */
31
- export declare const removeNewFileMenuEntry: (entry: Entry | string) => void;
32
- /**
33
- * Get the list of registered entries from the upload menu
34
- *
35
- * @param {Folder} context the creation context. Usually the current folder FileInfo
36
- */
37
- export declare const getNewFileMenuEntries: (context?: Folder) => Entry[];
1
+ export * from './actions/index.ts';
2
+ export * from './fileListFilters.ts';
3
+ export * from './fileListHeaders.ts';
4
+ export * from './navigation/index.ts';
5
+ export * from './newMenu/index.ts';
6
+ export * from './node/index.ts';
7
+ export * from './permissions.ts';
8
+ export * from './utils/index.ts';
38
9
  export { type DavProperty,
39
10
  /**
40
11
  * @inheritdoc
@@ -115,4 +86,4 @@ getDavProperties,
115
86
  * @inheritdoc
116
87
  * @deprecated use `registerDavProperty` from `@nextcloud/files/dav`
117
88
  */
118
- registerDavProperty, } from './dav/index';
89
+ registerDavProperty, } from './dav/index.ts';