ResponseDefinitions.php 717 B

12345678910111213141516171819202122232425262728293031323334
  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\DAV;
  8. /**
  9. * @psalm-type DAVOutOfOfficeDataCommon = array{
  10. * userId: string,
  11. * message: string,
  12. * }
  13. *
  14. * @psalm-type DAVOutOfOfficeData = DAVOutOfOfficeDataCommon&array{
  15. * id: int,
  16. * firstDay: string,
  17. * lastDay: string,
  18. * status: string,
  19. * }
  20. *
  21. * @todo this is a copy of \OCP\User\IOutOfOfficeData
  22. * @psalm-type DAVCurrentOutOfOfficeData = DAVOutOfOfficeDataCommon&array{
  23. * id: string,
  24. * startDate: int,
  25. * endDate: int,
  26. * shortMessage: string,
  27. * }
  28. */
  29. class ResponseDefinitions {
  30. }