knowmax-quest-types 2.12.1 → 2.13.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/dist/IDocumentAlternativeInfo.d.ts +9 -0
- package/dist/IDocumentAlternativeInfo.js +2 -0
- package/dist/IDocumentVersion.d.ts +0 -1
- package/dist/IReferenceInfo.d.ts +3 -1
- package/dist/IReferenceInfo.test.js +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/IReferenceInfo.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDocument, IDocumentVersion, IDocumentNode, IMetadata, IFavoriteInfo, ICollectionDocumentReference, ICoverInfo, IResource } from '.';
|
|
1
|
+
import { IDocument, IDocumentVersion, IDocumentNode, IMetadata, IFavoriteInfo, ICollectionDocumentReference, ICoverInfo, IResource, IDocumentAlternativeInfo } from '.';
|
|
2
2
|
export interface IReferenceInfo<T extends IDocumentNode<T> = IDocumentNode<any>> {
|
|
3
3
|
/** Originally requested Quest id. */
|
|
4
4
|
requestedQuestId: string;
|
|
@@ -26,6 +26,8 @@ export interface IReferenceInfo<T extends IDocumentNode<T> = IDocumentNode<any>>
|
|
|
26
26
|
metadata: IMetadata[];
|
|
27
27
|
/** Collections in which document referenced by Quest id occurs (if requested). */
|
|
28
28
|
collections: ICollectionDocumentReference[];
|
|
29
|
+
/** List of info about document alternatives referenced by Quest id (if requested). */
|
|
30
|
+
documentAlternativesInfo?: IDocumentAlternativeInfo[];
|
|
29
31
|
/** Information about cover image for document and/or documentversion specified by Quest id (if requested). */
|
|
30
32
|
coverInfo?: ICoverInfo;
|
|
31
33
|
/** Set for user calling this method. Only for users authenticated by Knowmax License System. Possible values: Unknown, Enabled, Disabled */
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -41,4 +41,5 @@ __exportStar(require("./IDocumentAlternative"), exports);
|
|
|
41
41
|
__exportStar(require("./IMetadataForNodes"), exports);
|
|
42
42
|
__exportStar(require("./IMetadataForQuestId"), exports);
|
|
43
43
|
__exportStar(require("./IMetadataValueSuggestion"), exports);
|
|
44
|
+
__exportStar(require("./IDocumentAlternativeInfo"), exports);
|
|
44
45
|
__exportStar(require("./metadata"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "knowmax-quest-types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"description": "Contains type definitions for communicating with Knowmax Quest.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"author": "Knowmax BV",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@types/chai": "4.3.
|
|
22
|
+
"@types/chai": "4.3.5",
|
|
23
23
|
"@types/mocha": "10.0.1",
|
|
24
24
|
"chai": "4.3.7",
|
|
25
25
|
"mocha": "10.2.0",
|