Manta Developers
GitHub
Menu

@manta-eu/react/screens/integrations/connect-forms

Reference for @manta-eu/react/screens/integrations/connect-forms as it is on main.

Type Aliases

AlternateSignIn

AlternateSignIn = object

Properties

href

href: string

label

label: string


ConnectSuccessStep

ConnectSuccessStep = object

Properties

content

content: ReactNode

description

description: string

title

title: string


OAuthSetup

OAuthSetup<Row> = object

Type Parameters

Row

Row extends SetupRow

Properties

connect

connect: (ids) => Promise<Pick<SetupProgress<Row>, "state">>

Parameters
ids

string[]

Returns

Promise<Pick<SetupProgress<Row>, "state">>

isConnecting

isConnecting: boolean

progress?

optional progress?: SetupProgress<Row>

refetchProgress

refetchProgress: () => unknown

Returns

unknown

resetProgress

resetProgress: () => void

Returns

void


OAuthSetupConnectFormProps

OAuthSetupConnectFormProps<Row> = ConnectFormProps & object

Type Parameters

Row

Row extends SetupRow

Type Declaration

alternateSignIns?

optional alternateSignIns?: readonly AlternateSignIn[]

copy

copy: SetupCopy

integration

integration: GQLIntegration

oauthStartPath

oauthStartPath: string

pickExtras?

optional pickExtras?: ReactNode

resumesUnfinishedSetup?

optional resumesUnfinishedSetup?: boolean

setup

setup: OAuthSetup<Row>

treeItems

treeItems: (rows, alreadyConnectedExternalIds, reconnectableExternalIds) => TreeSelectItem[]

Parameters
rows

Row[]

alreadyConnectedExternalIds

ReadonlySet<string>

reconnectableExternalIds

ReadonlySet<string>

Returns

TreeSelectItem[]

treeOptions?

optional treeOptions?: SetupTreeOptions


OAuthSetupFormProps

OAuthSetupFormProps<Row> = OAuthSetupConnectFormProps<Row>

Type Parameters

Row

Row extends SetupRow


OAuthSingleAccountConnectFormProps

OAuthSingleAccountConnectFormProps = ConnectFormProps & object

Type Declaration

connectedToastLabel

connectedToastLabel: string

ctaLabel

ctaLabel: string

integration

integration: GQLIntegration

permissions

permissions: string[]

precedingSteps?

optional precedingSteps?: number

startHref

startHref: string

stepDescription

stepDescription: string

stepTitle

stepTitle: string

successStep?

optional successStep?: ConnectSuccessStep

supportingInfo

supportingInfo: string

waitingLabel

waitingLabel: string


OAuthSingleAccountFormProps

OAuthSingleAccountFormProps = Omit<OAuthSingleAccountConnectFormProps, "precedingSteps">


SetupCopy

SetupCopy = object

Properties

entityPlural

entityPlural: string

entitySingular

entitySingular: string

identityProviderName

identityProviderName: string

noEntitiesLabel

noEntitiesLabel: string

noneConnectableLabel

noneConnectableLabel: string

pickDescription

pickDescription: string

pickTitle

pickTitle: string

retryGuidance?

optional retryGuidance?: string

signInDescription

signInDescription: string


SetupProgress

SetupProgress<Row> = object

Type Parameters

Row

Row extends SetupRow

Properties

lastError?

optional lastError?: { message: string; title?: string | null; } | null

rows?

optional rows?: Row[] | null

state

state: GQLGoogleSetupStateEnum[]


SetupRow

SetupRow = object

Properties

id

id: string


SetupTreeOptions

SetupTreeOptions = Pick<TreeMultiSelectProps, "defaultCollapsed" | "includeDescendants">

Functions

CanvaConnectForm()

CanvaConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


FigmaConnectForm()

FigmaConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


GmailConnectForm()

GmailConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


GoogleAdsConnectForm()

GoogleAdsConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


GoogleAnalyticsConnectForm()

GoogleAnalyticsConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


GoogleMerchantCenterConnectForm()

GoogleMerchantCenterConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


OAuthSetupForm()

OAuthSetupForm<Row>(props): Element

Type Parameters

Row

Row extends SetupRow

Parameters

props

OAuthSetupFormProps<Row>

Returns

Element


OAuthSingleAccountForm()

OAuthSingleAccountForm(props): Element

Parameters

props

OAuthSingleAccountFormProps

Returns

Element


ShopifyConnectForm()

ShopifyConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element


SlackConnectForm()

SlackConnectForm(props): Element

Parameters

props

ConnectFormProps

Returns

Element