knowmax-quest-types 2.27.2 → 2.29.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.
@@ -6,4 +6,14 @@ export interface IMetadata {
6
6
  description?: string;
7
7
  /** Origin of value. Possible values: Document, DocumentVersion, DocumentNode, Dynamic, DynamicIndexable, Collection */
8
8
  origin?: string;
9
+ /** If set this value can't be changed. Only set for metadata of documentversion(nodes). Metadata of document and collections is always mutable. */
10
+ immutable?: boolean;
11
+ modified?: string;
12
+ modifiedBy?: string;
13
+ created?: string;
14
+ createdBy?: string;
9
15
  }
16
+ /** Variant of IMetadata suitable for patch operations. Value field is nullable in order to delete values in patch operation. */
17
+ export type IMetadataPatchable = Omit<IMetadata, 'value'> & {
18
+ value?: IMetadata['value'];
19
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knowmax-quest-types",
3
- "version": "2.27.2",
3
+ "version": "2.29.0",
4
4
  "description": "Contains type definitions for communicating with Knowmax Quest.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,9 +24,9 @@
24
24
  "devDependencies": {
25
25
  "@jest/globals": "^29.7.0",
26
26
  "jest": "^29.7.0",
27
- "rimraf": "5.0.5",
28
- "ts-jest": "^29.1.2",
27
+ "rimraf": "5.0.7",
28
+ "ts-jest": "^29.1.5",
29
29
  "ts-node": "^10.9.2",
30
- "typescript": "5.4.5"
30
+ "typescript": "5.5.2"
31
31
  }
32
- }
32
+ }