knowmax-quest-types 2.5.2 → 2.6.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,13 @@
1
+ import { IDocumentNode, IDocumentVersion } from ".";
2
+ export interface IImportlog {
3
+ id: number;
4
+ documentVersionId: number;
5
+ documentNodeId?: number;
6
+ type: string;
7
+ subject: string;
8
+ message: string;
9
+ details: string;
10
+ created: string;
11
+ documentNode?: IDocumentNode;
12
+ documentVersion?: IDocumentVersion;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import { IDocumentNode, IDocumentVersion } from ".";
2
+ export interface IReference {
3
+ id: number;
4
+ documentVersionId: number;
5
+ documentNodeId?: number;
6
+ type: string;
7
+ value: string;
8
+ domain: string;
9
+ count: number;
10
+ documentNode?: IDocumentNode;
11
+ documentVersion?: IDocumentVersion;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,9 @@
1
+ import { IDocumentVersion } from ".";
1
2
  export interface IResource {
2
3
  /** Internal identification. */
3
4
  id: number;
5
+ /** Internal id of document version to which resource belongs. */
6
+ documentVersionId: number;
4
7
  /** Name of resource. */
5
8
  name: string;
6
9
  /** Url to data for this resource. */
@@ -13,4 +16,6 @@ export interface IResource {
13
16
  mimeType: string;
14
17
  /** Optional group identification to which resource belongs. */
15
18
  group?: string;
19
+ /** Document version info. If requested. */
20
+ documentVersion?: IDocumentVersion;
16
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "2.5.2",
3
+ "version": "2.6.0",
4
4
  "description": "Contains type definitions for communicating with Knowmax Quest.",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {