Skip to main content
Version: v1

@fluidframework/core-interfaces Package

Interfaces

InterfaceAlertsDescription
IFluidCodeDetailsDeprecated
IFluidCodeDetailsComparerDeprecated
IFluidCodeDetailsConfigDeprecated
IFluidHandleHandle to a shared FluidObject
IFluidHandleContextAn IFluidHandleContext describes a routing context from which other IFluidHandleContexts are defined
IFluidLoadableA shared FluidObject has a URL from which it can be referenced
IFluidObjectDeprecated
IFluidPackageDeprecated
IFluidPackageEnvironmentDeprecated
IFluidRouter
IFluidRunnable
IProvideFluidCodeDetailsComparerDeprecated
IProvideFluidHandle
IProvideFluidHandleContext
IProvideFluidLoadable
IProvideFluidRouterRequest routing
IProvideFluidRunnable
IRequest
IRequestHeader
IResponse

Types

TypeAliasDescription
FluidObject

This utility type take interface(s) that follow the FluidObject pattern, and produces a new type that can be used for inspection and discovery of those interfaces.

It is meant to be used with types that are known to implement the FluidObject pattern. A common way to specify a type implements the FluidObject pattern is to expose it as a FluidObject without a generic argument.

FluidObjectKeys

This utility type creates a type that is the union of all keys on the generic type which implement the FluidObject pattern.

See FluidObject

For example FluidObjectKeys<IFoo & IBar> would result in "IFoo"

Variables

VariableAlertsTypeDescription
IFluidCodeDetailsComparerDeprecatedkeyof IProvideFluidCodeDetailsComparer
IFluidHandlekeyof IProvideFluidHandle
IFluidHandleContextkeyof IProvideFluidHandleContext
IFluidLoadablekeyof IProvideFluidLoadable
IFluidRouterkeyof IProvideFluidRouter
IFluidRunnablekeyof IProvideFluidRunnable
isFluidCodeDetailsDeprecated(details: unknown) => details is Readonly<IFluidCodeDetails>
isFluidPackageDeprecated(pkg: any) => pkg is Readonly<IFluidPackage>

Variable Details

IFluidCodeDetailsComparer

This API is deprecated and will be removed in a future release.

in favor of @fluidframework/container-definitions/fluidPackage.ts#IFluidCodeDetailsComparer to have code loading modules in same package.

Signature

IFluidCodeDetailsComparer: keyof IProvideFluidCodeDetailsComparer

Type: keyof IProvideFluidCodeDetailsComparer

IFluidHandle

Signature

IFluidHandle: keyof IProvideFluidHandle

Type: keyof IProvideFluidHandle

IFluidHandleContext

Signature

IFluidHandleContext: keyof IProvideFluidHandleContext

Type: keyof IProvideFluidHandleContext

IFluidLoadable

Signature

IFluidLoadable: keyof IProvideFluidLoadable

Type: keyof IProvideFluidLoadable

IFluidRouter

Signature

IFluidRouter: keyof IProvideFluidRouter

Type: keyof IProvideFluidRouter

IFluidRunnable

Signature

IFluidRunnable: keyof IProvideFluidRunnable

Type: keyof IProvideFluidRunnable

isFluidCodeDetails

This API is deprecated and will be removed in a future release.

in favor of @fluidframework/container-definitions/fluidPackage.ts#isFluidCodeDetails to have code loading modules in same package

Signature

isFluidCodeDetails: (details: unknown) => details is Readonly<IFluidCodeDetails>

Type: (details: unknown) => details is Readonly<IFluidCodeDetails>

isFluidPackage

This API is deprecated and will be removed in a future release.

in favor of @fluidframework/container-definitions/fluidPackage.ts#isFluidPackage to have code loading modules in same package. Check if the package.json defines a Fluid package

Signature

isFluidPackage: (pkg: any) => pkg is Readonly<IFluidPackage>

Type: (pkg: any) => pkg is Readonly<IFluidPackage>