@balena/open-balena-api 31.4.4-build-rephrase-sbvr-for-si-64f8869a707eb6ad9e0c1e1770ee9dad5691a2e9-3 → 31.4.4-build-renovate-major-11-mocha-eccc774e8e824744e6000fea7f036cc28e2cc39f-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.
- package/dist/balena-model.d.ts +27 -24
- package/dist/balena.sbvr +13 -3
- package/dist/features/device-state/routes/state-get-v3.d.ts +26 -22
- package/dist/index.d.ts +1 -5
- package/dist/translations/v7/v7.d.ts +1 -5
- package/dist/translations/v7/v7.js +1 -5
- package/dist/translations/v7/v7.js.map +1 -1
- package/package.json +3 -3
- package/dist/migrations/00099-change-device-service-env-var-unique-constraint.sql +0 -16
package/dist/balena-model.d.ts
CHANGED
@@ -596,9 +596,10 @@ 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
|
-
|
600
|
-
|
601
|
-
|
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']>;
|
602
603
|
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
603
604
|
is_installed_on__device?: Array<ServiceInstall['Read']>;
|
604
605
|
is_built_by__image?: Array<Image['Read']>;
|
@@ -751,10 +752,6 @@ export interface Device {
|
|
751
752
|
device_environment_variable?: Array<DeviceEnvironmentVariable['Read']>;
|
752
753
|
device__has__config_var_name?: Array<DeviceConfigVariable['Read']>;
|
753
754
|
device_config_variable?: Array<DeviceConfigVariable['Read']>;
|
754
|
-
device__has__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
755
|
-
device__has__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
756
|
-
device__has__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
757
|
-
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
758
755
|
device__has__tag_key?: Array<DeviceTag['Read']>;
|
759
756
|
device_tag?: Array<DeviceTag['Read']>;
|
760
757
|
device__installs__image?: Array<ImageInstall['Read']>;
|
@@ -762,6 +759,11 @@ export interface Device {
|
|
762
759
|
device__installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
763
760
|
device__installs__service?: Array<ServiceInstall['Read']>;
|
764
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']>;
|
765
767
|
installs__image?: Array<ImageInstall['Read']>;
|
766
768
|
installs__application__has__service_name?: Array<ServiceInstall['Read']>;
|
767
769
|
installs__service?: Array<ServiceInstall['Read']>;
|
@@ -901,6 +903,11 @@ export interface ServiceInstall {
|
|
901
903
|
__id: Service['Read']['id'];
|
902
904
|
} | [Service['Read']];
|
903
905
|
id: Types['Serial']['Read'];
|
906
|
+
device__installs__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
907
|
+
device__installs__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
908
|
+
device__installs__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
909
|
+
service_install__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
910
|
+
device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
904
911
|
application__has__service_name: {
|
905
912
|
__id: Service['Read']['id'];
|
906
913
|
} | [Service['Read']];
|
@@ -913,10 +920,6 @@ export interface ServiceInstall {
|
|
913
920
|
is_installed_on__device: {
|
914
921
|
__id: Device['Read']['id'];
|
915
922
|
} | [Device['Read']];
|
916
|
-
is_of__device__has__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
917
|
-
is_of__device__has__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
918
|
-
is_of__device__has__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
919
|
-
is_of__device_service_environment_variable?: Array<DeviceServiceEnvironmentVariable['Read']>;
|
920
923
|
};
|
921
924
|
Write: {
|
922
925
|
created_at: Types['Date Time']['Write'];
|
@@ -930,18 +933,18 @@ export interface DeviceServiceEnvironmentVariable {
|
|
930
933
|
Read: {
|
931
934
|
created_at: Types['Date Time']['Read'];
|
932
935
|
modified_at: Types['Date Time']['Read'];
|
933
|
-
device: {
|
934
|
-
__id: Device['Read']['id'];
|
935
|
-
} | [Device['Read']];
|
936
|
-
service: {
|
937
|
-
__id: Service['Read']['id'];
|
938
|
-
} | [Service['Read']];
|
939
|
-
name: Types['Short Text']['Read'];
|
940
|
-
id: Types['Serial']['Read'];
|
941
|
-
value: Types['Text']['Read'];
|
942
936
|
service_install: {
|
943
937
|
__id: ServiceInstall['Read']['id'];
|
944
938
|
} | [ServiceInstall['Read']];
|
939
|
+
name: Types['Short Text']['Read'];
|
940
|
+
id: Types['Serial']['Read'];
|
941
|
+
value: Types['Text']['Read'];
|
942
|
+
service: {
|
943
|
+
__id: Service['Read']['id'];
|
944
|
+
} | [Service['Read']];
|
945
|
+
device: {
|
946
|
+
__id: Device['Read']['id'];
|
947
|
+
} | [Device['Read']];
|
945
948
|
device__installs__application__has__service_name: {
|
946
949
|
__id: ServiceInstall['Read']['id'];
|
947
950
|
} | [ServiceInstall['Read']];
|
@@ -955,12 +958,12 @@ export interface DeviceServiceEnvironmentVariable {
|
|
955
958
|
Write: {
|
956
959
|
created_at: Types['Date Time']['Write'];
|
957
960
|
modified_at: Types['Date Time']['Write'];
|
958
|
-
|
959
|
-
service: Service['Write']['id'];
|
961
|
+
service_install: ServiceInstall['Write']['id'];
|
960
962
|
name: Types['Short Text']['Write'];
|
961
963
|
id: Types['Serial']['Write'];
|
962
964
|
value: Types['Text']['Write'];
|
963
|
-
|
965
|
+
service: Service['Write']['id'];
|
966
|
+
device: Device['Write']['id'];
|
964
967
|
};
|
965
968
|
}
|
966
969
|
export interface DeviceTag {
|
@@ -1299,7 +1302,7 @@ export default interface $Model {
|
|
1299
1302
|
device__has__config_var_name: DeviceConfigVariable;
|
1300
1303
|
device__installs__image: ImageInstall;
|
1301
1304
|
device__installs__application__has__service_name: ServiceInstall;
|
1302
|
-
|
1305
|
+
device__installs__application__has__service_name__has__name: DeviceServiceEnvironmentVariable;
|
1303
1306
|
device__has__tag_key: DeviceTag;
|
1304
1307
|
release: Release;
|
1305
1308
|
release__has__tag_key: ReleaseTag;
|
package/dist/balena.sbvr
CHANGED
@@ -395,7 +395,9 @@ Term: device
|
|
395
395
|
Term Form: service install
|
396
396
|
Database Table Name: service install
|
397
397
|
|
398
|
-
|
398
|
+
-- Target form for this table is:
|
399
|
+
-- Fact type: device has service has env var name
|
400
|
+
Fact type: service install has name (Auth)
|
399
401
|
Term Form: device service environment variable
|
400
402
|
Database Table Name: device service environment variable
|
401
403
|
|
@@ -812,8 +814,16 @@ Fact type: image environment variable has value
|
|
812
814
|
|
813
815
|
Fact type: device service environment variable has value
|
814
816
|
Necessity: each device service environment variable has exactly one value.
|
815
|
-
Fact type: device service environment variable has service
|
816
|
-
|
817
|
+
Fact type: device service environment variable has service
|
818
|
+
-- This is the default name that will be given to the synonymous form
|
819
|
+
-- once the device service environment variable origin fact type changes
|
820
|
+
Synonymous form: service has device service environment variable
|
821
|
+
Necessity: each device service environment variable has exactly one service.
|
822
|
+
Fact type: device service environment variable has device
|
823
|
+
-- This is the default name that will be given to the synonymous form
|
824
|
+
-- once the device service environment variable origin fact type changes
|
825
|
+
Synonymous form: device has device service environment variable
|
826
|
+
Necessity: each device service environment variable has exactly one device.
|
817
827
|
|
818
828
|
|
819
829
|
-- application tag
|
@@ -179,10 +179,6 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
179
179
|
device_environment_variable?: Array<import("../../../balena-model.js").DeviceEnvironmentVariable["Read"]>;
|
180
180
|
device__has__config_var_name?: Array<import("../../../balena-model.js").DeviceConfigVariable["Read"]>;
|
181
181
|
device_config_variable?: Array<import("../../../balena-model.js").DeviceConfigVariable["Read"]>;
|
182
|
-
device__has__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
183
|
-
device__has__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
184
|
-
device__has__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
185
|
-
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
186
182
|
device__has__tag_key?: Array<import("../../../balena-model.js").DeviceTag["Read"]>;
|
187
183
|
device_tag?: Array<import("../../../balena-model.js").DeviceTag["Read"]>;
|
188
184
|
device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
@@ -190,6 +186,11 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
190
186
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
191
187
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
192
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"]>;
|
193
194
|
installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
194
195
|
installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
195
196
|
installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
@@ -334,9 +335,10 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
334
335
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
335
336
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
336
337
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
337
|
-
|
338
|
-
|
339
|
-
|
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"]>;
|
340
342
|
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
341
343
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
342
344
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
@@ -400,18 +402,18 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
400
402
|
readonly device_service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
401
403
|
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
402
404
|
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
403
|
-
device: {
|
404
|
-
__id: import("../../../balena-model.js").Device["Read"]["id"];
|
405
|
-
} | [import("../../../balena-model.js").Device["Read"]];
|
406
|
-
service: {
|
407
|
-
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
408
|
-
} | [import("../../../balena-model.js").Service["Read"]];
|
409
|
-
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
410
|
-
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
411
|
-
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
412
405
|
service_install: {
|
413
406
|
__id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
|
414
407
|
} | [import("../../../balena-model.js").ServiceInstall["Read"]];
|
408
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
409
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
410
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
411
|
+
service: {
|
412
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
413
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
414
|
+
device: {
|
415
|
+
__id: import("../../../balena-model.js").Device["Read"]["id"];
|
416
|
+
} | [import("../../../balena-model.js").Device["Read"]];
|
415
417
|
device__installs__application__has__service_name: {
|
416
418
|
__id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
|
417
419
|
} | [import("../../../balena-model.js").ServiceInstall["Read"]];
|
@@ -652,9 +654,10 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
652
654
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
653
655
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
654
656
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
655
|
-
|
656
|
-
|
657
|
-
|
657
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
658
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
659
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
660
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
658
661
|
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
659
662
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
660
663
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
@@ -885,9 +888,10 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
|
|
885
888
|
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
886
889
|
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
887
890
|
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
892
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
893
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
894
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
891
895
|
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
892
896
|
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
893
897
|
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
package/dist/index.d.ts
CHANGED
@@ -205,11 +205,7 @@ export declare const envVarsConfig: {
|
|
205
205
|
import './translations/v6/numeric-big-integer-hack.js';
|
206
206
|
export declare const translations: {
|
207
207
|
v7: {
|
208
|
-
getTranslations: (_abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {
|
209
|
-
'device-installs-application-has-service name-has-name': {
|
210
|
-
$toResource: string;
|
211
|
-
};
|
212
|
-
};
|
208
|
+
getTranslations: (_abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {};
|
213
209
|
loadHooks: () => Promise<typeof import("./translations/v7/hooks.js")>;
|
214
210
|
};
|
215
211
|
v6: {
|
@@ -1,7 +1,3 @@
|
|
1
1
|
export declare const toVersion = "resin";
|
2
2
|
export declare const v7AbstractSqlModel: import("@balena/abstract-sql-compiler").AbstractSqlModel;
|
3
|
-
export declare const getV7Translations: (_abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {
|
4
|
-
'device-installs-application-has-service name-has-name': {
|
5
|
-
$toResource: string;
|
6
|
-
};
|
7
|
-
};
|
3
|
+
export declare const getV7Translations: (_abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {};
|
@@ -7,10 +7,6 @@ overrideFieldType(v7AbstractSqlModel, 'release', 'version', 'JSON');
|
|
7
7
|
userHasDirectAccessToApplication.addToModel(v7AbstractSqlModel);
|
8
8
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- So that the interface is already well defined.
|
9
9
|
export const getV7Translations = (_abstractSqlModel = v7AbstractSqlModel) => {
|
10
|
-
return {
|
11
|
-
'device-installs-application-has-service name-has-name': {
|
12
|
-
$toResource: 'device-has-application-has-service name-has-name',
|
13
|
-
},
|
14
|
-
};
|
10
|
+
return {};
|
15
11
|
};
|
16
12
|
//# sourceMappingURL=v7.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"v7.js","sourceRoot":"","sources":["../../../src/translations/v7/v7.ts"],"names":[],"mappings":"AACA,OAAO,EACN,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,gCAAgC,MAAM,+EAA+E,CAAC;AAElI,MAAM,CAAC,MAAM,SAAS,GAAG,OAAO,CAAC;AAEjC,MAAM,CAAC,MAAM,kBAAkB,GAAG,wBAAwB,CACzD,IAAI,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACnC,CAAC;AAEF,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;AAE3C,iBAAiB,CAAC,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAEpE,gCAAgC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAChE,+GAA+G;AAC/G,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,iBAAiB,GAAG,kBAAkB,EAAE,EAAE;IAC3E,OAAO
|
1
|
+
{"version":3,"file":"v7.js","sourceRoot":"","sources":["../../../src/translations/v7/v7.ts"],"names":[],"mappings":"AACA,OAAO,EACN,wBAAwB,EACxB,iBAAiB,EACjB,sBAAsB,GACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,gCAAgC,MAAM,+EAA+E,CAAC;AAElI,MAAM,CAAC,MAAM,SAAS,GAAG,OAAO,CAAC;AAEjC,MAAM,CAAC,MAAM,kBAAkB,GAAG,wBAAwB,CACzD,IAAI,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACnC,CAAC;AAEF,sBAAsB,CAAC,kBAAkB,CAAC,CAAC;AAE3C,iBAAiB,CAAC,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAEpE,gCAAgC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAChE,+GAA+G;AAC/G,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,iBAAiB,GAAG,kBAAkB,EAAE,EAAE;IAC3E,OAAO,EAA+C,CAAC;AACxD,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.4.4-build-
|
4
|
+
"version": "31.4.4-build-renovate-major-11-mocha-eccc774e8e824744e6000fea7f036cc28e2cc39f-1",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -144,7 +144,7 @@
|
|
144
144
|
"copyfiles": "^2.4.1",
|
145
145
|
"husky": "^9.1.6",
|
146
146
|
"lint-staged": "^15.2.10",
|
147
|
-
"mocha": "^
|
147
|
+
"mocha": "^11.0.0",
|
148
148
|
"mockery": "^2.1.0",
|
149
149
|
"nock": "^13.5.5",
|
150
150
|
"pinejs-client-supertest": "^3.0.1",
|
@@ -166,6 +166,6 @@
|
|
166
166
|
"loader": "ts-node/esm/transpile-only"
|
167
167
|
},
|
168
168
|
"versionist": {
|
169
|
-
"publishedAt": "2024-12-
|
169
|
+
"publishedAt": "2024-12-03T17:05:34.127Z"
|
170
170
|
}
|
171
171
|
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
ALTER TABLE "device service environment variable"
|
2
|
-
DROP CONSTRAINT IF EXISTS "device service environment variable_service install_name_key";
|
3
|
-
|
4
|
-
DO $$
|
5
|
-
BEGIN
|
6
|
-
IF NOT EXISTS (
|
7
|
-
SELECT 1
|
8
|
-
FROM pg_constraint
|
9
|
-
WHERE conname = 'device service environment variable_device_service_name_key'
|
10
|
-
) THEN
|
11
|
-
ALTER TABLE "device service environment variable"
|
12
|
-
ADD CONSTRAINT device_service_environment_variable_device_service_name_key
|
13
|
-
UNIQUE ("device", "service", "name");
|
14
|
-
END IF;
|
15
|
-
END
|
16
|
-
$$;
|