feat: add shared connection capability

This commit is contained in:
Ali BARIN
2023-09-08 11:32:22 +00:00
parent aefff5c861
commit 099a8ea2cf
19 changed files with 315 additions and 103 deletions

View File

@@ -53,6 +53,7 @@ function AppConnectionRow(props: AppConnectionRowProps): React.ReactElement {
createdAt,
flowCount,
reconnectable,
shared,
} = props.connection;
const contextButtonRef = React.useRef<SVGSVGElement | null>(null);
@@ -105,7 +106,7 @@ function AppConnectionRow(props: AppConnectionRowProps): React.ReactElement {
<CardContent>
<Stack justifyContent="center" alignItems="flex-start" spacing={1}>
<Typography variant="h6" sx={{ textAlign: 'left' }}>
{formattedData?.screenName}
{formattedData?.screenName} {shared && 'shared'}
</Typography>
<Typography variant="caption">

View File

@@ -7,6 +7,7 @@ export const GET_APP_CONNECTIONS = gql`
connections {
id
key
shared
reconnectable
appAuthClientId
verified