knowmax-quest-types
Version:
Contains type definitions for communicating with Knowmax Quest.
39 lines • 1.92 kB
TypeScript
/** Refelcts document version with key document info. Closely represents document version as stored in database. */
export interface IDocumentVersionWithDocumentInfo {
/** Internal identification. */
id: number;
/** Internal identification for document to which version belongs. */
documentId: number;
/** Quest identification of document to which version belongs. */
questId: string;
/** Version number of this document version. */
version: number;
/** Title for this specific document version in case it differs from title for document to which this version belongs. */
title?: string;
/** Title of document to which this version belongs. */
documentTitle: string;
/** Date time for this document version. */
date: string;
/** Reflects optional setting for execlusive current version. Only one version which belongs to a document is allowed to be explicitly marked as current. If none
* is marked, automatic inference will be used to determine current version. */
current?: boolean;
/** Description as set for this document version. */
description?: string;
/** Quest importer responsible for importing this document version. */
importerId: string;
/** When false, this document only has contents on document root node. When true document has child nodes underneath document root node. */
documentRootChildNodes: boolean;
/** True in case document version is valid. */
valid: boolean;
/** True in case document version is online. */
online: boolean;
/** Set while document is being imported. */
importing?: boolean;
/** Origin identification as set during data import. Custom field to describe origin of data import. */
originId?: string;
modified: string;
modifiedBy: string;
created: string;
createdBy: string;
}
//# sourceMappingURL=IDocumentVersionWithDocumentInfo.d.ts.map