From 69530da72fd8eaa2de469fc914589f53c641d4a9 Mon Sep 17 00:00:00 2001 From: Olaf Braun Date: Thu, 7 Mar 2024 16:52:55 +0100 Subject: [PATCH] Add `@since 6.1` comment --- ts/WoltLabSuite/Core/Ui/User/Menu/Data/Provider.ts | 3 +++ ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts | 3 +++ .../install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js | 3 +++ 3 files changed, 9 insertions(+) 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) -- 2.20.1