Skip to main content

StatesWorkspaceSchema TypeAlias

Schema for a StatesWorkspace workspace.

Keys of schema are the keys of the StatesWorkspace providing access to State objects.

This API is provided as a beta preview and may change without notice.

To use, import via @fluidframework/presence/beta.

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

Signature

export type StatesWorkspaceSchema<Keys extends string = string> = {
[Key in Keys]: StatesWorkspaceEntry<Key, InternalTypes.ValueDirectoryOrState<unknown>>;
};

Type Parameters

ParameterConstraintDefaultDescription
Keysstringstring