aboutsummaryrefslogtreecommitdiffstats
path: root/__mocks__/@nextcloud/capabilities.ts
blob: b2b337734036c1ac8c75399b9088dd47dfd449a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
import type { Capabilities } from '../../apps/files/src/types'

export const getCapabilities = (): Capabilities => {
	return {
		files: {
			bigfilechunking: true,
			blacklisted_files: [],
			forbidden_filename_basenames: [],
			forbidden_filename_characters: [],
			forbidden_filename_extensions: [],
			forbidden_filenames: [],
			undelete: true,
			version_deletion: true,
			version_labeling: true,
			versioning: true,
		},
	}
}