Skip to content

ecsia-monorepo / react/src / RelationLike

Interface: RelationLike

Defined in: react/src/world.ts:56

The structural slice of a relation definition the hooks need — satisfied by @ecsia/relations' RelationDef without importing it (the binding depends only on core + schema; same trick as EcsiaWorld). id is the world-assigned RelationId (a branded number).

Properties

id

ts
readonly id: number;

Defined in: react/src/world.ts:57


name?

ts
readonly optional name?: string;

Defined in: react/src/world.ts:58

MIT licensed · 0.x, unpublished, experimental.