knowmax-quest-types
Version:
Contains type definitions for communicating with Knowmax Quest.
43 lines • 2.09 kB
TypeScript
export interface IDocumentVersion {
/** Internal identification. */
id: number;
/** Version number of this document version. */
version: number;
/** Url to data for this document version. */
url: string;
/** Title for this specific document version in case it differs from title for document to which this version belongs. */
title?: string;
/** Date time for this document version. */
date: string;
/** Reflects inferred current version setting. It's either true because it was explicitly set as current document or
* because it was inferred because this document is the latest online version for a document without expliciet document version marked as current.
*/
current: boolean;
/** Original - non inferred - current setting. Set to undefined for automatic inference by Knowmax Quest. */
originalCurrent?: boolean;
/** Reflects inferred value indiciating whether this version is considered archive. It's true in case document to which version belongs
* was explicitly marked archive or in case this version is older than current version for this document.
*/
archive?: boolean;
/** Description as set for this document version. */
description?: string;
/** Quest importer responsible for importing this document version. */
importerId: string;
/** Describes if this document version contains any document nodes. */
hasNodes: boolean;
/** 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;
/** 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;
resourceCount: number;
messageCount: number;
}
//# sourceMappingURL=IDocumentVersion.d.ts.map