Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Not

Hierarchy

Index

Constructors

constructor

Properties

body

body: any

params

params: any

steps

steps: QueryStep[]

strategy_to_negate

strategy_to_negate: Policy

Static type_name

type_name: string = "not"

Methods

_getRestrictingQuery

  • _getRestrictingQuery(context: Context): Promise<Not>

_isUnwindStage

  • _isUnwindStage(stages: QueryStage[], i: number): any

addQuery

  • addQuery(query: Query): void
  • Parameters

    Returns void

check

checkerFunction

  • checkerFunction(context: Context, sealious_response: SealiousResponse): Promise<null | { allowed: boolean; reason: string }>

dump

getRestrictingQuery

isItemSensitive

  • isItemSensitive(): Promise<boolean>

lookup

  • Parameters

    Returns string

match

  • match(body: {}): void
  • Parameters

    • body: {}
      • [key: string]: any

    Returns void

toPipeline

  • toPipeline(): any[]
  • Returns any[]

Static allow

  • allow(reason: string): { allowed: boolean; reason: string }
  • Parameters

    • reason: string

    Returns { allowed: boolean; reason: string }

    • allowed: boolean
    • reason: string

Static deny

  • deny(reason: string): { allowed: boolean; reason: string }
  • Parameters

    • reason: string

    Returns { allowed: boolean; reason: string }

    • allowed: boolean
    • reason: string

Static fromCustomPipeline

Static fromDefinition

Static fromSingleMatch

  • fromSingleMatch(body: any): Query

Generated using TypeDoc