Move code to a lib, remove table dependancy (#606)

* Move code to a lib, remove table dependancy

* Abstract yable context from filters

* Update missing hook

* Remove wording of active filter, simplify naming for edited filters

* lint
This commit is contained in:
Emilien Chauvet
2023-07-11 17:05:08 -07:00
committed by GitHub
parent 4150a7bb51
commit e8d77833a7
59 changed files with 262 additions and 298 deletions

View File

@ -1,4 +1,4 @@
import { reduceSortsToOrderBy } from '@/filters-and-sorts/helpers';
import { reduceSortsToOrderBy } from '@/lib/filters-and-sorts/helpers';
import { PeopleSelectedSortType } from '../select';

View File

@ -1,6 +1,6 @@
import { gql } from '@apollo/client';
import { SelectedSortType } from '@/filters-and-sorts/interfaces/sorts/interface';
import { SelectedSortType } from '@/lib/filters-and-sorts/interfaces/sorts/interface';
import {
PersonOrderByWithRelationInput as People_Order_By,
PersonWhereInput as People_Bool_Exp,