Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "models"

Index

Type aliases

AdvancedFilterConditionOperators

AdvancedFilterConditionOperators: "None" | "LessThan" | "LessThanOrEqual" | "GreaterThan" | "GreaterThanOrEqual" | "Contains" | "DoesNotContain" | "StartsWith" | "DoesNotStartWith" | "Is" | "IsNot" | "IsBlank" | "IsNotBlank"

AdvancedFilterLogicalOperators

AdvancedFilterLogicalOperators: "And" | "Or"

BasicFilterOperators

BasicFilterOperators: "In" | "NotIn"

IFilterTarget

Variables

advancedFilterSchema

advancedFilterSchema: any = require('./schemas/advancedFilter.json')

basicFilterSchema

basicFilterSchema: any = require('./schemas/basicFilter.json')

filterSchema

filterSchema: any = require('./schemas/filter.json')

loadSchema

loadSchema: any = require('./schemas/load.json')

pageSchema

pageSchema: any = require('./schemas/page.json')

require

require: Function

settingsSchema

settingsSchema: any = require('./schemas/settings.json')

validateFilter

validateFilter: (Anonymous function) = validate(filterSchema, {schemas: {basicFilter: basicFilterSchema,advancedFilter: advancedFilterSchema}})

validateLoad

validateLoad: (Anonymous function) = validate(loadSchema, {schemas: {settings: settingsSchema,basicFilter: basicFilterSchema,advancedFilter: advancedFilterSchema}})

validatePage

validatePage: (Anonymous function) = validate(pageSchema)

validateSettings

validateSettings: (Anonymous function) = validate(settingsSchema, {schemas: {basicFilter: basicFilterSchema,advancedFilter: advancedFilterSchema}})

Functions

getFilterType

isColumn

  • isColumn(arg: any): boolean

isHierarchy

  • isHierarchy(arg: any): boolean

isMeasure

  • isMeasure(arg: any): boolean

normalizeError

validate

  • validate(schema: any, options?: any): (Anonymous function)
  • Takes in schema and returns function which can be used to validate the schema with better semantics around exposing errors

    Parameters

    • schema: any
    • Optional options: any

    Returns (Anonymous function)

Generated using TypeDoc