Manta Developers
GitHub
Menu

@manta-eu/react/routes/integrations/types

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

Type Aliases

ConnectedProvider

ConnectedProvider<Id> = object

Type Parameters

Id

Id extends string = ProviderId

Properties

category

category: string

connections

connections: ConnectionView[]

id

id: Id

name

name: string


ConnectionSource

ConnectionSource = "inferal" | "oauth" | "gmail" | "data-connection"


DataConnection

DataConnection = object

Raw row from dataConnections before normalization to ConnectionView.

Properties

createdAt

createdAt: string

error?

optional error?: string | null

id

id: string

kind

kind: "data-connection"

name

name: string

status

status: GQLDataConnectionStatus


DataConnectorType

DataConnectorType = keyof typeof dataConnectionProviderIds


GmailConnection

GmailConnection = object

Properties

detail?

optional detail?: string | null

id

id: string

kind

kind: "gmail"

lastSyncedAt

lastSyncedAt: Date | null

name

name: string

status

status: GQLGmailIntegrationStatus

url

url: null


InferalConnection

InferalConnection = object

Raw row from inferalIntegrations before normalization to ConnectionView.

Properties

detail?

optional detail?: string | null

id

id: string

kind

kind: "inferal"

lastSyncedAt

lastSyncedAt: Date | null

name

name: string

status

status: GQLRelayIntegrationStatus

url

url: string | null


OAuthConnection

OAuthConnection = object

Raw row from connectedAccounts (realm-ops OAuth) before normalization to ConnectionView.

Properties

connectedAt?

optional connectedAt?: string | null

entityIri?

optional entityIri?: string

externalId

externalId: string

grantExpiresAt?

optional grantExpiresAt?: string | null

id

id: string

includedResources?

optional includedResources?: GQLIncludedResource[]

integration

integration: GQLIntegration

kind

kind: "oauth"

name?

optional name?: string

revokedAt?

optional revokedAt?: string | null

typeIri?

optional typeIri?: string


ProviderConnection

ProviderConnection = InferalConnection | OAuthConnection | GmailConnection | DataConnection


ProviderId

ProviderId = `${GQLInferalIntegrationProvider}` | typeof gmailProviderId | typeof canvaProviderId | typeof figmaProviderId | typeof dashProviderId | typeof dataConnectionProviderIds[DataConnectorType]


ProviderLogoComponent

ProviderLogoComponent = ComponentType<SVGProps<SVGSVGElement>>


ProviderPresentation

ProviderPresentation<Id> = object

Type Parameters

Id

Id extends string = ProviderId

Properties

brandColor

brandColor: HexColor

id

id: Id

logo: ProviderLogoComponent

name

name: string

Variables

canvaProviderId

const canvaProviderId: "CANVA" = "CANVA"


dashProviderId

const dashProviderId: "DASH" = "DASH"


dataConnectionProviderIds

const dataConnectionProviderIds: object

Type Declaration

bigquery

readonly bigquery: "BIGQUERY" = "BIGQUERY"

clickhouse

readonly clickhouse: "CLICKHOUSE" = "CLICKHOUSE"

mariadb

readonly mariadb: "MARIADB" = "MARIADB"

mysql

readonly mysql: "MYSQL" = "MYSQL"

postgres

readonly postgres: "POSTGRES" = "POSTGRES"

redshift

readonly redshift: "REDSHIFT" = "REDSHIFT"

snowflake

readonly snowflake: "SNOWFLAKE" = "SNOWFLAKE"

sqlserver

readonly sqlserver: "SQLSERVER" = "SQLSERVER"


figmaProviderId

const figmaProviderId: "FIGMA" = "FIGMA"


gmailProviderId

const gmailProviderId: "GMAIL" = "GMAIL"