API reference

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

I

interfaceExtensionKindMap

@codexo/exojs / assets / stable

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'; } } ```

26
props
0
methods
0
events
Import
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'; } } ```

Properties26
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"
Source