@manta-eu/react/screens/operator
Reference for @manta-eu/react/screens/operator as it is on main.
Type Aliases
AccountFact
AccountFact =
object
Properties
grantExpiresAt?
optionalgrantExpiresAt?:string|null
integration
integration:
GQLIntegration
revokedAt?
optionalrevokedAt?:string|null
Attention
Attention =
object
Properties
integrations?
optionalintegrations?: readonlystring[]
kind
kind:
AttentionKind
label
label:
string
AttentionKind
AttentionKind =
"building"|"lost-access"|"waiting"|"no-sources"|"no-goals"|"unreadable"
ClientAttentionOptions
ClientAttentionOptions =
object
Properties
lastActivity?
optionallastActivity?:boolean
only?
optionalonly?: readonlystring[]
ClientAttentionState
ClientAttentionState =
object
Properties
error
error:
string|undefined
isLoading
isLoading:
boolean
pending
pending:
number
rows
rows:
ClientRow[]
ClientFacts
ClientFacts =
object
Properties
accounts
accounts: readonly
AccountFact[] |undefined
goals
goals:
number|undefined
id
id:
string
name
name:
string
ready
ready:
boolean
unreadable
unreadable:
boolean
waitingPlans
waitingPlans:
number|undefined
ClientRow
ClientRow =
ClientFacts&object
Type Declaration
attention
attention:
Attention[]
lastActivityAt?
optionallastActivityAt?:string|null
When its latest action plan run started; null when it has none, undefined until read or when not asked for.
sources
sources:
number|undefined
ClientStatusTone
ClientStatusTone =
"success"|"warning"|"error"|"neutral"
OperatorHomeHostProps
OperatorHomeHostProps =
object
Properties
children
children:
ReactNode
Variables
operatorChatBasePath
constoperatorChatBasePath:"/operator"=operatorPath
operatorChatPath
constoperatorChatPath:"/operator/chat"="/operator/chat"
operatorCustomAppsPath
constoperatorCustomAppsPath:"/custom-apps"="/custom-apps"
operatorPath
constoperatorPath:"/operator"="/operator"
operatorTeamPath
constoperatorTeamPath:"/operator/team"="/operator/team"
Functions
clientStatus()
clientStatus(
attention):object
Parameters
attention
readonly Attention[]
Returns
object
label
label:
string
tone
tone:
ClientStatusTone
OperatorAskRoute()
OperatorAskRoute():
Element
Returns
Element
OperatorHomeHost()
OperatorHomeHost(
props):Element
Parameters
props
Returns
Element
operatorLanding()
operatorLanding(
isOperator,sessionDatastoreId,realmDatastoreId):"datastore"|"dashboard"
Parameters
isOperator
boolean
sessionDatastoreId
string | undefined
realmDatastoreId
string
Returns
"datastore" | "dashboard"
OperatorOverviewRoute()
OperatorOverviewRoute():
Element
Returns
Element
useClientAttention()
useClientAttention(
options?):ClientAttentionState
Parameters
options?
Returns
usesOperatorChats()
usesOperatorChats(
isOperator,datastoreId,pathname,search):boolean
Parameters
isOperator
boolean | undefined
datastoreId
string | undefined
pathname
string
search
string
Returns
boolean