feature/fetch-fonts #14
@@ -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[];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user