Skip to main content

Class Properties

Less than 1 minute

Class Properties

Declared in packages/sdk/client-protocol/dist/types/src/proto/gen/schema.d.ts:9

Constructors

constructor([initValues], [opts])

Returns: Properties

Arguments:

initValues: Partial<PropertiesProps>

opts: TypedObjectOptions

Properties

[base]

Type: Properties

Proxied object.

[devtoolsFormatter]

Type: DevtoolsFormatter

_signal

Type: GenericSignal

name

Type: string

schema

Type: Schema

[data]

Type: any

[db]

Type: undefined | EchoDatabase

Database reference if bound.

[debug]

Type: string

[immutable]

Type: boolean

[meta]

Type: ObjectMeta

[schema]

Type: undefined | Schema

Returns the schema type descriptor for the object.

[toStringTag]

Type: string

__deleted

Type: boolean

__info

Type: never

__meta

Type: ObjectMeta

__schema

Type: undefined | Schema

__typename

Type: undefined | string

Fully qualified name of the object type for objects created from the schema.

id

Type: string

ID accessor.

Methods

[custom](depth, options, inspect_)

Returns: void

Arguments:

depth: number

options: InspectOptionsStylized

inspect_: function

[subscribe](callback)

Returns: function

Arguments:

callback: function

_beforeBind()

Returns: void

Arguments: none

_emitUpdate()

Returns: void

Arguments: none

toJSON()

Convert to JSON object. Used by JSON.stringify . https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description

Returns: any

Arguments: none

filter([filter])

Returns: Filter<Properties>

Arguments:

filter: Partial<PropertiesProps> | OperatorFilter<Properties>