Class DynamicDataDoc<Q, T>

Type Parameters

Hierarchy (View Summary, Expand)

Implements

Constructors

Properties

_docId: string

A unique stringified document ID

_id?: string

A unique document ID (Mongo DB ObjectID)

createdAt?: T

The time the dynamic data store was created

createdBy: string

The creator of the dynamic data store

The data itself.

dataSecret: string

The data secret. Used in cases where you are not signed in as creator. This authenticates the request.

dynamicDataId: string

The dynamic data ID. The ID of the store.

handlerId: Q

The handler ID. Can also be thought of as the type of dynamic data ("addresses", "email", ...)

label: string

The label of the data store

lastUpdated?: T

The time the dynamic data store was last updated

managedBy: string

The manager of the dynamic data store

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean

MMNEPVFCICPMFPCPTTAAATR