Skip to main content
Version: v2

DataObjectTypes Interface

This type is used as the base generic input to DataObject and PureDataObject.

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

To use, import via @fluidframework/aqueduct/legacy.

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

Signature​

export interface DataObjectTypes

Properties​

PropertyAlertsModifiersTypeDescription
EventsBetaoptionalIEventRepresents events that will be available in the EventForwarder.
InitialStateBetaoptionalanyThe initial state type that the produced data object may take during creation.
OptionalProvidersBetaoptionalFluidObjectRepresents a type that will define optional providers that will be injected.

Property Details​

Events​

Represents events that will be available in the EventForwarder.

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​

Events?: IEvent;

Type: IEvent

InitialState​

The initial state type that the produced data object may take during creation.

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​

InitialState?: any;

Type: any

OptionalProviders​

Represents a type that will define optional providers that will be injected.

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​

OptionalProviders?: FluidObject;

Type: FluidObject