knowmax-quest-types 2.1.0 → 2.4.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,7 @@
1
+ import { IReferenceInfo } from '.';
2
+ export interface IDataCompare {
3
+ referenceInfo1: IReferenceInfo;
4
+ referenceInfo2: IReferenceInfo;
5
+ /** Html string with comparison of both references. */
6
+ html: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /** Options for getting document data comparison. */
2
+ export interface IDataCompareOptions {
3
+ id2: string;
4
+ allowOffline?: boolean;
5
+ allowInvalid?: boolean;
6
+ compose?: boolean | string;
7
+ transform?: string;
8
+ linkManager?: boolean;
9
+ linkManagerMode?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ /** Options for getting document data. */
1
2
  export interface IDataOptions {
2
3
  allowOffline?: boolean;
3
4
  allowInvalid?: boolean;
@@ -0,0 +1,7 @@
1
+ import { IDocument, IDocumentVersion } from '.';
2
+ export interface IVersionMapItem {
3
+ type: 'Revision' | 'Successor' | 'Predecessor';
4
+ current: boolean;
5
+ document: IDocument;
6
+ documentVersion: IDocumentVersion;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -2,6 +2,8 @@ export * from './contenttypes';
2
2
  export * from './licenseaccess';
3
3
  export * from './ICollectionNode';
4
4
  export * from './IDataOptions';
5
+ export * from './IDataCompareOptions';
6
+ export * from './IDataCompare';
5
7
  export * from './IDocument';
6
8
  export * from './IDocumentNode';
7
9
  export * from './IDocumentVersion';
@@ -10,6 +12,7 @@ export * from './IMetadata';
10
12
  export * from './IReferenceInfo';
11
13
  export * from './IReferenceInfoOptions';
12
14
  export * from './IVersionMapOptions';
15
+ export * from './IVersionMapItem';
13
16
  export * from './ICoverOptions';
14
17
  export * from './ICollectionDocumentReference';
15
18
  export * from './ICollection';
package/dist/index.js CHANGED
@@ -14,6 +14,8 @@ __exportStar(require("./contenttypes"), exports);
14
14
  __exportStar(require("./licenseaccess"), exports);
15
15
  __exportStar(require("./ICollectionNode"), exports);
16
16
  __exportStar(require("./IDataOptions"), exports);
17
+ __exportStar(require("./IDataCompareOptions"), exports);
18
+ __exportStar(require("./IDataCompare"), exports);
17
19
  __exportStar(require("./IDocument"), exports);
18
20
  __exportStar(require("./IDocumentNode"), exports);
19
21
  __exportStar(require("./IDocumentVersion"), exports);
@@ -22,6 +24,7 @@ __exportStar(require("./IMetadata"), exports);
22
24
  __exportStar(require("./IReferenceInfo"), exports);
23
25
  __exportStar(require("./IReferenceInfoOptions"), exports);
24
26
  __exportStar(require("./IVersionMapOptions"), exports);
27
+ __exportStar(require("./IVersionMapItem"), exports);
25
28
  __exportStar(require("./ICoverOptions"), exports);
26
29
  __exportStar(require("./ICollectionDocumentReference"), exports);
27
30
  __exportStar(require("./ICollection"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "2.1.0",
3
+ "version": "2.4.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.2.22",
23
- "@types/mocha": "9.0.0",
24
- "chai": "^4.3.4",
25
- "mocha": "9.1.3",
22
+ "@types/chai": "4.3.0",
23
+ "@types/mocha": "9.1.0",
24
+ "chai": "^4.3.5",
25
+ "mocha": "9.2.0",
26
26
  "rimraf": "^3.0.2",
27
- "ts-mocha": "^8.0.0",
28
- "typescript": "4.5.2"
27
+ "ts-mocha": "9.0.2",
28
+ "typescript": "4.5.5"
29
29
  }
30
30
  }