knowmax-quest-types 2.21.0 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** Refelcts document version with key document info. Closely represents document version as stored in database. */
|
|
2
|
+
export interface IDocumentVersionWithDocumentInfo {
|
|
3
|
+
/** Internal identification. */
|
|
4
|
+
id: number;
|
|
5
|
+
/** Internal identification for document to which version belongs. */
|
|
6
|
+
documentId: number;
|
|
7
|
+
/** Quest identification of document to which version belongs. */
|
|
8
|
+
questId: string;
|
|
9
|
+
/** Version number of this document version. */
|
|
10
|
+
version: number;
|
|
11
|
+
/** Title for this specific document version in case it differs from title for document to which this version belongs. */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** Title of document to which this version belongs. */
|
|
14
|
+
documentTitle: string;
|
|
15
|
+
/** Date time for this document version. */
|
|
16
|
+
date: string;
|
|
17
|
+
/** 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
|
|
18
|
+
* is marked, automatic inference will be used to determine current version. */
|
|
19
|
+
current?: boolean;
|
|
20
|
+
/** Description as set for this document version. */
|
|
21
|
+
description?: string;
|
|
22
|
+
/** Quest importer responsible for importing this document version. */
|
|
23
|
+
importerId: string;
|
|
24
|
+
/** When false, this document only has contents on document root node. When true document has child nodes underneath document root node. */
|
|
25
|
+
documentRootChildNodes: boolean;
|
|
26
|
+
/** True in case document version is valid. */
|
|
27
|
+
valid: boolean;
|
|
28
|
+
/** True in case document version is online. */
|
|
29
|
+
online: boolean;
|
|
30
|
+
/** Set while document is being imported. */
|
|
31
|
+
importing?: boolean;
|
|
32
|
+
/** Origin identification as set during data import. Custom field to describe origin of data import. */
|
|
33
|
+
originId?: string;
|
|
34
|
+
modified: string;
|
|
35
|
+
modifiedBy: string;
|
|
36
|
+
created: string;
|
|
37
|
+
createdBy: string;
|
|
38
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface IReferenceInfoOptions {
|
|
2
|
-
/** Get information for
|
|
2
|
+
/** Get information for document versions marked offline. Specific version required. */
|
|
3
3
|
allowOffline?: boolean;
|
|
4
|
-
/** Get information for
|
|
4
|
+
/** Get information for document versions marked invalid. Specific version required. */
|
|
5
5
|
allowInvalid?: boolean;
|
|
6
6
|
/** Include information about requested version. */
|
|
7
7
|
includeDocumentVersion?: boolean;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
export interface IVersionMapOptions {
|
|
2
|
+
/** Get information for document versions marked offline. Specific version required. */
|
|
3
|
+
allowOffline?: boolean;
|
|
4
|
+
/** Get information for document versions marked invalid. Specific version required. */
|
|
5
|
+
allowInvalid?: boolean;
|
|
2
6
|
includePredecessors?: boolean;
|
|
3
7
|
includeSuccessors?: boolean;
|
|
4
8
|
maxLevels?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "knowmax-quest-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.23.0",
|
|
4
4
|
"description": "Contains type definitions for communicating with Knowmax Quest.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"author": "Knowmax BV",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@types/chai": "4.3.
|
|
23
|
-
"@types/mocha": "10.0.
|
|
22
|
+
"@types/chai": "4.3.11",
|
|
23
|
+
"@types/mocha": "10.0.6",
|
|
24
24
|
"chai": "4.3.10",
|
|
25
25
|
"mocha": "10.2.0",
|
|
26
26
|
"rimraf": "5.0.5",
|
|
27
27
|
"ts-mocha": "10.0.0",
|
|
28
|
-
"typescript": "
|
|
28
|
+
"typescript": "5.3.2"
|
|
29
29
|
}
|
|
30
30
|
}
|