API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeValueAsset
@codexo/exojs / assets / stable
A value/ref-type asset descriptor. Structurally an Asset, but branded so a catalog classifies its leaf as a deferred `AssetRef<T>` - even when `T` is an object type (e.g. typed JSON), where the plain `T extends object` heuristic would otherwise misread it as a resource. The brand is a phantom (never present at runtime).
0
props
0
methods
0
events
Import
import { ValueAsset } from '@codexo/exojs'A value/ref-type asset descriptor. Structurally an Asset, but branded so a catalog classifies its leaf as a deferred `AssetRef<T>` - even when `T` is an object type (e.g. typed JSON), where the plain `T extends object` heuristic would otherwise misread it as a resource. The brand is a phantom (never present at runtime).
Definition1
AssetA typed, loadable asset reference. Holds config only - no loaded resource.<T> & { [VALUE_ASSET]: true }Source