interface TPromise<T> {
    $id?: string;
    $schema?: string;
    [Hint]?: string;
    [Kind]: "Promise";
    [OptionalKind]?: string;
    [ReadonlyKind]?: string;
    default?: any;
    description?: string;
    examples?: any;
    item: TSchema;
    params: unknown[];
    readOnly?: boolean;
    static: Promise<(T & {
        params: unknown[];
    })["static"]>;
    title?: string;
    type: "Promise";
    writeOnly?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

$id?: string

Id for this schema

$schema?: string
[Hint]?: string
[Kind]: "Promise"
[OptionalKind]?: string
[ReadonlyKind]?: string
default?: any

Default value for this schema

description?: string

Description of this schema

examples?: any

Example values matching this schema

item: TSchema
params: unknown[]
readOnly?: boolean

Optional annotation for readOnly

static: Promise<(T & {
    params: unknown[];
})["static"]>
title?: string

Title of this schema

type: "Promise"
writeOnly?: boolean

Optional annotation for writeOnly