Interface: ResourceSourceExtended
Defined in: utils/ResourceFetcherUtils.ts:72
Extended interface for resource sources, tracking download state and file locations.
Properties
cacheFileUri?
optionalcacheFileUri:string
Defined in: utils/ResourceFetcherUtils.ts:106
The URI where the file is cached.
callback()?
optionalcallback: (downloadProgress) =>void
Defined in: utils/ResourceFetcherUtils.ts:86
Optional callback to report download progress (0 to 1).
Parameters
downloadProgress
number
Returns
void
fileUri?
optionalfileUri:string
Defined in: utils/ResourceFetcherUtils.ts:101
The local file URI where the resource is stored.
next?
optionalnext:ResourceSourceExtended
Defined in: utils/ResourceFetcherUtils.ts:111
Reference to the next resource in a linked chain of resources.
results
results:
string[]
Defined in: utils/ResourceFetcherUtils.ts:91
Array of paths or identifiers for the resulting files.
source
source:
ResourceSource
Defined in: utils/ResourceFetcherUtils.ts:76
The original source definition.
sourceType
sourceType:
SourceType
Defined in: utils/ResourceFetcherUtils.ts:81
The type of the source (local, remote, etc.).
uri?
optionaluri:string
Defined in: utils/ResourceFetcherUtils.ts:96
The URI of the resource.