[feat][Remote objects] Edit a connection (for pg) (#5210)

## Context
#4774 

## How was it tested
Locally

## In further PRs
- Update connection status upon page change
- Adapt Info banner to dark mode
- placeholders for form
This commit is contained in:
Marie
2024-04-30 17:46:30 +02:00
committed by GitHub
parent 3bf9045990
commit 1b2ed80c1c
39 changed files with 727 additions and 195 deletions

View File

@ -0,0 +1,20 @@
export const mockedRemoteServers = [
{
__typename: 'RemoteServer',
id: '67cbfd35-8dd4-4591-b9d4-c1906281a5da',
createdAt: '2024-04-30T13:41:25.584Z',
foreignDataWrapperId: 'b306b641-2142-4b4e-8fba-976afbc3b2bc',
foreignDataWrapperOptions: {
host: 'localhost',
port: 5432,
dbname: 'dbname_test',
},
foreignDataWrapperType: 'postgres_fdw',
userMappingOptions: {
__typename: 'GetUserMappingOptions',
username: 'twenty',
},
updatedAt: '2024-04-30T13:41:25.858Z',
schema: 'public',
},
];

View File

@ -0,0 +1,16 @@
export const mockedRemoteTables = [
{
__typename: 'RemoteTable',
id: 'bb06a39e-a792-424e-ac29-c54a395fdb4f',
name: 'Cars',
schema: 'public',
status: 'SYNCED',
},
{
__typename: 'RemoteTable',
id: '994b68c7-148d-4ee0-b557-c688c3f53f73',
name: 'Flowers',
schema: 'public',
status: 'NOT_SYNCED',
},
];