@balena/contrato
Advanced tools
Comparing version 0.13.0-build-capability-support-2180cbb1566384c18bff853612ff785735c0ce29-1 to 0.13.0-build-capability-support-286e75fdad98b888420470b25db1cf0569fe57ad-1
@@ -23,3 +23,3 @@ "use strict"; | ||
cardinality: (0, cardinality_1.parse)(value.cardinality || value), | ||
filter: value.filter, | ||
filter: Array.isArray(value) ? undefined : value.filter, | ||
type: value.type || type, | ||
@@ -26,0 +26,0 @@ version: value.version, |
@@ -5,4 +5,5 @@ import { BlueprintLayout, BlueprintObject, ContractObject } from './types'; | ||
import Universe from './universe'; | ||
import ObjectSet from './object-set'; | ||
import { buildTemplate } from './partials'; | ||
export { BlueprintLayout, ContractObject, BlueprintObject, Contract, Blueprint, Universe, buildTemplate, }; | ||
export { BlueprintLayout, ContractObject, BlueprintObject, Contract, Blueprint, Universe, ObjectSet, buildTemplate, }; | ||
export declare function query(universe: Contract, layout: BlueprintLayout, skeleton: object): IterableIterator<Contract>; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.buildTemplate = exports.Universe = exports.Blueprint = exports.Contract = void 0; | ||
exports.buildTemplate = exports.ObjectSet = exports.Universe = exports.Blueprint = exports.Contract = void 0; | ||
exports.query = query; | ||
@@ -15,2 +15,4 @@ const contract_1 = __importDefault(require("./contract")); | ||
exports.Universe = universe_1.default; | ||
const object_set_1 = __importDefault(require("./object-set")); | ||
exports.ObjectSet = object_set_1.default; | ||
const partials_1 = require("./partials"); | ||
@@ -17,0 +19,0 @@ Object.defineProperty(exports, "buildTemplate", { enumerable: true, get: function () { return partials_1.buildTemplate; } }); |
{ | ||
"name": "@balena/contrato", | ||
"version": "0.13.0-build-capability-support-2180cbb1566384c18bff853612ff785735c0ce29-1", | ||
"version": "0.13.0-build-capability-support-286e75fdad98b888420470b25db1cf0569fe57ad-1", | ||
"description": "The official contract implementation", | ||
@@ -74,4 +74,4 @@ "homepage": "https://github.com/product-os/contrato", | ||
"versionist": { | ||
"publishedAt": "2025-01-15T16:18:01.256Z" | ||
"publishedAt": "2025-01-15T21:10:20.394Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
127540
1725