@veltdev/types
Version:
Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.
23 lines (22 loc) • 667 B
TypeScript
import { LiveStateData, SingleEditorLiveStateData } from "./live-state-data.data.model";
export declare class LiveStateDataMap {
/**
* Map of all unique LiveStateData set by you on the given document.
*/
custom?: {
[liveStateDataId: string]: LiveStateData;
};
/**
* Map of all unique LiveStateData set by the default editor on the given document.
*/
default?: {
singleEditor?: SingleEditorLiveStateData;
autoSyncState?: LiveStateAutoSyncState;
};
}
export declare class LiveStateAutoSyncState {
current?: LiveStateData;
history?: {
[liveStateDataId: string]: LiveStateData;
};
}