-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix v6 image.image_size no longer being a number #1738
Conversation
43d566a
to
cd708ee
Compare
cd708ee
to
0308f6f
Compare
8c6afed
to
d8fa262
Compare
src/index.ts
Outdated
*/ | ||
export const augmentedTypes = { | ||
'@balena/sbvr-types': { | ||
'Numeric Big Integer': numericBigInteger, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allows consumers to have their v6 model typings work without having to manually import the numeric-big-integer-hack (or redeclare the augmented typed).
We can perhaps in the future can start adding more typings here which we atm have only in oB, like balena-device-config.ts or even common.ts
src/translations/v6/v6.sbvr
Outdated
@@ -140,7 +140,7 @@ Term: image location | |||
Concept Type: Short Text (Type) | |||
|
|||
Term: image size | |||
Concept Type: Big Integer (Type) | |||
Concept Type: Integer (Type) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason not to leave this as a big integer type here? It shouldn't affect anything other than knowing this is actually a big integer in the db rather than an integer when looking at it
Concept Type: Integer (Type) | |
Concept Type: Big Integer (Type) |
8a889b0
to
6463e12
Compare
6463e12
to
e63f98c
Compare
Update @balena/pinejs from 19.0.0 to 19.0.1 Change-type: patch
Change-type: patch See: #1730
e63f98c
to
ecf79f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I'll wait to approve as I expect that merging atm would be a bit of a pain
Change-type: patch
See: #1730
See: balena-io-modules/sbvr-types#106
See: https://balena.zulipchat.com/#narrow/stream/346007-balena-io.2FbalenaCloud/topic/v6.20image.2Eimage_size.20is.20now.20a.20string/near/465509436
See: https://balena.fibery.io/Work/Project/Fix-image-delta-size-no-longer-being-a-number-in-versions-v6-810