@twin.org/data-core 0.0.1-next.31 → 0.0.1-next.32

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.
@@ -4,12 +4,16 @@ import type { JSONSchema7 } from "json-schema";
4
4
  * Interface describing a type which can handle a specific data type.
5
5
  */
6
6
  export interface IDataTypeHandler {
7
+ /**
8
+ * The context for the type.
9
+ */
10
+ context: string;
7
11
  /**
8
12
  * The type for the item.
9
13
  */
10
14
  type: string;
11
15
  /**
12
- * The default value for the item.
16
+ * The default value for the item to use when constructing a new object.
13
17
  */
14
18
  defaultValue?: unknown;
15
19
  /**
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/data-core - Changelog
2
2
 
3
+ ## [0.0.1-next.32](https://github.com/twinfoundation/data/compare/data-core-v0.0.1-next.31...data-core-v0.0.1-next.32) (2025-05-28)
4
+
5
+
6
+ ### Features
7
+
8
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
9
+
3
10
  ## [0.0.1-next.31](https://github.com/twinfoundation/data/compare/data-core-v0.0.1-next.30...data-core-v0.0.1-next.31) (2025-05-08)
4
11
 
5
12
 
@@ -4,6 +4,14 @@ Interface describing a type which can handle a specific data type.
4
4
 
5
5
  ## Properties
6
6
 
7
+ ### context
8
+
9
+ > **context**: `string`
10
+
11
+ The context for the type.
12
+
13
+ ***
14
+
7
15
  ### type
8
16
 
9
17
  > **type**: `string`
@@ -16,7 +24,7 @@ The type for the item.
16
24
 
17
25
  > `optional` **defaultValue**: `unknown`
18
26
 
19
- The default value for the item.
27
+ The default value for the item to use when constructing a new object.
20
28
 
21
29
  ## Methods
22
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/data-core",
3
- "version": "0.0.1-next.31",
3
+ "version": "0.0.1-next.32",
4
4
  "description": "Definitions and helpers for using with data and schemas",
5
5
  "repository": {
6
6
  "type": "git",