ResponseDefinitions.php 798 B

123456789101112131415161718192021222324252627282930313233343536
  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. * replacementUserId: ?string,
  13. * replacementUserDisplayName: ?string,
  14. * }
  15. *
  16. * @psalm-type DAVOutOfOfficeData = DAVOutOfOfficeDataCommon&array{
  17. * id: int,
  18. * firstDay: string,
  19. * lastDay: string,
  20. * status: string,
  21. * }
  22. *
  23. * @todo this is a copy of \OCP\User\IOutOfOfficeData
  24. * @psalm-type DAVCurrentOutOfOfficeData = DAVOutOfOfficeDataCommon&array{
  25. * id: string,
  26. * startDate: int,
  27. * endDate: int,
  28. * shortMessage: string,
  29. * }
  30. */
  31. class ResponseDefinitions {
  32. }