Manta Developers
GitHub
Menu

@manta-eu/react/routes/integrations/components/connect-forms/types

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

Type Aliases

ConnectFormProps

ConnectFormProps = object

Properties

dataConnectorType?

optional dataConnectorType?: string

importNotice?

optional importNotice?: ImportNotice

inferalConfig?

optional inferalConfig?: InferalConnectFormConfig

onBack

onBack: () => void

Returns

void

onChanged

onChanged: () => void

Returns

void

onDismiss

onDismiss: () => void

Returns

void

provider

provider: ProviderPresentation<string>

resumedFromOAuth?

optional resumedFromOAuth?: boolean


ImportNotice

ImportNotice = object

Properties

description

description: string


InferalConnectFormConfig

InferalConnectFormConfig = object

Properties

deriveStreamName

deriveStreamName: (identifier) => string

Parameters
identifier

string

Returns

string

locationLabels

locationLabels: Readonly<Record<GQLInferalLocation, string>>

setupInstructions?

optional setupInstructions?: ProviderSetupInstructions


ProviderSetupInstructions

ProviderSetupInstructions = Readonly<{ apiKey?: FieldInstruction; identifier?: FieldInstruction; settings?: FieldInstruction; }>


StepConfig

StepConfig<Values> = object

Type Parameters

Values

Values extends FieldValues

Properties

continueLabel

continueLabel: string

description

description: string

id

id: string

render

render: (form) => ReactNode

Parameters
form

UseFormReturn<Values>

Returns

ReactNode

schema

schema: z.ZodTypeAny

supporting?

optional supporting?: ReactNode

title

title: string