@balena/open-balena-api 28.0.4-build-filter-resource-bec47984a2fd20c14f8a91690c3aec820e37a7d8-1 → 28.0.5-build-v6-number-image-image-size--6463e120ddbf17cf0494187e63c782e0e59ea900-1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/features/ci-cd/hooks/release-versioning.js.map +1 -1
- package/dist/features/ci-cd/hooks/service-installs.js +10 -1
- package/dist/features/ci-cd/hooks/service-installs.js.map +1 -1
- package/dist/features/device-proxy/device-proxy.d.ts +1 -2
- package/dist/features/device-proxy/device-proxy.js.map +1 -1
- package/dist/features/device-state/routes/state-patch-v3.js +1 -3
- package/dist/features/device-state/routes/state-patch-v3.js.map +1 -1
- package/dist/features/device-state/state-patch-utils.js.map +1 -1
- package/dist/features/vars-schema/hooks/vars-update-trigger.js.map +1 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/infra/pinejs-client-helpers/index.d.ts +1 -2
- package/dist/infra/pinejs-client-helpers/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 +1 @@
|
|
1
|
-
{"version":3,"file":"release-versioning.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/release-versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EACL,MAAM,EACN,WAAW,GACX,MAAM,gBAAgB,CAAC;AAExB,OAAO,SAAS,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,EACN,gBAAgB,EAChB,0BAA0B,G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G,EAAE,CACP,CAAC;4BACF,MAAM,IAAI,eAAe,CACxB,mDAAmD,CACnD,CAAC;wBACH,CAAC;wBACD,MAAM,YAAY,GAAG,MAAM,eAAe,CACzC,GAAG,EACH,KAAK,EACL,mBAAmB,EACnB,OAAO,CACP,CAAC;wBACF,yBAAyB,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;wBAE7D,MAAM,GAAG,CAAC,KAAK,CAAC;4BACf,QAAQ,EAAE,SAAS;4BACnB,+CAA+C;4BAC/C,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;4BACtC,EAAE,EAAE,OAAO,CAAC,EAAE;4BACd,IAAI,EAAE;gCACL,GAAG,CAAC,QAAQ;oCACX,OAAO,CAAC,qBAAqB,IAAI,IAAI,IAAI;oCACxC,qBAAqB,EAAE,IAAI,IAAI,EAAE;iCACjC,CAAC;gCACH,QAAQ,EAAE,YAAY;6BACtB;yBACD,CAAC,CAAC;oBACJ,CAAC;gBACF,CAAC;YACF,CAAC,CACD,CACD,CAAC;QACH,CAAC,CAAC,CACF,CAAC;IACH,CAAC;CACD,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"release-versioning.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/release-versioning.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EACL,MAAM,EACN,WAAW,GACX,MAAM,gBAAgB,CAAC;AAExB,OAAO,SAAS,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAGnD,OAAO,EACN,gBAAgB,EAChB,0BAA0B,GAC1B,MAAM,wCAAwC,CAAC;AAEhD,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;AAEnC,MAAM,2BAA2B,GAChC,4CAA4C,CAAC;AAC9C,QAAQ,CAAC,gCAAgC,CACxC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,EACnB,OAAO,CACP,CAAC;wBACF,yBAAyB,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;wBAE7D,MAAM,GAAG,CAAC,KAAK,CAAC;4BACf,QAAQ,EAAE,SAAS;4BACnB,+CAA+C;4BAC/C,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;4BACtC,EAAE,EAAE,OAAO,CAAC,EAAE;4BACd,IAAI,EAAE;gCACL,GAAG,CAAC,QAAQ;oCACX,OAAO,CAAC,qBAAqB,IAAI,IAAI,IAAI;oCACxC,qBAAqB,EAAE,IAAI,IAAI,EAAE;iCACjC,CAAC;gCACH,QAAQ,EAAE,YAAY;6BACtB;yBACD,CAAC,CAAC;oBACJ,CAAC;gBACF,CAAC;YACF,CAAC,CACD,CACD,CAAC;QACH,CAAC,CAAC,CACF,CAAC;IACH,CAAC;CACD,CAAC,CAAC"}
|
@@ -162,7 +162,16 @@ hooks.addPureHook('POST', 'resin', 'device', {
|
|
162
162
|
return;
|
163
163
|
}
|
164
164
|
const rootApi = api.clone({ passthrough: { tx, req: permissions.root } });
|
165
|
-
|
165
|
+
const app = request.values.belongs_to__application;
|
166
|
+
if (app != null) {
|
167
|
+
await createAppServiceInstalls(rootApi, app, [deviceId]);
|
168
|
+
}
|
169
|
+
const release = request.values.is_pinned_on__release;
|
170
|
+
if (release != null) {
|
171
|
+
await createReleaseServiceInstalls(api, [deviceId], {
|
172
|
+
id: release,
|
173
|
+
});
|
174
|
+
}
|
166
175
|
},
|
167
176
|
});
|
168
177
|
hooks.addPureHook('PATCH', 'resin', 'device', {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"service-installs.js","sourceRoot":"","sources":["../../../../src/features/ci-cd/hooks/service-installs.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG/D,MAAM,4BAA4B,GAAG,KAAK,EACzC,GAA+B,EAC/B,iBAAuC,EACvC,aAAqB,EACL,EAAE;IAClB,IAAI,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,IAAI,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO;IACR,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC;QAC9B,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE;YACR,OAAO,EAAE,IAAI;YACb,OAAO,EAAE;gBACR,kBAAkB,EAAE;oBACnB,IAAI,EAAE;wBACL,MAAM,EAAE,GAAG;wBACX,KAAK,EAAE;4BACN,CAAC,EAAE;gCACF,mBAAmB,EAAE;oCACpB,IAAI,EAAE;wCACL,MAAM,EAAE,KAAK;wCACb,KAAK,EAAE;4CACN,GAAG,EAAE;gDACJ,OAAO,EAAE;oDACR,IAAI,EAAE;wDACL,MAAM,EAAE,GAAG;wDACX,KAAK,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE;qDAC3B;iDACD;6CACD;yCACD;qCACD;iCACD;6BACD;yBACD;qBACD;iBACD;aACD;SACD;KACD,CAAC,CAAC;IACH,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO;IACR,CAAC;IACD,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;IAEhD,MAAM,qBAAqB,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;QAC5D,IAAI,EAAE;YACL,eAA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} from 'pinejs-client-core';
|
4
4
|
import type { RequestResponse } from '../../infra/request-promise/index.js';
|
5
|
-
import type { Device } from '../../balena-model.js';
|
6
5
|
export declare const proxy: (req: Request, res: Response) => Promise<void>;
|
7
6
|
interface FixedMethodRequestDevicesOpts {
|
8
7
|
url: string;
|
9
|
-
filter: Filter
|
8
|
+
filter: Filter;
|
10
9
|
data?: AnyObject;
|
11
10
|
req?: sbvrUtils.Passthrough['req'];
|
12
11
|
wait?: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"device-proxy.js","sourceRoot":"","sources":["../../../src/features/device-proxy/device-proxy.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGhE,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACN,uBAAuB,EACvB,sBAAsB,GACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"device-proxy.js","sourceRoot":"","sources":["../../../src/features/device-proxy/device-proxy.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGhE,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACN,uBAAuB,EACvB,sBAAsB,GACtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,oB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AI;gBACZ,MAAM;gBACN,OAAO,EAAE,sBAAsB;aAC/B,CAAC,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,CAAC,IAAI,EAAE,CAAC;gBACX,4FAA4F;gBAC5F,OAAO;YACR,CAAC;YACD,MAAM,GAAG,CAAC;QACX,CAAC;IACF,CAAC,CACD,CAAC;IAEF,IAAI,CAAC,IAAI,EAAE,CAAC;QACX,OAAO;IACR,CAAC;IACD,iGAAiG;IACjG,OAAO,CAAC,MAAM,WAAW,CAAsB,CAAC;AACjD,CAAC;AAYD,MAAM,CAAC,KAAK,UAAU,WAAW,CAChC,IAAmC;IAEnC,OAAO,MAAM,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;AAC1D,CAAC"}
|
@@ -45,9 +45,7 @@ const fetchData = async (req, custom, deviceIds, appReleaseUuids) => await sbvrU
|
|
45
45
|
}
|
46
46
|
const imgLocationFilter = imageLocations.map((imgLocation) => {
|
47
47
|
const [location, contentHash] = imgLocation.split('@');
|
48
|
-
const filter = {
|
49
|
-
is_stored_at__image_location: location,
|
50
|
-
};
|
48
|
+
const filter = { is_stored_at__image_location: location };
|
51
49
|
if (contentHash) {
|
52
50
|
filter.content_hash = contentHash;
|
53
51
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-patch-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-patch-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAC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C,KAAK,EAAE,EAAE,EAAE,EAAE;gBAC3C,MAAM,UAAU,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC;oBAClC,WAAW,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE;iBAChC,CAAC,CAAC;gBAEH,MAAM,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YACtE,CAAC,CAAC,CAAC;QACJ,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,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,4BAA4B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC7D,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;AACF,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"state-patch-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-patch-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAG9C,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACN,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACvB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,EAAE,eAAe,EAAE,iBAAi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AAM,EAAE,EAAE,EAAE;iBAChC,CAAC,CAAC;gBAEH,MAAM,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;YACtE,CAAC,CAAC,CAAC;QACJ,CAAC;QAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,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,4BAA4B,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAC7D,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IACrB,CAAC;AACF,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"state-patch-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-patch-utils.ts"],"names":[],"mappings":"AAIA,OAAO,EACN,6CAA6C,EAC7C,mCAAmC,EACnC,yBAAyB,EACzB,mCAAmC,GACnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,YAAY;IACZ,aAAa;IACb,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,gBAAgB;IAChB,eAAe;CAGf,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAE3B;IACH,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,e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,CAAC,KAAK,CAAC;QAC9B,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;KACtC,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;IAC5D,MAAM,MAAM,
|
1
|
+
{"version":3,"file":"state-patch-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-patch-utils.ts"],"names":[],"mappings":"AAIA,OAAO,EACN,6CAA6C,EAC7C,mCAAmC,EACnC,yBAAyB,EACzB,mCAAmC,GACnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,YAAY;IACZ,aAAa;IACb,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,gBAAgB;IAChB,eAAe;CAGf,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAE3B;IACH,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,eAAe,CAAC;IAC1D,aAAa;IACb,MAAM;IACN,mBAAmB;CACnB,CAAC;AAEF,MAAM,iBAAiB,GAAG,GAAG,CAAC;AAC9B,MAAM,iBAAiB,GAAG,GAAG,CAAC;AAE9B,sDAAsD;AACtD,MAAM,YAAY,GAAG,CACpB,QAAgB,EAChB,SAAiB,iBAAiB,EAClC,YAAoB,iBAAiB,EAC5B,EAAE;IACX,OAAO,QAAQ;SACb,KAAK,CAAC,SAAS,CAAC;SAChB,MAAM,CAAC,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE;QAC1B,MAAM,gBAAgB,GAAG,IAAI,GAA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QAAQ,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC;SAAM,CAAC;QACP,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,MAAM,OAAO,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,eAAe;QACzB,IAAI;QACJ,OAAO,EAAE;YACR,OAAO,EAAE,MAAM;SACf;KACD,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vars-update-trigger.js","sourceRoot":"","sources":["../../../../src/features/vars-schema/hooks/vars-update-trigger.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"vars-update-trigger.js","sourceRoot":"","sources":["../../../../src/features/vars-schema/hooks/vars-update-trigger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAMjE,4FAA4F;AAC5F,wFAAwF;AACxF,8BAA8B;AAC9B,uIAAuI;AACvI,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC;AAE7C,iBAAiB;AACjB,MAAM,WAAW,GAAG,CACnB,QAAgB,EAChB,WAQC,EACM,EAAE;IACT,MAAM,oBAAoB,GAAG,KAAK,EACjC,IAEC,EACA,EAAE;QACH,IAAI,CAAC;YACJ,MAAM,MAAM,GAAG,MAAM,WAAW,CAAC,IAAI,CAAC,CAAC;YACvC,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;gBACpB,OAAO;YACR,CAAC;YACD,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBACpC,CAAC,CAAC,CAAC,GAAG,EAAE;oBACN,MAAM,CAAC,WAAW,EAAE,aAAa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,CAAC;AACH,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
@@ -127,7 +127,7 @@ export declare const hooks: {
|
|
127
127
|
addDeleteHookForDependents: (resource: string, dependents: Parameters<typeof import("./infra/cascade-delete/index.js").addDeleteHookForDependents>[2]) => void;
|
128
128
|
};
|
129
129
|
export declare const utils: {
|
130
|
-
updateOrInsertModel:
|
130
|
+
updateOrInsertModel: (resource: string, filter: import("pinejs-client-core").FilterObj, updateFields: AnyObject, tx?: Tx) => Promise<{
|
131
131
|
id: number;
|
132
132
|
}>;
|
133
133
|
getOrInsertModelId: (resource: string, body: AnyObject, tx?: Tx) => Promise<{
|
@@ -189,6 +189,15 @@ export declare const envVarsConfig: {
|
|
189
189
|
}>;
|
190
190
|
}[];
|
191
191
|
};
|
192
|
+
import * as numericBigInteger from './translations/v6/numeric-big-integer-hack.js';
|
193
|
+
/**
|
194
|
+
* This automatically augments the declarations of the consumer projects.
|
195
|
+
*/
|
196
|
+
export declare const augmentedTypes: {
|
197
|
+
'@balena/sbvr-types': {
|
198
|
+
'Numeric Big Integer': typeof numericBigInteger;
|
199
|
+
};
|
200
|
+
};
|
192
201
|
export declare const translations: {
|
193
202
|
v7: {
|
194
203
|
getTranslations: (_abstractSqlModel?: import("@balena/abstract-sql-compiler").AbstractSqlModel) => {};
|
package/dist/index.js
CHANGED
@@ -158,6 +158,16 @@ export const envVarsConfig = {
|
|
158
158
|
SUPERVISOR_CONFIG_VAR_PROPERTIES,
|
159
159
|
DEVICE_TYPE_SPECIFIC_CONFIG_VAR_PROPERTIES,
|
160
160
|
};
|
161
|
+
// Needs to be `import *` so that the import path is preserved in the generated .d.ts
|
162
|
+
import * as numericBigInteger from './translations/v6/numeric-big-integer-hack.js';
|
163
|
+
/**
|
164
|
+
* This automatically augments the declarations of the consumer projects.
|
165
|
+
*/
|
166
|
+
export const augmentedTypes = {
|
167
|
+
'@balena/sbvr-types': {
|
168
|
+
'Numeric Big Integer': numericBigInteger,
|
169
|
+
},
|
170
|
+
};
|
161
171
|
export const translations = {
|
162
172
|
v7: {
|
163
173
|
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,CAAC;AAG3C,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,cAAc,MAAM,iBAAiB,CAAC;AAC7C,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAO3C,OAAO,KAAK,GAAG,MAAM,8BAA8B,CAAC;AAEpD,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAE1B,iCAAiC;AACjC,QAAQ,CAAC,GAAG,CACX,GAAG,CAAC,cAAc,CACjB,KAAK,EAAE,EAAU,EAAE,EAAE,CACpB,MAAM,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC;IACnB,QAAQ,EAAE,MAAM;IAChB,EAAE;IACF,WAAW,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE;IAC3C,OAAO,EAAE;QACR,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;KAChC;CACD,CAAC,CACH,CACD,CAAC;AAEF,OAAO,EACN,QAAQ,EACR,qBAAqB,EACrB,YAAY,EACZ,oBAAoB,EACp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C;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"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import type { FilterObj } from 'pinejs-client-core';
|
2
|
-
import type BalenaModel from '../../balena-model.js';
|
3
2
|
export declare const getOrInsertId: (resource: string, body: AnyObject, tx?: Tx) => Promise<{
|
4
3
|
id: number;
|
5
4
|
}>;
|
@@ -9,6 +8,6 @@ export declare const getOrInsertModelId: (resource: string, body: AnyObject, tx?
|
|
9
8
|
export declare const updateOrInsert: (resource: string, filter: FilterObj, updateFields: AnyObject, tx?: Tx) => Promise<{
|
10
9
|
id: number;
|
11
10
|
}>;
|
12
|
-
export declare const updateOrInsertModel:
|
11
|
+
export declare const updateOrInsertModel: (resource: string, filter: FilterObj, updateFields: AnyObject, tx?: Tx) => Promise<{
|
13
12
|
id: number;
|
14
13
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/infra/pinejs-client-helpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/infra/pinejs-client-helpers/index.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGxD,6EAA6E;AAC7E,o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B,EAChB,MAAiB,EACjB,YAAuB,EACvB,EAAO,EACmB,EAAE,CAC5B,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAClC,QAAgB,EAChB,MAAiB,EACjB,YAAuB,EACvB,EAAO,EACmB,EAAE,CAC5B,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,CAAC,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,IAAI,CAAC,GAAG,CAAC,CACnC,CAAC;AAEF,UAAU,CAAC,kBAAkB,EAAE,aAAa,EAAE,gBAAgB,CAAC,CAAC;AAChE,gCAAgC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC;AAEhE,iBAAiB,CAAC,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAEpE,4JAA4J;AAC5J,iBAAiB,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;AAClE,iBAAiB,CAAC,kBAAkB,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;AACpE,iBAAiB,CAAC,kBAAkB,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;AAEzE,KAAK,MAAM,QAAQ,IAAI,CAAC,QAAQ,EAAE,aAAa,CAAC,EAAE,CAAC;IAClD,mBAAmB,CAAC,kBAAkB,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,CAAC,CAAC;AAC3E,CAAC;AAED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E,MAAM,CAAC;6BAC5D;4BACD,MAAM;yBACN;qBACD,CAAC;iBACF;gBACD,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,UAAU,EAAE,WAAW,SAAS,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;aACpE;SACD;QACD,+BAA+B,EAAE;YAChC,uGAAuG;YACvG,8GAA8G;YAC9G,wCAAwC;YACxC,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE;gBACZ,aAAa;gBACb;oBACC,QAAQ;oBACR;wBACC,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,EAAE,IAAI,CAAC;wBAC9C,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,CAAC;wBACnD,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,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.
|
4
|
+
"version": "28.0.5-build-v6-number-image-image-size--6463e120ddbf17cf0494187e63c782e0e59ea900-1",
|
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.1",
|
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-18T14:
|
171
|
+
"publishedAt": "2024-09-18T14:16:13.937Z"
|
172
172
|
}
|
173
173
|
}
|