knowmax-quest-types 2.9.0 → 2.11.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.
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright 2021 Knowmax B.V.
|
|
1
|
+
Copyright 2021-2023 Knowmax B.V.
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
4
|
|
package/dist/ICollection.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { IMetadata } from '.';
|
|
1
2
|
export interface ICollection {
|
|
2
3
|
id: number;
|
|
3
4
|
label: string;
|
|
4
5
|
name: string;
|
|
5
6
|
description?: string;
|
|
7
|
+
/** Optional quest id of document to which collection is associated. */
|
|
6
8
|
associatedQuestId?: string;
|
|
7
9
|
modified: string;
|
|
8
10
|
modifiedBy: string;
|
|
9
11
|
created: string;
|
|
10
12
|
createdBy: string;
|
|
13
|
+
/** Optional metadata associated with colection. */
|
|
14
|
+
metadata?: IMetadata[];
|
|
11
15
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Single result from /api/metadatavalue/suggest endpoint. */
|
|
2
|
+
export interface IMetadataValueSuggestion {
|
|
3
|
+
/** Identification of metadata when requesting suggestions. Usually in format familylabel.label */
|
|
4
|
+
metadataDefinition: string;
|
|
5
|
+
/** Suggested values for metadata. */
|
|
6
|
+
values: IMetadataValueSuggestionItem[];
|
|
7
|
+
}
|
|
8
|
+
export interface IMetadataValueSuggestionItem {
|
|
9
|
+
/** Actual value. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** Value with marking of query. */
|
|
12
|
+
highlightedValue: string;
|
|
13
|
+
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -40,3 +40,4 @@ __exportStar(require("./IReference"), exports);
|
|
|
40
40
|
__exportStar(require("./IDocumentAlternative"), exports);
|
|
41
41
|
__exportStar(require("./IMetadataForNodes"), exports);
|
|
42
42
|
__exportStar(require("./IMetadataForQuestId"), exports);
|
|
43
|
+
__exportStar(require("./IMetadataValueSuggestion"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "knowmax-quest-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.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": "
|
|
24
|
-
"chai": "4.3.
|
|
25
|
-
"mocha": "
|
|
26
|
-
"rimraf": "
|
|
27
|
-
"ts-mocha": "
|
|
28
|
-
"typescript": "4.
|
|
22
|
+
"@types/chai": "4.3.4",
|
|
23
|
+
"@types/mocha": "10.0.1",
|
|
24
|
+
"chai": "4.3.7",
|
|
25
|
+
"mocha": "10.2.0",
|
|
26
|
+
"rimraf": "5.0.0",
|
|
27
|
+
"ts-mocha": "10.0.0",
|
|
28
|
+
"typescript": "4.9.5"
|
|
29
29
|
}
|
|
30
30
|
}
|