87 lines
1.8 KiB
TypeScript
87 lines
1.8 KiB
TypeScript
// Proxy API (PRIMARY)
|
|
export {
|
|
fetchFontsByIds,
|
|
fetchProxyFontById,
|
|
fetchProxyFonts,
|
|
} from './api/proxy/proxyFonts';
|
|
export type {
|
|
ProxyFontsParams,
|
|
ProxyFontsResponse,
|
|
} from './api/proxy/proxyFonts';
|
|
|
|
// Fontshare API (DEPRECATED)
|
|
export {
|
|
fetchAllFontshareFonts,
|
|
fetchFontshareFontBySlug,
|
|
fetchFontshareFonts,
|
|
} from './api/fontshare/fontshare';
|
|
export type {
|
|
FontshareParams,
|
|
FontshareResponse,
|
|
} from './api/fontshare/fontshare';
|
|
|
|
// Google Fonts API (DEPRECATED)
|
|
export {
|
|
fetchGoogleFontFamily,
|
|
fetchGoogleFonts,
|
|
} from './api/google/googleFonts';
|
|
export type {
|
|
GoogleFontItem,
|
|
GoogleFontsParams,
|
|
GoogleFontsResponse,
|
|
} from './api/google/googleFonts';
|
|
export {
|
|
normalizeFontshareFont,
|
|
normalizeFontshareFonts,
|
|
normalizeGoogleFont,
|
|
normalizeGoogleFonts,
|
|
} from './lib/normalize/normalize';
|
|
export type {
|
|
// Domain types
|
|
FontCategory,
|
|
FontCollectionFilters,
|
|
FontCollectionSort,
|
|
// Store types
|
|
FontCollectionState,
|
|
FontFeatures,
|
|
FontFiles,
|
|
FontItem,
|
|
FontMetadata,
|
|
FontProvider,
|
|
// Fontshare API types
|
|
FontshareApiModel,
|
|
FontshareAxis,
|
|
FontshareDesigner,
|
|
FontshareFeature,
|
|
FontshareFont,
|
|
FontshareLink,
|
|
FontsharePublisher,
|
|
FontshareStyle,
|
|
FontshareStyleProperties,
|
|
FontshareTag,
|
|
FontshareWeight,
|
|
FontStyleUrls,
|
|
FontSubset,
|
|
FontVariant,
|
|
FontWeight,
|
|
FontWeightItalic,
|
|
// Google Fonts API types
|
|
GoogleFontsApiModel,
|
|
// Normalization types
|
|
UnifiedFont,
|
|
UnifiedFontVariant,
|
|
} from './model';
|
|
|
|
export {
|
|
appliedFontsManager,
|
|
createUnifiedFontStore,
|
|
unifiedFontStore,
|
|
} from './model';
|
|
|
|
// UI elements
|
|
export {
|
|
FontApplicator,
|
|
FontListItem,
|
|
FontVirtualList,
|
|
} from './ui';
|