@manta-eu/react/components/app-gate
Reference for @manta-eu/react/components/app-gate as it is on main.
Type Aliases
AppGateProps
AppGateProps =
object
Properties
children
children:
ReactNode
context?
optionalcontext?:Pick<AuthContextValue,"canDisconnectCustomApps"|"hasProfilePage">
renderAwaitingDatastore?
optionalrenderAwaitingDatastore?: (user,onSignOut,setup,selfServeSignup) =>ReactNode
Replaces setup while the organization has no datastore yet; not used on a custom app’s sign-in.
Parameters
user
onSignOut
() => void
setup
ReactNode
selfServeSignup
boolean
Returns
ReactNode
renderNoOrganization?
optionalrenderNoOrganization?: (user,onSignOut,selfServeSignup) =>ReactNode
Replaces the “not in an organization” screen for someone nobody invited; not used on a custom app’s sign-in.
Parameters
user
onSignOut
() => void
selfServeSignup
boolean
Returns
ReactNode
AwaitingDatastoreStatusProps
AwaitingDatastoreStatusProps =
object& ({customApp?:false;inOrganization:boolean; } | {customApp:true;inOrganization?:never; })
Type Declaration
failure?
optionalfailure?:string
onCheckAgain?
optionalonCheckAgain?: () =>Promise<boolean>
Shows a “Check again” button that asks at once what the page asks on its own; false when no answer came.
Returns
Promise<boolean>
onSignOut
onSignOut: () =>
void
Returns
void
EnterDatastoreRouteProps
EnterDatastoreRouteProps =
object
Properties
entryPath?
optionalentryPath?: (pathname) =>string|undefined
The page to open in the datastore for an address outside it; by default the same address inside it.
Parameters
pathname
string
Returns
string | undefined
Variables
sdkRouteElements
constsdkRouteElements:object
Type Declaration
Activity
Activity:
Element
ActivityDetail
ActivityDetail:
Element
Chat
Chat:
Element
DataCollection
DataCollection:
Element
DataDetail
DataDetail:
Element
DataEntity
DataEntity:
Element
DataExplorerCoverage
DataExplorerCoverage:
Element
DataExplorerFiles
DataExplorerFiles:
Element
DataExplorerIndex
DataExplorerIndex:
Element
DataExplorerIngest
DataExplorerIngest:
Element
DataExplorerLayout
DataExplorerLayout:
Element
DataExplorerPrefix
DataExplorerPrefix:
Element
DataExplorerRecent
DataExplorerRecent:
Element
DataExplorerType
DataExplorerType:
Element
EnterDatastore
EnterDatastore:
Element
Explain
Explain:
Element
Group
Group:
Element
Memories
Memories:
Element
NotFound
NotFound:
Element
Plans
Plans:
Element
Deprecated
Use pages from @manta-eu/react/pages with AppShellRoutes instead; removed in 1.0. See https://developers.manta.eu/guides/migrating-to-screens/
Functions
AppGate()
AppGate(
props):Element
Parameters
props
Returns
Element
AwaitingDatastoreStatus()
AwaitingDatastoreStatus(
props):Element
Parameters
props
Returns
Element
EnterDatastoreRoute()
EnterDatastoreRoute(
props):Element
Parameters
props
Returns
Element