@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/{fileAction.d.ts → actions/fileAction.d.ts} +33 -2
- package/dist/{fileListAction.d.ts → actions/fileListAction.d.ts} +3 -3
- package/dist/actions/index.d.ts +3 -0
- package/dist/chunks/{dav-DY_3WIBa.mjs → dav-CQDyL7M_.mjs} +10 -10
- package/dist/chunks/dav-CQDyL7M_.mjs.map +1 -0
- package/dist/chunks/{dav-5fPdvOgP.cjs → dav-CqLa8DSX.cjs} +10 -10
- package/dist/chunks/dav-CqLa8DSX.cjs.map +1 -0
- package/dist/dav/dav.d.ts +2 -2
- package/dist/dav.cjs +1 -1
- package/dist/dav.mjs +1 -1
- package/dist/fileListFilters.d.ts +1 -1
- package/dist/fileListHeaders.d.ts +2 -2
- package/dist/index.cjs +2596 -2581
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +9 -38
- package/dist/index.mjs +2597 -2582
- package/dist/index.mjs.map +1 -1
- package/dist/navigation/column.d.ts +2 -2
- package/dist/navigation/view.d.ts +3 -3
- package/dist/{newFileMenu.d.ts → newMenu/NewMenu.d.ts} +8 -9
- package/dist/newMenu/functions.d.ts +24 -0
- package/dist/newMenu/index.d.ts +3 -0
- package/dist/node/index.d.ts +8 -0
- package/dist/utils/fileSorting.d.ts +3 -3
- package/dist/utils/index.d.ts +7 -0
- package/package.json +1 -1
- package/dist/chunks/dav-5fPdvOgP.cjs.map +0 -1
- package/dist/chunks/dav-DY_3WIBa.mjs.map +0 -1
- /package/dist/{files → node}/file.d.ts +0 -0
- /package/dist/{files → node}/fileType.d.ts +0 -0
- /package/dist/{files → node}/folder.d.ts +0 -0
- /package/dist/{files → node}/node.d.ts +0 -0
- /package/dist/{files → node}/nodeData.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
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';
|