Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SchemaEntry

Hierarchy

  • SchemaEntry

Index

Constructors

constructor

Properties

array

array: boolean

Whether or not this entry should hold an array of data.

client

client: Client | null = null

The KlasaClient for this SchemaEntry.

default

default: unknown

The default value this entry will set when reverting a setting back to or when the key was not set.

filter

The filter to use for this entry when resolving.

inclusive

inclusive: boolean

Whether this entry should inclusively or exclusively check minimum and maximum on key validation.

Readonly key

key: string

The key of this entry relative to its parent.

maximum

maximum: number | null

The maximum value for this entry.

minimum

minimum: number | null

The minimum value for this entry.

Readonly parent

parent: Schema

The schema that manages this instance.

shouldResolve

shouldResolve: boolean

Whether or not values managed by this entry should be resolved.

type

type: string

The type of data this entry manages.

Accessors

serializer

Methods

_check

  • _check(): void

Private _generateDefaultValue

  • _generateDefaultValue(): unknown

edit

toJSON

Generated using TypeDoc