aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/eventbus.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/eventbus.d.ts')
-rw-r--r--core/src/eventbus.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/src/eventbus.d.ts b/core/src/eventbus.d.ts
new file mode 100644
index 00000000000..4fac9bc7841
--- /dev/null
+++ b/core/src/eventbus.d.ts
@@ -0,0 +1,14 @@
+/**
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+
+declare module '@nextcloud/event-bus' {
+ export interface NextcloudEvents {
+ // mapping of 'event name' => 'event type'
+ 'nextcloud:unified-search:reset': undefined
+ 'nextcloud:unified-search:search': { query: string }
+ }
+}
+
+export {}