refactor/code-splitting #31
@@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
FontNetworkError,
|
FontNetworkError,
|
||||||
FontResponseError,
|
FontResponseError,
|
||||||
} from './index';
|
} from './errors';
|
||||||
|
|
||||||
describe('FontNetworkError', () => {
|
describe('FontNetworkError', () => {
|
||||||
it('has correct name', () => {
|
it('has correct name', () => {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
type QueryObserverOptions,
|
type QueryObserverOptions,
|
||||||
type QueryObserverResult,
|
type QueryObserverResult,
|
||||||
} from '@tanstack/query-core';
|
} from '@tanstack/query-core';
|
||||||
import type { UnifiedFont } from '../types';
|
import type { UnifiedFont } from '../../types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for font stores using TanStack Query
|
* Base class for font stores using TanStack Query
|
||||||
@@ -11,7 +11,7 @@ export {
|
|||||||
createUnifiedFontStore,
|
createUnifiedFontStore,
|
||||||
type UnifiedFontStore,
|
type UnifiedFontStore,
|
||||||
unifiedFontStore,
|
unifiedFontStore,
|
||||||
} from './unifiedFontStore.svelte';
|
} from './unifiedFontStore/unifiedFontStore.svelte';
|
||||||
|
|
||||||
// Applied fonts manager (CSS loading - unchanged)
|
// Applied fonts manager (CSS loading - unchanged)
|
||||||
export { appliedFontsManager } from './appliedFontsStore/appliedFontsStore.svelte';
|
export { appliedFontsManager } from './appliedFontsStore/appliedFontsStore.svelte';
|
||||||
|
|||||||
@@ -13,10 +13,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import type { QueryObserverOptions } from '@tanstack/query-core';
|
import type { QueryObserverOptions } from '@tanstack/query-core';
|
||||||
import type { ProxyFontsParams } from '../../api';
|
import type { ProxyFontsParams } from '../../../api';
|
||||||
import { fetchProxyFonts } from '../../api';
|
import { fetchProxyFonts } from '../../../api';
|
||||||
import type { UnifiedFont } from '../types';
|
import type { UnifiedFont } from '../../types';
|
||||||
import { BaseFontStore } from './baseFontStore.svelte';
|
import { BaseFontStore } from '../baseFontStore/baseFontStore.svelte';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unified font store wrapping TanStack Query with Svelte 5 runes
|
* Unified font store wrapping TanStack Query with Svelte 5 runes
|
||||||
Reference in New Issue
Block a user