knowmax-quest-types 2.0.3 → 2.1.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.
@@ -1,3 +1,4 @@
1
+ import { IMetadata } from ".";
1
2
  export interface IDocumentNode<T extends IDocumentNode<T> = IDocumentNode<any>> {
2
3
  /** Internal identification. */
3
4
  id: number;
@@ -15,5 +16,7 @@ export interface IDocumentNode<T extends IDocumentNode<T> = IDocumentNode<any>>
15
16
  mimeType?: string;
16
17
  /** Describes ordinal sequence within other document nodes at same level. */
17
18
  sequence: number;
19
+ /** Describes metadata for this document node. */
20
+ metadata?: IMetadata[];
18
21
  child?: T[];
19
22
  }
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
- {
2
- "name": "knowmax-quest-types",
3
- "version": "2.0.3",
4
- "description": "Contains type definitions for communicating with Knowmax Quest.",
5
- "main": "./dist/index.js",
6
- "scripts": {
7
- "build": "rimraf ./dist && tsc",
8
- "test": "ts-mocha **/*.test.ts"
9
- },
10
- "files": [
11
- "dist",
12
- "LICENSE",
13
- "README.md"
14
- ],
15
- "keywords": [
16
- "knowmax",
17
- "quest"
18
- ],
19
- "author": "Knowmax BV",
20
- "license": "MIT",
21
- "devDependencies": {
22
- "@types/chai": "4.2.21",
23
- "@types/mocha": "^8.2.3",
24
- "chai": "^4.3.4",
25
- "mocha": "^9.0.2",
26
- "rimraf": "^3.0.2",
27
- "ts-mocha": "^8.0.0",
28
- "typescript": "4.3.5"
29
- }
1
+ {
2
+ "name": "knowmax-quest-types",
3
+ "version": "2.1.0",
4
+ "description": "Contains type definitions for communicating with Knowmax Quest.",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "build": "rimraf ./dist && tsc",
8
+ "test": "ts-mocha **/*.test.ts"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "LICENSE",
13
+ "README.md"
14
+ ],
15
+ "keywords": [
16
+ "knowmax",
17
+ "quest"
18
+ ],
19
+ "author": "Knowmax BV",
20
+ "license": "MIT",
21
+ "devDependencies": {
22
+ "@types/chai": "4.2.22",
23
+ "@types/mocha": "9.0.0",
24
+ "chai": "^4.3.4",
25
+ "mocha": "9.1.3",
26
+ "rimraf": "^3.0.2",
27
+ "ts-mocha": "^8.0.0",
28
+ "typescript": "4.5.2"
29
+ }
30
30
  }