PackagedAssetIndex
此内容尚不支持你的语言。
Defined in: packagedRuntime.ts:53
The packaged realm’s resolved asset index — manifest, catalog, resolution.
Properties
Section titled “Properties”catalog?
Section titled “catalog?”
optionalcatalog?:Catalog
Defined in: packagedRuntime.ts:58
Logical → staged mapping for the loaders’ inner refs; absent when the build stages assets under their logical paths (nothing to remap).
manifest
Section titled “manifest”manifest:
AddressableManifest
Defined in: packagedRuntime.ts:54
model:
ManifestModel
Defined in: packagedRuntime.ts:55
Methods
Section titled “Methods”addressOf()
Section titled “addressOf()”addressOf(
ref):string|null
Defined in: packagedRuntime.ts:64
The asset’s LOGICAL source path for any ref spelling (including its own staged path), or null when unknown — recovers the authored directory a content-addressed rename hid.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string | null
assetPaths()
Section titled “assetPaths()”assetPaths():
string[]
Defined in: packagedRuntime.ts:66
Every staged asset path — content-driven discovery (locale tables).
Returns
Section titled “Returns”string[]
resolvePath()
Section titled “resolvePath()”resolvePath(
ref):string
Defined in: packagedRuntime.ts:60
Resolve any ref spelling (@uuid:, logical, “/”-rooted) to a staged path.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string