@balena/sbvr-types 7.1.0 → 7.1.1
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/.versionbot/CHANGELOG.yml +12 -1
- package/CHANGELOG.md +6 -1
- package/out/types/date-time.d.ts +1 -1
- package/out/types/date.d.ts +1 -1
- package/out/types/time.d.ts +1 -1
- package/package.json +2 -2
- package/src/types/date-time.ts +1 -1
- package/src/types/date.ts +1 -1
- package/src/types/time.ts +1 -1
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
- commits:
|
|
2
|
+
- subject: Accept `Date` for the write types of `Date Time`/`Date`/`Time`
|
|
3
|
+
hash: eb03c8fb593fad76c74dad57a3d45625daf44d76
|
|
4
|
+
body: ""
|
|
5
|
+
footer:
|
|
6
|
+
Change-type: patch
|
|
7
|
+
change-type: patch
|
|
8
|
+
author: Pagan Gazzard
|
|
9
|
+
version: 7.1.1
|
|
10
|
+
title: ""
|
|
11
|
+
date: 2024-06-03T18:07:36.309Z
|
|
1
12
|
- commits:
|
|
2
13
|
- subject: Export typescript read/write types for each sbvr type
|
|
3
14
|
hash: 66b9a012e242533372ce34a73e31f6e3aac93d91
|
|
@@ -8,7 +19,7 @@
|
|
|
8
19
|
author: Pagan Gazzard
|
|
9
20
|
version: 7.1.0
|
|
10
21
|
title: ""
|
|
11
|
-
date: 2024-04-
|
|
22
|
+
date: 2024-04-25T11:57:56.975Z
|
|
12
23
|
- commits:
|
|
13
24
|
- subject: Update Big Serial concept type to Big Integer
|
|
14
25
|
hash: 6343737f7eb62282ebb2b572faf2b91716508a8b
|
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,13 @@ All notable changes to this project will be documented in this file
|
|
|
4
4
|
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
# v7.1.1
|
|
8
|
+
## (2024-06-03)
|
|
9
|
+
|
|
10
|
+
* Accept `Date` for the write types of `Date Time`/`Date`/`Time` [Pagan Gazzard]
|
|
11
|
+
|
|
7
12
|
# v7.1.0
|
|
8
|
-
## (2024-04-
|
|
13
|
+
## (2024-04-25)
|
|
9
14
|
|
|
10
15
|
* Export typescript read/write types for each sbvr type [Pagan Gazzard]
|
|
11
16
|
|
package/out/types/date-time.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const types: {
|
|
|
7
7
|
name: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export type Types = TypeUtils.TsTypes<string, string | number>;
|
|
10
|
+
export type Types = TypeUtils.TsTypes<string, string | number | Date>;
|
|
11
11
|
type DbWriteType = Date;
|
|
12
12
|
export declare const fetchProcessing: TypeUtils.FetchProcessing<Types['Read']>;
|
|
13
13
|
export declare const nativeFactTypes: {
|
package/out/types/date.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const types: {
|
|
|
7
7
|
name: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export type Types = TypeUtils.TsTypes<string, string | number>;
|
|
10
|
+
export type Types = TypeUtils.TsTypes<string, string | number | Date>;
|
|
11
11
|
type DbWriteType = Date;
|
|
12
12
|
export declare const fetchProcessing: TypeUtils.FetchProcessing<Types['Read']>;
|
|
13
13
|
export declare const nativeFactTypes: {
|
package/out/types/time.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const types: {
|
|
|
7
7
|
name: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
export type Types = TypeUtils.TsTypes<string, number | string>;
|
|
10
|
+
export type Types = TypeUtils.TsTypes<string, number | string | Date>;
|
|
11
11
|
type DbWriteType = string;
|
|
12
12
|
export declare const fetchProcessing: TypeUtils.FetchProcessing<Types['Read']>;
|
|
13
13
|
export declare const validate: TypeUtils.Validate<Types['Write'], DbWriteType>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/sbvr-types",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "SBVR type definitions.",
|
|
5
5
|
"main": "out",
|
|
6
6
|
"scripts": {
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"npm": ">=8.1.0"
|
|
52
52
|
},
|
|
53
53
|
"versionist": {
|
|
54
|
-
"publishedAt": "2024-
|
|
54
|
+
"publishedAt": "2024-06-03T18:07:36.442Z"
|
|
55
55
|
}
|
|
56
56
|
}
|
package/src/types/date-time.ts
CHANGED
|
@@ -9,7 +9,7 @@ export const types = {
|
|
|
9
9
|
},
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export type Types = TypeUtils.TsTypes<string, string | number>;
|
|
12
|
+
export type Types = TypeUtils.TsTypes<string, string | number | Date>;
|
|
13
13
|
type DbWriteType = Date;
|
|
14
14
|
|
|
15
15
|
export const fetchProcessing: TypeUtils.FetchProcessing<Types['Read']> = (
|
package/src/types/date.ts
CHANGED
|
@@ -9,7 +9,7 @@ export const types = {
|
|
|
9
9
|
},
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export type Types = TypeUtils.TsTypes<string, string | number>;
|
|
12
|
+
export type Types = TypeUtils.TsTypes<string, string | number | Date>;
|
|
13
13
|
type DbWriteType = Date;
|
|
14
14
|
|
|
15
15
|
export const fetchProcessing: TypeUtils.FetchProcessing<Types['Read']> = (
|
package/src/types/time.ts
CHANGED
|
@@ -9,7 +9,7 @@ export const types = {
|
|
|
9
9
|
},
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export type Types = TypeUtils.TsTypes<string, number | string>;
|
|
12
|
+
export type Types = TypeUtils.TsTypes<string, number | string | Date>;
|
|
13
13
|
type DbWriteType = string;
|
|
14
14
|
|
|
15
15
|
export const fetchProcessing: TypeUtils.FetchProcessing<Types['Read']> = (
|