@digitalasset/daml-ledger
Version:
DAML Ledger API Node.js bindings
16 lines • 717 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.EventValidation = void 0;
const ArchivedEventValidation_1 = require("./ArchivedEventValidation");
const CreatedEventValidation_1 = require("./CreatedEventValidation");
const Union_1 = require("./Union");
function values() {
return {
archived: ArchivedEventValidation_1.ArchivedEventValidation,
created: CreatedEventValidation_1.CreatedEventValidation
};
}
exports.EventValidation = Union_1.union('Event', 'eventType', values);
//# sourceMappingURL=EventValidation.js.map