UNPKG

domain-objects

Version:

A simple, convenient way to represent domain objects, leverage domain knowledge, and add runtime validation in your code base.

11 lines 318 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.unpivotRef = void 0; const unpivotRef = (ref, key, value) => { return { [key]: Object.keys(ref)[0], [value]: Object.values(ref)[0], }; }; exports.unpivotRef = unpivotRef; //# sourceMappingURL=unpivotRef.js.map