Manta Developers
GitHub
Menu

@manta-eu/react/routes/integrations/connection-view

Reference for @manta-eu/react/routes/integrations/connection-view as it is on main.

Type Aliases

ConnectionView

ConnectionView = object

Properties

id

id: string

namedAccount?

optional namedAccount?: NamedAccount

primaryLabel

primaryLabel: string

secondaryLabel?

optional secondaryLabel?: string

source

source: ProviderConnection["kind"]

status

status: Status

syncedLabel?

optional syncedLabel?: string


GrantFacts

GrantFacts = Pick<OAuthConnection, "revokedAt" | "grantExpiresAt">


NamedAccount

NamedAccount = object

The display projection of a ProviderConnection. It retains the source only so row-level actions can dispatch correctly; rendering otherwise uses normalized fields.

Properties

entityIri?

optional entityIri?: string

externalId

externalId: string

graphConnections?

optional graphConnections?: object

count

count: number

href

href: string

name

name: string

noun?

optional noun?: string

typeIri?

optional typeIri?: string

Functions

connectionProblems()

connectionProblems<T>(connections): T[]

The accounts whose grant a person has to renew: revoked, expired, or inside the warning window.

Type Parameters

T

T extends GrantFacts

Parameters

connections

readonly T[]

Returns

T[]


toConnectionView()

toConnectionView(connection): ConnectionView

Parameters

connection

ProviderConnection

Returns

ConnectionView