@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.
33 lines (32 loc) • 760 B
TypeScript
import { DocumentAccessType } from "../../utils/enums";
import { UserIAM } from "./user-iam.data.model";
export type DocumentIAMFeatures = {
all?: {
disabled?: boolean;
restricted?: boolean;
};
};
export declare class DocumentIAM {
/**
* The document access type
*/
documentAccessType: DocumentAccessType;
/**
* The access type of the document when document is inside organization
*/
accessType: DocumentAccessType;
/**
* Flag to indicate if the document is disabled
*/
disabled: boolean;
/**
* Features
*/
features: DocumentIAMFeatures | undefined;
/**
* Users with access to the document
*/
users: {
[userId: string]: UserIAM;
};
}