@balena/open-balena-api 31.2.10 → 31.2.11-build-add-synonymous-forms-for-dsev-54f3d4dcd0ae38f22d11d9921a98f3ef68e22f0b-2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -395,6 +395,8 @@ Term: device
395
395
  Term Form: service install
396
396
  Database Table Name: service install
397
397
 
398
+ -- Target form for this table is:
399
+ -- Fact type: device has service has env var name
398
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
@@ -813,8 +815,14 @@ Fact type: image environment variable has value
813
815
  Fact type: device service environment variable has value
814
816
  Necessity: each device service environment variable has exactly one value.
815
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
816
821
  Necessity: each device service environment variable has exactly one service.
817
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
818
826
  Necessity: each device service environment variable has exactly one device.
819
827
 
820
828
 
@@ -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/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.10",
4
+ "version": "31.2.11-build-add-synonymous-forms-for-dsev-54f3d4dcd0ae38f22d11d9921a98f3ef68e22f0b-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-22T14:11:16.869Z"
169
+ "publishedAt": "2024-11-22T17:41:10.808Z"
170
170
  }
171
171
  }