@balena/open-balena-api 31.4.7-build-rephrase-sbvr-for-si-49a602f30252f2aee98e9c1f85847859b2a5b929-1 → 31.4.7-build-renovate-grafana-loki-3-3-x-5dc57191dc911196d58036743cc79eefbe3648b0-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.
@@ -82,7 +82,9 @@ ON "device family" ("is manufactured by-device manufacturer");
82
82
  -- "device tag"."device" is the first part of an automated unique index
83
83
 
84
84
  -- "device environment variable"."device" is created with the unique index
85
- -- created by the "device service environment variable_device_service_name_key" constraint
85
+ CREATE UNIQUE INDEX IF NOT EXISTS "device service environment variable_device_service_name_key"
86
+ ON "device service environment variable" ("device", "service", "name");
87
+
86
88
  CREATE INDEX IF NOT EXISTS "device_service_environment_variable_service_idx"
87
89
  ON "device service environment variable" ("service");
88
90
 
@@ -204,20 +206,3 @@ ADD CONSTRAINT "user$M+9koFfMHn7kQFDNBaQZbS7gAvNMB1QkrTtsaVZoETw=" CHECK (NOT (
204
206
  ));
205
207
 
206
208
  ALTER TABLE "user" ADD UNIQUE ("email");
207
-
208
- -- This is here temporarily due to a change on the sbvr for device service environment variable
209
- -- in order to keep the database schema in sync with the sbvr
210
- -- and will be removed once we drop the service install column
211
- DO $$
212
- BEGIN
213
- IF NOT EXISTS (
214
- SELECT 1
215
- FROM pg_constraint
216
- WHERE conname = 'device service environment variable_service install_name_key'
217
- ) THEN
218
- ALTER TABLE "device service environment variable"
219
- ADD CONSTRAINT "device service environment variable_service install_name_key"
220
- UNIQUE ("service install", "name");
221
- END IF;
222
- END
223
- $$;
@@ -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
- device__has__application__has__service_name__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
600
- device__has__service__has__name?: Array<DeviceServiceEnvironmentVariable['Read']>;
601
- device__has__service_environment_variable?: Array<DeviceServiceEnvironmentVariable['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']>;
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
- device: Device['Write']['id'];
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
- service_install: ServiceInstall['Write']['id'];
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
- device__has__application__has__service_name__has__name: DeviceServiceEnvironmentVariable;
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
- Fact type: device has service has name (Auth)
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 install
816
- Necessity: each device service environment variable has exactly one service install.
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
- device__has__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
338
- device__has__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
339
- device__has__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["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"]>;
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
- device__has__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
656
- device__has__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
657
- device__has__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
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
- device__has__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
889
- device__has__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
890
- device__has__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
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;QACN,uDAAuD,EAAE;YACxD,WAAW,EAAE,kDAAkD;SAC/D;KAC4C,CAAC;AAChD,CAAC,CAAC"}
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.7-build-rephrase-sbvr-for-si-49a602f30252f2aee98e9c1f85847859b2a5b929-1",
4
+ "version": "31.4.7-build-renovate-grafana-loki-3-3-x-5dc57191dc911196d58036743cc79eefbe3648b0-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-12-04T16:18:00.405Z"
169
+ "publishedAt": "2024-12-04T22:59:21.469Z"
170
170
  }
171
171
  }
@@ -1,14 +0,0 @@
1
- DO $$
2
- BEGIN
3
- IF NOT EXISTS (
4
- SELECT 1
5
- FROM pg_constraint
6
- WHERE conname = 'device service environment variable_device_service_name_key'
7
- ) THEN
8
- ALTER TABLE "device service environment variable"
9
- ADD CONSTRAINT "device service environment variable_device_service_name_key"
10
- -- see migration 00095 which adds the index already on ("device", "service", "name")
11
- UNIQUE USING INDEX "device service environment variable_device_service_name_key";
12
- END IF;
13
- END
14
- $$;