Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "compile/index"

The compile module provides an API for building filter compilers.

Index

Interfaces

Variables

Functions

Object literals

Variables

Const DEFAULT_MAX_FILTERS

DEFAULT_MAX_FILTERS: 25 = 25

Functions

Const ast2Terms

Const compile

  • compile source text into a type that represents a filter in the target language.

    Succesful compilation depends on the fields used in the source text complying with the policies indicated in the enabled argument.

    Type parameters

    • T

    Parameters

    Returns Except<T>

Const newContext

Const source2Term

Object literals

Const defaultOptions

defaultOptions: object

defaultOptions for compilation.

ignoreUnknownFields

ignoreUnknownFields: false = false

maxFilters

maxFilters: number = DEFAULT_MAX_FILTERS

Generated using TypeDoc