API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceAssetDefinitions

@codexo/exojs / assets / stable

Every built-in asset type, keyed by its id, plus whatever extension packages declaration-merge into it. An entry declares the runtime `resource` it produces and the `config` it accepts; it may also carry `isValue: true` to mirror a type whose leaf is a deferred AssetRef rather than a heal-in-place handle - required for every type that ships no seamless adapter (see ValueAssetKind).

15
props
0
methods
0
events
Import
import { AssetDefinitions } from '@codexo/exojs'

Every built-in asset type, keyed by its id, plus whatever extension packages declaration-merge into it.

An entry declares the runtime `resource` it produces and the `config` it accepts; it may also carry `isValue: true` to mirror a type whose leaf is a deferred AssetRef rather than a heal-in-place handle - required for every type that ships no seamless adapter (see ValueAssetKind).

Properties15
binary: { config: { source: string }; resource: ArrayBuffer }
csv: { config: { delimiter?: string; source: string }; resource: string[][] }
font: { config: { addToDocument?: boolean; descriptors?: FontFaceDescriptors; family: string; source: string }; resource: FontFace }
image: { config: { mimeType?: string; source: string }; resource: HTMLImageElement }
json: { config: { source: string }; resource: unknown }
subtitle: { config: { source: string }; resource: VTTCue[] }
svg: { config: { height?: number; source: string; width?: number }; resource: HTMLImageElement }
text: { config: { source: string }; resource: string }
wasm: { config: { source: string }; resource: Module }
xml: { config: { source: string }; resource: Document }
Source