From e35f3dc7917bee174a1f27bacffc2935a518e8e9 Mon Sep 17 00:00:00 2001 From: "Jose A. Cabaneros" Date: Wed, 15 May 2024 18:43:28 +0200 Subject: [PATCH] fix(use-debounce): missing release tag doc EMP-4087 --- packages/x-components/src/composables/use-debounce.ts | 1 + packages/x-components/src/composables/use-getter.ts | 1 - packages/x-components/src/composables/use-x-bus.ts | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/x-components/src/composables/use-debounce.ts b/packages/x-components/src/composables/use-debounce.ts index 9f599538f3..b82f55d519 100644 --- a/packages/x-components/src/composables/use-debounce.ts +++ b/packages/x-components/src/composables/use-debounce.ts @@ -10,6 +10,7 @@ import { DebounceOptions } from '../utils/types'; * @param debounceTimeInMs - Time of debounce in ms. * @param debounceOptions - The options for the debounce strategy. * @returns Debounced function obtained from `fn` parameter. + * @public */ export function useDebounce( fn: (...args: Params) => void, diff --git a/packages/x-components/src/composables/use-getter.ts b/packages/x-components/src/composables/use-getter.ts index b7099f80fc..de2a914098 100644 --- a/packages/x-components/src/composables/use-getter.ts +++ b/packages/x-components/src/composables/use-getter.ts @@ -10,7 +10,6 @@ import { useStore } from './use-store'; * @param module - The {@link XModuleName} of the getter. * @param getters - List of getters names. * @returns The requested getters from the module. - * * @public */ export function useGetter< diff --git a/packages/x-components/src/composables/use-x-bus.ts b/packages/x-components/src/composables/use-x-bus.ts index 10b51e26c1..a309796617 100644 --- a/packages/x-components/src/composables/use-x-bus.ts +++ b/packages/x-components/src/composables/use-x-bus.ts @@ -17,6 +17,7 @@ import { bus as xBus } from '../plugins/x-bus'; * by the `XPlugin` if it was not instantiated and uses the default `xBus` as fallback. * * @returns An object with the `on` and `emit` functions. + * @public */ export function useXBus(): UseXBusAPI { const injectedLocation = inject | FeatureLocation>('location', 'none'); @@ -87,6 +88,11 @@ interface PrivateExtendedVueComponent extends Vue { xComponent?: Vue | undefined; } +/**. + * UseXBus API interface + * + * @public + */ export interface UseXBusAPI { /* eslint-disable jsdoc/require-description-complete-sentence */ /** {@inheritDoc XBus.(on:1)} */