Options
All
  • Public
  • Public/Protected
  • All
Menu

Gabby Query Protocol - Projection - v1.0.0-beta.1

Index

Type aliases

PredicateFormulaEditorJson

PredicateFormulaEditorJson: { predicateTreeJson: TSerializedPredicateTree; subjectDictionaryJson: TPredicateSubjectDictionaryJson }

Type declaration

TOperatorOptions

TOperatorOptions: { attributes?: Record<string, unknown>; optionList?: TValueLabelList }

Type declaration

  • Optional attributes?: Record<string, unknown>
  • Optional optionList?: TValueLabelList

TPredicateJunctionOperator

TPredicateJunctionOperator: "$and" | "$nand" | "$nor" | "$or"

TPredicateJunctionPropsWithChildIds

TPredicateJunctionPropsWithChildIds: TPredicatePropertiesJunction & { childrenIds: string[] }

TPredicateNode

TPredicateNodeJson

TPredicateNodeJson: { operator?: TPredicateOperator | TPredicateJunctionOperator; subjectId?: string; value?: number | string | null | (number | string)[] }

Type declaration

TPredicateOperator

TPredicateOperator: "$anyOf" | "$eq" | "$empty" | "$gt" | "$gte" | "$isNull" | "$like" | "$lt" | "$lte" | "$oneOf" | "$nanyOf" | "$ne"

TPredicateProperties

TPredicateProperties: { operator: TPredicateOperator; subjectId: string; value: number | string }

Type declaration

TPredicatePropertiesArrayValue

TPredicatePropertiesArrayValue: TPredicateProperties & { value: (number | string)[] }

TPredicatePropertiesJunction

TPredicatePropertiesJunction: { operator: TPredicateJunctionOperator }

Type declaration

TPredicateSubjectAsColumnDefinition

TPredicateSubjectAsColumnDefinition: { datatype: TSupportedDatatype; defaultLabel: string; subjectId: string }

Type declaration

  • datatype: TSupportedDatatype
  • defaultLabel: string
  • subjectId: string

TPredicateSubjectDictionaryJson

TPredicateSubjectDictionaryJson: {}

Type declaration

TPredicateSubjectOptionsList

TPredicateSubjectOptionsList: {[ op in Extract<TPredicateOperator, "$anyOf" | "$nanyOf" | "$oneOf">]: TValueLabelList }

TPredicateSubjectProperties

TPredicateSubjectProperties: { datatype: TSupportedDatatype; defaultLabel: string; validOperators: TValidOperatorList }

Type declaration

TPredicateSubjectPropertiesJson

TPredicateSubjectPropertiesJson: { datatype?: TSupportedDatatype; defaultLabel?: string; validOperators?: TValidOperatorList }

Type declaration

  • Optional datatype?: TSupportedDatatype
  • Optional defaultLabel?: string
  • Optional validOperators?: TValidOperatorList

TPredicateSubjectWithId

TPredicateSubjectWithId: TPredicateSubjectProperties & { subjectId: string }

TSerializedPredicateTree

TSerializedPredicateTree: SerializedTree<TPredicateNode>

TValidOperatorList

TValidOperatorList: {[ operator in TPredicateOperator]: true | TOperatorOptions }

TValueLabelList

TValueLabelList: TValueLabel[]

VisitorNodeType

VisitorNodeType: "branch" | "leaf" | "all"

Variables

Const EXAMPLE_JSON_BLUE_SKIES

EXAMPLE_JSON_BLUE_SKIES: { predicateSubjectsDictionaryJson: TPredicateSubjectDictionaryJson; predicateTreeJson: TSerializedPredicateTree } = ...

Type declaration

Const PredicateTreeFactory

PredicateTreeFactory: { fromEmpty: (subjectDictionary: IPredicateSubjectDictionary, options?: TPredicateTreeFactoryOptions) => IPredicateTree; fromJson: (json: TSerializedPredicateTree, subjectDictionary: IPredicateSubjectDictionary, options?: TPredicateTreeFactoryOptions) => IPredicateTree; toJson: (tree: IPredicateTree) => TSerializedPredicateTree } = ...

Type declaration

Generated using TypeDoc