1
0

capabilities.ts 563 B

12345678910111213141516171819202122
  1. /**
  2. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. import type { Capabilities } from '../../apps/files/src/types'
  6. export const getCapabilities = (): Capabilities => {
  7. return {
  8. files: {
  9. bigfilechunking: true,
  10. blacklisted_files: [],
  11. forbidden_filename_basenames: [],
  12. forbidden_filename_characters: [],
  13. forbidden_filename_extensions: [],
  14. forbidden_filenames: [],
  15. undelete: true,
  16. version_deletion: true,
  17. version_labeling: true,
  18. versioning: true,
  19. },
  20. }
  21. }