@balena/open-balena-api 30.2.3 → 30.2.4-build-avoid-unnecessary-writes-d90ca20c55f1d8017fc5738c14e2220d4796d11c-1
Sign up to get free protection for your applications and to get access to all the features.
@@ -113,15 +113,15 @@ export const statePatchV2 = async (req, res) => {
|
|
113
113
|
// to update b/c of length violation of 255 (SBVR SHORT TEXT type) for ip and mac address.
|
114
114
|
// sbvr-types does not export SHORT TEXT VARCHAR length 255 to import.
|
115
115
|
deviceBody = truncateShortTextFields(deviceBody);
|
116
|
-
// If we're updating anyway then ensure the metrics data is included
|
117
|
-
deviceBody = { ...deviceBody, ...metricsBody };
|
118
116
|
await resinApiTx.patch({
|
119
117
|
resource: 'device',
|
120
118
|
id: deviceId,
|
121
119
|
options: {
|
122
120
|
$filter: { $not: deviceBody },
|
123
121
|
},
|
124
|
-
|
122
|
+
// If we're updating anyway then ensure the metrics data is included
|
123
|
+
// but don't use it as a factor as to whether we should actually write or not
|
124
|
+
body: { ...deviceBody, ...metricsBody },
|
125
125
|
});
|
126
126
|
}
|
127
127
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-patch-v2.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-patch-v2.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EACN,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,GAClB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,GAAG,MAAM,CAAC;AACtD,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAiD1B,MAA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"state-patch-v2.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-patch-v2.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EACN,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,GAClB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,GAAG,MAAM,CAAC;AACtD,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAiD1B,MAAM,0BAA0B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;AAC9C,sFAAsF;AACtF,oEAAoE;AACpE,+CAA+C;AAC/C,8EAA8E;AAC9E,0CAA0C;AAC1C,GAAG,CAAC,KAAK,CAAC,OAAO,CAChB;IACC,QAAQ,EAAE,aAAa;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,IAAI;QACb,OAAO,EAAE;YACR,aAAa,EAAE;gBACd,IAAI,EAAE,CAAC;gBACP,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE;oBACR,MAAM,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE;oBACzB,MAAM,EAAE,SAAS;iBACjB;aACD;SACD;QACD,OAAO,EAAE;YACR,YAAY,EAAE;gBACb,IAAI,EAAE;oBACL,MAAM,EAAE,GAAG;oBACX,KAAK,EAAE;wBACN,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE;qBAC9B;iBACD;aACD;SACD;KACD;CACQ,EACV,EAAE,QAAQ,EAAE,C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G,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,CAAC;AACF,CAAC,CAAC"}
|
@@ -204,8 +204,6 @@ export const statePatchV3 = async (req, res) => {
|
|
204
204
|
// to update b/c of length violation of 255 (SBVR SHORT TEXT type) for ip and mac address.
|
205
205
|
// sbvr-types does not export SHORT TEXT VARCHAR length 255 to import.
|
206
206
|
deviceBody = truncateShortTextFields(deviceBody);
|
207
|
-
// If we're updating anyway then ensure the metrics data is included
|
208
|
-
deviceBody = { ...deviceBody, ...metricsBody };
|
209
207
|
updateFns.push(async (resinApiTx) => {
|
210
208
|
await resinApiTx.patch({
|
211
209
|
resource: 'device',
|
@@ -213,7 +211,9 @@ export const statePatchV3 = async (req, res) => {
|
|
213
211
|
options: {
|
214
212
|
$filter: { $not: deviceBody },
|
215
213
|
},
|
216
|
-
|
214
|
+
// If we're updating anyway then ensure the metrics data is included
|
215
|
+
// but don't use it as a factor as to whether we should actually write or not
|
216
|
+
body: { ...deviceBody, ...metricsBody },
|
217
217
|
});
|
218
218
|
});
|
219
219
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-patch-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-patch-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACN,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACvB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,oBA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EAAE,EAAE;iBAChC,CAAC,CAAC;gBAEH,MAAM,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YACtE,CAAC,CAAC,CAAC;QACJ,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACd,IAAI,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO;QACR,CAAC;QACD,gBAAgB,CAAC,GAAG,EAAE,4BAA4B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC7D,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;AACF,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"state-patch-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-patch-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACN,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACvB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAAC;AAC5E,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAE1B,IAAK,sBAOJ;AAPD,WAAK,sBAAsB;IAC1B,2EAA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,CAAC,CAAC,CAAC;YACtE,CAAC,CAAC,CAAC;QACJ,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACd,IAAI,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO;QACR,CAAC;QACD,gBAAgB,CAAC,GAAG,EAAE,4BAA4B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC7D,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;AACF,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/open-balena-api",
|
3
3
|
"description": "Internet of things, Made Simple",
|
4
|
-
"version": "30.2.
|
4
|
+
"version": "30.2.4-build-avoid-unnecessary-writes-d90ca20c55f1d8017fc5738c14e2220d4796d11c-1",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -167,6 +167,6 @@
|
|
167
167
|
"loader": "ts-node/esm/transpile-only"
|
168
168
|
},
|
169
169
|
"versionist": {
|
170
|
-
"publishedAt": "2024-10-
|
170
|
+
"publishedAt": "2024-10-28T12:30:42.213Z"
|
171
171
|
}
|
172
172
|
}
|