@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?
optionalnamedAccount?:NamedAccount
primaryLabel
primaryLabel:
string
secondaryLabel?
optionalsecondaryLabel?:string
source
source:
ProviderConnection["kind"]
status
status:
Status
syncedLabel?
optionalsyncedLabel?: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?
optionalentityIri?:string
externalId
externalId:
string
graphConnections?
optionalgraphConnections?:object
count
count:
number
href
href:
string
name
name:
string
noun?
optionalnoun?:string
typeIri?
optionaltypeIri?: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