Chore/architecture refactoring #42
+3
-3
@@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* ```ts
|
* ```ts
|
||||||
* import { availableFilterStore } from '$features/GetFonts';
|
* import { availableFilterStore } from '$features/FilterAndSortFonts';
|
||||||
*
|
*
|
||||||
* // Access filters (reactive)
|
* // Access filters (reactive)
|
||||||
* $: filters = availableFilterStore.filters;
|
* $: filters = availableFilterStore.filters;
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { fetchProxyFilters } from '$features/GetFonts/api/filters/filters';
|
import { fetchProxyFilters } from '$features/FilterAndSortFonts/api/filters/filters';
|
||||||
import type { FilterMetadata } from '$features/GetFonts/api/filters/filters';
|
import type { FilterMetadata } from '$features/FilterAndSortFonts/api/filters/filters';
|
||||||
import { queryClient } from '$shared/api/queryClient';
|
import { queryClient } from '$shared/api/queryClient';
|
||||||
import {
|
import {
|
||||||
type QueryKey,
|
type QueryKey,
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
appliedFilterStore,
|
appliedFilterStore,
|
||||||
availableFilterStore,
|
availableFilterStore,
|
||||||
} from '$features/GetFonts';
|
} from '$features/FilterAndSortFonts';
|
||||||
import {
|
import {
|
||||||
render,
|
render,
|
||||||
screen,
|
screen,
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
<!--
|
<!--
|
||||||
Component: Search
|
Component: Search
|
||||||
Typeface search input for the comparison view.
|
Typeface search input for the comparison view.
|
||||||
Writes through appliedFilterStore; the global bridge in $features/GetFonts
|
Writes through appliedFilterStore; the global bridge in $features/FilterAndSortFonts
|
||||||
propagates the value into fontStore.
|
propagates the value into fontStore.
|
||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { appliedFilterStore } from '$features/GetFonts';
|
import { appliedFilterStore } from '$features/FilterAndSortFonts';
|
||||||
import { SearchBar } from '$shared/ui';
|
import { SearchBar } from '$shared/ui';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { appliedFilterStore } from '$features/GetFonts';
|
import { appliedFilterStore } from '$features/FilterAndSortFonts';
|
||||||
import {
|
import {
|
||||||
render,
|
render,
|
||||||
screen,
|
screen,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
FilterControls,
|
FilterControls,
|
||||||
Filters,
|
Filters,
|
||||||
appliedFilterStore,
|
appliedFilterStore,
|
||||||
} from '$features/GetFonts';
|
} from '$features/FilterAndSortFonts';
|
||||||
import { springySlideFade } from '$shared/lib';
|
import { springySlideFade } from '$shared/lib';
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
|
|||||||
Reference in New Issue
Block a user