API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceExtensionKindMap
Type-level twin of the built-in suffix table: file suffix to asset type, for bare-string path inference in `Assets.from()`/`get()`/`load()`. Restricted to types that hand out a catalog leaf, exactly mirroring the runtime table built from the built-in types' own `extensions`. This is the single declaration-merging surface for bare-path suffix inference: ```ts declare module '@codexo/exojs' { interface ExtensionKindMap { 'atlas.json': 'spriteAtlas'; } } ```
import { ExtensionKindMap } from '@codexo/exojs'Type-level twin of the built-in suffix table: file suffix to asset type, for bare-string path inference in `Assets.from()`/`get()`/`load()`. Restricted to types that hand out a catalog leaf, exactly mirroring the runtime table built from the built-in types' own `extensions`. This is the single declaration-merging surface for bare-path suffix inference: ```ts declare module '@codexo/exojs' { interface ExtensionKindMap { 'atlas.json': 'spriteAtlas'; } } ```
aac: "sound"apng: "texture"avif: "texture"avifs: "texture"bin: "binary"bmp: "texture"csv: "csv"gif: "texture"ico: "texture"jfif: "texture"jpe: "texture"jpeg: "texture"jpg: "texture"json: "json"ktx2: "texture"m4a: "sound"mp3: "sound"ogg: "sound"png: "texture"srt: "subtitle"txt: "text"vtt: "subtitle"wasm: "wasm"wav: "sound"webp: "texture"xml: "xml"