@veltdev/sdk
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.
17 lines (16 loc) • 440 B
TypeScript
export interface IUnreadCommentsMap {
[annotationId: string]: number;
}
export type UnreadCommentsMap = IUnreadCommentsMap | null;
export interface IUnreadCommentsCount {
count: number;
}
export type UnreadCommentsCount = IUnreadCommentsCount | null;
export interface TransformContext {
containerSelector: string;
transforms: {
scale: number;
transformOrigin: string;
inverseScale?: number;
};
}