Skip to main content
Version: v2

IFluidPackage Interface

Fluid-specific properties expected on a package to be loaded by the code loader. While compatible with the npm package format it is not necessary that that package is an npm package: https://stackoverflow.com/questions/10065564/add-custom-metadata-or-config-to-package-json-is-it-valid

This API is provided for existing users, but is not recommended for new users.

To use, import via @fluidframework/container-definitions/legacy.

For more information about our API support guarantees, see here.

Signature​

export interface IFluidPackage

Properties​

PropertyAlertsTypeDescription
fluidBeta{ [environment: string]: undefined | IFluidPackageEnvironment; }This object represents the Fluid specific properties of the package
nameBetastringThe name of the package that this code represnets

Index Signatures​

Index SignatureAlertsDescription
[key: string]: unknownBetaGeneral access for extended fields as specific usages will likely have additional infornamation like a definition of compatible versions, or deployment information like rings or rollouts.

Property Details​

fluid​

This object represents the Fluid specific properties of the package

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

fluid: {
[environment: string]: undefined | IFluidPackageEnvironment;
};

Type: { [environment: string]: undefined | IFluidPackageEnvironment; }

name​

The name of the package that this code represnets

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

name: string;

Type: string

Index Signature Details​

[key: string]: unknown​

General access for extended fields as specific usages will likely have additional infornamation like a definition of compatible versions, or deployment information like rings or rollouts.

This API is provided for existing users, but is not recommended for new users.

For more information about our API support guarantees, see here.

Signature​

[key: string]: unknown;