summaryrefslogtreecommitdiffstats
path: root/apps/files/src/store
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-11 09:31:30 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-11 14:38:53 +0200
commitb7df4196e2883da9028f8c5d646fbbf5ae10cf49 (patch)
treebf25c4448b898ca83e0671a3d4888573b5550e47 /apps/files/src/store
parenta05176a1f592d06b24725cd158baaf85e4456c6d (diff)
downloadnextcloud-server-b7df4196e2883da9028f8c5d646fbbf5ae10cf49.tar.gz
nextcloud-server-b7df4196e2883da9028f8c5d646fbbf5ae10cf49.zip
feat(files): right click
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/store')
-rw-r--r--apps/files/src/store/actionsmenu.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/apps/files/src/store/actionsmenu.ts b/apps/files/src/store/actionsmenu.ts
new file mode 100644
index 00000000000..b68f4998470
--- /dev/null
+++ b/apps/files/src/store/actionsmenu.ts
@@ -0,0 +1,31 @@
+/**
+ * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @license AGPL-3.0-or-later
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+/* eslint-disable */
+import { defineStore } from 'pinia'
+import Vue from 'vue'
+import type { ActionsMenuStore } from '../types'
+
+export const useActionsMenuStore = defineStore('actionsmenu', {
+ state: () => ({
+ opened: null,
+ } as ActionsMenuStore),
+})