* feat: create view from selected filters and sorts Closes #1292 * refactor: use selector to obtain table filters where query option * refactor: activate exhaustive deps eslint rule for useRecoilCallback * feat: switch to newly created view on view creation Closes #1297 * refactor: code review - use `useCallback` instead of `useRecoilCallback` - rename `useTableViews` to `useViews` - move filter-n-sort selectors to /states/selector subfolder
10 lines
183 B
TypeScript
10 lines
183 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const DELETE_VIEWS = gql`
|
|
mutation DeleteViews($where: ViewWhereInput!) {
|
|
deleteManyView(where: $where) {
|
|
count
|
|
}
|
|
}
|
|
`;
|