mirror of
https://github.com/nextcloud/server.git
synced 2026-10-18 05:49:26 +02:00
19 lines
559 B
TypeScript
19 lines
559 B
TypeScript
/**
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import type { INavigationEntry } from './types/navigation.d.ts'
|
|
|
|
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 }
|
|
'nextcloud:app-menu.refresh': { apps: INavigationEntry[] }
|
|
'core:navigation:action': INavigationEntry & { type: 'action' }
|
|
}
|
|
}
|
|
|
|
export {}
|