fix(types): resolve import path and type issues after consolidation
- 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
This commit is contained in:
@@ -2,20 +2,20 @@ export {
|
||||
fetchAllFontshareFonts,
|
||||
fetchFontshareFontBySlug,
|
||||
fetchFontshareFonts,
|
||||
} from './api/fontshare';
|
||||
} from './api/fontshare/fontshare';
|
||||
export type {
|
||||
FontshareParams,
|
||||
FontshareResponse,
|
||||
} from './api/fontshare';
|
||||
} from './api/fontshare/fontshare';
|
||||
export {
|
||||
fetchGoogleFontFamily,
|
||||
fetchGoogleFonts,
|
||||
} from './api/googleFonts';
|
||||
} from './api/google/googleFonts';
|
||||
export type {
|
||||
GoogleFontItem,
|
||||
GoogleFontsParams,
|
||||
GoogleFontsResponse,
|
||||
} from './api/googleFonts';
|
||||
} from './api/google/googleFonts';
|
||||
export {
|
||||
normalizeFontshareFont,
|
||||
normalizeFontshareFonts,
|
||||
|
||||
Reference in New Issue
Block a user