XYO Platform SDK - v3.10.6
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _details?: JsonValue
    _fields?: {
        $opCodes?: "elevate"[];
        $sources?: Lowercase<string>[];
        details?:
            | null
            | string
            | number
            | boolean
            | {
                [key: string]: | null
                | string
                | number
                | boolean
                | (
                    { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
                )
                | (
                    string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
                )[];
            }
            | (
                | null
                | string
                | number
                | boolean
                | {
                    [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null;
                }
                | (
                    (string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
                )
            )[];
        message?: string;
        name?: string;
        query?: Lowercase<string>;
    }
    _message?: string
    _meta?: { $opCodes?: "elevate"[]; $sources?: Lowercase<string>[] }
    _name?: string
    _query?: Lowercase<string>
    _schema: string

    Methods

    • Returns Promise<
          {
              details?: | null
              | string
              | number
              | boolean
              | {
                  [key: string]: | null
                  | string
                  | number
                  | boolean
                  | (
                      { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
                  )
                  | (
                      string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
                  )[];
              }
              | (
                  | null
                  | string
                  | number
                  | boolean
                  | {
                      [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null;
                  }
                  | (
                      (string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
                  )
              )[];
              message?: string;
              name?: string;
              query?: Lowercase<string>;
              schema: "network.xyo.error.module";
          },
      >

    • Parameters

      Returns this

    • Parameters

      • fields: {
            $opCodes?: "elevate"[];
            $sources?: Lowercase<string>[];
            details?:
                | null
                | string
                | number
                | boolean
                | {
                    [key: string]: | null
                    | string
                    | number
                    | boolean
                    | (
                        { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null)[] | null; }
                    )
                    | (
                        string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null
                    )[];
                }
                | (
                    | null
                    | string
                    | number
                    | boolean
                    | {
                        [key: string]: string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null;
                    }
                    | (
                        (string | number | boolean | { [x: string]: string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | number | boolean | ... | (string | ... 4 more ... | null)[] | null)[] | null)[] | null)[] | null; } | (string | ... 4 more ... | null)[] | null)[]
                    )
                )[];
            message?: string;
            name?: string;
            query?: Lowercase<string>;
        }

      Returns this

    • Parameters

      • message: string

      Returns this

    • Parameters

      • meta: { $opCodes?: "elevate"[]; $sources?: Lowercase<string>[] }

      Returns this

    • Parameters

      • name: string

      Returns this

    • Parameters

      • query: Lowercase<string>

      Returns this

    • Parameters

      • value: string

      Returns void

    • Type Parameters

      Parameters

      • payload: T

      Returns Promise<Lowercase<string>>

    • Parameters

      • payloads: undefined

      Returns Promise<undefined>

    • Type Parameters

      Parameters

      • payloads: T[]

      Returns Promise<Lowercase<string>[]>

    • Type Parameters

      Parameters

      • payloads: T[]

      Returns Promise<[T, Lowercase<string>][]>

    • Type Parameters

      Parameters

      • payloads: undefined | T[]
      • hash: Lowercase<string> | Lowercase<string>[]

      Returns Promise<T[]>

    • Type Parameters

      Parameters

      • payloads: undefined | T[]
      • hash: Lowercase<string> | Lowercase<string>[]

      Returns Promise<T[]>

    • Type Parameters

      Parameters

      • payloads: undefined | T[]
      • hash: Lowercase<string> | Lowercase<string>[]

      Returns Promise<T[]>

    • Type Parameters

      Parameters

      • payloads: undefined | T[]
      • hash: Lowercase<string> | Lowercase<string>[]

      Returns Promise<T[]>

    • Type Parameters

      Parameters

      • payloads: undefined | T[]
      • hash: Lowercase<string>

      Returns Promise<undefined | T>

    • Type Parameters

      Parameters

      • payload: T

      Returns Promise<Lowercase<string>>

    • Parameters

      • payloads: undefined

      Returns Promise<undefined>

    • Type Parameters

      Parameters

      • payloads: T[]

      Returns Promise<Lowercase<string>[]>

    • Creates an array of payload/hash tuples based on the payloads passed in

      Type Parameters

      Parameters

      • payloads: T[]

      Returns Promise<[T, Lowercase<string>][]>

      An array of payload/hash tuples

    • Type Parameters

      • T extends object

      Parameters

      • payload: T
      • OptionalmaxDepth: number

      Returns WithoutClientMeta<T>

    • Type Parameters

      • T extends object

      Parameters

      • payloads: T[]
      • OptionalmaxDepth: number

      Returns WithoutClientMeta<T>[]

    • Type Parameters

      • T extends object

      Parameters

      • payload: T
      • OptionalmaxDepth: number

      Returns WithoutMeta<T>

    • Type Parameters

      • T extends object

      Parameters

      • payloads: T[]
      • OptionalmaxDepth: number

      Returns WithoutMeta<T>[]

    • Type Parameters

      Parameters

      • payloads: T[]

      Returns Promise<Record<Lowercase<string>, T>>

    • Type Parameters

      Parameters

      • objs: T[]

      Returns Promise<Record<Lowercase<string>, T>>

    • Creates an object map of payload hashes to payloads based on the payloads passed in

      Type Parameters

      Parameters

      • objs: T[]

        Any array of payloads

      Returns Promise<Record<Lowercase<string>, T>>

      A map of hashes to payloads