- Added GoogleFontItem type alias for backward compatibility - Updated normalize.ts to properly type Record<string, string> values - Fixed import paths in Font index.ts (added subdirectory paths) - Removed unused Readable import from store - Removed type exports from normalize and API index files - Updated stores index.ts to import types from parent types.ts - All tests passing (129 tests) All imports now use centralized types from model/types.ts: - API clients re-export types for backward compatibility - Normalize module imports types and exports functions - Store module imports types and exports factory - Main index.ts exports all types from model/types.ts
33 lines
658 B
TypeScript
33 lines
658 B
TypeScript
/**
|
|
* Font API clients exports
|
|
*
|
|
* Exports API clients and normalization utilities
|
|
*/
|
|
|
|
export {
|
|
fetchGoogleFontFamily,
|
|
fetchGoogleFonts,
|
|
} from './google/googleFonts';
|
|
export type {
|
|
GoogleFontItem,
|
|
GoogleFontsParams,
|
|
GoogleFontsResponse,
|
|
} from './google/googleFonts';
|
|
|
|
export {
|
|
fetchAllFontshareFonts,
|
|
fetchFontshareFontBySlug,
|
|
fetchFontshareFonts,
|
|
} from './fontshare/fontshare';
|
|
export type {
|
|
FontshareParams,
|
|
FontshareResponse,
|
|
} from './fontshare/fontshare';
|
|
|
|
export {
|
|
normalizeFontshareFont,
|
|
normalizeFontshareFonts,
|
|
normalizeGoogleFont,
|
|
normalizeGoogleFonts,
|
|
} from './normalize/normalize';
|