aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/ResponseDefinitions.php
blob: 26a0965f1fc2c4665908687d190aff70f6c27e04 (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
37
38
39
40
41
42
<?php

declare(strict_types=1);

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

namespace OCA\Files_External;

/**
 * @psalm-type Files_ExternalStorageConfig = array{
 *     applicableGroups?: list<string>,
 *     applicableUsers?: list<string>,
 *     authMechanism: string,
 *     backend: string,
 *     backendOptions: array<string, mixed>,
 *     id?: int,
 *     mountOptions?: array<string, mixed>,
 *     mountPoint: string,
 *     priority?: int,
 *     status?: int,
 *     statusMessage?: string,
 *     type: 'personal'|'system',
 *     userProvided: bool,
 * }
 *
 * @psalm-type Files_ExternalMount = array{
 *     name: string,
 *     path: string,
 *     type: 'dir',
 *     backend: string,
 *     scope: 'system'|'personal',
 *     permissions: int,
 *     id: int,
 *     class: string,
 *     config: Files_ExternalStorageConfig,
 * }
 */
class ResponseDefinitions {
}