Remove relations for remotes (#5455)

For remotes, we will only create the foreign key, without the relation
metadata. Expected behavior will be:
- possible to create an activity. But the remote object will not be
displayed in the relations of the activity
- the remote objects should not be available in the search for relations

Also switched the number settings to an enum, since we now have to
handle `BigInt` case.

---------

Co-authored-by: Thomas Trompette <thomast@twenty.com>
This commit is contained in:
Thomas Trompette
2024-05-20 16:37:35 +02:00
committed by GitHub
parent b098027174
commit 4d479ee8ea
12 changed files with 461 additions and 486 deletions

View File

@ -28910,6 +28910,17 @@ __metadata:
languageName: node
linkType: hard
"graphql-scalars@npm:^1.23.0":
version: 1.23.0
resolution: "graphql-scalars@npm:1.23.0"
dependencies:
tslib: "npm:^2.5.0"
peerDependencies:
graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0
checksum: 7666c305b8367528c4fbb583a2731d93d52f36043d71f4957ecc1d2db71d710d268e25535243beb1b2497db921daa94d3cfa83daaf4a3101a667f358ddbf3436
languageName: node
linkType: hard
"graphql-shield@npm:^7.5.0":
version: 7.6.5
resolution: "graphql-shield@npm:7.6.5"
@ -46585,6 +46596,7 @@ __metadata:
graphql-fields: "npm:^2.0.3"
graphql-middleware: "npm:^6.1.35"
graphql-rate-limit: "npm:^3.3.0"
graphql-scalars: "npm:^1.23.0"
graphql-subscriptions: "npm:2.0.0"
graphql-tag: "npm:^2.12.6"
graphql-type-json: "npm:^0.3.2"