refactor(font): split types into separate files for better maintainability

This commit is contained in:
Ilia Mashkov
2026-01-06 15:23:08 +03:00
parent db814f0b93
commit be14a62e83
16 changed files with 847 additions and 838 deletions

View File

@@ -10,7 +10,7 @@
import type {
FontshareApiModel,
FontshareFont,
} from '$entities/Font';
} from '$entities/Font/model/types/fontshare';
import { api } from '$shared/api/api';
import { buildQueryString } from '$shared/utils';
import type { QueryParams } from '$shared/utils';
@@ -43,7 +43,7 @@ export interface FontshareParams extends QueryParams {
/**
* Fontshare API response wrapper
* Re-exported from model/types for backward compatibility
* Re-exported from model/types/fontshare for backward compatibility
*/
export type FontshareResponse = FontshareApiModel;