Skip to main content

Interface EchoObject

Less than 1 minute

Interface EchoObject

Declared in packages/core/echo/echo-schema/dist/types/src/object/types.d.ts

Shared interface of all echo objects. May be behind a proxy for key-value documents.

Properties

[base]

Type: AbstractEchoObject<any> | AutomergeObject

Returns the underlying object. Same as this for non-proxied objects.

[db]

Type: undefined | EchoDatabase

The database this object belongs to. Returns undefined for non-persisted objects.

[debug]

Type: string

Debug info (ID, schema, etc.)

id

Type: string