knowmax-quest-types 2.14.0 → 2.15.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/IDocument.d.ts
CHANGED
|
@@ -7,8 +7,13 @@ export interface IDocument {
|
|
|
7
7
|
title: string;
|
|
8
8
|
/** Explicit marking of document and all it's versions as archive. Not set in case Quest should infer this value. */
|
|
9
9
|
archive?: boolean;
|
|
10
|
+
/** Internal identification of optional document group to which this document belongs. */
|
|
11
|
+
documentGroupId?: number;
|
|
12
|
+
/** Quest identification of optional document group to which this document belongs. */
|
|
13
|
+
documentGroupQuestId?: string;
|
|
10
14
|
modified: string;
|
|
11
15
|
modifiedBy: string;
|
|
12
16
|
created: string;
|
|
13
17
|
createdBy: string;
|
|
14
18
|
}
|
|
19
|
+
export type IDocumentEditable = Pick<IDocument, 'questId' | 'title' | 'archive' | 'documentGroupId'>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IDocumentGroup {
|
|
2
|
+
/** Internal identification. */
|
|
3
|
+
id: number;
|
|
4
|
+
/** Quest identification for document group. */
|
|
5
|
+
questId: string;
|
|
6
|
+
/** Document group title */
|
|
7
|
+
title?: string;
|
|
8
|
+
modified: string;
|
|
9
|
+
modifiedBy: string;
|
|
10
|
+
created: string;
|
|
11
|
+
createdBy: string;
|
|
12
|
+
}
|
|
13
|
+
export type IDocumentGroupEditable = Pick<IDocumentGroup, 'questId' | 'title'>;
|
|
@@ -21,4 +21,6 @@ export interface IReferenceInfoOptions {
|
|
|
21
21
|
includeDocumentVersionArchive?: boolean;
|
|
22
22
|
/** Include information about available document alternatives at level of reference (either documentversion of documentnode). */
|
|
23
23
|
includeDocumentAlternativesInfo?: boolean;
|
|
24
|
+
/** Include information about optional document group to which document referenced belongs. */
|
|
25
|
+
includeDocumentGroup?: boolean;
|
|
24
26
|
}
|