@deliverr/serverless-offline-step-functions
Version:
Serverless Offline Plugin to Support Step Functions for Local Development
20 lines (19 loc) • 452 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MapContext = void 0;
class MapContext {
constructor(index, value) {
this.index = index;
this.value = value;
}
static create(index, value) {
return new MapContext(index, value);
}
get Item() {
return {
Index: this.index,
Value: this.value,
};
}
}
exports.MapContext = MapContext;