@balena/open-balena-api 31.2.9-build-v2-state-get-wo-si-b661e36512aca5efdc4edccca18b8c9e18e6bb1b-1 → 31.2.9-build-add-synonymous-forms-for-dsev-7c2ce0627d11d69d48a8df8dddb49a9e704e6331-1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/balena-model.d.ts +10 -10
- package/dist/balena.sbvr +2 -0
- package/dist/features/device-state/routes/state-get-v2.js +12 -4
- package/dist/features/device-state/routes/state-get-v2.js.map +1 -1
- package/dist/features/device-state/routes/state-get-v3.d.ts +20 -20
- package/dist/lib/auth.js +2 -2
- package/dist/lib/auth.js.map +1 -1
- package/package.json +2 -2
package/dist/balena-model.d.ts
CHANGED
@@ -596,13 +596,13 @@ export interface Service {
|
|
596
596
|
device__installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
597
597
|
device__installs__service?: Array<ServiceInstall['Read']>;
|
598
598
|
service_install?: Array<ServiceInstall['Read']>;
|
599
|
+
device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
600
|
+
device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
601
|
+
device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
602
|
+
service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
603
|
+
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
599
604
|
is_installed_on__device?: Array<ServiceInstall['Read']>;
|
600
605
|
is_built_by__image?: Array<Image['Read']>;
|
601
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
602
|
-
is_of__device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
603
|
-
is_of__device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
604
|
-
is_of__service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
605
|
-
is_of__device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
606
606
|
};
|
607
607
|
Write: {
|
608
608
|
created_at: Types['Date Time']['Write'];
|
@@ -759,14 +759,14 @@ export interface Device {
|
|
759
759
|
device__installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
760
760
|
device__installs__service?: Array<ServiceInstall['Read']>;
|
761
761
|
service_install?: Array<ServiceInstall['Read']>;
|
762
|
+
device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
763
|
+
device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
764
|
+
device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
765
|
+
service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
766
|
+
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
762
767
|
installs__image?: Array<ImageInstall['Read']>;
|
763
768
|
installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
764
769
|
installs__service?: Array<ServiceInstall['Read']>;
|
765
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
766
|
-
is_of__device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
767
|
-
is_of__device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
768
|
-
is_of__service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
769
|
-
is_of__device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
770
770
|
};
|
771
771
|
Write: {
|
772
772
|
created_at: Types['Date Time']['Write'];
|
package/dist/balena.sbvr
CHANGED
@@ -814,8 +814,10 @@ Fact type: device service environment variable has value
|
|
814
814
|
Necessity: each device service environment variable has exactly one value.
|
815
815
|
Fact type: device service environment variable has service
|
816
816
|
Necessity: each device service environment variable has exactly one service.
|
817
|
+
Synonymous form: service has device service environment variable
|
817
818
|
Fact type: device service environment variable has device
|
818
819
|
Necessity: each device service environment variable has exactly one device.
|
820
|
+
Synonymous form: device has device service environment variable
|
819
821
|
|
820
822
|
|
821
823
|
-- application tag
|
@@ -23,13 +23,16 @@ function buildAppFromRelease(device, application, release, config) {
|
|
23
23
|
for (const ipr of release.release_image) {
|
24
24
|
// extract the per-image information
|
25
25
|
const image = ipr.image[0];
|
26
|
+
const si = device.service_install.find(({ service }) => service.__id === image.is_a_build_of__service[0].id);
|
26
27
|
const svc = image.is_a_build_of__service[0];
|
27
28
|
const environment = {};
|
28
29
|
varListInsert(ipr.image_environment_variable, environment);
|
29
30
|
varListInsert(application.application_environment_variable, environment);
|
30
31
|
varListInsert(svc.service_environment_variable, environment);
|
31
32
|
varListInsert(device.device_environment_variable, environment);
|
32
|
-
|
33
|
+
if (si != null) {
|
34
|
+
varListInsert(si.device_service_environment_variable, environment);
|
35
|
+
}
|
33
36
|
const labels = {};
|
34
37
|
for (const { label_name, value } of [
|
35
38
|
...ipr.image_label,
|
@@ -109,9 +112,6 @@ const stateQuery = _.once(() => api.resin.prepare({
|
|
109
112
|
is_a_build_of__service: {
|
110
113
|
$select: ['id', 'service_name'],
|
111
114
|
$expand: {
|
112
|
-
is_of__device_service_environment_variable: {
|
113
|
-
$select: ['name', 'value'],
|
114
|
-
},
|
115
115
|
service_environment_variable: {
|
116
116
|
$select: ['name', 'value'],
|
117
117
|
},
|
@@ -132,6 +132,14 @@ const stateQuery = _.once(() => api.resin.prepare({
|
|
132
132
|
},
|
133
133
|
},
|
134
134
|
},
|
135
|
+
service_install: {
|
136
|
+
$select: ['id', 'service'],
|
137
|
+
$expand: {
|
138
|
+
device_service_environment_variable: {
|
139
|
+
$select: ['name', 'value'],
|
140
|
+
},
|
141
|
+
},
|
142
|
+
},
|
135
143
|
belongs_to__application: {
|
136
144
|
$select: ['id', 'app_name'],
|
137
145
|
$expand: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-get-v2.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v2.ts"],"names":[],"mappings":"AAEA,O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,CAAC,WAAW,CAAC,gCAAgC,EAAE,WAAW,CAAC,CAAC;QACzE,aAAa,CAAC,GAAG,CAAC,4BAA4B,EAAE,WAAW,CAAC,CAAC;QAC7D,aAAa,CAAC,MAAM,CAAC,2BAA2B,EAAE,WAAW,CAAC,CAAC;QAC/D,aAAa,CAAC,
|
1
|
+
{"version":3,"file":"state-get-v2.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v2.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,qBAAqB,EACrB,SAAS,EACT,6BAA6B,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AA4C1B,SAAS,mBAAmB,CAC3B,MAAsB,EACtB,WAA8D,EAC9D,OAA6D,EAC7D,MAA0B;IAE1B,IAAI,WAAW,GAAc,EAAE,CAAC;IAChC,MAAM,QAAQ,GAA8B,EAAE,CAAC;IAE/C,wDAAwD;IACxD,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;QACrC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACnC,CAAC;SAAM,CAAC;QACP,IAAI,CAAC;YACJ,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC/C,CAAC;QAAC,MAAM,CAAC;YACR,WAAW,GAAG,EAAE,CAAC;QAClB,CAAC;IACF,CAAC;IAED,KAAK,MAAM,GAAG,IA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MAAM,cAAc,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAEzD,iEAAiE;IACjE,MAAM,OAAO,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC;IAErD,uCAAuC;IACvC,OAAO,OAAO,IAAI,IAAI;QACrB,CAAC,CAAC;YACA,IAAI,EAAE,cAAc,CAAC,QAAQ;YAC7B,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACX;QACF,CAAC,CAAC,mBAAmB,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACjE,CAAC,CAAC"}
|
@@ -186,14 +186,14 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
186
186
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
187
187
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
188
188
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
189
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
190
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
191
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
192
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
193
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
189
194
|
installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
190
195
|
installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
191
196
|
installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
192
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
193
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
194
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
195
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
196
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
197
197
|
}, "id" | "status" | "created_at" | "modified_at" | "api_heartbeat_state" | "changed_api_heartbeat_state_on__date" | "uuid" | "local_id" | "device_name" | "note" | "is_online" | "last_connectivity_event" | "is_connected_to_vpn" | "last_vpn_event" | "is_locked_until__date" | "public_address" | "ip_address" | "mac_address" | "memory_usage" | "memory_total" | "storage_block_device" | "storage_usage" | "storage_total" | "cpu_usage" | "cpu_temp" | "is_undervolted" | "cpu_id" | "download_progress" | "os_version" | "os_variant" | "supervisor_version" | "provisioning_progress" | "provisioning_state" | "api_port" | "api_secret" | "update_status" | "last_update_status_event" | "is_web_accessible" | "is_frozen" | "overall_status" | "overall_progress"> & {
|
198
198
|
readonly device_config_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
199
199
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
@@ -335,13 +335,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
335
335
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
336
336
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
337
337
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
338
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
339
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
340
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
341
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
342
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
338
343
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
339
344
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
340
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
341
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
342
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
343
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
344
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
345
345
|
}, "id" | "service_name"> & {
|
346
346
|
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
347
347
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
@@ -683,13 +683,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
683
683
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
684
684
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
685
685
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
686
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
687
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
688
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
689
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
690
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
686
691
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
687
692
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
688
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
689
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
690
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
691
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
692
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
693
693
|
}, "id" | "service_name"> & {
|
694
694
|
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
695
695
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
@@ -917,13 +917,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
917
917
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
918
918
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
919
919
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
920
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
921
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
922
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
923
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
924
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
920
925
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
921
926
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
922
|
-
is_of__device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
923
|
-
is_of__device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
924
|
-
is_of__device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
925
|
-
is_of__service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
926
|
-
is_of__device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
927
927
|
}, "id" | "service_name"> & {
|
928
928
|
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
929
929
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
package/dist/lib/auth.js
CHANGED
@@ -81,8 +81,8 @@ export const DEVICE_API_KEY_PERMISSIONS = [
|
|
81
81
|
// A device should be able to manage its own service installs, even from apps its not or no longer part of (past/supervisor/os)
|
82
82
|
...writePerms('resin.service_install', `device/any(d:${matchesNonFrozenDeviceActor('d')})`, ['update', 'delete']),
|
83
83
|
'resin.service_environment_variable.read?service/canAccess()',
|
84
|
-
'resin.device_service_environment_variable.read?
|
85
|
-
...writePerms('resin.device_service_environment_variable', `device/any(d:${matchesNonFrozenDeviceActor('d')})`),
|
84
|
+
'resin.device_service_environment_variable.read?service_install/canAccess()',
|
85
|
+
...writePerms('resin.device_service_environment_variable', `service_install/any(si:si/device/any(d:${matchesNonFrozenDeviceActor('d')}))`),
|
86
86
|
'resin.image__is_part_of__release.read?is_part_of__release/canAccess()',
|
87
87
|
'resin.image.read?image_install/canAccess() or image__is_part_of__release/canAccess()',
|
88
88
|
'resin.image_install.read?device/canAccess()',
|
package/dist/lib/auth.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/lib/auth.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,8DAA8D;AAC9D,EAAE;AAIF,OAAO,EACN,uBAAuB,EACvB,gCAAgC,EAChC,iBAAiB,EACjB,mBAAmB,GACnB,MAAM,aAAa,CAAC;AAErB,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAC;AAElE,MAAM,UAAU,GAAG,CAClB,QAAgB,EAChB,MAAc,EACd,SAA4D,iBAAiB,EAClE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,QAAQ,IAAI,IAAI,IAAI,MAAM,EAAE,CAAC,CAAC;AAErE,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAC5C,MAAM,WAAW,GAAG,gBAAgB,YAAY,GAAG,CAAC;AACpD,MAAM,2BAA2B,GAAG,CAAC,KAAK,GAAG,EAAE,EAAE,EAAE;IAClD,IAAI,KAAK,EAAE,CAAC;QACX,KAAK,IAAI,GAAG,CAAC;IACd,CAAC;IACD,MAAM,cAAc,GAAG,CAAC,gCAAgC;QACvD,CAAC,CAAC,QAAQ,KAAK,oBAAoB;QACnC,CAAC,CAAC,EAAE,CAAC;IACN,OAAO,GAAG,KAAK,GAAG,YAAY,GAAG,cAAc,EAAE,CAAC;AACnD,CAAC,CAAC;AACF,MAAM,UAAU,GAAG,wBAAwB,YAAY,GAAG,CAAC;AAE3D,MAAM,CAAC,MAAM,KAAK,GAEd;IACH,sBAAsB,EAA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AE,iBAAiB;QACtB,WAAW,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC;KAC7C,CAAC;AACH,CAAC;AAED,MAAM,cAAc,GAAG,UAAU,CAAC;AAElC,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,GAErC,EAAsB,EAAE;IACxB,IAAI,GAAG,CAAC,MAAM,EAAE,WAAW,IAAI,IAAI,EAAE,CAAC;QACrC,OAAO;IACR,CAAC;IACD,MAAM,WAAW,GAAG,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACxD,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAC/B,CAAC;IACF,IAAI,WAAW,EAAE,CAAC;QACjB,OAAO,WAAW,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;IAChD,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": "31.2.9-build-
|
4
|
+
"version": "31.2.9-build-add-synonymous-forms-for-dsev-7c2ce0627d11d69d48a8df8dddb49a9e704e6331-1",
|
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-20T15:
|
169
|
+
"publishedAt": "2024-11-20T15:42:22.833Z"
|
170
170
|
}
|
171
171
|
}
|