From a9cdd157876795a3a3a3b19395e3352790430f53 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Tue, 13 Jan 2026 20:10:20 +0300 Subject: [PATCH] feat(GetFonts): separated types for filters --- src/features/GetFonts/model/types/filter.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/features/GetFonts/model/types/filter.ts diff --git a/src/features/GetFonts/model/types/filter.ts b/src/features/GetFonts/model/types/filter.ts new file mode 100644 index 0000000..41f3193 --- /dev/null +++ b/src/features/GetFonts/model/types/filter.ts @@ -0,0 +1,12 @@ +import type { Property } from '$shared/lib'; + +export interface FilterGroupConfig { + id: string; + label: string; + properties: Property[]; +} + +export interface FilterConfig { + queryValue?: string; + groups: FilterGroupConfig[]; +}