@cbnsndwch/zero-sources

zero-nest-mongoose package

Home > @cbnsndwch/zero-nest-mongoose

zero-nest-mongoose package

Classes

Class

Description

ColumnBuilder

ZeroTableSchema

Functions

Function

Description

invariant(condition, message, errorClass, logger)

Throws an error of the specified type with the given message if the condition is not met.

typedEntries(obj)

Type Aliases

Type Alias

Description

BooleanColumn

BooleanColumnOptional

CustomColumn

CustomColumnOptional

Defined

EnumColumn

EnumColumnOptional

JsonColumn

JsonColumnOptional

JSONObject

A JSON object. This is a map from strings to JSON values or undefined. We allow undefined values as a convenience... but beware that the undefined values do not round trip to the server. For example:

// Time t1
await tx.set('a', {a: undefined});

// time passes, in a new transaction
const v = await tx.get('a');
console.log(v); // either {a: undefined} or {}

JSONValue

The values that can be represented in JSON

NullColumn

NullColumnOptional

NumberColumn

NumberColumnOptional

ReadonlyJSONObject

Like JSONObject but deeply readonly

ReadonlyJSONValue

Like JSONValue but deeply readonly

SchemaValue

related calls need to know what the available relationships are. The schema type encodes this information.

StringColumn

StringColumnOptional

TableSchemaBase

UnwrapOptional

ValueType

How was this page?