chore: create index files for better import/export api
This commit is contained in:
4
src/entities/Font/lib/index.ts
Normal file
4
src/entities/Font/lib/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export {
|
||||
createFontCollection,
|
||||
type FontCollectionStore,
|
||||
} from './helpers/createFontCollection.svelte';
|
||||
38
src/entities/Font/model/index.ts
Normal file
38
src/entities/Font/model/index.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
export { fontCollection } from './store/fontCollection.svelte';
|
||||
|
||||
export type {
|
||||
// Domain types
|
||||
FontCategory,
|
||||
FontCollectionFilters,
|
||||
FontCollectionSort,
|
||||
// Store types
|
||||
FontCollectionState,
|
||||
FontCollectionStore,
|
||||
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 './types';
|
||||
3
src/features/FetchFonts/ui/index.ts
Normal file
3
src/features/FetchFonts/ui/index.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import FontSearch from './FontSearch/FontSearch.svelte';
|
||||
|
||||
export { FontSearch };
|
||||
1
src/features/SetupFont/lib/index.ts
Normal file
1
src/features/SetupFont/lib/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { createTypographyControlManager } from './controlManager/controlManager.svelte';
|
||||
16
src/features/SetupFont/model/index.ts
Normal file
16
src/features/SetupFont/model/index.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export {
|
||||
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 './const/const';
|
||||
|
||||
export { controlManager } from './state/manager.svelte';
|
||||
Reference in New Issue
Block a user