'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: BI Cloud (C) Copyright IBM Corp. 2019 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /** * API specification of VisDefinitionsAPI * * @class VisDefinitionsAPISpec * @hideconstructor * @classdesc */ define([], function () { var APISpec = function () { function APISpec() { _classCallCheck(this, APISpec); } APISpec.prototype.getAPISpec = function getAPISpec() { if (!this.apiSpec) { this.apiSpec = { name: 'visDefinitions API', events: { propagationInfo: { namespace: 'visdefinitions', info: { name: 'VisDefinitions' }, callStack: { name: 'getFeature', params: ['VisDefinitions'] } }, actions: { refresh: { type: 'refresh', getEventName: function getEventName() { return 'all'; }, getUndoActions: function getUndoActions() { return [{ name: 'refresh' }]; } } } } }; } return this.apiSpec; }; return APISpec; }(); return APISpec; }); //# sourceMappingURL=VisDefinitionsAPISpec.js.map