gooddata
Advanced tools
Comparing version 5.0.0-vojty-factory-method-2018-03-01T09-38-56-648Z to 5.0.0-vojty-utils-2018-03-05T13-22-09-468Z
@@ -6,3 +6,2 @@ 'use strict'; | ||
}); | ||
exports.getAttributesDisplayForms = exports.loadAttributesMap = undefined; | ||
@@ -15,10 +14,2 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
var _attributesMapLoader = require('./utils/attributesMapLoader'); | ||
var _visualizationObjectHelper = require('./utils/visualizationObjectHelper'); | ||
exports.loadAttributesMap = _attributesMapLoader.loadAttributesMap; | ||
exports.getAttributesDisplayForms = _visualizationObjectHelper.getAttributesDisplayForms; | ||
var REQUEST_DEFAULTS = { | ||
@@ -25,0 +16,0 @@ types: ['attribute', 'metric', 'fact'], |
@@ -24,2 +24,6 @@ 'use strict'; | ||
var _attributesMapLoader = require('./utils/attributesMapLoader'); | ||
var _visualizationObjectHelper = require('./utils/visualizationObjectHelper'); | ||
/** | ||
@@ -62,3 +66,7 @@ * # JS SDK | ||
catalogue: (0, _catalogue.createModule)(xhr, execution), | ||
admin: (0, _admin.createModule)(xhr) | ||
admin: (0, _admin.createModule)(xhr), | ||
utils: { | ||
loadAttributesMap: (0, _attributesMapLoader.createModule)(md), | ||
getAttributesDisplayForms: _visualizationObjectHelper.getAttributesDisplayForms | ||
} | ||
}; | ||
@@ -65,0 +73,0 @@ } |
{ | ||
"name": "gooddata", | ||
"version": "5.0.0-vojty-factory-method-2018-03-01T09-38-56-648Z", | ||
"version": "5.0.0-vojty-utils-2018-03-05T13-22-09-468Z", | ||
"author": "GoodData", | ||
@@ -47,3 +47,3 @@ "description": "GoodData JavaScript SDK", | ||
"babel-register": "6.23.0", | ||
"eslint-config-gooddata": "0.0.17", | ||
"eslint-config-gooddata": "0.0.18", | ||
"exports-loader": "0.6.3", | ||
@@ -50,0 +50,0 @@ "fast-levenshtein": "2.0.6", |
import { get, find, omit, cloneDeep } from 'lodash'; | ||
import { loadAttributesMap } from './utils/attributesMapLoader'; | ||
import { getAttributesDisplayForms } from './utils/visualizationObjectHelper'; | ||
export { loadAttributesMap, getAttributesDisplayForms }; | ||
const REQUEST_DEFAULTS = { | ||
@@ -9,0 +4,0 @@ types: ['attribute', 'metric', 'fact'], |
@@ -11,2 +11,4 @@ // Copyright (C) 2007-2014, GoodData(R) Corporation. All rights reserved. | ||
import { createModule as loadAttributesMapFactory } from './utils/attributesMapLoader'; | ||
import { getAttributesDisplayForms } from './utils/visualizationObjectHelper'; | ||
/** | ||
@@ -46,3 +48,7 @@ * # JS SDK | ||
catalogue: catalogueFactory(xhr, execution), | ||
admin: adminFactory(xhr) | ||
admin: adminFactory(xhr), | ||
utils: { | ||
loadAttributesMap: loadAttributesMapFactory(md), | ||
getAttributesDisplayForms | ||
} | ||
}; | ||
@@ -49,0 +55,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
27282
1166737