Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

Hierarchy

  • Field

Index

Constructors

  • new Field<T>(name: string, type: T, nullable?: boolean, metadata?: null | Map<string, string>): Field<T>
  • Type Parameters

    Parameters

    • name: string
    • type: T
    • nullable: boolean = false
    • Optional metadata: null | Map<string, string>

    Returns Field<T>

Properties

metadata: Map<string, string>
name: string
nullable: boolean
type: T

Accessors

  • get [toStringTag](): string

Methods

  • clone<R>(props: { metadata?: null | Map<string, string>; name?: string | number; nullable?: boolean; type?: R }): Field<R>
  • clone<R>(name?: string | number | Field<T>, type?: R, nullable?: boolean, metadata?: null | Map<string, string>): Field<R>
  • Type Parameters

    Parameters

    • props: { metadata?: null | Map<string, string>; name?: string | number; nullable?: boolean; type?: R }
      • Optional metadata?: null | Map<string, string>
      • Optional name?: string | number
      • Optional nullable?: boolean
      • Optional type?: R

    Returns Field<R>

  • Type Parameters

    Parameters

    • Optional name: string | number | Field<T>
    • Optional type: R
    • Optional nullable: boolean
    • Optional metadata: null | Map<string, string>

    Returns Field<R>

  • toString(): string
  • new<T>(props: { metadata?: null | Map<string, string>; name: string | number; nullable?: boolean; type: T }): Field<T>
  • new<T>(name: string | number | Field<T>, type: T, nullable?: boolean, metadata?: null | Map<string, string>): Field<T>
  • nocollapse

    Type Parameters

    Parameters

    • props: { metadata?: null | Map<string, string>; name: string | number; nullable?: boolean; type: T }
      • Optional metadata?: null | Map<string, string>
      • name: string | number
      • Optional nullable?: boolean
      • type: T

    Returns Field<T>

  • nocollapse

    Type Parameters

    Parameters

    • name: string | number | Field<T>
    • type: T
    • Optional nullable: boolean
    • Optional metadata: null | Map<string, string>

    Returns Field<T>

Generated using TypeDoc