diff options
Diffstat (limited to 'apps/files_external/lib/ResponseDefinitions.php')
-rw-r--r-- | apps/files_external/lib/ResponseDefinitions.php | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/apps/files_external/lib/ResponseDefinitions.php b/apps/files_external/lib/ResponseDefinitions.php new file mode 100644 index 00000000000..e84b985b448 --- /dev/null +++ b/apps/files_external/lib/ResponseDefinitions.php @@ -0,0 +1,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?: string[], + * applicableUsers?: 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 { +} |