Add `@since 6.1` comment
authorOlaf Braun <info@braun-development.de>
Thu, 7 Mar 2024 15:52:55 +0000 (16:52 +0100)
committerOlaf Braun <info@braun-development.de>
Thu, 7 Mar 2024 15:52:55 +0000 (16:52 +0100)
ts/WoltLabSuite/Core/Ui/User/Menu/Data/Provider.ts
ts/WoltLabSuite/Core/Ui/User/Menu/Manager.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/User/Menu/Manager.js

index 55770705d7f1b688319c1e43350b1ce331f6fe2e..f391c0862af573124ab035b1946e893d8104bd1c 100644 (file)
@@ -60,6 +60,9 @@ export type UserMenuData = {
   usernames: string[];
 };
 
+/**
+ * @since 6.1
+ */
 export type EventUpdateCounter = {
   counter: number;
 };
index 675afa386aa765a61e49504559caf61988872519..9eaa335d274589972b6553f9a59cea59de9cf800 100644 (file)
@@ -99,6 +99,9 @@ export function getUserMenuProviders(): ReadonlySet<UserMenuProvider> {
   return providers;
 }
 
+/**
+ * @since 6.1
+ */
 export function updateCounter(identifier: string, counter: number) {
   Array.from(providers)
     .filter((provider) => provider.getIdentifier() === identifier)
index 2118a9a24e24a661c5e9cc2cf7fb945ac8c2a606..f407c2a3cd50aa2da371747185d38269c2063cd8 100644 (file)
@@ -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)