@omnist-dev/omnist
    Preparing search index...

    Variable tConst

    t: {
        boolean: ScalarType;
        date: ScalarType;
        datetime: ScalarType;
        integer: ScalarType;
        number: ScalarType;
        string: ScalarType;
        time: ScalarType;
        get any(): AnyFieldType;
    } = ...

    The seven scalars, plus any, under one namespace: t.string, t.integer, ..., t.any. Each scalar is ready to use directly as a field's type, e.g. field("name", t.string).

    Type Declaration

    • boolean: ScalarType

      Non-nullable boolean scalar type builder (spec §2.2).

    • date: ScalarType

      Non-nullable date scalar type builder (spec §2.2).

    • datetime: ScalarType

      Non-nullable datetime scalar type builder (spec §2.2).

    • integer: ScalarType

      Non-nullable integer scalar type builder (spec §2.2).

    • number: ScalarType

      Non-nullable number scalar type builder (spec §2.2).

    • string: ScalarType

      Non-nullable string scalar type builder (spec §2.2).

    • time: ScalarType

      Non-nullable time scalar type builder (spec §2.2).

    • get any(): AnyFieldType

      The any field type (spec §3.1).