chore: import/export fixes due to code move

This commit is contained in:
Ilia Mashkov
2026-01-13 20:00:36 +03:00
parent 99d4b4e29a
commit 91451f7886
10 changed files with 58 additions and 28 deletions

View File

@@ -0,0 +1 @@
export { default as QueryProvider } from './QueryProvider.svelte';

View File

@@ -23,10 +23,3 @@ export type {
FontshareParams, FontshareParams,
FontshareResponse, FontshareResponse,
} from './fontshare/fontshare'; } from './fontshare/fontshare';
export {
normalizeFontshareFont,
normalizeFontshareFonts,
normalizeGoogleFont,
normalizeGoogleFonts,
} from './normalize/normalize';

View File

@@ -21,7 +21,7 @@ export {
normalizeFontshareFonts, normalizeFontshareFonts,
normalizeGoogleFont, normalizeGoogleFont,
normalizeGoogleFonts, normalizeGoogleFonts,
} from './api/normalize/normalize'; } from './lib/normalize/normalize';
export type { export type {
// Domain types // Domain types
FontCategory, FontCategory,
@@ -43,6 +43,7 @@ export type {
FontshareFont, FontshareFont,
FontshareLink, FontshareLink,
FontsharePublisher, FontsharePublisher,
FontshareStore,
FontshareStyle, FontshareStyle,
FontshareStyleProperties, FontshareStyleProperties,
FontshareTag, FontshareTag,
@@ -59,4 +60,17 @@ export type {
UnifiedFontVariant, UnifiedFontVariant,
} from './model'; } from './model';
export { fontCollection } from './model'; export {
createFontshareStore,
fetchFontshareFontsQuery,
fontshareStore,
} from './model';
// Stores
export {
createGoogleFontsStore,
GoogleFontsStore,
} from './model/services/fetchGoogleFonts.svelte';
// UI elements
export { FontList } from './ui';

View File

@@ -1,18 +1,6 @@
export { export {
createFontCollection, normalizeFontshareFont,
type FontCollectionStore, normalizeFontshareFonts,
} from './helpers/createFontCollection.svelte'; normalizeGoogleFont,
normalizeGoogleFonts,
export { } from './normalize/normalize';
filterFonts,
sortFonts,
} from './filterUtils';
export {
filterValidValues,
isValidFontCategory,
isValidFontFilters,
isValidFontProvider,
isValidFontSubset,
validateFilterValues,
} from './typeGuards';

View File

@@ -1,5 +1,3 @@
export { fontCollection } from './store/fontCollection.svelte';
export type { export type {
// Domain types // Domain types
FontCategory, FontCategory,
@@ -36,3 +34,11 @@ export type {
UnifiedFont, UnifiedFont,
UnifiedFontVariant, UnifiedFontVariant,
} from './types'; } from './types';
export { fetchFontshareFontsQuery } from './services';
export {
createFontshareStore,
type FontshareStore,
fontshareStore,
} from './store';

View File

@@ -0,0 +1,2 @@
export { fetchFontshareFontsQuery } from './fetchFontshareFonts.svelte';
export { fetchGoogleFontsQuery } from './fetchGoogleFonts.svelte';

View File

@@ -0,0 +1,19 @@
/**
* ============================================================================
* UNIFIED FONT STORE EXPORTS
* ============================================================================
*
* Single export point for the unified font store infrastructure.
*/
// export {
// createUnifiedFontStore,
// UNIFIED_FONT_STORE_KEY,
// type UnifiedFontStore,
// } from './unifiedFontStore.svelte';
export {
createFontshareStore,
type FontshareStore,
fontshareStore,
} from './fontshareStore.svelte';

View File

@@ -0,0 +1,3 @@
import FontList from './FontList/FontList.svelte';
export { FontList };

View File

@@ -18,3 +18,5 @@ export {
type Virtualizer, type Virtualizer,
type VirtualizerOptions, type VirtualizerOptions,
} from './createVirtualizer/createVirtualizer.svelte'; } from './createVirtualizer/createVirtualizer.svelte';
export { createDebouncedState } from './createDebouncedState/createDebouncedState.svelte';

View File

@@ -6,10 +6,12 @@
import CheckboxFilter from './CheckboxFilter/CheckboxFilter.svelte'; import CheckboxFilter from './CheckboxFilter/CheckboxFilter.svelte';
import ComboControl from './ComboControl/ComboControl.svelte'; import ComboControl from './ComboControl/ComboControl.svelte';
import SearchBar from './SearchBar/SearchBar.svelte';
import VirtualList from './VirtualList/VirtualList.svelte'; import VirtualList from './VirtualList/VirtualList.svelte';
export { export {
CheckboxFilter, CheckboxFilter,
ComboControl, ComboControl,
SearchBar,
VirtualList, VirtualList,
}; };