-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into composite-keys-v2
- Loading branch information
Showing
33 changed files
with
493 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { FlowConnectionConfigs } from '@/grpc_generated/flow'; | ||
|
||
type CDCDetailsProps = { | ||
config: FlowConnectionConfigs | undefined; | ||
}; | ||
|
||
export default function CDCDetails({ config }: CDCDetailsProps) { | ||
if (!config) { | ||
return <div className='text-red-500'>No configuration provided</div>; | ||
} | ||
|
||
return ( | ||
<div className='p-4 rounded-md'> | ||
<h2 className='text-xl font-semibold mb-4'>CDC Details</h2> | ||
<div className='overflow-x-auto'> | ||
<table className='min-w-full divide-y divide-gray-300'> | ||
<tbody> | ||
<tr> | ||
<td className='px-4 py-2 font-medium'>Source</td> | ||
<td className='px-4 py-2'>{config.source?.name || '-'}</td> | ||
</tr> | ||
<tr> | ||
<td className='px-4 py-2 font-medium'>Destination</td> | ||
<td className='px-4 py-2'>{config.destination?.name || '-'}</td> | ||
</tr> | ||
<tr> | ||
<td className='px-4 py-2 font-medium'>Flow Job Name</td> | ||
<td className='px-4 py-2'>{config.flowJobName}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.