Readonly~@dxos/echo/ReadonlyidReadonlyprojectionProjection of the data returned from the query.
Readonlyfields: readonly {UX metadata associated with displayed fields (in table, form, etc.)
Optional ReadonlypivotFieldId?: stringThe id for the field used to pivot the view. E.g., the field to use for kanban columns or the field to use for map coordinates.
Optional Readonlyschema?: JsonSchemaTypeOptional schema override used to customize the underlying schema.
ReadonlyqueryQuery used to retrieve data. Can be a user-provided query grammar string or a query AST.
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
Views are generated or user-defined projections of a schema's properties. They are used to configure the visual representation of the data.