Commit Graph

16 Commits

Author SHA1 Message Date
97274db8b4 Expose pipeline and pipelinestage in graphql (#185) 2023-06-02 14:39:34 +02:00
f23bbb9a68 Rename pipeline schema (#184) 2023-06-02 12:39:58 +02:00
0609994477 Implement comment count on person and company (#183) 2023-06-02 12:35:20 +02:00
2395f791c8 Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema

* Add pipe models and migrations

* Add seeds

* Update FE graphql schema
2023-06-02 11:20:21 +02:00
0881c098f0 Fix user workspace not returned 2023-05-31 18:40:08 +02:00
e3402cc753 Two minor fixes on be (#168) 2023-05-31 18:33:26 +02:00
a3a3c1924f Add comments to Prisma Schema and GraphQL server (#162)
* Lowercase all relations in prisma/graphql schema

* Add Comments data model and graphql schema

* Make comments availalble on the api through resolvers and guard them

* Update front graphql schema

* Fix PR
2023-05-31 15:41:53 +02:00
3674365e6f Scope server with workspace (#157)
* Rename User to AuthUser to avoid naming conflict with user business entity

* Prevent query by workspace in graphql

* Make full user and workspace object available in graphql resolvers

* Add Seed to create companies and people accross two workspace

* Check workspace on all entities findMany, find, create, update)
2023-05-30 20:40:04 +02:00
0f9c6dede7 Clean server post refactor to remove Hasura (#156)
* Clean BE post refactor to remove Hasura

* Add server CI
2023-05-29 22:42:24 +02:00
b95ac8b40b Add logo on navbar workspace container (#147) 2023-05-26 17:41:21 +02:00
26d3716ae7 Implement scoping on be (#144) 2023-05-26 14:00:32 +02:00
112aa3720b Fix graphql Queries (#142) 2023-05-26 08:33:33 +02:00
17f5cf1766 Fix graphql queries 2023-05-26 00:31:43 +02:00
b0044ed1a2 Lucas/t 231 timebox i can create a company at the same time im creating (#140)
This PR is a bit messy:

adding graphql schema
adding create company creation on company select on People page
some frontend refactoring to be continued

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-25 23:09:23 +02:00
fecf45f3bc Sammy/t 245 implement resolvers matching hasura (#139)
* chore: remove old resolvers

* refactor: move generated file in code base

* feature: use only necessary code in graphql

* feature: implement query companies

* feature: implement companies and relations

* feature: implement all companies resolvers

* feature: implement all people resolver

* feature: add use resolvers

* feature: implement resolvers for workspace and users
2023-05-25 17:10:00 +02:00
5d06398d2e 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>
2023-05-24 17:20:15 +02:00