UNPKG

trade360-nodejs-sdk

Version:
12 lines 452 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EntityKey = EntityKey; const message_types_1 = require("../message-types"); // Custom decorator to attach a unique value to each entity class function EntityKey(value) { return function (constructor) { constructor.prototype.entityKey = value; message_types_1.knownEntityKeys.set(value, constructor.name); }; } //# sourceMappingURL=index.js.map