@balena/open-balena-api 28.0.12-build-improve-typings-state-get-v3-cabfe3a4d1bd5ed4e0fe916391d2f83ff6da36ac-1 → 28.0.12
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 +0 -47
- 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 +1 -768
- package/dist/features/device-state/routes/state-get-v3.js +6 -13
- package/dist/features/device-state/routes/state-get-v3.js.map +1 -1
- package/dist/features/device-state/state-get-utils.d.ts +0 -9
- package/dist/features/device-state/state-get-utils.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/translations/v6/numeric-big-integer-hack.d.ts +9 -0
- package/dist/translations/v6/numeric-big-integer-hack.js +14 -0
- package/dist/translations/v6/numeric-big-integer-hack.js.map +1 -0
- package/dist/translations/v6/v6.d.ts +1 -0
- package/dist/translations/v6/v6.js +2 -0
- package/dist/translations/v6/v6.js.map +1 -1
- package/package.json +3 -3
@@ -1,49 +1,2 @@
|
|
1
1
|
import type { RequestHandler } from 'express';
|
2
|
-
import type { OptionsToResponse } from 'pinejs-client-core';
|
3
|
-
import type { Application } from '../../../balena-model.js';
|
4
|
-
declare const fleetExpand: {
|
5
|
-
readonly application_config_variable: {
|
6
|
-
readonly $select: readonly ["name", "value"];
|
7
|
-
};
|
8
|
-
readonly application_environment_variable: {
|
9
|
-
readonly $select: readonly ["name", "value"];
|
10
|
-
};
|
11
|
-
readonly should_be_running__release: {
|
12
|
-
readonly $select: readonly ["id", "commit", "composition"];
|
13
|
-
readonly $expand: {
|
14
|
-
readonly contains__image: {
|
15
|
-
readonly $select: "id";
|
16
|
-
readonly $expand: {
|
17
|
-
readonly image: {
|
18
|
-
readonly $select: readonly ["id", "is_stored_at__image_location", "content_hash", "is_a_build_of__service", "contract"];
|
19
|
-
};
|
20
|
-
readonly image_label: {
|
21
|
-
readonly $select: readonly ["label_name", "value"];
|
22
|
-
};
|
23
|
-
readonly image_environment_variable: {
|
24
|
-
readonly $select: readonly ["name", "value"];
|
25
|
-
};
|
26
|
-
};
|
27
|
-
};
|
28
|
-
};
|
29
|
-
};
|
30
|
-
readonly service: {
|
31
|
-
readonly $select: readonly ["id", "service_name"];
|
32
|
-
readonly $expand: {
|
33
|
-
readonly service_environment_variable: {
|
34
|
-
readonly $select: readonly ["name", "value"];
|
35
|
-
};
|
36
|
-
readonly service_label: {
|
37
|
-
readonly $select: readonly ["label_name", "value"];
|
38
|
-
};
|
39
|
-
readonly is_built_by__image: {
|
40
|
-
readonly $select: readonly ["id", "is_stored_at__image_location"];
|
41
|
-
};
|
42
|
-
};
|
43
|
-
};
|
44
|
-
};
|
45
|
-
export type ExpandedApplicationWithService = OptionsToResponse<Application['Read'], {
|
46
|
-
$expand: typeof fleetExpand;
|
47
|
-
}, undefined>[number];
|
48
2
|
export declare const fleetStateV3: RequestHandler;
|
49
|
-
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fleet-state-get-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/fleet-state-get-v3.ts"],"names":[],"mappings":"AAGA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"fleet-state-get-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/fleet-state-get-v3.ts"],"names":[],"mappings":"AAGA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;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,IAAI,CAAC,SAAS,EAAE,CAAC;QAChB,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IAC9B,CAAC;IAED,IAAI,WAAW,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE,CAAC;QACpD,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IAC9B,CAAC;IAED,IAAI,CAAC;QACJ,MAAM,KAAK,GAAG,MAAM,eAAe,CAAC,GAAG,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QACjE,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACd,IAAI,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO;QACR,CAAC;QACD,gBAAgB,CAAC,GAAG,EAAE,kCAAkC,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QACnE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,CAAC;AACF,CAAC,CAAC"}
|
@@ -1,16 +1,6 @@
|
|
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';
|
5
2
|
type LocalStateApp = StateV3[string]['apps'][string];
|
6
3
|
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];
|
14
4
|
export type StateV3 = {
|
15
5
|
[uuid: string]: {
|
16
6
|
name: string;
|
@@ -65,8 +55,7 @@ export type StateV3 = {
|
|
65
55
|
};
|
66
56
|
};
|
67
57
|
};
|
68
|
-
export declare function buildAppFromRelease(device: undefined, application:
|
69
|
-
export declare function buildAppFromRelease(device: ExpandedDevice, application: ExpandedApplication, release: ExpandedRelease, config: Dictionary<string>, defaultLabels?: Dictionary<string>): NonNullable<LocalStateApp['releases']>;
|
58
|
+
export declare function buildAppFromRelease(device: AnyObject | undefined, application: AnyObject, release: AnyObject, config: Dictionary<string>, defaultLabels?: Dictionary<string>): NonNullable<LocalStateApp['releases']>;
|
70
59
|
export declare const releaseExpand: {
|
71
60
|
readonly $select: readonly ["id", "commit", "composition"];
|
72
61
|
readonly $expand: {
|
@@ -86,761 +75,5 @@ export declare const releaseExpand: {
|
|
86
75
|
};
|
87
76
|
};
|
88
77
|
};
|
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
|
-
};
|
95
78
|
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
|
-
}>;
|
846
79
|
export {};
|
@@ -25,11 +25,11 @@ export function buildAppFromRelease(device, application, release, config, defaul
|
|
25
25
|
const image = ipr.image[0];
|
26
26
|
const si = serviceInstallFromImage(device ?? application, image);
|
27
27
|
if (si == null) {
|
28
|
-
throw new Error(`Could not find service install for device or application: '${application.uuid}', image: '${image?.id}', service: '${JSON.stringify(image?.is_a_build_of__service)}', service: '${device
|
28
|
+
throw new Error(`Could not find service install for device or application: '${application.uuid}', image: '${image?.id}', service: '${JSON.stringify(image?.is_a_build_of__service)}', service: '${device
|
29
29
|
? JSON.stringify(device.service_install)
|
30
30
|
: JSON.stringify(application.service)}'`);
|
31
31
|
}
|
32
|
-
const svc =
|
32
|
+
const svc = si.service?.[0] ?? si;
|
33
33
|
const environment = {};
|
34
34
|
varListInsert(ipr.image_environment_variable, environment);
|
35
35
|
varListInsert(application.application_environment_variable, environment);
|
@@ -37,7 +37,7 @@ export function buildAppFromRelease(device, application, release, config, defaul
|
|
37
37
|
if (device?.device_environment_variable) {
|
38
38
|
varListInsert(device.device_environment_variable, environment);
|
39
39
|
}
|
40
|
-
if (
|
40
|
+
if (si?.device_service_environment_variable) {
|
41
41
|
varListInsert(si.device_service_environment_variable, environment);
|
42
42
|
}
|
43
43
|
const labels = {
|
@@ -111,13 +111,6 @@ export const releaseExpand = {
|
|
111
111
|
},
|
112
112
|
},
|
113
113
|
};
|
114
|
-
const appSelect = [
|
115
|
-
'id',
|
116
|
-
'uuid',
|
117
|
-
'app_name',
|
118
|
-
'is_host',
|
119
|
-
'is_of__class',
|
120
|
-
];
|
121
114
|
const appExpand = {
|
122
115
|
application_environment_variable: {
|
123
116
|
$select: ['name', 'value'],
|
@@ -152,7 +145,7 @@ const deviceExpand = {
|
|
152
145
|
},
|
153
146
|
},
|
154
147
|
belongs_to__application: {
|
155
|
-
$select:
|
148
|
+
$select: ['id', 'uuid', 'app_name', 'is_host', 'is_of__class'],
|
156
149
|
$expand: {
|
157
150
|
...appExpand,
|
158
151
|
application_config_variable: {
|
@@ -165,7 +158,7 @@ const deviceExpand = {
|
|
165
158
|
$expand: {
|
166
159
|
...releaseExpand.$expand,
|
167
160
|
belongs_to__application: {
|
168
|
-
$select:
|
161
|
+
$select: ['id', 'uuid', 'app_name', 'is_host', 'is_of__class'],
|
169
162
|
$expand: appExpand,
|
170
163
|
},
|
171
164
|
},
|
@@ -175,7 +168,7 @@ const deviceExpand = {
|
|
175
168
|
$expand: {
|
176
169
|
...releaseExpand.$expand,
|
177
170
|
belongs_to__application: {
|
178
|
-
$select:
|
171
|
+
$select: ['id', 'uuid', 'app_name', 'is_host', 'is_of__class'],
|
179
172
|
$expand: appExpand,
|
180
173
|
},
|
181
174
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-get-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACvB,aAAa,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;
|
1
|
+
{"version":3,"file":"state-get-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACvB,aAAa,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AA2D1B,MAAM,UAAU,mBAAmB,CAClC,MAA6B,EAC7B,WAAsB,EACtB,OAAkB,EAClB,MAA0B,EAC1B,aAAkC;IAElC,IAAI,WAAW,GAAc,EAAE,CAAC;IAChC,MAAM,QAAQ,GACb,EAAE,CAAC;IAEJ,wDAAwD;IACxD,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;QACrC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACnC,CAAC;SAAM,CAAC;QACP,IAAI,CAAC;YACJ,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC/C,CAAC;QAAC,MAAM,CAAC;YACR,WAAW,GAAG,EAAE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E,EAAE,CAAC,CAC9C,CACF,CAAC;AAEF,MAAM,WAAW,GAAG,CACnB,MAAiB,EACjB,kBAGmC,EACnC,MAA0B,EAC1B,aAAkC,EACD,EAAE;IACnC,IAAI,WAAsB,CAAC;IAC3B,IAAI,OAA8B,CAAC;IACnC,IAAI,kBAAkB,KAAK,4BAA4B,EAAE,CAAC;QACzD,WAAW,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;QAChD,OAAO,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC;IAChD,CAAC;SAAM,CAAC;QACP,OAAO,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,OAAO,IAAI,CAAC;QACb,CAAC;QACD,WAAW,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAClD,CAAC;IAED,OAAO;QACN,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;YACnB,EAAE,EAAE,WAAW,CAAC,EAAE;YAClB,IAAI,EAAE,WAAW,CAAC,QAAQ;YAC1B,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,KAAK,EAAE,WAAW,CAAC,YAAY;YAC/B,GAAG,CAAC,OAAO,IAAI,IAAI,IAAI;gBACtB,QAAQ,EAAE,mBAAmB,CAC5B,MAAM,EACN,WAAW,EACX,OAAO,EACP,MAAM,EACN,aAAa,CACb;aACD,CAAC;SACF;KACD,CAAC;AACH,CAAC,CAAC"}
|
@@ -39,15 +39,6 @@ export declare function serviceInstallFromImage(deviceOrFleet: {
|
|
39
39
|
__id: number;
|
40
40
|
};
|
41
41
|
}): ExpandedService | undefined;
|
42
|
-
export declare function serviceInstallFromImage(deviceOrFleet: {
|
43
|
-
service_install: ExpandedServiceInstall[];
|
44
|
-
} | {
|
45
|
-
service: ExpandedService[];
|
46
|
-
}, image?: {
|
47
|
-
is_a_build_of__service: number | {
|
48
|
-
__id: number;
|
49
|
-
};
|
50
|
-
}): ExpandedServiceInstall | ExpandedService | undefined;
|
51
42
|
/** @deprecated Use the strongly-typed overloads with `{ service_install }` or `{ service }` instead */
|
52
43
|
export declare function serviceInstallFromImage(deviceOrFleet: AnyObject, image?: AnyObject): undefined | AnyObject;
|
53
44
|
export declare const formatImageLocation: (imageLocation: string) => string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-get-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-get-utils.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACN,gCAAgC,EAChC,oCAAoC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,qBAAqB,EACrB,uBAAuB,GACvB,MAAM,4BAA4B,CAAC;AAGpC,MAAM,CAAC,MAAM,6BAA6B,GAEtC,EAAE,CAAC;AAEP,MAAM,wBAAwB,GAAgD;IAC7E,SAAS,kBAAkB,CAAC,MAAM;QACjC,MAAM,YAAY,GACjB,MAAM,CAAC,8BAA8B,IAAI,IAAI;YAC5C,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,EAAE,CAAC,CAAC;QACxD,sEAAsE;QACtE,MAAM,CAAC,8BAA8B;YACpC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,gCAAgC,CAAC,CAAC;IAChE,CAAC;CACD,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACzC,EAA6C,EAC5C,EAAE;IACH,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,MAA0B,EAAQ,EAAE;IAC7E,KAAK,MAAM,EAAE,IAAI,wBAAwB,EAAE,CAAC;QAC3C,EAAE,CAAC,MAAM,CAAC,CAAC;IACZ,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,CACxB,MAOY,EACZ,WAAW,GAAG,MAAM,EAAE,uBAAuB,CAAC,CAAC,CAAC,EAC/C,EAAE;IACH,MAAM,MAAM,GAAuB,EAAE,CAAC;IAEtC,wCAAwC;IAExC,IAAI,WAAW,EAAE,CAAC;QACjB,aAAa,CACZ,WAAW,CAAC,2BAA2B,EACvC,MAAM,EACN,cAAc,CACd,CAAC;IACH,CAAC;IAED,0CAA0C;IAC1C,IAAI,MAAM,EAAE,CAAC;QACZ,aAAa,CAAC,MAAM,CAAC,sBAAsB,EAAE,MAAM,EAAE,cAAc,CAAC,CAAC;IACtE,CAAC;IAED,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAC3B,yBAAyB,CAAC,MAAM,CAAC,CAAC;IAElC,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"state-get-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-get-utils.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACN,gCAAgC,EAChC,oCAAoC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,qBAAqB,EACrB,uBAAuB,GACvB,MAAM,4BAA4B,CAAC;AAGpC,MAAM,CAAC,MAAM,6BAA6B,GAEtC,EAAE,CAAC;AAEP,MAAM,wBAAwB,GAAgD;IAC7E,SAAS,kBAAkB,CAAC,MAAM;QACjC,MAAM,YAAY,GACjB,MAAM,CAAC,8BAA8B,IAAI,IAAI;YAC5C,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,EAAE,CAAC,CAAC;QACxD,sEAAsE;QACtE,MAAM,CAAC,8BAA8B;YACpC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ACpB,mEAAmE;gBACnE,MAAM,yBAAyB,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;gBACrD,kDAAkD;gBAClD,MAAM,IAAI,MAAM,CAAC,iBAAiB,EAAE,CAAC;YACtC,CAAC;YAED,OAAO,MAAM,CAAC;QACf,CAAC;QACD,MAAM,IAAI,MAAM,CAAC,iBAAiB,EAAE,CAAC;IACtC,CAAC,CAAC;AACJ,CAAC,CAAC,EAAE,CAAC"}
|
package/dist/index.d.ts
CHANGED
@@ -202,6 +202,7 @@ export declare const envVarsConfig: {
|
|
202
202
|
}>;
|
203
203
|
}[];
|
204
204
|
};
|
205
|
+
import './translations/v6/numeric-big-integer-hack.js';
|
205
206
|
export declare const translations: {
|
206
207
|
v7: {
|
207
208
|
getTranslations: (_abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {};
|
package/dist/index.js
CHANGED
@@ -158,6 +158,9 @@ export const envVarsConfig = {
|
|
158
158
|
SUPERVISOR_CONFIG_VAR_PROPERTIES,
|
159
159
|
DEVICE_TYPE_SPECIFIC_CONFIG_VAR_PROPERTIES,
|
160
160
|
};
|
161
|
+
// Needed so that the augmented `@balena/sbvr-types` typings
|
162
|
+
// automatically become available to consumer projects.
|
163
|
+
import './translations/v6/numeric-big-integer-hack.js';
|
161
164
|
export const translations = {
|
162
165
|
v7: {
|
163
166
|
getTranslations: getV7Translations,
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAE3C,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAC3C,OAAO,YAAY,MAAM,cAAc,CAAC;AACxC,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,aAAa,MAAM,gBAAgB,CA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GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACnD,GAAG,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC,CAAC;IAC1B,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/B,GAAG,CAAC,GAAG,CAAC,SAAS,EAAE,aAAa,CAAC,EAAE,MAAM,EAAE,qBAAqB,EAAE,CAAC,CAAC,CAAC;IAErE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAExB,GAAG,CAAC,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AACxC,CAAC;AAED,KAAK,UAAU,WAAW,CACzB,GAAgB,EAChB,IAAqB;IAErB,IAAI,MAAc,CAAC;IACnB,+CAA+C;IAC/C,mDAAmD;IACnD,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAAE;QAC9B,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;IACH,MAAM,QAAQ,CAAC,YAAY,CAAC,CAAC,EAAE,EAAE,EAAE;QAClC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,EAA8B,CAAC,CAAC;IAC3D,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,GAAG,CAAC,uBAAuB,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC;IAC1E,OAAO,MAAO,CAAC;AAChB,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type * as TypeUtils from '@balena/sbvr-types/out/type-utils.js';
|
2
|
+
type TsTypes = TypeUtils.TsTypes<number, number>;
|
3
|
+
export { TsTypes as Types };
|
4
|
+
export type DbWriteType = number;
|
5
|
+
declare module '@balena/sbvr-types' {
|
6
|
+
interface Types {
|
7
|
+
'Numeric Big Integer': TsTypes;
|
8
|
+
}
|
9
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import SbvrTypes from '@balena/sbvr-types';
|
2
|
+
// @ts-expect-error we are augmenting SbvrTypes w/ Numeric Big Integer
|
3
|
+
SbvrTypes.default['Numeric Big Integer'] = {
|
4
|
+
...SbvrTypes.default['Big Integer'],
|
5
|
+
fetchProcessing(data) {
|
6
|
+
const processedData = SbvrTypes.default['Big Integer'].fetchProcessing(data);
|
7
|
+
if (processedData == null) {
|
8
|
+
return processedData;
|
9
|
+
}
|
10
|
+
return parseInt(processedData, 10);
|
11
|
+
},
|
12
|
+
validate: SbvrTypes.default.Integer.validate,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=numeric-big-integer-hack.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"numeric-big-integer-hack.js","sourceRoot":"","sources":["../../../src/translations/v6/numeric-big-integer-hack.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAgB3C,sEAAsE;AACtE,SAAS,CAAC,OAAO,CAAC,qBAAqB,CAAC,GAAG;IAC1C,GAAG,SAAS,CAAC,OAAO,CAAC,aAAa,CAAC;IAEnC,eAAe,CAAC,IAAI;QACnB,MAAM,aAAa,GAClB,SAAS,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;YAC3B,OAAO,aAAa,CAAC;QACtB,CAAC;QACD,OAAO,QAAQ,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ;CACiC,CAAC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import './numeric-big-integer-hack.js';
|
1
2
|
export declare const toVersion = "v7";
|
2
3
|
export declare const v6AbstractSqlModel: import("@balena/abstract-sql-compiler").AbstractSqlModel;
|
3
4
|
export declare const getV6Translations: (abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import './numeric-big-integer-hack.js';
|
1
2
|
import { aliasFields, aliasTable, generateAbstractSqlModel, overrideFieldType, renameResourceField, } from '../../abstract-sql-utils.js';
|
2
3
|
import * as userHasDirectAccessToApplication from '../../features/applications/models/user__has_direct_access_to__application.js';
|
3
4
|
import * as DeviceAdditions from '../../features/devices/models/device-additions.js';
|
@@ -13,6 +14,7 @@ overrideFieldType(v6AbstractSqlModel, 'application', 'actor', 'Integer');
|
|
13
14
|
for (const resource of ['device', 'application']) {
|
14
15
|
renameResourceField(v6AbstractSqlModel, resource, 'env var name', 'name');
|
15
16
|
}
|
17
|
+
overrideFieldType(v6AbstractSqlModel, 'image', 'image size', 'Numeric Big Integer');
|
16
18
|
export const getV6Translations = (abstractSqlModel = v6AbstractSqlModel) => {
|
17
19
|
const deviceFieldSet = new Set(abstractSqlModel.tables['device'].fields.map((f) => f.fieldName));
|
18
20
|
return {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"v6.js","sourceRoot":"","sources":["../../../src/translations/v6/v6.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"v6.js","sourceRoot":"","sources":["../../../src/translations/v6/v6.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC;AAGvC,OAAO,EACN,WAAW,EACX,UAAU,EACV,wBAAwB,EACxB,iBAAiB,EACjB,mBAAmB,GACnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,gCAAgC,MAAM,+EAA+E,CAAC;AAClI,OAAO,KAAK,eAAe,MAAM,mDAAmD,CAAC;AAErF,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,CAAC;AAE9B,MAAM,CAAC,MAAM,kBAAkB,GAAG,wBAAwB,CACzD,IAAI,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,IA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AE,SAAS,CAAC,EAAE,yBAAyB,CAAC;wBACnE,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,EAAE,QAAQ,CAAC;wBACrD,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,mBAAmB,CAAC;wBAC7D,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,OAAO,CAAC;qBACjD;iBACD;gBACD,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;aAC7B;SACD;KAC4C,CAAC;AAChD,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": "28.0.12
|
4
|
+
"version": "28.0.12",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"@balena/env-parsing": "^1.2.0",
|
50
50
|
"@balena/es-version": "^1.0.3",
|
51
51
|
"@balena/node-metrics-gatherer": "^6.0.3",
|
52
|
-
"@balena/pinejs": "^19.0.
|
52
|
+
"@balena/pinejs": "^19.0.2",
|
53
53
|
"@balena/pinejs-webresource-cloudfront": "^0.2.1",
|
54
54
|
"@sentry/node": "^8.30.0",
|
55
55
|
"@types/basic-auth": "^1.1.8",
|
@@ -168,6 +168,6 @@
|
|
168
168
|
"loader": "ts-node/esm/transpile-only"
|
169
169
|
},
|
170
170
|
"versionist": {
|
171
|
-
"publishedAt": "2024-09-
|
171
|
+
"publishedAt": "2024-09-23T07:33:31.951Z"
|
172
172
|
}
|
173
173
|
}
|