@digitalasset/daml-ledger
Version:
DAML Ledger API Node.js bindings
16 lines • 738 B
JavaScript
;
// Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });
exports.TreeEventValidation = void 0;
const CreatedEventValidation_1 = require("./CreatedEventValidation");
const ExercisedEventValidation_1 = require("./ExercisedEventValidation");
const Union_1 = require("./Union");
function values() {
return {
created: CreatedEventValidation_1.CreatedEventValidation,
exercised: ExercisedEventValidation_1.ExercisedEventValidation
};
}
exports.TreeEventValidation = Union_1.union('TreeEvent', 'eventType', values);
//# sourceMappingURL=TreeEventValidation.js.map