From ec488cf1ce4bd7fd460d86c7350f4cf8bb8e22a8 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Wed, 3 Jun 2026 10:26:00 +0300 Subject: [PATCH] docs(ComparisonView): document the injected store fields #fontCatalog / #typography / #lifecycle lacked the per-field doc the rest of the class uses. --- .../model/stores/comparisonStore.svelte.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/widgets/ComparisonView/model/stores/comparisonStore.svelte.ts b/src/widgets/ComparisonView/model/stores/comparisonStore.svelte.ts index 546e221..04967ad 100644 --- a/src/widgets/ComparisonView/model/stores/comparisonStore.svelte.ts +++ b/src/widgets/ComparisonView/model/stores/comparisonStore.svelte.ts @@ -97,11 +97,17 @@ export class ComparisonStore { * TanStack Query-backed store for efficient batch font retrieval */ #fontsByIdsStore: FontsByIdsStore; - + /** + * Paginated font catalog — source of fonts for default seeding. + */ #fontCatalog: FontCatalogStore; - + /** + * Typography settings applied to the rendered comparison. + */ #typography: TypographySettingsStore; - + /** + * Font load/cache/eviction manager; pinned to keep compared fonts resident. + */ #lifecycle: FontLifecycleManager; /** * Per-instance persistent storage for the selected comparison fonts.