trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
12 lines • 452 B
JavaScript
;
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