UNPKG

arvo-core

Version:

This core package contains all the core classes and components of the Arvo Event Driven System

14 lines (13 loc) 411 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformEmitsToArray = void 0; var transformEmitsToArray = function (emitMap) { return Object.entries(emitMap).map(function (_a) { var type = _a[0], schema = _a[1]; return ({ type: type, schema: schema, }); }); }; exports.transformEmitsToArray = transformEmitsToArray;