From: Olaf Braun Date: Thu, 7 Mar 2024 15:52:55 +0000 (+0100) Subject: Add `@since 6.1` comment X-Git-Tag: 6.1.0_Alpha_1~152^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69530da72fd8eaa2de469fc914589f53c641d4a9;p=GitHub%2FWoltLab%2FWCF.git Add `@since 6.1` comment --- diff --git a/ts/WoltLabSuite/Core/Ui/User/Menu/Data/Provider.ts b/ts/WoltLabSuite/Core/Ui/User/Menu/Data/Provider.ts index 55770705d7..f391c0862a 100644 --- a/ts/WoltLabSuite/Core/Ui/User/Menu/Data/Provider.ts +++ b/ts/WoltLabSuite/Core/Ui/User/Menu/Data/Provider.ts @@ -60,6 +60,9 @@ export type UserMenuData = { usernames: string[]; }; +/** + * @since 6.1 + */ export type EventUpdateCounter = { counter: number; }; diff --git a/ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts b/ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts index 675afa386a..9eaa335d27 100644 --- a/ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts +++ b/ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts @@ -99,6 +99,9 @@ export function getUserMenuProviders(): ReadonlySet { return providers; } +/** + * @since 6.1 + */ export function updateCounter(identifier: string, counter: number) { Array.from(providers) .filter((provider) => provider.getIdentifier() === identifier) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js index 2118a9a24e..f407c2a3cd 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js @@ -79,6 +79,9 @@ define(["require", "exports", "tslib", "../../Alignment", "../../CloseOverlay", return providers; } exports.getUserMenuProviders = getUserMenuProviders; + /** + * @since 6.1 + */ function updateCounter(identifier, counter) { Array.from(providers) .filter((provider) => provider.getIdentifier() === identifier)