fix: import/export

This commit is contained in:
Ilia Mashkov
2026-01-09 16:12:51 +03:00
parent 1990860717
commit b13c0d268b
3 changed files with 20 additions and 20 deletions

View File

@@ -4,22 +4,8 @@
* Exports service functions for fetching fonts from Google Fonts and Fontshare * Exports service functions for fetching fonts from Google Fonts and Fontshare
*/ */
export { export { createGoogleFontsStore } from './model/services/fetchGoogleFonts';
cancelGoogleFontsQueries,
fetchGoogleFontsQuery,
getGoogleFontsQueryKey,
invalidateGoogleFonts,
prefetchGoogleFonts,
useGoogleFontsQuery,
} from './model/services/fetchGoogleFonts';
export type { GoogleFontsQueryParams } from './model/services/fetchGoogleFonts';
export { export { createFontshareStore } from './model/services/fetchFontshareFonts';
cancelFontshareFontsQueries,
fetchFontshareFontsQuery, export { FontSearch } from './ui';
getFontshareQueryKey,
invalidateFontshareFonts,
prefetchFontshareFonts,
useFontshareFontsQuery,
} from './model/services/fetchFontshareFonts';
export type { FontshareQueryParams } from './model/services/fetchFontshareFonts';

View File

@@ -4,9 +4,8 @@ import {
FONT_PROVIDERS, FONT_PROVIDERS,
FONT_SUBSETS, FONT_SUBSETS,
} from '../const/const'; } from '../const/const';
import type { FilterGroupConfig } from '../const/types/common';
const filtersData: FilterGroupConfig[] = [ const filtersData = [
{ {
id: 'providers', id: 'providers',
label: 'Font provider', label: 'Font provider',

View File

@@ -1,3 +1,18 @@
import SetupFontMenu from './ui/SetupFontMenu.svelte'; import SetupFontMenu from './ui/SetupFontMenu.svelte';
export {
controlManager,
DEFAULT_FONT_SIZE,
DEFAULT_FONT_WEIGHT,
DEFAULT_LINE_HEIGHT,
FONT_SIZE_STEP,
FONT_WEIGHT_STEP,
LINE_HEIGHT_STEP,
MAX_FONT_SIZE,
MAX_FONT_WEIGHT,
MAX_LINE_HEIGHT,
MIN_FONT_SIZE,
MIN_FONT_WEIGHT,
MIN_LINE_HEIGHT,
} from './model';
export { SetupFontMenu }; export { SetupFontMenu };