chore: import/export fixes due to code move
This commit is contained in:
1
src/app/providers/index.ts
Normal file
1
src/app/providers/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { default as QueryProvider } from './QueryProvider.svelte';
|
||||
@@ -23,10 +23,3 @@ export type {
|
||||
FontshareParams,
|
||||
FontshareResponse,
|
||||
} from './fontshare/fontshare';
|
||||
|
||||
export {
|
||||
normalizeFontshareFont,
|
||||
normalizeFontshareFonts,
|
||||
normalizeGoogleFont,
|
||||
normalizeGoogleFonts,
|
||||
} from './normalize/normalize';
|
||||
|
||||
@@ -21,7 +21,7 @@ export {
|
||||
normalizeFontshareFonts,
|
||||
normalizeGoogleFont,
|
||||
normalizeGoogleFonts,
|
||||
} from './api/normalize/normalize';
|
||||
} from './lib/normalize/normalize';
|
||||
export type {
|
||||
// Domain types
|
||||
FontCategory,
|
||||
@@ -43,6 +43,7 @@ export type {
|
||||
FontshareFont,
|
||||
FontshareLink,
|
||||
FontsharePublisher,
|
||||
FontshareStore,
|
||||
FontshareStyle,
|
||||
FontshareStyleProperties,
|
||||
FontshareTag,
|
||||
@@ -59,4 +60,17 @@ export type {
|
||||
UnifiedFontVariant,
|
||||
} 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';
|
||||
|
||||
@@ -1,18 +1,6 @@
|
||||
export {
|
||||
createFontCollection,
|
||||
type FontCollectionStore,
|
||||
} from './helpers/createFontCollection.svelte';
|
||||
|
||||
export {
|
||||
filterFonts,
|
||||
sortFonts,
|
||||
} from './filterUtils';
|
||||
|
||||
export {
|
||||
filterValidValues,
|
||||
isValidFontCategory,
|
||||
isValidFontFilters,
|
||||
isValidFontProvider,
|
||||
isValidFontSubset,
|
||||
validateFilterValues,
|
||||
} from './typeGuards';
|
||||
normalizeFontshareFont,
|
||||
normalizeFontshareFonts,
|
||||
normalizeGoogleFont,
|
||||
normalizeGoogleFonts,
|
||||
} from './normalize/normalize';
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
export { fontCollection } from './store/fontCollection.svelte';
|
||||
|
||||
export type {
|
||||
// Domain types
|
||||
FontCategory,
|
||||
@@ -36,3 +34,11 @@ export type {
|
||||
UnifiedFont,
|
||||
UnifiedFontVariant,
|
||||
} from './types';
|
||||
|
||||
export { fetchFontshareFontsQuery } from './services';
|
||||
|
||||
export {
|
||||
createFontshareStore,
|
||||
type FontshareStore,
|
||||
fontshareStore,
|
||||
} from './store';
|
||||
|
||||
2
src/entities/Font/model/services/index.ts
Normal file
2
src/entities/Font/model/services/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { fetchFontshareFontsQuery } from './fetchFontshareFonts.svelte';
|
||||
export { fetchGoogleFontsQuery } from './fetchGoogleFonts.svelte';
|
||||
19
src/entities/Font/model/store/index.ts
Normal file
19
src/entities/Font/model/store/index.ts
Normal 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';
|
||||
3
src/entities/Font/ui/index.ts
Normal file
3
src/entities/Font/ui/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import FontList from './FontList/FontList.svelte';
|
||||
|
||||
export { FontList };
|
||||
@@ -18,3 +18,5 @@ export {
|
||||
type Virtualizer,
|
||||
type VirtualizerOptions,
|
||||
} from './createVirtualizer/createVirtualizer.svelte';
|
||||
|
||||
export { createDebouncedState } from './createDebouncedState/createDebouncedState.svelte';
|
||||
|
||||
@@ -6,10 +6,12 @@
|
||||
|
||||
import CheckboxFilter from './CheckboxFilter/CheckboxFilter.svelte';
|
||||
import ComboControl from './ComboControl/ComboControl.svelte';
|
||||
import SearchBar from './SearchBar/SearchBar.svelte';
|
||||
import VirtualList from './VirtualList/VirtualList.svelte';
|
||||
|
||||
export {
|
||||
CheckboxFilter,
|
||||
ComboControl,
|
||||
SearchBar,
|
||||
VirtualList,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user