aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/eventbus.d.ts
blob: cc10ff8468fba19cb4a3023853bf0648dc776327 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
import type { Folder, Node } from '@nextcloud/files'

declare module '@nextcloud/event-bus' {
	export interface NextcloudEvents {
		// mapping of 'event name' => 'event type'
		'files:list:updated': { folder: Folder, contents: Node[] }
		'files:config:updated': { key: string, value: boolean }
	}
}

export {}