@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.
56 lines (55 loc) • 1.1 kB
TypeScript
import { LocationMetadata } from "./location-metadata.model";
import { PageInfo } from "./page-info.model";
import { User } from "./user.data.model";
export declare class DocumentMetadata {
/**
* Unique document id generated from client document id
*/
documentId?: string;
/**
* Folders
*/
folderId?: string;
/**
* Velt folder id
*/
veltFolderId?: string;
/**
* API key
*/
apiKey?: string;
/**
* Organization id
*/
organizationId?: string;
/**
* Client organization id
*/
clientOrganizationId?: string;
/**
* Document id provided by client
*/
clientDocumentId?: string | number;
/**
* Document name
*/
documentName?: string;
/**
* Page metadata
*/
pageInfo?: PageInfo;
/**
*
*/
locations?: {
[locationId: number]: LocationMetadata;
};
/**
* Document creator
*/
creator?: User;
[key: string]: any;
}
export interface DocumentMetadatas {
[documentId: string]: DocumentMetadata;
}