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