2026-01-29 14:43:07 +03:00
|
|
|
// Proxy API (PRIMARY)
|
|
|
|
|
export {
|
2026-02-01 16:13:13 +03:00
|
|
|
fetchFontsByIds,
|
2026-01-29 14:43:07 +03:00
|
|
|
fetchProxyFontById,
|
|
|
|
|
fetchProxyFonts,
|
|
|
|
|
} from './api/proxy/proxyFonts';
|
|
|
|
|
export type {
|
|
|
|
|
ProxyFontsParams,
|
|
|
|
|
ProxyFontsResponse,
|
|
|
|
|
} from './api/proxy/proxyFonts';
|
|
|
|
|
|
|
|
|
|
// Fontshare API (DEPRECATED)
|
2026-01-06 14:38:55 +03:00
|
|
|
export {
|
|
|
|
|
fetchAllFontshareFonts,
|
|
|
|
|
fetchFontshareFontBySlug,
|
|
|
|
|
fetchFontshareFonts,
|
2026-01-06 15:11:16 +03:00
|
|
|
} from './api/fontshare/fontshare';
|
2026-01-06 14:38:55 +03:00
|
|
|
export type {
|
|
|
|
|
FontshareParams,
|
|
|
|
|
FontshareResponse,
|
2026-01-06 15:11:16 +03:00
|
|
|
} from './api/fontshare/fontshare';
|
2026-01-29 14:43:07 +03:00
|
|
|
|
|
|
|
|
// Google Fonts API (DEPRECATED)
|
2026-01-06 14:38:55 +03:00
|
|
|
export {
|
|
|
|
|
fetchGoogleFontFamily,
|
|
|
|
|
fetchGoogleFonts,
|
2026-01-06 15:11:16 +03:00
|
|
|
} from './api/google/googleFonts';
|
2026-01-06 14:38:55 +03:00
|
|
|
export type {
|
|
|
|
|
GoogleFontItem,
|
|
|
|
|
GoogleFontsParams,
|
|
|
|
|
GoogleFontsResponse,
|
2026-01-06 15:11:16 +03:00
|
|
|
} from './api/google/googleFonts';
|
2026-01-06 14:38:55 +03:00
|
|
|
export {
|
|
|
|
|
normalizeFontshareFont,
|
|
|
|
|
normalizeFontshareFonts,
|
|
|
|
|
normalizeGoogleFont,
|
|
|
|
|
normalizeGoogleFonts,
|
2026-01-13 20:00:36 +03:00
|
|
|
} from './lib/normalize/normalize';
|
2026-01-06 14:38:55 +03:00
|
|
|
export type {
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
// Domain types
|
|
|
|
|
FontCategory,
|
|
|
|
|
FontCollectionFilters,
|
|
|
|
|
FontCollectionSort,
|
|
|
|
|
// Store types
|
|
|
|
|
FontCollectionState,
|
2026-01-06 14:38:55 +03:00
|
|
|
FontFeatures,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
FontFiles,
|
|
|
|
|
FontItem,
|
2026-01-06 14:38:55 +03:00
|
|
|
FontMetadata,
|
2026-01-02 17:01:59 +03:00
|
|
|
FontProvider,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
// Fontshare API types
|
2026-01-02 16:11:58 +03:00
|
|
|
FontshareApiModel,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
FontshareAxis,
|
2026-01-02 16:11:58 +03:00
|
|
|
FontshareDesigner,
|
|
|
|
|
FontshareFeature,
|
|
|
|
|
FontshareFont,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
FontshareLink,
|
2026-01-02 16:11:58 +03:00
|
|
|
FontsharePublisher,
|
|
|
|
|
FontshareStyle,
|
|
|
|
|
FontshareStyleProperties,
|
|
|
|
|
FontshareTag,
|
|
|
|
|
FontshareWeight,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
FontStyleUrls,
|
|
|
|
|
FontSubset,
|
2026-01-02 17:01:59 +03:00
|
|
|
FontVariant,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
FontWeight,
|
|
|
|
|
FontWeightItalic,
|
|
|
|
|
// Google Fonts API types
|
2026-01-02 17:01:59 +03:00
|
|
|
GoogleFontsApiModel,
|
refactor(font): consolidate all types into single types.ts file
- Created unified model/types.ts with all type definitions
- Consolidated domain types (FontCategory, FontProvider, FontSubset)
- Consolidated Google Fonts API types (FontItem, GoogleFontsApiModel, etc.)
- Consolidated Fontshare API types (FontshareFont, FontshareStyle, etc.)
- Consolidated normalization types (UnifiedFont, FontStyleUrls, etc.)
- Consolidated store types (FontCollectionStore, FontCollectionFilters, etc.)
- Removed duplicate type files (font.ts, google_fonts.ts, fontshare_fonts.ts)
- Updated all imports to use consolidated types
- Updated normalize module to import from /Font
- Updated API clients to re-export types for backward compatibility
- Updated store to use centralized types
- Updated Font index.ts to export all types
Benefits:
- Centralized type definitions in single location
- Cleaner imports (single import from /Font)
- Better code organization with clear sections
- Follows FSD principles (types in model layer)
- No duplicate type definitions
2026-01-06 15:06:38 +03:00
|
|
|
// Normalization types
|
|
|
|
|
UnifiedFont,
|
|
|
|
|
UnifiedFontVariant,
|
2026-01-09 16:13:02 +03:00
|
|
|
} from './model';
|
|
|
|
|
|
2026-01-13 20:00:36 +03:00
|
|
|
export {
|
2026-01-18 14:53:14 +03:00
|
|
|
appliedFontsManager,
|
2026-01-29 14:43:07 +03:00
|
|
|
createUnifiedFontStore,
|
|
|
|
|
unifiedFontStore,
|
2026-01-13 20:00:36 +03:00
|
|
|
} from './model';
|
|
|
|
|
|
|
|
|
|
// UI elements
|
2026-01-18 14:53:14 +03:00
|
|
|
export {
|
|
|
|
|
FontApplicator,
|
|
|
|
|
FontListItem,
|
|
|
|
|
FontVirtualList,
|
|
|
|
|
} from './ui';
|