feature/fetch-fonts #14
12
src/features/GetFonts/model/types/filter.ts
Normal file
12
src/features/GetFonts/model/types/filter.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { Property } from '$shared/lib';
|
||||
|
||||
export interface FilterGroupConfig<TValue extends string> {
|
||||
id: string;
|
||||
label: string;
|
||||
properties: Property<TValue>[];
|
||||
}
|
||||
|
||||
export interface FilterConfig<TValue extends string> {
|
||||
queryValue?: string;
|
||||
groups: FilterGroupConfig<TValue>[];
|
||||
}
|
||||
Reference in New Issue
Block a user