12345678910111213141516171819202122232425262728293031323334353637383940 |
- 'use strict';
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /*
- *+------------------------------------------------------------------------+
- *| Licensed Materials - Property of IBM
- *| IBM Cognos Products: Dashboard
- *| (C) Copyright IBM Corp. 2019
- *|
- *| US Government Users Restricted Rights - Use, duplication or disclosure
- *| restricted by GSA ADP Schedule Contract with IBM Corp.
- *+------------------------------------------------------------------------+
- */
- define(function () {
- 'use strict';
- /**
- * @return the JSON-like object for use in the query (stripped of attributes not relevant to query)
- */
- var CollectionToQueryJSON = function () {
- function CollectionToQueryJSON() {
- _classCallCheck(this, CollectionToQueryJSON);
- }
- CollectionToQueryJSON.prototype.toQueryJSON = function toQueryJSON() {
- var collectionQueryJSON = this.map(function (model) {
- return model.toQueryJSON();
- });
- return collectionQueryJSON;
- };
- return CollectionToQueryJSON;
- }();
- return CollectionToQueryJSON;
- });
- //# sourceMappingURL=CollectionToQueryJSON.js.map
|