1
0

ResponseDefinitions.php 728 B

12345678910111213141516171819202122232425262728293031323334353637
  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;
  8. /**
  9. * @psalm-type FilesTemplateFile = array{
  10. * basename: string,
  11. * etag: string,
  12. * fileid: int,
  13. * filename: ?string,
  14. * lastmod: int,
  15. * mime: string,
  16. * size: int,
  17. * type: string,
  18. * hasPreview: bool,
  19. * }
  20. *
  21. * @psalm-type FilesTemplateFileCreator = array{
  22. * app: string,
  23. * label: string,
  24. * extension: string,
  25. * iconClass: ?string,
  26. * iconSvgInline: ?string,
  27. * mimetypes: string[],
  28. * ratio: ?float,
  29. * actionLabel: string,
  30. * }
  31. */
  32. class ResponseDefinitions {
  33. }