The row (component) type of the archetype named K on a store / database / service type S. Lets callers name an archetype row without re-spelling its columns — derive instead of re-declare.
K
S
type MainService = Database.Plugin.ToDatabase<typeof mainPlugin>;type Track = Database.Archetype.RowOf<MainService, "Track">;const t: ReadonlyArchetype<Track> = db.archetypes.Track; // no cast Copy
type MainService = Database.Plugin.ToDatabase<typeof mainPlugin>;type Track = Database.Archetype.RowOf<MainService, "Track">;const t: ReadonlyArchetype<Track> = db.archetypes.Track; // no cast
The row (component) type of the archetype named
Kon a store / database / service typeS. Lets callers name an archetype row without re-spelling its columns — derive instead of re-declare.