UNPKG

chrono-forge

Version:

A comprehensive framework for building resilient Temporal workflows, advanced state management, and real-time streaming activities in TypeScript. Designed for a seamless developer experience with powerful abstractions, dynamic orchestration, and full cont

11 lines (10 loc) 448 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.getCompositeKey = getCompositeKey; const dottie_1 = __importDefault(require("dottie")); function getCompositeKey(entity, idAttributes) { return idAttributes.map((attr) => dottie_1.default.get(entity, attr)).join('-'); }