diff options
Diffstat (limited to 'lib/public/Capabilities/IInitialStateExcludedCapability.php')
-rw-r--r-- | lib/public/Capabilities/IInitialStateExcludedCapability.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/public/Capabilities/IInitialStateExcludedCapability.php b/lib/public/Capabilities/IInitialStateExcludedCapability.php new file mode 100644 index 00000000000..d11c9f08768 --- /dev/null +++ b/lib/public/Capabilities/IInitialStateExcludedCapability.php @@ -0,0 +1,19 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCP\Capabilities; + +/** + * Indicate that a capability should not be injected in the initial state + * of the page as it might be expensive to query and not useful for the + * webui. + * + * @since 24.0.0 + */ +interface IInitialStateExcludedCapability { +} |