@fluidframework/synthesize Package
Interfaces
| Interface | Description |
|---|---|
| IFluidDependencySynthesizer | IFluidDependencySynthesizer can generate IFluidObjects based on the IProvideFluidObject pattern. It allow for registering providers and uses synthesize to generate a new object with the optional and required types. |
| IProvideFluidDependencySynthesizer |
Classes
| Class | Description |
|---|---|
| DependencyContainer | DependencyContainer is similar to a IoC Container. It takes providers and will synthesize an object based on them when requested. |
Types
| TypeAlias | Description |
|---|---|
| AsyncFluidObjectProvider | Combined type for Optional and Required Async Fluid object Providers |
| AsyncOptionalFluidObjectProvider | This is a condensed version of Record that requires the object has all the FluidObject properties as its type, mapped to an object that implements the property or undefined. |
| AsyncRequiredFluidObjectProvider | This is a condensed version of Record that requires the object has all the FluidObject properties as its type mapped to an object that implements the property. |
| FluidObjectProvider | Multiple ways to provide a Fluid object. |
| FluidObjectSymbolProvider | This is a condensed version of Record that requires the object has all the FluidObject properties as its type mapped to a string representation of that property. |
Variables
| Variable | Type | Description |
|---|---|---|
| IFluidDependencySynthesizer | keyof IProvideFluidDependencySynthesizer |
Variable Details
IFluidDependencySynthesizer
Signature
IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer
Type: keyof IProvideFluidDependencySynthesizer