Skip to content

Commit f066e1e

Browse files
committed
fix: add JSDoc @public tags to composables for knip
1 parent 68b51f6 commit f066e1e

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

app/composables/usePackageListPreferences.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { DEFAULT_COLUMNS, DEFAULT_PREFERENCES } from '#shared/types/preferences'
1414
/**
1515
* Composable for managing package list display preferences
1616
* Persists to localStorage and provides reactive state
17+
*
18+
* @public
1719
*/
1820
export function usePackageListPreferences() {
1921
const {

app/composables/usePreferencesProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ function createLocalStorageProvider<T>(key: string): StorageProvider<T> {
5656
/**
5757
* Composable for managing preferences storage
5858
* Abstracts the storage mechanism to allow future migration to API-based storage
59+
*
60+
* @public
5961
*/
6062
export function usePreferencesProvider<T>(defaultValue: T) {
6163
const provider = createLocalStorageProvider<T>(STORAGE_KEY)

app/composables/useStructuredFilters.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ function matchesSecurity(pkg: NpmSearchResult, security: SecurityFilter): boolea
132132

133133
/**
134134
* Composable for structured filtering and sorting of package lists
135+
*
136+
* @public
135137
*/
136138
export function useStructuredFilters(options: UseStructuredFiltersOptions) {
137139
const { packages, initialFilters, initialSort } = options

0 commit comments

Comments
 (0)