API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeInferLoadedEntry
The LOADED payload a CatalogEntry resolves to - what a `loader.load(catalog)` result map holds, as opposed to the handle-hybrid leaf InferCatalogLeaf materializes on the catalog itself. A bare path string is classified by its file suffix exactly as LeafForPath does, but resolves to the raw resource for every type: a value type's LOAD result is its decoded value (`unknown` for `json`), not the `AssetRef` wrapper its catalog property holds. Descriptors and explicit configs delegate to InferAssetResource unchanged.
import { InferLoadedEntry } from '@codexo/exojs'The LOADED payload a CatalogEntry resolves to - what a `loader.load(catalog)` result map holds, as opposed to the handle-hybrid leaf InferCatalogLeaf materializes on the catalog itself.
A bare path string is classified by its file suffix exactly as LeafForPath does, but resolves to the raw resource for every type: a value type's LOAD result is its decoded value (`unknown` for `json`), not the `AssetRef` wrapper its catalog property holds. Descriptors and explicit configs delegate to InferAssetResource unchanged.
E extends string ? [KindByPathThe asset type inferred from a path literal, or `never` when unregistered.<E>] extends [never] ? unknown : ResourceForKind<KindByPathThe asset type inferred from a path literal, or `never` when unregistered.<E>> : E extends AssetInput ? InferAssetResource<E> : never