API

Interface ISerializedSmartAssetMap

A versioned JSON document describing a smart asset map. This is the on-disk format for persisting the asset table.

Runtime object ownership is intentionally not persisted — it is rebuilt from each loaded AssetContainer after load. Persisting it would risk staleness.

interface ISerializedSmartAssetMap {
    assets: Record<string, ISerializedSmartAssetEntry>;
    version: 1;
}
Index
assets: Record<string, ISerializedSmartAssetEntry>

Map of asset keys to their serialized entries.

version: 1

Schema version. Must be 1 for the current version.