@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.
26 lines (25 loc) • 706 B
TypeScript
/**
* A single organization / team entry, used to populate the "Selected Teams" picker
* in the comment visibility banner.
*
* Provided by the customer via `contactElement.updateOrgList({ orgList: [...] })`.
*/
export declare class OrgContact {
/**
* Unique organization identifier that you use to identify the team / organization.
*/
id: string;
/**
* The team / organization's display name (shown in the "Selected Teams" picker).
*/
name?: string;
}
/**
* Config accepted by `updateOrgList`.
*/
export interface UpdateOrgListConfig {
/**
* The list of organizations / teams to offer in the "Selected Teams" picker.
*/
orgList: OrgContact[];
}