@balena/pinejs 17.1.0-build-model-based-typings-a10277597a28577bcb204b378925c9df795a10e8-1 → 17.1.0-build-model-based-typings-86a981c89f828217571c93fa010174529a5345f9-1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
1
|
- commits:
|
2
2
|
- subject: Add dev model typings
|
3
|
-
hash:
|
3
|
+
hash: 86a981c89f828217571c93fa010174529a5345f9
|
4
4
|
body: ""
|
5
5
|
footer:
|
6
6
|
Change-type: patch
|
@@ -8,7 +8,7 @@
|
|
8
8
|
author: Pagan Gazzard
|
9
9
|
nested: []
|
10
10
|
- subject: Add migration model typings
|
11
|
-
hash:
|
11
|
+
hash: 204e2991590943156caa470a3dbcd0c742ea0ebe
|
12
12
|
body: ""
|
13
13
|
footer:
|
14
14
|
Change-type: patch
|
@@ -16,7 +16,7 @@
|
|
16
16
|
author: Pagan Gazzard
|
17
17
|
nested: []
|
18
18
|
- subject: Add auth model typings
|
19
|
-
hash:
|
19
|
+
hash: d2e4d473a0bd692ac1383e4a0c6e40f6231b6ac3
|
20
20
|
body: ""
|
21
21
|
footer:
|
22
22
|
Change-type: patch
|
@@ -24,7 +24,7 @@
|
|
24
24
|
author: Pagan Gazzard
|
25
25
|
nested: []
|
26
26
|
- subject: Switch API typings to an interface so it can be overridden/merged
|
27
|
-
hash:
|
27
|
+
hash: 8c4a0d36131f3456944b92636ba9e25e624a916a
|
28
28
|
body: ""
|
29
29
|
footer:
|
30
30
|
Change-type: minor
|
@@ -32,7 +32,7 @@
|
|
32
32
|
author: Pagan Gazzard
|
33
33
|
nested: []
|
34
34
|
- subject: Allow passing model typings when instantiating an internal pinejs client
|
35
|
-
hash:
|
35
|
+
hash: 86785d4216e3e6c2e77822fad1a5e5fc6cc51d42
|
36
36
|
body: |
|
37
37
|
Update @balena/abstract-sql-compiler from 9.1.4 to 9.2.0
|
38
38
|
Update @balena/abstract-sql-to-typescript 3.1.1 to 3.1.2
|
@@ -230,7 +230,7 @@
|
|
230
230
|
date: 2024-06-12T12:19:17.354Z
|
231
231
|
version: 17.1.0
|
232
232
|
title: ""
|
233
|
-
date: 2024-06-14T14:
|
233
|
+
date: 2024-06-14T14:22:11.550Z
|
234
234
|
- commits:
|
235
235
|
- subject: Switch from `Object.prototype.hasOwnProperty.call` to `Object.hasOwn`
|
236
236
|
hash: 1343f0d463bf4271846343ee98de4d8afb9402f3
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/pinejs",
|
3
|
-
"version": "17.1.0-build-model-based-typings-
|
3
|
+
"version": "17.1.0-build-model-based-typings-86a981c89f828217571c93fa010174529a5345f9-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-06-14T14:
|
149
|
+
"publishedAt": "2024-06-14T14:22:13.242Z"
|
150
150
|
}
|
151
151
|
}
|
@@ -1037,8 +1037,8 @@ export class PinejsClient<
|
|
1037
1037
|
params: {
|
1038
1038
|
resource: TResource;
|
1039
1039
|
options: Params<M[TResource]>['options'] & { returnResource: false };
|
1040
|
-
} & Params<M[TResource]>,
|
1041
|
-
): Promise<Pick<M[TResource]['Read'], 'id'>>;
|
1040
|
+
} & Params<M[TResource]>,
|
1041
|
+
): Promise<Pick<M[TResource]['Read'], 'id'>>; // TODO: This should use the primary key rather than hardcoding `id`
|
1042
1042
|
public post<TResource extends keyof M & string>(
|
1043
1043
|
params: {
|
1044
1044
|
resource: TResource;
|