Remove hasura and hasura-auth (#134)

* Remove hasura and hasura-auth

* Move all models to prisma

* Start implementing graphql

* chore: clean package json

* chore: make the code build

* chore: get initial graphql.tsx file

* feature: use typegql as qgl server

* refactor: small refactoring

* refactor: clean tests

* bugfix: make all filters not case sensitive

* chore: remove unused imports

---------

Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
This commit is contained in:
Charles Bochet
2023-05-24 17:20:15 +02:00
committed by GitHub
parent 7192457d0a
commit 5d06398d2e
177 changed files with 12215 additions and 7040 deletions

View File

@ -5,7 +5,7 @@ import {
TbMapPin,
TbSum,
} from 'react-icons/tb';
import { Companies_Order_By } from '../../generated/graphql';
import { CompanyOrderByWithRelationInput as Companies_Order_By } from '../../generated/graphql';
import { SortType } from '../../interfaces/sorts/interface';
export const availableSorts = [
@ -22,7 +22,7 @@ export const availableSorts = [
_type: 'default_sort',
},
{
key: 'domain_name',
key: 'domainName',
label: 'Url',
icon: <TbLink size={16} />,
_type: 'default_sort',
@ -34,7 +34,7 @@ export const availableSorts = [
_type: 'default_sort',
},
{
key: 'created_at',
key: 'createdAt',
label: 'Creation',
icon: <TbCalendar size={16} />,
_type: 'default_sort',