Readonly~@dxos/echo/ReadonlydataReadonly_tag: "external"Readonlyuri: stringURI locating the bytes. The scheme selects the backend at read time (e.g. ni:///sha-256;… for
the edge backend — an RFC 6920 content digest, not a backend name — or wnfs://… for the
plugin-wnfs extension), resolved via the scheme→backend map built from registerBlobBackend
calls. Core code never parses or constructs backend-specific URIs beyond reading the scheme.
RFC 6920 for the ni: URI format.
ReadonlyidReadonlysizeOptional ReadonlytypeMIME type.
Static Readonly~@dxos/echo/Entity-kind brand of the type-entity value itself — always EntityKind.Type.
The kind of instance the type describes lives on [SchemaKindId]
(Object / Relation / Type). Lets Obj.isObject / Relation.isRelation
reject type entities by a single [KindId] check.
Static Readonly~@dxos/echo/Schema-kind brand (object).
Static Optional Readonly~@dxos/echo/Static Readonly~@dxos/echo/Source Effect Schema — used internally by Type.getSchema(self).
Static ReadonlyfieldsThe fields defined in the original struct schema. Allows accessing field definitions for introspection.
Static ReadonlyidObject id. Like all ECHO entities, type entities always carry an id —
stamped at construction for in-memory (static) declarations and assigned by
the database once persisted. The id does NOT determine the entity's URI:
static types resolve to their typename DXN, persisted types to echo:///<id>
(see getTypeURIFromSpecifier).
Static ReadonlyjsonStatic Optional Readonlyname
Runtime schema for a Blob object.
NOTE: This export shadows the DOM
Blobglobal within modules that import it as a namespace. Code that needs the DOM class should useglobalThis.Blobexplicitly.Example