chore(Font): move batchFontStore to separate directory

This commit is contained in:
Ilia Mashkov
2026-05-24 13:54:15 +03:00
parent 773ab55f5c
commit 1573950605
3 changed files with 6 additions and 6 deletions
@@ -3,12 +3,12 @@ import { BaseQueryStore } from '$shared/lib/helpers/BaseQueryStore.svelte';
import {
fetchFontsByIds,
seedFontCache,
} from '../../api/proxy/proxyFonts';
} from '../../../api/proxy/proxyFonts';
import {
FontNetworkError,
FontResponseError,
} from '../../lib/errors/errors';
import type { UnifiedFont } from '../../model/types';
} from '../../../lib/errors/errors';
import type { UnifiedFont } from '../../types';
/**
* Internal fetcher that seeds the cache and handles error wrapping.
@@ -7,11 +7,11 @@ import {
it,
vi,
} from 'vitest';
import * as api from '../../api/proxy/proxyFonts';
import * as api from '../../../api/proxy/proxyFonts';
import {
FontNetworkError,
FontResponseError,
} from '../../lib/errors/errors';
} from '../../../lib/errors/errors';
import { BatchFontStore } from './batchFontStore.svelte';
describe('BatchFontStore', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
export * from './appliedFontsStore/appliedFontsStore.svelte';
// Batch font store
export { BatchFontStore } from './batchFontStore.svelte';
export { BatchFontStore } from './batchFontStore/batchFontStore.svelte';
// Single FontStore
export {