Fix StartOS 0.4 TypeScript packaging to match SDK API

This commit is contained in:
MacPro
2026-04-09 15:10:44 -05:00
parent 68ec875ee7
commit 8298c083c7
3436 changed files with 867051 additions and 92 deletions
+24
View File
@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetServiceManifest = void 0;
exports.getServiceManifest = getServiceManifest;
const deepEqual_1 = require("./deepEqual");
const Watchable_1 = require("./Watchable");
class GetServiceManifest extends Watchable_1.Watchable {
constructor(effects, opts, options) {
super(effects, options);
this.opts = opts;
this.label = 'GetServiceManifest';
}
fetch(callback) {
return this.effects.getServiceManifest({ ...this.opts, callback });
}
}
exports.GetServiceManifest = GetServiceManifest;
function getServiceManifest(effects, packageId, map, eq) {
return new GetServiceManifest(effects, { packageId }, {
map: map ?? ((a) => a),
eq: eq ?? ((a, b) => (0, deepEqual_1.deepEqual)(a, b)),
});
}
//# sourceMappingURL=GetServiceManifest.js.map