4b34e7bf1e
Closes https://github.com/twentyhq/twenty/issues/4555 <img width="593" alt="Capture d’écran 2024-04-05 à 11 54 28" src="https://github.com/twentyhq/twenty/assets/22936103/e6021417-bc78-460b-adf6-834330bbd894"> Connect the existing for with the backend so we can now create database connections. --------- Co-authored-by: Thomas Trompette <thomast@twenty.com>
13 lines
303 B
TypeScript
13 lines
303 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const CREATE_ONE_DATABASE_CONNECTION = gql`
|
|
mutation createServer($input: CreateRemoteServerInput!) {
|
|
createOneRemoteServer(input: $input) {
|
|
id
|
|
foreignDataWrapperId
|
|
foreignDataWrapperOptions
|
|
foreignDataWrapperType
|
|
}
|
|
}
|
|
`;
|