UNPKG

flexmonster-mongo-connector

Version:

Custom data source API implementation for MongoDB

15 lines 546 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RequestKey = void 0; const HashGenerator_1 = require("../../utils/HashGenerator"); class RequestKey { constructor(fmQuery) { this.hash = () => { return this._hash; }; this.fmQuery = fmQuery; this._hash = HashGenerator_1.HashGenerator.createHashFromString(JSON.stringify(this.fmQuery) + new Date().getTime().toString()); } } exports.RequestKey = RequestKey; //# sourceMappingURL=RequestKey.js.map