@balena/open-balena-api 28.0.11-build-v6-number-image-image-size--e63f98cc6b19b7c9ee8389d4b085764a339f64c7-1 → 28.0.11-build-improve-typings-state-get-v3-d7549037e45848029babaf12c6e361817e80fc5c-1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/features/device-state/routes/fleet-state-get-v3.d.ts +47 -0
- package/dist/features/device-state/routes/fleet-state-get-v3.js.map +1 -1
- package/dist/features/device-state/routes/state-get-v3.d.ts +768 -1
- package/dist/features/device-state/routes/state-get-v3.js +13 -6
- package/dist/features/device-state/routes/state-get-v3.js.map +1 -1
- package/dist/features/device-state/state-get-utils.d.ts +11 -4
- package/dist/features/device-state/state-get-utils.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/translations/v6/v6.d.ts +0 -1
- package/dist/translations/v6/v6.js +0 -2
- package/dist/translations/v6/v6.js.map +1 -1
- package/package.json +3 -3
- package/dist/translations/v6/numeric-big-integer-hack.d.ts +0 -9
- package/dist/translations/v6/numeric-big-integer-hack.js +0 -14
- package/dist/translations/v6/numeric-big-integer-hack.js.map +0 -1
@@ -1,6 +1,16 @@
|
|
1
1
|
import type { RequestHandler } from 'express';
|
2
|
+
import type { OptionsToResponse } from 'pinejs-client-core';
|
3
|
+
import type { Application } from '../../../balena-model.js';
|
4
|
+
import type { ExpandedApplicationWithService } from './fleet-state-get-v3.js';
|
2
5
|
type LocalStateApp = StateV3[string]['apps'][string];
|
3
6
|
type ServiceComposition = AnyObject;
|
7
|
+
type ExpandedDevice = Awaited<ReturnType<typeof getDevice>>;
|
8
|
+
type ExpandedApplication = OptionsToResponse<Application['Read'], {
|
9
|
+
$select: typeof appSelect;
|
10
|
+
$expand: typeof appExpand;
|
11
|
+
}, undefined>[number];
|
12
|
+
type TargetReleaseField = 'should_be_running__release' | 'should_be_managed_by__release' | 'should_be_operated_by__release';
|
13
|
+
export type ExpandedRelease = ExpandedDevice[TargetReleaseField][number];
|
4
14
|
export type StateV3 = {
|
5
15
|
[uuid: string]: {
|
6
16
|
name: string;
|
@@ -55,7 +65,8 @@ export type StateV3 = {
|
|
55
65
|
};
|
56
66
|
};
|
57
67
|
};
|
58
|
-
export declare function buildAppFromRelease(device:
|
68
|
+
export declare function buildAppFromRelease(device: undefined, application: ExpandedApplicationWithService, release: ExpandedRelease, config: Dictionary<string>, defaultLabels?: Dictionary<string>): NonNullable<LocalStateApp['releases']>;
|
69
|
+
export declare function buildAppFromRelease(device: ExpandedDevice, application: ExpandedApplication, release: ExpandedRelease, config: Dictionary<string>, defaultLabels?: Dictionary<string>): NonNullable<LocalStateApp['releases']>;
|
59
70
|
export declare const releaseExpand: {
|
60
71
|
readonly $select: readonly ["id", "commit", "composition"];
|
61
72
|
readonly $expand: {
|
@@ -75,5 +86,761 @@ export declare const releaseExpand: {
|
|
75
86
|
};
|
76
87
|
};
|
77
88
|
};
|
89
|
+
declare const appSelect: readonly ["id", "uuid", "app_name", "is_host", "is_of__class"];
|
90
|
+
declare const appExpand: {
|
91
|
+
readonly application_environment_variable: {
|
92
|
+
readonly $select: readonly ["name", "value"];
|
93
|
+
};
|
94
|
+
};
|
78
95
|
export declare const stateV3: RequestHandler;
|
96
|
+
declare const getDevice: (req: import("@balena/pinejs/out/sbvr-api/permissions.js").PermissionReq, uuid: string) => Promise<import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
97
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
98
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
99
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
100
|
+
actor: {
|
101
|
+
__id: import("../../../balena-model.js").Actor["Read"]["id"];
|
102
|
+
} | [import("../../../balena-model.js").Actor["Read"]];
|
103
|
+
api_heartbeat_state: "online" | "offline" | "timeout" | "unknown";
|
104
|
+
changed_api_heartbeat_state_on__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
105
|
+
uuid: import("@balena/sbvr-types").Types["Text"]["Read"];
|
106
|
+
local_id: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
107
|
+
device_name: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
108
|
+
note: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
109
|
+
is_of__device_type: {
|
110
|
+
__id: import("../../../balena-model.js").DeviceType["Read"]["id"];
|
111
|
+
} | [import("../../../balena-model.js").DeviceType["Read"]];
|
112
|
+
belongs_to__application: {
|
113
|
+
__id: Application["Read"]["id"];
|
114
|
+
} | [Application["Read"]] | [] | null;
|
115
|
+
is_online: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
116
|
+
last_connectivity_event: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
117
|
+
is_connected_to_vpn: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
118
|
+
last_vpn_event: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
119
|
+
is_locked_until__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
120
|
+
public_address: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
121
|
+
ip_address: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
122
|
+
mac_address: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
123
|
+
memory_usage: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
124
|
+
memory_total: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
125
|
+
storage_block_device: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
126
|
+
storage_usage: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
127
|
+
storage_total: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
128
|
+
cpu_usage: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
129
|
+
cpu_temp: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
130
|
+
is_undervolted: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
131
|
+
cpu_id: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
132
|
+
is_running__release: {
|
133
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
134
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
135
|
+
download_progress: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
136
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
137
|
+
os_version: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
138
|
+
os_variant: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
139
|
+
supervisor_version: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
140
|
+
provisioning_progress: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
141
|
+
provisioning_state: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
142
|
+
api_port: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
143
|
+
api_secret: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
144
|
+
is_managed_by__service_instance: {
|
145
|
+
__id: import("../../../balena-model.js").ServiceInstance["Read"]["id"];
|
146
|
+
} | [import("../../../balena-model.js").ServiceInstance["Read"]] | [] | null;
|
147
|
+
is_pinned_on__release: {
|
148
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
149
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
150
|
+
should_be_running__release: {
|
151
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
152
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
153
|
+
should_be_operated_by__release: {
|
154
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
155
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
156
|
+
should_be_managed_by__release: {
|
157
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
158
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
159
|
+
update_status: "rejected" | "downloading" | "downloaded" | "applying changes" | "aborted" | "done" | null;
|
160
|
+
last_update_status_event: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
161
|
+
is_web_accessible: import("@balena/sbvr-types").Types["Boolean"]["Read"] | null;
|
162
|
+
is_frozen: import("@balena/sbvr-types").Types["Boolean"]["Read"] | null;
|
163
|
+
overall_status: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
164
|
+
overall_progress: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
165
|
+
device__has__env_var_name?: Array<import("../../../balena-model.js").DeviceEnvironmentVariable["Read"]>;
|
166
|
+
device_environment_variable?: Array<import("../../../balena-model.js").DeviceEnvironmentVariable["Read"]>;
|
167
|
+
device__has__config_var_name?: Array<import("../../../balena-model.js").DeviceConfigVariable["Read"]>;
|
168
|
+
device_config_variable?: Array<import("../../../balena-model.js").DeviceConfigVariable["Read"]>;
|
169
|
+
device__has__tag_key?: Array<import("../../../balena-model.js").DeviceTag["Read"]>;
|
170
|
+
device_tag?: Array<import("../../../balena-model.js").DeviceTag["Read"]>;
|
171
|
+
device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
172
|
+
image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
173
|
+
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
174
|
+
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
175
|
+
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
176
|
+
installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
177
|
+
installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
178
|
+
installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
179
|
+
}, "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"> & {
|
180
|
+
readonly device_config_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
181
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
182
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
183
|
+
device: {
|
184
|
+
__id: import("../../../balena-model.js").Device["Read"]["id"];
|
185
|
+
} | [import("../../../balena-model.js").Device["Read"]];
|
186
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
187
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
188
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
189
|
+
}, "name" | "value">[];
|
190
|
+
readonly device_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
191
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
192
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
193
|
+
device: {
|
194
|
+
__id: import("../../../balena-model.js").Device["Read"]["id"];
|
195
|
+
} | [import("../../../balena-model.js").Device["Read"]];
|
196
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
197
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
198
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
199
|
+
}, "name" | "value">[];
|
200
|
+
readonly should_be_running__release: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
201
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
202
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
203
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
204
|
+
belongs_to__application: {
|
205
|
+
__id: Application["Read"]["id"];
|
206
|
+
} | [Application["Read"]];
|
207
|
+
commit: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
208
|
+
composition: import("@balena/sbvr-types").Types["JSON"]["Read"];
|
209
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
210
|
+
source: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
211
|
+
build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
212
|
+
is_invalidated: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
213
|
+
start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
214
|
+
end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
215
|
+
update_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
216
|
+
release_version: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
217
|
+
contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null;
|
218
|
+
is_passing_tests: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
219
|
+
is_finalized_at__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
220
|
+
phase: "next" | "current" | "sunset" | "end-of-life" | null;
|
221
|
+
semver_major: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
222
|
+
semver_minor: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
223
|
+
semver_patch: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
224
|
+
semver_prerelease: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
225
|
+
semver_build: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
226
|
+
variant: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
227
|
+
revision: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
228
|
+
known_issue_list: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
229
|
+
note: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
230
|
+
invalidation_reason: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
231
|
+
is_final: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
232
|
+
semver: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
233
|
+
raw_version: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
234
|
+
version: import("@balena/sbvr-types").Types["JSON"]["Read"];
|
235
|
+
release__has__tag_key?: Array<import("../../../balena-model.js").ReleaseTag["Read"]>;
|
236
|
+
release_tag?: Array<import("../../../balena-model.js").ReleaseTag["Read"]>;
|
237
|
+
release__has__asset_key?: Array<import("../../../balena-model.js").ReleaseAsset["Read"]>;
|
238
|
+
release_asset?: Array<import("../../../balena-model.js").ReleaseAsset["Read"]>;
|
239
|
+
image__is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
240
|
+
release_image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
241
|
+
contains__image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
242
|
+
should_be_running_on__application?: Array<Application["Read"]>;
|
243
|
+
should_be_running_on__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
244
|
+
is_running_on__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
245
|
+
is_pinned_to__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
246
|
+
should_operate__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
247
|
+
should_manage__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
248
|
+
provides__device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
249
|
+
provides__image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
250
|
+
}, "id" | "commit" | "composition"> & {
|
251
|
+
readonly contains__image: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
252
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
253
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
254
|
+
image: {
|
255
|
+
__id: import("../../../balena-model.js").Image["Read"]["id"];
|
256
|
+
} | [import("../../../balena-model.js").Image["Read"]];
|
257
|
+
is_part_of__release: {
|
258
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
259
|
+
} | [import("../../../balena-model.js").Release["Read"]];
|
260
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
261
|
+
image__is_part_of__release__has__label_name?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
262
|
+
release_image__has__label_name?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
263
|
+
image_label?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
264
|
+
image__is_part_of__release__has__name?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
265
|
+
release_image__has__name?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
266
|
+
image_environment_variable?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
267
|
+
release: {
|
268
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
269
|
+
} | [import("../../../balena-model.js").Release["Read"]];
|
270
|
+
contains__image: {
|
271
|
+
__id: import("../../../balena-model.js").Image["Read"]["id"];
|
272
|
+
} | [import("../../../balena-model.js").Image["Read"]];
|
273
|
+
}, "id"> & {
|
274
|
+
readonly image: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
275
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
276
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
277
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
278
|
+
start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
279
|
+
end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
280
|
+
dockerfile: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
281
|
+
is_a_build_of__service: {
|
282
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
283
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
284
|
+
image_size: import("@balena/sbvr-types").Types["Big Integer"]["Read"] | null;
|
285
|
+
is_stored_at__image_location: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
286
|
+
project_type: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
287
|
+
error_message: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
288
|
+
build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
289
|
+
push_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
290
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
291
|
+
content_hash: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
292
|
+
contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null;
|
293
|
+
device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
294
|
+
image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
295
|
+
is_installed_on__device?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
296
|
+
is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
297
|
+
image__is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
298
|
+
release_image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
299
|
+
is_a_build_of__application__has__service_name: {
|
300
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
301
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
302
|
+
}, "id" | "contract" | "is_a_build_of__service" | "is_stored_at__image_location" | "content_hash">[];
|
303
|
+
readonly image_label: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
304
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
305
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
306
|
+
release_image: {
|
307
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
308
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
309
|
+
label_name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
310
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
311
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
312
|
+
image__is_part_of__release: {
|
313
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
314
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
315
|
+
}, "value" | "label_name">[];
|
316
|
+
readonly image_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
317
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
318
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
319
|
+
release_image: {
|
320
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
321
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
322
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
323
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
324
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
325
|
+
image__is_part_of__release: {
|
326
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
327
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
328
|
+
}, "name" | "value">[];
|
329
|
+
})[];
|
330
|
+
})[];
|
331
|
+
readonly service_install: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
332
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
333
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
334
|
+
device: {
|
335
|
+
__id: import("../../../balena-model.js").Device["Read"]["id"];
|
336
|
+
} | [import("../../../balena-model.js").Device["Read"]];
|
337
|
+
installs__service: {
|
338
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
339
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
340
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
341
|
+
device__installs__application__has__service_name__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
342
|
+
device__installs__service__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
343
|
+
device__installs__service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
344
|
+
service_install__has__name?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
345
|
+
device_service_environment_variable?: Array<import("../../../balena-model.js").DeviceServiceEnvironmentVariable["Read"]>;
|
346
|
+
application__has__service_name: {
|
347
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
348
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
349
|
+
service: {
|
350
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
351
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
352
|
+
installs__application__has__service_name: {
|
353
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
354
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
355
|
+
is_installed_on__device: {
|
356
|
+
__id: import("../../../balena-model.js").Device["Read"]["id"];
|
357
|
+
} | [import("../../../balena-model.js").Device["Read"]];
|
358
|
+
}, "id"> & {
|
359
|
+
readonly service: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
360
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
361
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
362
|
+
application: {
|
363
|
+
__id: Application["Read"]["id"];
|
364
|
+
} | [Application["Read"]];
|
365
|
+
service_name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
366
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
367
|
+
application__has__service_name__has__label_name?: Array<import("../../../balena-model.js").ServiceLabel["Read"]>;
|
368
|
+
service__has__label_name?: Array<import("../../../balena-model.js").ServiceLabel["Read"]>;
|
369
|
+
service_label?: Array<import("../../../balena-model.js").ServiceLabel["Read"]>;
|
370
|
+
application__has__service_name__has__name?: Array<import("../../../balena-model.js").ServiceEnvironmentVariable["Read"]>;
|
371
|
+
service__has__name?: Array<import("../../../balena-model.js").ServiceEnvironmentVariable["Read"]>;
|
372
|
+
service_environment_variable?: Array<import("../../../balena-model.js").ServiceEnvironmentVariable["Read"]>;
|
373
|
+
device__installs__application__has__service_name?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
374
|
+
device__installs__service?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
375
|
+
service_install?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
376
|
+
is_installed_on__device?: Array<import("../../../balena-model.js").ServiceInstall["Read"]>;
|
377
|
+
is_built_by__image?: Array<import("../../../balena-model.js").Image["Read"]>;
|
378
|
+
}, "id" | "service_name"> & {
|
379
|
+
readonly service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
380
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
381
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
382
|
+
service: {
|
383
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
384
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
385
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
386
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
387
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
388
|
+
application__has__service_name: {
|
389
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
390
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
391
|
+
}, "name" | "value">[];
|
392
|
+
readonly service_label: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
393
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
394
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
395
|
+
service: {
|
396
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
397
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
398
|
+
label_name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
399
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
400
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
401
|
+
application__has__service_name: {
|
402
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
403
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
404
|
+
}, "value" | "label_name">[];
|
405
|
+
})[];
|
406
|
+
readonly device_service_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
407
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
408
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
409
|
+
service_install: {
|
410
|
+
__id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
|
411
|
+
} | [import("../../../balena-model.js").ServiceInstall["Read"]];
|
412
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
413
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
414
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
415
|
+
device__installs__application__has__service_name: {
|
416
|
+
__id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
|
417
|
+
} | [import("../../../balena-model.js").ServiceInstall["Read"]];
|
418
|
+
device__installs__service: {
|
419
|
+
__id: import("../../../balena-model.js").ServiceInstall["Read"]["id"];
|
420
|
+
} | [import("../../../balena-model.js").ServiceInstall["Read"]];
|
421
|
+
}, "name" | "value">[];
|
422
|
+
})[];
|
423
|
+
readonly belongs_to__application: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
424
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
425
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
426
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
427
|
+
actor: {
|
428
|
+
__id: import("../../../balena-model.js").Actor["Read"]["id"];
|
429
|
+
} | [import("../../../balena-model.js").Actor["Read"]];
|
430
|
+
should_track_latest_release: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
431
|
+
is_of__class: "fleet" | "block" | "app";
|
432
|
+
organization: {
|
433
|
+
__id: import("../../../balena-model.js").Organization["Read"]["id"];
|
434
|
+
} | [import("../../../balena-model.js").Organization["Read"]];
|
435
|
+
app_name: import("@balena/sbvr-types").Types["Text"]["Read"];
|
436
|
+
slug: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
437
|
+
is_for__device_type: {
|
438
|
+
__id: import("../../../balena-model.js").DeviceType["Read"]["id"];
|
439
|
+
} | [import("../../../balena-model.js").DeviceType["Read"]];
|
440
|
+
should_be_running__release: {
|
441
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
442
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
443
|
+
application_type: {
|
444
|
+
__id: import("../../../balena-model.js").ApplicationType["Read"]["id"];
|
445
|
+
} | [import("../../../balena-model.js").ApplicationType["Read"]];
|
446
|
+
is_host: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
447
|
+
is_archived: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
448
|
+
uuid: import("@balena/sbvr-types").Types["Text"]["Read"];
|
449
|
+
is_public: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
450
|
+
application__has__env_var_name?: Array<import("../../../balena-model.js").ApplicationEnvironmentVariable["Read"]>;
|
451
|
+
application_environment_variable?: Array<import("../../../balena-model.js").ApplicationEnvironmentVariable["Read"]>;
|
452
|
+
application__has__config_var_name?: Array<import("../../../balena-model.js").ApplicationConfigVariable["Read"]>;
|
453
|
+
application_config_variable?: Array<import("../../../balena-model.js").ApplicationConfigVariable["Read"]>;
|
454
|
+
application__has__service_name?: Array<import("../../../balena-model.js").Service["Read"]>;
|
455
|
+
service?: Array<import("../../../balena-model.js").Service["Read"]>;
|
456
|
+
application__has__tag_key?: Array<import("../../../balena-model.js").ApplicationTag["Read"]>;
|
457
|
+
application_tag?: Array<import("../../../balena-model.js").ApplicationTag["Read"]>;
|
458
|
+
owns__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
459
|
+
owns__release?: Array<import("../../../balena-model.js").Release["Read"]>;
|
460
|
+
is_directly_accessible_by__user?: Array<import("../../../balena-model.js").UserHasDirectAccessToApplication["Read"]>;
|
461
|
+
}, "id" | "is_of__class" | "app_name" | "uuid" | "is_host"> & {
|
462
|
+
readonly application_config_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
463
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
464
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
465
|
+
application: {
|
466
|
+
__id: Application["Read"]["id"];
|
467
|
+
} | [Application["Read"]];
|
468
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
469
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
470
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
471
|
+
}, "name" | "value">[];
|
472
|
+
readonly application_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
473
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
474
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
475
|
+
application: {
|
476
|
+
__id: Application["Read"]["id"];
|
477
|
+
} | [Application["Read"]];
|
478
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
479
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
480
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
481
|
+
}, "name" | "value">[];
|
482
|
+
})[];
|
483
|
+
readonly should_be_managed_by__release: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
484
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
485
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
486
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
487
|
+
belongs_to__application: {
|
488
|
+
__id: Application["Read"]["id"];
|
489
|
+
} | [Application["Read"]];
|
490
|
+
commit: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
491
|
+
composition: import("@balena/sbvr-types").Types["JSON"]["Read"];
|
492
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
493
|
+
source: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
494
|
+
build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
495
|
+
is_invalidated: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
496
|
+
start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
497
|
+
end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
498
|
+
update_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
499
|
+
release_version: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
500
|
+
contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null;
|
501
|
+
is_passing_tests: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
502
|
+
is_finalized_at__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
503
|
+
phase: "next" | "current" | "sunset" | "end-of-life" | null;
|
504
|
+
semver_major: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
505
|
+
semver_minor: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
506
|
+
semver_patch: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
507
|
+
semver_prerelease: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
508
|
+
semver_build: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
509
|
+
variant: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
510
|
+
revision: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
511
|
+
known_issue_list: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
512
|
+
note: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
513
|
+
invalidation_reason: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
514
|
+
is_final: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
515
|
+
semver: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
516
|
+
raw_version: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
517
|
+
version: import("@balena/sbvr-types").Types["JSON"]["Read"];
|
518
|
+
release__has__tag_key?: Array<import("../../../balena-model.js").ReleaseTag["Read"]>;
|
519
|
+
release_tag?: Array<import("../../../balena-model.js").ReleaseTag["Read"]>;
|
520
|
+
release__has__asset_key?: Array<import("../../../balena-model.js").ReleaseAsset["Read"]>;
|
521
|
+
release_asset?: Array<import("../../../balena-model.js").ReleaseAsset["Read"]>;
|
522
|
+
image__is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
523
|
+
release_image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
524
|
+
contains__image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
525
|
+
should_be_running_on__application?: Array<Application["Read"]>;
|
526
|
+
should_be_running_on__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
527
|
+
is_running_on__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
528
|
+
is_pinned_to__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
529
|
+
should_operate__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
530
|
+
should_manage__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
531
|
+
provides__device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
532
|
+
provides__image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
533
|
+
}, "id" | "commit" | "composition"> & {
|
534
|
+
readonly belongs_to__application: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
535
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
536
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
537
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
538
|
+
actor: {
|
539
|
+
__id: import("../../../balena-model.js").Actor["Read"]["id"];
|
540
|
+
} | [import("../../../balena-model.js").Actor["Read"]];
|
541
|
+
should_track_latest_release: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
542
|
+
is_of__class: "fleet" | "block" | "app";
|
543
|
+
organization: {
|
544
|
+
__id: import("../../../balena-model.js").Organization["Read"]["id"];
|
545
|
+
} | [import("../../../balena-model.js").Organization["Read"]];
|
546
|
+
app_name: import("@balena/sbvr-types").Types["Text"]["Read"];
|
547
|
+
slug: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
548
|
+
is_for__device_type: {
|
549
|
+
__id: import("../../../balena-model.js").DeviceType["Read"]["id"];
|
550
|
+
} | [import("../../../balena-model.js").DeviceType["Read"]];
|
551
|
+
should_be_running__release: {
|
552
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
553
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
554
|
+
application_type: {
|
555
|
+
__id: import("../../../balena-model.js").ApplicationType["Read"]["id"];
|
556
|
+
} | [import("../../../balena-model.js").ApplicationType["Read"]];
|
557
|
+
is_host: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
558
|
+
is_archived: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
559
|
+
uuid: import("@balena/sbvr-types").Types["Text"]["Read"];
|
560
|
+
is_public: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
561
|
+
application__has__env_var_name?: Array<import("../../../balena-model.js").ApplicationEnvironmentVariable["Read"]>;
|
562
|
+
application_environment_variable?: Array<import("../../../balena-model.js").ApplicationEnvironmentVariable["Read"]>;
|
563
|
+
application__has__config_var_name?: Array<import("../../../balena-model.js").ApplicationConfigVariable["Read"]>;
|
564
|
+
application_config_variable?: Array<import("../../../balena-model.js").ApplicationConfigVariable["Read"]>;
|
565
|
+
application__has__service_name?: Array<import("../../../balena-model.js").Service["Read"]>;
|
566
|
+
service?: Array<import("../../../balena-model.js").Service["Read"]>;
|
567
|
+
application__has__tag_key?: Array<import("../../../balena-model.js").ApplicationTag["Read"]>;
|
568
|
+
application_tag?: Array<import("../../../balena-model.js").ApplicationTag["Read"]>;
|
569
|
+
owns__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
570
|
+
owns__release?: Array<import("../../../balena-model.js").Release["Read"]>;
|
571
|
+
is_directly_accessible_by__user?: Array<import("../../../balena-model.js").UserHasDirectAccessToApplication["Read"]>;
|
572
|
+
}, "id" | "is_of__class" | "app_name" | "uuid" | "is_host"> & {
|
573
|
+
readonly application_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
574
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
575
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
576
|
+
application: {
|
577
|
+
__id: Application["Read"]["id"];
|
578
|
+
} | [Application["Read"]];
|
579
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
580
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
581
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
582
|
+
}, "name" | "value">[];
|
583
|
+
})[];
|
584
|
+
readonly contains__image: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
585
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
586
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
587
|
+
image: {
|
588
|
+
__id: import("../../../balena-model.js").Image["Read"]["id"];
|
589
|
+
} | [import("../../../balena-model.js").Image["Read"]];
|
590
|
+
is_part_of__release: {
|
591
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
592
|
+
} | [import("../../../balena-model.js").Release["Read"]];
|
593
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
594
|
+
image__is_part_of__release__has__label_name?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
595
|
+
release_image__has__label_name?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
596
|
+
image_label?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
597
|
+
image__is_part_of__release__has__name?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
598
|
+
release_image__has__name?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
599
|
+
image_environment_variable?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
600
|
+
release: {
|
601
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
602
|
+
} | [import("../../../balena-model.js").Release["Read"]];
|
603
|
+
contains__image: {
|
604
|
+
__id: import("../../../balena-model.js").Image["Read"]["id"];
|
605
|
+
} | [import("../../../balena-model.js").Image["Read"]];
|
606
|
+
}, "id"> & {
|
607
|
+
readonly image: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
608
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
609
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
610
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
611
|
+
start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
612
|
+
end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
613
|
+
dockerfile: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
614
|
+
is_a_build_of__service: {
|
615
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
616
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
617
|
+
image_size: import("@balena/sbvr-types").Types["Big Integer"]["Read"] | null;
|
618
|
+
is_stored_at__image_location: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
619
|
+
project_type: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
620
|
+
error_message: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
621
|
+
build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
622
|
+
push_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
623
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
624
|
+
content_hash: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
625
|
+
contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null;
|
626
|
+
device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
627
|
+
image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
628
|
+
is_installed_on__device?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
629
|
+
is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
630
|
+
image__is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
631
|
+
release_image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
632
|
+
is_a_build_of__application__has__service_name: {
|
633
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
634
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
635
|
+
}, "id" | "contract" | "is_a_build_of__service" | "is_stored_at__image_location" | "content_hash">[];
|
636
|
+
readonly image_label: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
637
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
638
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
639
|
+
release_image: {
|
640
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
641
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
642
|
+
label_name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
643
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
644
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
645
|
+
image__is_part_of__release: {
|
646
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
647
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
648
|
+
}, "value" | "label_name">[];
|
649
|
+
readonly image_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
650
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
651
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
652
|
+
release_image: {
|
653
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
654
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
655
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
656
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
657
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
658
|
+
image__is_part_of__release: {
|
659
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
660
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
661
|
+
}, "name" | "value">[];
|
662
|
+
})[];
|
663
|
+
})[];
|
664
|
+
readonly should_be_operated_by__release: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
665
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
666
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
667
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
668
|
+
belongs_to__application: {
|
669
|
+
__id: Application["Read"]["id"];
|
670
|
+
} | [Application["Read"]];
|
671
|
+
commit: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
672
|
+
composition: import("@balena/sbvr-types").Types["JSON"]["Read"];
|
673
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
674
|
+
source: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
675
|
+
build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
676
|
+
is_invalidated: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
677
|
+
start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
678
|
+
end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
679
|
+
update_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
680
|
+
release_version: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
681
|
+
contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null;
|
682
|
+
is_passing_tests: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
683
|
+
is_finalized_at__date: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
684
|
+
phase: "next" | "current" | "sunset" | "end-of-life" | null;
|
685
|
+
semver_major: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
686
|
+
semver_minor: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
687
|
+
semver_patch: import("@balena/sbvr-types").Types["Integer"]["Read"];
|
688
|
+
semver_prerelease: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
689
|
+
semver_build: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
690
|
+
variant: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
691
|
+
revision: import("@balena/sbvr-types").Types["Integer"]["Read"] | null;
|
692
|
+
known_issue_list: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
693
|
+
note: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
694
|
+
invalidation_reason: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
695
|
+
is_final: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
696
|
+
semver: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
697
|
+
raw_version: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
698
|
+
version: import("@balena/sbvr-types").Types["JSON"]["Read"];
|
699
|
+
release__has__tag_key?: Array<import("../../../balena-model.js").ReleaseTag["Read"]>;
|
700
|
+
release_tag?: Array<import("../../../balena-model.js").ReleaseTag["Read"]>;
|
701
|
+
release__has__asset_key?: Array<import("../../../balena-model.js").ReleaseAsset["Read"]>;
|
702
|
+
release_asset?: Array<import("../../../balena-model.js").ReleaseAsset["Read"]>;
|
703
|
+
image__is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
704
|
+
release_image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
705
|
+
contains__image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
706
|
+
should_be_running_on__application?: Array<Application["Read"]>;
|
707
|
+
should_be_running_on__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
708
|
+
is_running_on__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
709
|
+
is_pinned_to__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
710
|
+
should_operate__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
711
|
+
should_manage__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
712
|
+
provides__device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
713
|
+
provides__image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
714
|
+
}, "id" | "commit" | "composition"> & {
|
715
|
+
readonly belongs_to__application: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
716
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
717
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
718
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
719
|
+
actor: {
|
720
|
+
__id: import("../../../balena-model.js").Actor["Read"]["id"];
|
721
|
+
} | [import("../../../balena-model.js").Actor["Read"]];
|
722
|
+
should_track_latest_release: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
723
|
+
is_of__class: "fleet" | "block" | "app";
|
724
|
+
organization: {
|
725
|
+
__id: import("../../../balena-model.js").Organization["Read"]["id"];
|
726
|
+
} | [import("../../../balena-model.js").Organization["Read"]];
|
727
|
+
app_name: import("@balena/sbvr-types").Types["Text"]["Read"];
|
728
|
+
slug: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
729
|
+
is_for__device_type: {
|
730
|
+
__id: import("../../../balena-model.js").DeviceType["Read"]["id"];
|
731
|
+
} | [import("../../../balena-model.js").DeviceType["Read"]];
|
732
|
+
should_be_running__release: {
|
733
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
734
|
+
} | [import("../../../balena-model.js").Release["Read"]] | [] | null;
|
735
|
+
application_type: {
|
736
|
+
__id: import("../../../balena-model.js").ApplicationType["Read"]["id"];
|
737
|
+
} | [import("../../../balena-model.js").ApplicationType["Read"]];
|
738
|
+
is_host: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
739
|
+
is_archived: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
740
|
+
uuid: import("@balena/sbvr-types").Types["Text"]["Read"];
|
741
|
+
is_public: import("@balena/sbvr-types").Types["Boolean"]["Read"];
|
742
|
+
application__has__env_var_name?: Array<import("../../../balena-model.js").ApplicationEnvironmentVariable["Read"]>;
|
743
|
+
application_environment_variable?: Array<import("../../../balena-model.js").ApplicationEnvironmentVariable["Read"]>;
|
744
|
+
application__has__config_var_name?: Array<import("../../../balena-model.js").ApplicationConfigVariable["Read"]>;
|
745
|
+
application_config_variable?: Array<import("../../../balena-model.js").ApplicationConfigVariable["Read"]>;
|
746
|
+
application__has__service_name?: Array<import("../../../balena-model.js").Service["Read"]>;
|
747
|
+
service?: Array<import("../../../balena-model.js").Service["Read"]>;
|
748
|
+
application__has__tag_key?: Array<import("../../../balena-model.js").ApplicationTag["Read"]>;
|
749
|
+
application_tag?: Array<import("../../../balena-model.js").ApplicationTag["Read"]>;
|
750
|
+
owns__device?: Array<import("../../../balena-model.js").Device["Read"]>;
|
751
|
+
owns__release?: Array<import("../../../balena-model.js").Release["Read"]>;
|
752
|
+
is_directly_accessible_by__user?: Array<import("../../../balena-model.js").UserHasDirectAccessToApplication["Read"]>;
|
753
|
+
}, "id" | "is_of__class" | "app_name" | "uuid" | "is_host"> & {
|
754
|
+
readonly application_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
755
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
756
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
757
|
+
application: {
|
758
|
+
__id: Application["Read"]["id"];
|
759
|
+
} | [Application["Read"]];
|
760
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
761
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
762
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
763
|
+
}, "name" | "value">[];
|
764
|
+
})[];
|
765
|
+
readonly contains__image: (import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
766
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
767
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
768
|
+
image: {
|
769
|
+
__id: import("../../../balena-model.js").Image["Read"]["id"];
|
770
|
+
} | [import("../../../balena-model.js").Image["Read"]];
|
771
|
+
is_part_of__release: {
|
772
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
773
|
+
} | [import("../../../balena-model.js").Release["Read"]];
|
774
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
775
|
+
image__is_part_of__release__has__label_name?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
776
|
+
release_image__has__label_name?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
777
|
+
image_label?: Array<import("../../../balena-model.js").ImageLabel["Read"]>;
|
778
|
+
image__is_part_of__release__has__name?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
779
|
+
release_image__has__name?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
780
|
+
image_environment_variable?: Array<import("../../../balena-model.js").ImageEnvironmentVariable["Read"]>;
|
781
|
+
release: {
|
782
|
+
__id: import("../../../balena-model.js").Release["Read"]["id"];
|
783
|
+
} | [import("../../../balena-model.js").Release["Read"]];
|
784
|
+
contains__image: {
|
785
|
+
__id: import("../../../balena-model.js").Image["Read"]["id"];
|
786
|
+
} | [import("../../../balena-model.js").Image["Read"]];
|
787
|
+
}, "id"> & {
|
788
|
+
readonly image: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
789
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
790
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
791
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
792
|
+
start_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
793
|
+
end_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
794
|
+
dockerfile: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
795
|
+
is_a_build_of__service: {
|
796
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
797
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
798
|
+
image_size: import("@balena/sbvr-types").Types["Big Integer"]["Read"] | null;
|
799
|
+
is_stored_at__image_location: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
800
|
+
project_type: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
801
|
+
error_message: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
802
|
+
build_log: import("@balena/sbvr-types").Types["Text"]["Read"] | null;
|
803
|
+
push_timestamp: import("@balena/sbvr-types").Types["Date Time"]["Read"] | null;
|
804
|
+
status: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
805
|
+
content_hash: import("@balena/sbvr-types").Types["Short Text"]["Read"] | null;
|
806
|
+
contract: import("@balena/sbvr-types").Types["JSON"]["Read"] | null;
|
807
|
+
device__installs__image?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
808
|
+
image_install?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
809
|
+
is_installed_on__device?: Array<import("../../../balena-model.js").ImageInstall["Read"]>;
|
810
|
+
is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
811
|
+
image__is_part_of__release?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
812
|
+
release_image?: Array<import("../../../balena-model.js").ImageIsPartOfRelease["Read"]>;
|
813
|
+
is_a_build_of__application__has__service_name: {
|
814
|
+
__id: import("../../../balena-model.js").Service["Read"]["id"];
|
815
|
+
} | [import("../../../balena-model.js").Service["Read"]];
|
816
|
+
}, "id" | "contract" | "is_a_build_of__service" | "is_stored_at__image_location" | "content_hash">[];
|
817
|
+
readonly image_label: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
818
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
819
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
820
|
+
release_image: {
|
821
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
822
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
823
|
+
label_name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
824
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
825
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
826
|
+
image__is_part_of__release: {
|
827
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
828
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
829
|
+
}, "value" | "label_name">[];
|
830
|
+
readonly image_environment_variable: import("@balena/abstract-sql-to-typescript").PickDeferred<{
|
831
|
+
created_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
832
|
+
modified_at: import("@balena/sbvr-types").Types["Date Time"]["Read"];
|
833
|
+
release_image: {
|
834
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
835
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
836
|
+
name: import("@balena/sbvr-types").Types["Short Text"]["Read"];
|
837
|
+
id: import("@balena/sbvr-types").Types["Serial"]["Read"];
|
838
|
+
value: import("@balena/sbvr-types").Types["Text"]["Read"];
|
839
|
+
image__is_part_of__release: {
|
840
|
+
__id: import("../../../balena-model.js").ImageIsPartOfRelease["Read"]["id"];
|
841
|
+
} | [import("../../../balena-model.js").ImageIsPartOfRelease["Read"]];
|
842
|
+
}, "name" | "value">[];
|
843
|
+
})[];
|
844
|
+
})[];
|
845
|
+
}>;
|
79
846
|
export {};
|