Fluid code resolvers take a Fluid code details, and resolve the full Fluid package including absolute urls for the browser file entries. The Fluid code resolver is coupled to a specific cdn and knows how to resolve the code detail for loading from that cdn. This include resolving to the most recent version of package that supports the provided code details.
export interface IFluidCodeResolver
|resolveCodeDetails(details)||Resolves a Fluid code details into a form that can be loaded|
Resolves a Fluid code details into a form that can be loaded
resolveCodeDetails(details: IFluidCodeDetails): Promise<IResolvedFluidCodeDetails>;
|details||IFluidCodeDetails||The Fluid code details to resolve|
- A IResolvedFluidCodeDetails where the resolvedPackage’s Fluid file entries are absolute urls, and an optional resolvedPackageCacheId if the loaded package should be cached.