@nextcloud/files 3.3.0 → 3.3.1
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 +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -57,6 +57,12 @@ const logger = getLogger(auth.getCurrentUser());
|
|
|
57
57
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
58
58
|
*
|
|
59
59
|
*/
|
|
60
|
+
var NewMenuEntryCategory = /* @__PURE__ */ ((NewMenuEntryCategory2) => {
|
|
61
|
+
NewMenuEntryCategory2[NewMenuEntryCategory2["UploadFromDevice"] = 0] = "UploadFromDevice";
|
|
62
|
+
NewMenuEntryCategory2[NewMenuEntryCategory2["CreateNew"] = 1] = "CreateNew";
|
|
63
|
+
NewMenuEntryCategory2[NewMenuEntryCategory2["Other"] = 2] = "Other";
|
|
64
|
+
return NewMenuEntryCategory2;
|
|
65
|
+
})(NewMenuEntryCategory || {});
|
|
60
66
|
class NewFileMenu {
|
|
61
67
|
_entries = [];
|
|
62
68
|
registerEntry(entry) {
|
|
@@ -3121,6 +3127,7 @@ exports.FileType = FileType;
|
|
|
3121
3127
|
exports.Folder = Folder;
|
|
3122
3128
|
exports.Header = Header;
|
|
3123
3129
|
exports.Navigation = Navigation;
|
|
3130
|
+
exports.NewMenuEntryCategory = NewMenuEntryCategory;
|
|
3124
3131
|
exports.Node = Node;
|
|
3125
3132
|
exports.NodeStatus = NodeStatus;
|
|
3126
3133
|
exports.Permission = Permission;
|