@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.
60 lines (59 loc) • 1.62 kB
TypeScript
import { CommentAnnotation } from "./comment-annotation.data.model";
import { UnreadCommentsMap } from "./comment-utils.data.model";
import { Location } from "./location.model";
declare class FilterTypeConfig {
name?: string;
enable?: boolean;
multiSelection?: boolean;
enableGrouping?: boolean;
order?: string[];
}
export declare class CommentSidebarFilterConfig {
location?: FilterTypeConfig;
people?: FilterTypeConfig;
assigned?: FilterTypeConfig;
tagged?: FilterTypeConfig;
priority?: FilterTypeConfig;
status?: FilterTypeConfig;
category?: FilterTypeConfig;
commentType?: FilterTypeConfig;
version?: FilterTypeConfig;
}
export declare class CommentSidebarGroupConfig {
enable?: boolean;
name?: string;
}
export declare class CommentSidebarFilters {
location?: Location[];
people?: {
userId?: string;
email?: string;
name?: string;
}[];
priority?: string[];
status?: string[];
category?: string[];
version?: {
id: string;
name?: string;
}[];
}
export interface CommentSidebarCustomActionsState {
[key: string]: boolean;
}
export interface CommentSidebarCustomActionEventData {
actions: CommentSidebarCustomActionsState;
data: CommentAnnotation[];
unreadDataMap: UnreadCommentsMap;
systemFilteredData: CommentAnnotation[];
}
export declare class CommentSidebarData {
groupId?: string;
groupName?: string;
isExpanded?: boolean;
annotations: CommentAnnotation[];
}
export declare class CommentSidebarDataOptions {
grouping?: boolean;
}
export {};