mirror of
https://github.com/nextcloud/server.git
synced 2024-12-29 00:18:42 +00:00
ec5b60af28
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
40 lines
982 B
PHP
40 lines
982 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Settings;
|
|
|
|
/**
|
|
* @psalm-type SettingsDeclarativeFormField = array{
|
|
* id: string,
|
|
* title: string,
|
|
* description?: string,
|
|
* type: 'text'|'password'|'email'|'tel'|'url'|'number'|'checkbox'|'multi-checkbox'|'radio'|'select'|'multi-select',
|
|
* placeholder?: string,
|
|
* label?: string,
|
|
* default: mixed,
|
|
* options?: list<string|array{name: string, value: mixed}>,
|
|
* value: string|int|float|bool|list<string>,
|
|
* }
|
|
*
|
|
* @psalm-type SettingsDeclarativeForm = array{
|
|
* id: string,
|
|
* priority: int,
|
|
* section_type: 'admin'|'personal',
|
|
* section_id: string,
|
|
* storage_type: 'internal'|'external',
|
|
* title: string,
|
|
* description?: string,
|
|
* doc_url?: string,
|
|
* app: string,
|
|
* fields: list<SettingsDeclarativeFormField>,
|
|
* }
|
|
*/
|
|
class ResponseDefinitions {
|
|
}
|