Expression Language Reference
Preparing search index...
importer/expr-contexts
MappingContext
Interface MappingContext
interface
MappingContext
{
$lookup
:
{
findAccount
:
(
this
:
ExprAppContext
,
name
:
string
,
byOrOpts
?:
string
|
string
[]
|
IFindAccountOpts
,
)
=>
Promise
<
string
>
;
findClient
:
(
this
:
ExprAppContext
,
value
:
string
,
options
?:
IFindClientOpts
,
)
=>
Promise
<
ISimpleClient
>
;
findClientObject
:
(
this
:
ExprAppContext
,
value
:
string
,
options
?:
IFindClientOpts
,
)
=>
Promise
<
ISimpleClient
>
;
findEntity
:
(
this
:
ExprAppContext
,
name
:
string
,
opts
?:
IFindEntityOpts
,
)
=>
Promise
<
string
>
;
findSecurity
:
(
this
:
ExprAppContext
,
name
:
string
,
opts
?:
IFindSecurityOpts
,
)
=>
Promise
<
string
>
;
queryAccounts
:
(
this
:
ExprAppContext
,
value
:
AccountSearchValue
,
opts
?:
QueryAccountOpts
,
)
=>
Promise
<
Partial
<
Accounts
>
[]
>
;
queryDocuments
:
(
this
:
ExprAppContext
,
query
:
string
,
opts
?:
QueryDocumentOpts
,
)
=>
Promise
<
ApiDocument
[]
>
;
queryEntities
:
(
this
:
ExprAppContext
,
value
:
EntitySearchValue
,
opts
?:
QueryEntityOpts
,
)
=>
Promise
<
Partial
<
Entities
>
[]
>
;
queryEvents
:
(
this
:
ExprAppContext
,
value
:
EventSearchValue
,
opts
?:
QueryEventOpts
,
)
=>
Promise
<
Partial
<
Events
>
[]
>
;
queryObservables
:
(
this
:
ExprAppContext
,
type
:
string
,
opts
?:
QueryObservableOpts
,
)
=>
Promise
<
Observable_Data
[]
>
;
querySecurities
:
(
this
:
ExprAppContext
,
value
:
InstrumentSearchValue
,
opts
?:
QuerySecurityOpts
,
)
=>
Promise
<
Partial
<
Instruments
>
[]
>
;
}
;
$state
:
ImportState
;
[
n
:
string
]:
any
;
}
Indexable
[
n
:
string
]:
any
Index
Properties
$lookup
$state
Properties
$lookup
$lookup
:
{
findAccount
:
(
this
:
ExprAppContext
,
name
:
string
,
byOrOpts
?:
string
|
string
[]
|
IFindAccountOpts
,
)
=>
Promise
<
string
>
;
findClient
:
(
this
:
ExprAppContext
,
value
:
string
,
options
?:
IFindClientOpts
,
)
=>
Promise
<
ISimpleClient
>
;
findClientObject
:
(
this
:
ExprAppContext
,
value
:
string
,
options
?:
IFindClientOpts
,
)
=>
Promise
<
ISimpleClient
>
;
findEntity
:
(
this
:
ExprAppContext
,
name
:
string
,
opts
?:
IFindEntityOpts
,
)
=>
Promise
<
string
>
;
findSecurity
:
(
this
:
ExprAppContext
,
name
:
string
,
opts
?:
IFindSecurityOpts
,
)
=>
Promise
<
string
>
;
queryAccounts
:
(
this
:
ExprAppContext
,
value
:
AccountSearchValue
,
opts
?:
QueryAccountOpts
,
)
=>
Promise
<
Partial
<
Accounts
>
[]
>
;
queryDocuments
:
(
this
:
ExprAppContext
,
query
:
string
,
opts
?:
QueryDocumentOpts
,
)
=>
Promise
<
ApiDocument
[]
>
;
queryEntities
:
(
this
:
ExprAppContext
,
value
:
EntitySearchValue
,
opts
?:
QueryEntityOpts
,
)
=>
Promise
<
Partial
<
Entities
>
[]
>
;
queryEvents
:
(
this
:
ExprAppContext
,
value
:
EventSearchValue
,
opts
?:
QueryEventOpts
,
)
=>
Promise
<
Partial
<
Events
>
[]
>
;
queryObservables
:
(
this
:
ExprAppContext
,
type
:
string
,
opts
?:
QueryObservableOpts
,
)
=>
Promise
<
Observable_Data
[]
>
;
querySecurities
:
(
this
:
ExprAppContext
,
value
:
InstrumentSearchValue
,
opts
?:
QuerySecurityOpts
,
)
=>
Promise
<
Partial
<
Instruments
>
[]
>
;
}
Type declaration
findAccount
:
(
this
:
ExprAppContext
,
name
:
string
,
byOrOpts
?:
string
|
string
[]
|
IFindAccountOpts
,
)
=>
Promise
<
string
>
findClient
:
(
this
:
ExprAppContext
,
value
:
string
,
options
?:
IFindClientOpts
,
)
=>
Promise
<
ISimpleClient
>
findClientObject
:
(
this
:
ExprAppContext
,
value
:
string
,
options
?:
IFindClientOpts
,
)
=>
Promise
<
ISimpleClient
>
findEntity
:
(
this
:
ExprAppContext
,
name
:
string
,
opts
?:
IFindEntityOpts
)
=>
Promise
<
string
>
findSecurity
:
(
this
:
ExprAppContext
,
name
:
string
,
opts
?:
IFindSecurityOpts
,
)
=>
Promise
<
string
>
queryAccounts
:
(
this
:
ExprAppContext
,
value
:
AccountSearchValue
,
opts
?:
QueryAccountOpts
,
)
=>
Promise
<
Partial
<
Accounts
>
[]
>
queryDocuments
:
(
this
:
ExprAppContext
,
query
:
string
,
opts
?:
QueryDocumentOpts
,
)
=>
Promise
<
ApiDocument
[]
>
queryEntities
:
(
this
:
ExprAppContext
,
value
:
EntitySearchValue
,
opts
?:
QueryEntityOpts
,
)
=>
Promise
<
Partial
<
Entities
>
[]
>
queryEvents
:
(
this
:
ExprAppContext
,
value
:
EventSearchValue
,
opts
?:
QueryEventOpts
,
)
=>
Promise
<
Partial
<
Events
>
[]
>
queryObservables
:
(
this
:
ExprAppContext
,
type
:
string
,
opts
?:
QueryObservableOpts
,
)
=>
Promise
<
Observable_Data
[]
>
querySecurities
:
(
this
:
ExprAppContext
,
value
:
InstrumentSearchValue
,
opts
?:
QuerySecurityOpts
,
)
=>
Promise
<
Partial
<
Instruments
>
[]
>
$state
$state
:
ImportState
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
$lookup
$state
Expression Language Reference
Loading...