IFluidCodeDetails Interface
Data structure used to describe the code to load on the Fluid document
To use, import via @fluidframework/container-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface IFluidCodeDetails
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
config | Alpha |
optional , readonly |
IFluidCodeDetailsConfig | Configuration details. This includes links to the package manager and base CDNs. |
package | Alpha |
readonly |
string | Readonly<IFluidPackage> | The code package to be used on the Fluid document. This is either the package name which will be loaded from a package manager. Or the expanded Fluid package. |
Property Details
config
Configuration details. This includes links to the package manager and base CDNs.
To use, import via @fluidframework/container-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly config?: IFluidCodeDetailsConfig;
Type: IFluidCodeDetailsConfig
Remarks
This is strictly consumer-defined data. Its contents and semantics (including whether or not this data is present) are completely up to the consumer.
package
The code package to be used on the Fluid document. This is either the package name which will be loaded from a package manager. Or the expanded Fluid package.
To use, import via @fluidframework/container-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
readonly package: string | Readonly<IFluidPackage>;
Type: string | Readonly<IFluidPackage>