aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/ResponseDefinitions.php
blob: 467c9a7b8bbae6355c9405112e778fd5206397bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

namespace OCA\DAV;

/**
 * @psalm-type DAVOutOfOfficeDataCommon = array{
 *      userId: string,
 *      message: string,
 *      replacementUserId: string,
 *      replacementUserDisplayName: string,
 *  }
 *
 * @psalm-type DAVOutOfOfficeData = DAVOutOfOfficeDataCommon&array{
 *     id: int,
 *     firstDay: string,
 *     lastDay: string,
 *     status: string,
 * }
 *
 * @todo this is a copy of \OCP\User\IOutOfOfficeData
 * @psalm-type DAVCurrentOutOfOfficeData = DAVOutOfOfficeDataCommon&array{
 *     id: string,
 *     startDate: int,
 *     endDate: int,
 *     shortMessage: string,
 * }
 */
class ResponseDefinitions {
}