@studyportals/sp-holonet-interface
Version:
Contains various types (DTOs) found in HoloNet's interface.
19 lines • 660 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const sp_r2d2_interface_1 = require("@studyportals/sp-r2d2-interface");
/**
* The result received after successfully retrieving a collection of report IDs.
*/
class EntityIdsRetrievalResult extends sp_r2d2_interface_1.SuccessResult {
constructor(entityIds) {
super();
this.entityIds = entityIds;
}
toJSON() {
const obj = super.toJSON();
obj.entityIds = this.entityIds;
return obj;
}
}
exports.EntityIdsRetrievalResult = EntityIdsRetrievalResult;
//# sourceMappingURL=entity-ids-retrieval-result.class.js.map