@balena/pinejs 18.0.3-build-repro-issue-transaltion-087dc634adbd9bad3b0c81a281ebd805c098bd6c-1 → 18.0.3-build-repro-issue-transaltion-091d0ecb1e929c208570130320b3d89bafb336c9-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.
@@ -1,7 +1,18 @@
1
1
  - commits:
2
2
  - subject: Fix getIdField using idField of intermediate translation
3
- hash: 087dc634adbd9bad3b0c81a281ebd805c098bd6c
4
- body: ""
3
+ hash: 091d0ecb1e929c208570130320b3d89bafb336c9
4
+ body: >
5
+ getIdField tries to return the name of the id field in the database
6
+ model (and not in any translated model)
7
+
8
+ This turns out to be a problem when more than one layer of native
9
+ translations are present for a given table as it tries to use the
10
+ resource name of a given version on the final abstract sql model
11
+
12
+
13
+ This approach will use the actual translation (rather than the final
14
+ one) in case the translated table exists, avoiding trying to find a non
15
+ existent translation on the final model
5
16
  footer:
6
17
  Change-type: patch
7
18
  change-type: patch
@@ -9,7 +20,7 @@
9
20
  nested: []
10
21
  version: 18.0.3
11
22
  title: ""
12
- date: 2024-08-19T18:24:24.415Z
23
+ date: 2024-08-19T18:34:51.589Z
13
24
  - commits:
14
25
  - subject: Fix some lint warnings
15
26
  hash: 25abbf6a3f22ca6b984b8ec5a4b2aa3dcb71363f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs",
3
- "version": "18.0.3-build-repro-issue-transaltion-087dc634adbd9bad3b0c81a281ebd805c098bd6c-1",
3
+ "version": "18.0.3-build-repro-issue-transaltion-091d0ecb1e929c208570130320b3d89bafb336c9-1",
4
4
  "main": "out/server-glue/module",
5
5
  "type": "commonjs",
6
6
  "repository": "git@github.com:balena-io/pinejs.git",
@@ -146,6 +146,6 @@
146
146
  "recursive": true
147
147
  },
148
148
  "versionist": {
149
- "publishedAt": "2024-08-19T18:24:25.264Z"
149
+ "publishedAt": "2024-08-19T18:34:52.403Z"
150
150
  }
151
151
  }