feature/fetch-fonts #14

Merged
ilia merged 76 commits from feature/fetch-fonts into main 2026-01-14 11:01:44 +00:00
Showing only changes of commit 7630802363 - Show all commits

View File

@@ -7,6 +7,7 @@
import type { import type {
FontCategory, FontCategory,
FontProvider, FontProvider,
FontSubset,
} from './common'; } from './common';
import type { UnifiedFont } from './normalize'; import type { UnifiedFont } from './normalize';
@@ -27,13 +28,13 @@ export interface FontCollectionState {
*/ */
export interface FontCollectionFilters { export interface FontCollectionFilters {
/** Search query */ /** Search query */
searchQuery?: string; searchQuery: string;
/** Filter by provider */ /** Filter by providers */
provider?: FontProvider; providers?: FontProvider[];
/** Filter by category */ /** Filter by categories */
category?: FontCategory; categories?: FontCategory[];
/** Filter by subsets */ /** Filter by subsets */
subsets?: string[]; subsets?: FontSubset[];
} }
/** /**