@balena/open-balena-api 32.1.0 → 32.1.1-build-make-service-installs-nullable-on-dsev-b50c0d2a5077a0d1a124179b435b4fb196876969-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.
@@ -941,13 +941,13 @@ export interface DeviceServiceEnvironmentVariable {
941
941
  value: Types['Text']['Read'];
942
942
  service_install: {
943
943
  __id: ServiceInstall['Read']['id'];
944
- } | [ServiceInstall['Read']];
944
+ } | [ServiceInstall['Read']] | [] | null;
945
945
  device__installs__application__has__service_name: {
946
946
  __id: ServiceInstall['Read']['id'];
947
- } | [ServiceInstall['Read']];
947
+ } | [ServiceInstall['Read']] | [] | null;
948
948
  device__installs__service: {
949
949
  __id: ServiceInstall['Read']['id'];
950
- } | [ServiceInstall['Read']];
950
+ } | [ServiceInstall['Read']] | [] | null;
951
951
  application__has__service_name: {
952
952
  __id: Service['Read']['id'];
953
953
  } | [Service['Read']];
@@ -960,7 +960,7 @@ export interface DeviceServiceEnvironmentVariable {
960
960
  name: Types['Short Text']['Write'];
961
961
  id: Types['Serial']['Write'];
962
962
  value: Types['Text']['Write'];
963
- service_install: ServiceInstall['Write']['id'];
963
+ service_install: ServiceInstall['Write']['id'] | null;
964
964
  };
965
965
  }
966
966
  export interface DeviceTag {
package/dist/balena.sbvr CHANGED
@@ -813,7 +813,7 @@ Fact type: image environment variable has value
813
813
  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 install
816
- Necessity: each device service environment variable has exactly one service install.
816
+ Necessity: each device service environment variable has at most one service install.
817
817
 
818
818
 
819
819
  -- application tag
@@ -411,13 +411,13 @@ declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.j
411
411
  value: import("@balena/sbvr-types").Types["Text"]["Read"];
412
412
  service_install: {
413
413
  __id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
414
- } | [import("../../../balena-model.js").ServiceInstall["Read"]];
414
+ } | [import("../../../balena-model.js").ServiceInstall["Read"]] | [] | null;
415
415
  device__installs__application__has__service_name: {
416
416
  __id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
417
- } | [import("../../../balena-model.js").ServiceInstall["Read"]];
417
+ } | [import("../../../balena-model.js").ServiceInstall["Read"]] | [] | null;
418
418
  device__installs__service: {
419
419
  __id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
420
- } | [import("../../../balena-model.js").ServiceInstall["Read"]];
420
+ } | [import("../../../balena-model.js").ServiceInstall["Read"]] | [] | null;
421
421
  application__has__service_name: {
422
422
  __id: import("../../../balena-model.js").Service["Read"]["id"];
423
423
  } | [import("../../../balena-model.js").Service["Read"]];
@@ -0,0 +1,2 @@
1
+ ALTER TABLE "device service environment variable"
2
+ ALTER COLUMN "service install" DROP NOT NULL;
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": "32.1.0",
4
+ "version": "32.1.1-build-make-service-installs-nullable-on-dsev-b50c0d2a5077a0d1a124179b435b4fb196876969-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-09T13:30:57.621Z"
169
+ "publishedAt": "2024-12-09T13:47:19.129Z"
170
170
  }
171
171
  }