ResponseDefinitions.php 639 B

123456789101112131415161718192021222324252627282930
  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\CloudFederationAPI;
  8. /**
  9. * @psalm-type CloudFederationAPIAddShare = array{
  10. * recipientDisplayName: string,
  11. * recipientUserId?: string,
  12. * }
  13. *
  14. * @psalm-type CloudFederationAPIError = array{
  15. * message: string,
  16. * }
  17. *
  18. * @psalm-type CloudFederationAPIValidationError = CloudFederationAPIError&array{
  19. * validationErrors: list<array{
  20. * name: string,
  21. * message: string|null,
  22. * }>,
  23. * }
  24. */
  25. class ResponseDefinitions {
  26. }