2023-07-13 01:20:55 -04:00
|
|
|
<?php
|
2023-11-23 04:22:34 -05:00
|
|
|
|
2023-07-13 01:20:55 -04:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
2024-05-27 11:39:07 -04:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-07-13 01:20:55 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OCA\CloudFederationAPI;
|
|
|
|
|
|
|
|
|
|
/**
|
2023-10-23 10:47:38 -04:00
|
|
|
* @psalm-type CloudFederationAPIAddShare = array{
|
2023-07-13 01:20:55 -04:00
|
|
|
* recipientDisplayName: string,
|
|
|
|
|
* }
|
|
|
|
|
*
|
2023-10-23 10:47:38 -04:00
|
|
|
* @psalm-type CloudFederationAPIError = array{
|
2023-07-13 01:20:55 -04:00
|
|
|
* message: string,
|
|
|
|
|
* }
|
|
|
|
|
*
|
2023-10-23 10:47:38 -04:00
|
|
|
* @psalm-type CloudFederationAPIValidationError = CloudFederationAPIError&array{
|
2023-07-13 01:20:55 -04:00
|
|
|
* validationErrors: array{
|
|
|
|
|
* name: string,
|
|
|
|
|
* message: string|null,
|
|
|
|
|
* }[],
|
|
|
|
|
* }
|
|
|
|
|
*/
|
|
|
|
|
class ResponseDefinitions {
|
|
|
|
|
}
|