Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Super

Hierarchy

Index

Constructors

constructor

  • new Super(params?: any): Super
  • Parameters

    • Default value params: any = {}

    Returns Super

Properties

params

params: any

Static type_name

type_name: string = "super"

Methods

_getRestrictingQuery

check

checkerFunction

  • checkerFunction(context: Context): Promise<{ allowed: boolean; reason: string }>
  • Parameters

    Returns Promise<{ allowed: boolean; reason: string }>

getRestrictingQuery

isItemSensitive

  • isItemSensitive(): Promise<boolean>

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 fromDefinition

Generated using TypeDoc