Search
Preparing search index...
The search index is not available
Gabby Query Protocol - Projection - v1.0.0-beta.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Gabby Query Protocol - Projection - v1.0.0-beta.1
Index
Namespaces
CONSTS
Predicate
Formula
Editor
Factory
Predicate
Subject
Dictionary
Factory
Classes
Predicate
Formula
Editor
Predicate
Subject
Dictionary
Predicate
Tree
Predicate
Tree
Error
Interfaces
IPredicate
Subject
Dictionary
IPredicate
Tree
IVisitor
Type aliases
Predicate
Formula
Editor
Json
TOperator
Options
TPredicate
Junction
Operator
TPredicate
Junction
Props
With
Child
Ids
TPredicate
Node
TPredicate
Node
Json
TPredicate
Operator
TPredicate
Properties
TPredicate
Properties
Array
Value
TPredicate
Properties
Junction
TPredicate
Subject
AsColumn
Definition
TPredicate
Subject
Dictionary
Json
TPredicate
Subject
Options
List
TPredicate
Subject
Properties
TPredicate
Subject
Properties
Json
TPredicate
Subject
With
Id
TSerialized
Predicate
Tree
TValid
Operator
List
TValue
Label
List
Visitor
Node
Type
Variables
EXAMPLE_
JSON_
BLUE_
SKIES
Predicate
Tree
Factory
Type aliases
Predicate
Formula
Editor
Json
Predicate
Formula
Editor
Json
:
{
predicateTreeJson
:
TSerializedPredicateTree
;
subjectDictionaryJson
:
TPredicateSubjectDictionaryJson
}
Type declaration
predicate
Tree
Json
:
TSerializedPredicateTree
subject
Dictionary
Json
:
TPredicateSubjectDictionaryJson
TOperator
Options
TOperator
Options
:
{
attributes
?:
Record
<
string
,
unknown
>
;
optionList
?:
TValueLabelList
}
Type declaration
Optional
attributes
?:
Record
<
string
,
unknown
>
Optional
option
List
?:
TValueLabelList
TPredicate
Junction
Operator
TPredicate
Junction
Operator
:
"$and"
|
"$nand"
|
"$nor"
|
"$or"
TPredicate
Junction
Props
With
Child
Ids
TPredicate
Junction
Props
With
Child
Ids
:
TPredicatePropertiesJunction
&
{
childrenIds
:
string
[]
}
TPredicate
Node
TPredicate
Node
:
TPredicateProperties
|
TPredicatePropertiesJunction
|
TPredicatePropertiesArrayValue
TPredicate
Node
Json
TPredicate
Node
Json
:
{
operator
?:
TPredicateOperator
|
TPredicateJunctionOperator
;
subjectId
?:
string
;
value
?:
number
|
string
|
null
|
(
number
|
string
)
[]
}
Type declaration
Optional
operator
?:
TPredicateOperator
|
TPredicateJunctionOperator
Optional
subject
Id
?:
string
Optional
value
?:
number
|
string
|
null
|
(
number
|
string
)
[]
TPredicate
Operator
TPredicate
Operator
:
"$anyOf"
|
"$eq"
|
"$empty"
|
"$gt"
|
"$gte"
|
"$isNull"
|
"$like"
|
"$lt"
|
"$lte"
|
"$oneOf"
|
"$nanyOf"
|
"$ne"
TPredicate
Properties
TPredicate
Properties
:
{
operator
:
TPredicateOperator
;
subjectId
:
string
;
value
:
number
|
string
}
Type declaration
operator
:
TPredicateOperator
subject
Id
:
string
value
:
number
|
string
TPredicate
Properties
Array
Value
TPredicate
Properties
Array
Value
:
TPredicateProperties
&
{
value
:
(
number
|
string
)
[]
}
TPredicate
Properties
Junction
TPredicate
Properties
Junction
:
{
operator
:
TPredicateJunctionOperator
}
Type declaration
operator
:
TPredicateJunctionOperator
TPredicate
Subject
AsColumn
Definition
TPredicate
Subject
AsColumn
Definition
:
{
datatype
:
TSupportedDatatype
;
defaultLabel
:
string
;
subjectId
:
string
}
Type declaration
datatype
:
TSupportedDatatype
default
Label
:
string
subject
Id
:
string
TPredicate
Subject
Dictionary
Json
TPredicate
Subject
Dictionary
Json
:
{}
Type declaration
[
subjectId:
string
]:
TPredicateSubjectPropertiesJson
TPredicate
Subject
Options
List
TPredicate
Subject
Options
List
:
{
[
op
in
Extract
<
TPredicateOperator
,
"$anyOf"
|
"$nanyOf"
|
"$oneOf"
>
]
:
TValueLabelList
}
TPredicate
Subject
Properties
TPredicate
Subject
Properties
:
{
datatype
:
TSupportedDatatype
;
defaultLabel
:
string
;
validOperators
:
TValidOperatorList
}
Type declaration
datatype
:
TSupportedDatatype
default
Label
:
string
valid
Operators
:
TValidOperatorList
TPredicate
Subject
Properties
Json
TPredicate
Subject
Properties
Json
:
{
datatype
?:
TSupportedDatatype
;
defaultLabel
?:
string
;
validOperators
?:
TValidOperatorList
}
Type declaration
Optional
datatype
?:
TSupportedDatatype
Optional
default
Label
?:
string
Optional
valid
Operators
?:
TValidOperatorList
TPredicate
Subject
With
Id
TPredicate
Subject
With
Id
:
TPredicateSubjectProperties
&
{
subjectId
:
string
}
TSerialized
Predicate
Tree
TSerialized
Predicate
Tree
:
SerializedTree
<
TPredicateNode
>
TValid
Operator
List
TValid
Operator
List
:
{
[
operator
in
TPredicateOperator
]
:
true
|
TOperatorOptions
}
TValue
Label
List
TValue
Label
List
:
TValueLabel
[]
Visitor
Node
Type
Visitor
Node
Type
:
"branch"
|
"leaf"
|
"all"
Variables
Const
EXAMPLE_
JSON_
BLUE_
SKIES
EXAMPLE_
JSON_
BLUE_
SKIES
:
{
predicateSubjectsDictionaryJson
:
TPredicateSubjectDictionaryJson
;
predicateTreeJson
:
TSerializedPredicateTree
}
= ...
Type declaration
predicate
Subjects
Dictionary
Json
:
TPredicateSubjectDictionaryJson
predicate
Tree
Json
:
TSerializedPredicateTree
Const
Predicate
Tree
Factory
Predicate
Tree
Factory
:
{
fromEmpty
:
(
subjectDictionary
:
IPredicateSubjectDictionary
, options
?:
TPredicateTreeFactoryOptions
)
=>
IPredicateTree
;
fromJson
:
(
json
:
TSerializedPredicateTree
, subjectDictionary
:
IPredicateSubjectDictionary
, options
?:
TPredicateTreeFactoryOptions
)
=>
IPredicateTree
;
toJson
:
(
tree
:
IPredicateTree
)
=>
TSerializedPredicateTree
}
= ...
Type declaration
from
Empty
:
(
subjectDictionary
:
IPredicateSubjectDictionary
, options
?:
TPredicateTreeFactoryOptions
)
=>
IPredicateTree
(
subjectDictionary
:
IPredicateSubjectDictionary
, options
?:
TPredicateTreeFactoryOptions
)
:
IPredicateTree
Parameters
subjectDictionary:
IPredicateSubjectDictionary
Optional
options:
TPredicateTreeFactoryOptions
Returns
IPredicateTree
from
Json
:
(
json
:
TSerializedPredicateTree
, subjectDictionary
:
IPredicateSubjectDictionary
, options
?:
TPredicateTreeFactoryOptions
)
=>
IPredicateTree
(
json
:
TSerializedPredicateTree
, subjectDictionary
:
IPredicateSubjectDictionary
, options
?:
TPredicateTreeFactoryOptions
)
:
IPredicateTree
Parameters
json:
TSerializedPredicateTree
subjectDictionary:
IPredicateSubjectDictionary
Optional
options:
TPredicateTreeFactoryOptions
Returns
IPredicateTree
to
Json
:
(
tree
:
IPredicateTree
)
=>
TSerializedPredicateTree
(
tree
:
IPredicateTree
)
:
TSerializedPredicateTree
Parameters
tree:
IPredicateTree
Returns
TSerializedPredicateTree
Exports
CONSTS
Predicate
Formula
Editor
Factory
Predicate
Subject
Dictionary
Factory
Predicate
Formula
Editor
Predicate
Subject
Dictionary
Predicate
Tree
Predicate
Tree
Error
IPredicate
Subject
Dictionary
IPredicate
Tree
IVisitor
Predicate
Formula
Editor
Json
TOperator
Options
TPredicate
Junction
Operator
TPredicate
Junction
Props
With
Child
Ids
TPredicate
Node
TPredicate
Node
Json
TPredicate
Operator
TPredicate
Properties
TPredicate
Properties
Array
Value
TPredicate
Properties
Junction
TPredicate
Subject
AsColumn
Definition
TPredicate
Subject
Dictionary
Json
TPredicate
Subject
Options
List
TPredicate
Subject
Properties
TPredicate
Subject
Properties
Json
TPredicate
Subject
With
Id
TSerialized
Predicate
Tree
TValid
Operator
List
TValue
Label
List
Visitor
Node
Type
EXAMPLE_
JSON_
BLUE_
SKIES
Predicate
Tree
Factory
Generated using
TypeDoc