@balena/open-balena-api 31.0.6-build-renovate-balena-open-balena-base-18-0-x-db1b5785fcde4709fdc68d9dcc4dc56274c58a66-1 → 31.0.7-build-overall-status-balena-vpn-control-6fb30582bc24aef1794a06bbec6af34479f87f41-2

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,12 +60,19 @@ const isVpnEnabled = [
60
60
  ['ReferencedField', 'device', 'id'],
61
61
  ],
62
62
  [
63
- 'Equals',
63
+ 'In',
64
64
  ['ReferencedField', 'device config variable', 'name'],
65
+ ['EmbeddedText', 'BALENA_SUPERVISOR_VPN_CONTROL'],
65
66
  ['EmbeddedText', 'RESIN_SUPERVISOR_VPN_CONTROL'],
66
67
  ],
67
68
  ],
68
69
  ],
70
+ // Prefer the `BALENA_` version when both are set, as the Supervisor does.
71
+ [
72
+ 'OrderBy',
73
+ ['ASC', ['ReferencedField', 'device config variable', 'name']],
74
+ ],
75
+ ['Limit', ['Number', 1]],
69
76
  ],
70
77
  [
71
78
  'SelectQuery',
@@ -81,12 +88,19 @@ const isVpnEnabled = [
81
88
  ['ReferencedField', 'device', 'belongs to-application'],
82
89
  ],
83
90
  [
84
- 'Equals',
91
+ 'In',
85
92
  ['ReferencedField', 'application config variable', 'name'],
93
+ ['EmbeddedText', 'BALENA_SUPERVISOR_VPN_CONTROL'],
86
94
  ['EmbeddedText', 'RESIN_SUPERVISOR_VPN_CONTROL'],
87
95
  ],
88
96
  ],
89
97
  ],
98
+ // Prefer the `BALENA_` version when both are set, as the Supervisor does.
99
+ [
100
+ 'OrderBy',
101
+ ['ASC', ['ReferencedField', 'application config variable', 'name']],
102
+ ],
103
+ ['Limit', ['Number', 1]],
90
104
  ],
91
105
  // Adding a COALESCE default value to avoid the need for NotEquals to compare 'false' with NULL
92
106
  ['EmbeddedText', 'not set'],
@@ -1 +1 @@
1
- {"version":3,"file":"device-additions.js","sourceRoot":"","sources":["../../../../src/features/devices/models/device-additions.ts"],"names":[],"mappings":"AAUA,sEAAsE;AACtE,qEAAqE;AACrE,q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qDACxB;oDACD,CAAC,iBAAiB,EAAE,aAAa,EAAE,IAAI,CAAC;iDACxC;6CACD;yCACD;qCACD;iCACD;6BACD;yBACD;qBACD;iBACD;aACD;YACD;gBACC,mEAAmE;gBACnE,MAAM;gBACN,CAAC,MAAM,CAAC;aACR;SACD;KACD,CAAC,CAAC;IAEH,MAAM,iCAAiC,GAAG,WAAW,CAAC,MAAM,CAC3D,QAAQ,CACR,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,2BAA2B,CAAC,CAAC;IAClE,IAAI,iCAAiC,IAAI,IAAI,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CACd,kEAAkE,CAClE,CAAC;IACH,CAAC;IACD,iCAAiC,CAAC,QAAQ,GAAG;QAC5C,MAAM;QACN;YACC,MAAM;YACN,CAAC,QAAQ,EAAE,CAAC,iBAAiB,EAAE,QAAQ,EAAE,sBAAsB,CAAC,CAAC;YACjE,CAAC,iBAAiB,EAAE,QAAQ,EAAE,sBAAsB,CAAC;SACrD;QACD;YACC,MAAM;YACN;gBACC,aAAa;gBACb;oBACC,QAAQ;oBACR,CAAC,CAAC,iBAAiB,EAAE,aAAa,EAAE,2BAA2B,CAAC,CAAC;iBACjE;gBACD,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;gBAClC;oBACC,OAAO;oBACP;wBACC,QAAQ;wBACR,CAAC,iBAAiB,EAAE,aAAa,EAAE,IAAI,CAAC;wBACxC,CAAC,iBAAiB,EAAE,QAAQ,EAAE,wBAAwB,CAAC;qBACvD;iBACD;aACD;SACD;KACD,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"device-additions.js","sourceRoot":"","sources":["../../../../src/features/devices/models/device-additions.ts"],"names":[],"mappings":"AAUA,sEAAsE;AACtE,qEAAqE;AACrE,qCAAqC;AACrC,EAAE;AACF,uEAAuE;AACvE,sEAAsE;AACtE,wEAAw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C;gBAClC;oBACC,OAAO;oBACP;wBACC,QAAQ;wBACR,CAAC,iBAAiB,EAAE,aAAa,EAAE,IAAI,CAAC;wBACxC,CAAC,iBAAiB,EAAE,QAAQ,EAAE,wBAAwB,CAAC;qBACvD;iBACD;aACD;SACD;KACD,CAAC;AACH,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": "31.0.6-build-renovate-balena-open-balena-base-18-0-x-db1b5785fcde4709fdc68d9dcc4dc56274c58a66-1",
4
+ "version": "31.0.7-build-overall-status-balena-vpn-control-6fb30582bc24aef1794a06bbec6af34479f87f41-2",
5
5
  "license": "AGPL-3.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -166,6 +166,6 @@
166
166
  "loader": "ts-node/esm/transpile-only"
167
167
  },
168
168
  "versionist": {
169
- "publishedAt": "2024-11-04T17:03:25.844Z"
169
+ "publishedAt": "2024-11-04T17:25:25.940Z"
170
170
  }
171
171
  }