feat(fonts): implement Phase 1 - Create Proxy API Client

- Created src/entities/Font/api/proxy/proxyFonts.ts
- Implemented fetchProxyFonts function with full pagination support
- Implemented fetchProxyFontById convenience function
- Added TypeScript interfaces: ProxyFontsParams, ProxyFontsResponse
- Added comprehensive JSDoc documentation
- Updated src/entities/Font/api/index.ts to export proxy API

Phase 1/7: Proxy API Integration for GlyphDiff
This commit is contained in:
Ilia Mashkov
2026-01-29 14:33:12 +03:00
parent 0b0489fa26
commit 7078cb6f8c
8 changed files with 321 additions and 19 deletions

View File

@@ -27,9 +27,10 @@ import { type SlideParams } from 'svelte/transition';
interface Props {
showFilters?: boolean;
isOpen?: boolean;
}
let { showFilters = $bindable(false) }: Props = $props();
let { showFilters = $bindable(false), isOpen = $bindable(false) }: Props = $props();
onMount(() => {
/**
@@ -68,6 +69,7 @@ function toggleFilters() {
class="w-full"
placeholder="Search fonts by name..."
bind:value={filterManager.queryValue}
bind:isOpen
>
<SuggestedFonts />
</SearchBar>