Skip to content
Shapemetry

@huukhanhnguyen/model / schema/hostTypes

schema/hostTypes

ArgumentNodeHost

ArgumentNodeHost = any


BaseCollectionHost

BaseCollectionHost = any


BaseNodeHost

BaseNodeHost = any


ContainerNodeHost

ContainerNodeHost = any


DataNodeHost

DataNodeHost = any


ExpressionNodeHost

ExpressionNodeHost = any


ModelHost

ModelHost = any

Opaque host stand-ins for runtime classes (Model, NodeCollection, …).

SPEC §5.3: schema/ must not import runtime modules outside schema/. Types that only need "a Model-shaped thing" use these opaques instead of import type { Model } from "../Model.js".

Typed as any on purpose: real classes have private fields and are not structurally assignable to hand-written interfaces, but they must remain usable wherever AnalyzeModel / PlayerModel appear. Consumers that need the full class type import it from the runtime path themselves.


ModelScopeHost

ModelScopeHost = any


NodeCollectionHost

NodeCollectionHost<_T> = any

Type Parameters

_T

_T = any


NotifierHost

NotifierHost = any


ParameterNodeHost

ParameterNodeHost = any


RegistryHost

RegistryHost = any


StoreHost

StoreHost = any

Last updated: 📖 1 min readEdit on GitHub