2023-06-14 14:28:26 +00:00
|
|
|
<?php
|
2023-11-23 09:22:34 +00:00
|
|
|
|
2023-06-14 14:28:26 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
/**
|
2024-06-06 07:55:47 +00:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-06-14 14:28:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace OCA\Files_External;
|
|
|
|
|
|
|
|
/**
|
2023-10-23 14:47:38 +00:00
|
|
|
* @psalm-type Files_ExternalStorageConfig = array{
|
2024-09-24 13:53:13 +00:00
|
|
|
* applicableGroups?: list<string>,
|
|
|
|
* applicableUsers?: list<string>,
|
2023-08-04 14:31:37 +00:00
|
|
|
* 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,
|
|
|
|
* }
|
|
|
|
*
|
2023-10-23 14:47:38 +00:00
|
|
|
* @psalm-type Files_ExternalMount = array{
|
2023-06-14 14:28:26 +00:00
|
|
|
* name: string,
|
|
|
|
* path: string,
|
|
|
|
* type: 'dir',
|
|
|
|
* backend: string,
|
|
|
|
* scope: 'system'|'personal',
|
|
|
|
* permissions: int,
|
|
|
|
* id: int,
|
|
|
|
* class: string,
|
2023-10-23 14:47:38 +00:00
|
|
|
* config: Files_ExternalStorageConfig,
|
2023-06-14 14:28:26 +00:00
|
|
|
* }
|
|
|
|
*/
|
|
|
|
class ResponseDefinitions {
|
|
|
|
}
|