@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.
48 lines (47 loc) • 1.13 kB
TypeScript
import { BaseMetadata } from "./base-metadata.data.model";
import { UserContact } from "./user-contact.data.model";
import { UserRole } from "./user-role.data.model";
import { User } from "./user.data.model";
export declare class UserIAM {
/**
* The user's id (Email id of the user)
*/
id: string;
/**
* The user's contact details
*/
user: UserContact;
documentIds?: string[];
viewerDocumentIds?: string[];
folderIds?: string[];
viewerFolderIds?: string[];
organizationIds?: string[];
viewerOrganizationIds?: string[];
documentIdsCount?: number;
folderIdsCount?: number;
organizationIdsCount?: number;
/**
* The user's role in the document
*/
role: UserRole;
/**
* User who invited this user
*/
invitedBy?: User;
/**
* Date when this user was invited
*/
invitedDate?: any;
/**
* User who updated this user
*/
updatedBy?: User;
/**
* Date when this user was updated
*/
updatedDate?: any;
groups?: {
[groupId: string]: boolean;
};
metadata?: BaseMetadata;
}