ResponseDefinitions.php 970 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\Files_External;
  8. /**
  9. * @psalm-type Files_ExternalStorageConfig = array{
  10. * applicableGroups?: list<string>,
  11. * applicableUsers?: list<string>,
  12. * authMechanism: string,
  13. * backend: string,
  14. * backendOptions: array<string, mixed>,
  15. * id?: int,
  16. * mountOptions?: array<string, mixed>,
  17. * mountPoint: string,
  18. * priority?: int,
  19. * status?: int,
  20. * statusMessage?: string,
  21. * type: 'personal'|'system',
  22. * userProvided: bool,
  23. * }
  24. *
  25. * @psalm-type Files_ExternalMount = array{
  26. * name: string,
  27. * path: string,
  28. * type: 'dir',
  29. * backend: string,
  30. * scope: 'system'|'personal',
  31. * permissions: int,
  32. * id: int,
  33. * class: string,
  34. * config: Files_ExternalStorageConfig,
  35. * }
  36. */
  37. class ResponseDefinitions {
  38. }