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