knowmax-quest-types 2.22.0 → 2.23.1

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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './IDocument';
8
8
  export * from './IDocumentWithVersionInfo';
9
9
  export * from './IDocumentNode';
10
10
  export * from './IDocumentVersion';
11
+ export * from './IDocumentVersionWithDocumentInfo';
11
12
  export * from './IFavoriteInfo';
12
13
  export * from './IMetadata';
13
14
  export * from './IReferenceInfo';
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ __exportStar(require("./IDocument"), exports);
24
24
  __exportStar(require("./IDocumentWithVersionInfo"), exports);
25
25
  __exportStar(require("./IDocumentNode"), exports);
26
26
  __exportStar(require("./IDocumentVersion"), exports);
27
+ __exportStar(require("./IDocumentVersionWithDocumentInfo"), exports);
27
28
  __exportStar(require("./IFavoriteInfo"), exports);
28
29
  __exportStar(require("./IMetadata"), exports);
29
30
  __exportStar(require("./IReferenceInfo"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "2.22.0",
3
+ "version": "2.23.1",
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.9",
23
- "@types/mocha": "10.0.3",
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": "4.9.5"
28
+ "typescript": "5.3.2"
29
29
  }
30
30
  }