Skip to main content
Version: v1

DataObjectTypes Interface

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

Signature​

export interface DataObjectTypes

Properties​

PropertyModifiersTypeDescription
EventsoptionalIEventrepresents events that will be available in the EventForwarder
InitialStateoptionalanythe initial state type that the produced data object may take during creation
OptionalProvidersoptionalFluidObjectrepresents a type that will define optional providers that will be injected

Property Details​

Events​

represents events that will be available in the EventForwarder

Signature​

Events?: IEvent;

Type: IEvent

InitialState​

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

Signature​

InitialState?: any;

Type: any

OptionalProviders​

represents a type that will define optional providers that will be injected

Signature​

OptionalProviders?: FluidObject;

Type: FluidObject