Commit Graph

67 Commits

Author SHA1 Message Date
bbc80cd543 Refactor backend and add exception handlers (#189) 2023-06-04 00:21:36 +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
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
b95ac8b40b Add logo on navbar workspace container (#147) 2023-05-26 17:41:21 +02:00
29fb781c26 Updating server configuration (#145)
Update server deploy staging
2023-05-26 16:30:41 +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
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
80f9cc8797 Re-implement authentication (#136)
* Remove hasura and hasura-auth

* Implement authentication
2023-05-25 11:51:15 +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
6c7eb53333 Add seeds and move to uuid (#80)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 16:42:01 +02:00
29b6109e54 Fix tests 2023-04-24 16:53:24 +02:00
6d2c8bbdf9 Assign user to workspace on signin 2023-04-24 14:53:48 +02:00