@balena/abstract-sql-to-typescript
Advanced tools
Comparing version 4.0.2 to 4.0.3-build-fix-computed-read-813492e785721ef2504a9b1afa54a1620e96171c-1
@@ -7,2 +7,6 @@ # Change Log | ||
## 4.0.3 - 2024-09-06 | ||
* Fix accidentally omitting `Read` types for computed fields [Pagan Gazzard] | ||
## 4.0.2 - 2024-09-06 | ||
@@ -9,0 +13,0 @@ |
@@ -39,3 +39,3 @@ "use strict"; | ||
const fieldToInterfaceProps = (key, m, f, mode) => { | ||
if (f.computed != null) { | ||
if (mode === 'Write' && f.computed != null) { | ||
return; | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "@balena/abstract-sql-to-typescript", | ||
"version": "4.0.2", | ||
"version": "4.0.3-build-fix-computed-read-813492e785721ef2504a9b1afa54a1620e96171c-1", | ||
"description": "A translator for abstract sql into typescript types.", | ||
@@ -56,4 +56,4 @@ "main": "out/index.js", | ||
"versionist": { | ||
"publishedAt": "2024-09-06T14:50:04.855Z" | ||
"publishedAt": "2024-09-06T15:36:03.898Z" | ||
} | ||
} |
@@ -77,3 +77,3 @@ import type { | ||
): string | undefined => { | ||
if (f.computed != null) { | ||
if (mode === 'Write' && f.computed != null) { | ||
// Computed terms cannot be written to | ||
@@ -80,0 +80,0 @@ return; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
254632
2