Chore/architecture refactoring #42

Merged
ilia merged 29 commits from chore/architecture-refactoring into main 2026-05-25 08:43:07 +00:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 1573950605 - Show all commits
@@ -3,12 +3,12 @@ import { BaseQueryStore } from '$shared/lib/helpers/BaseQueryStore.svelte';
import { import {
fetchFontsByIds, fetchFontsByIds,
seedFontCache, seedFontCache,
} from '../../api/proxy/proxyFonts'; } from '../../../api/proxy/proxyFonts';
import { import {
FontNetworkError, FontNetworkError,
FontResponseError, FontResponseError,
} from '../../lib/errors/errors'; } from '../../../lib/errors/errors';
import type { UnifiedFont } from '../../model/types'; import type { UnifiedFont } from '../../types';
/** /**
* Internal fetcher that seeds the cache and handles error wrapping. * Internal fetcher that seeds the cache and handles error wrapping.
@@ -7,11 +7,11 @@ import {
it, it,
vi, vi,
} from 'vitest'; } from 'vitest';
import * as api from '../../api/proxy/proxyFonts'; import * as api from '../../../api/proxy/proxyFonts';
import { import {
FontNetworkError, FontNetworkError,
FontResponseError, FontResponseError,
} from '../../lib/errors/errors'; } from '../../../lib/errors/errors';
import { BatchFontStore } from './batchFontStore.svelte'; import { BatchFontStore } from './batchFontStore.svelte';
describe('BatchFontStore', () => { describe('BatchFontStore', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
export * from './appliedFontsStore/appliedFontsStore.svelte'; export * from './appliedFontsStore/appliedFontsStore.svelte';
// Batch font store // Batch font store
export { BatchFontStore } from './batchFontStore.svelte'; export { BatchFontStore } from './batchFontStore/batchFontStore.svelte';
// Single FontStore // Single FontStore
export { export {