@looker/sdk 23.20.1 → 24.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +133 -188
- package/README.md +11 -8
- package/lib/4.0/funcs.d.ts +435 -435
- package/lib/4.0/funcs.js +609 -1041
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +9 -9
- package/lib/4.0/methods.js +8 -7
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +9 -9
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +17 -55
- package/lib/4.0/models.js +23 -44
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +9 -9
- package/lib/4.0/streams.js +8 -7
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +2 -4
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +176 -175
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +8 -7
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js +1 -0
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +8 -7
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js +1 -1
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.d.ts +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +5 -5
package/lib/esm/4.0/streams.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
2
2
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
3
3
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
function _toPropertyKey(
|
|
5
|
-
function _toPrimitive(
|
|
4
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
5
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
6
|
import { APIMethods, encodeParam } from '@looker/sdk-rtl';
|
|
7
7
|
import { sdkVersion } from '../constants';
|
|
8
8
|
export class Looker40SDKStream extends APIMethods {
|
|
@@ -2198,13 +2198,14 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2198
2198
|
return _this263.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2199
2199
|
})();
|
|
2200
2200
|
}
|
|
2201
|
-
lookml_model_explore(callback,
|
|
2201
|
+
lookml_model_explore(callback, request, options) {
|
|
2202
2202
|
var _this264 = this;
|
|
2203
2203
|
return _asyncToGenerator(function* () {
|
|
2204
|
-
lookml_model_name = encodeParam(lookml_model_name);
|
|
2205
|
-
explore_name = encodeParam(explore_name);
|
|
2206
|
-
return _this264.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2207
|
-
fields
|
|
2204
|
+
request.lookml_model_name = encodeParam(request.lookml_model_name);
|
|
2205
|
+
request.explore_name = encodeParam(request.explore_name);
|
|
2206
|
+
return _this264.authStream(callback, 'GET', "/lookml_models/".concat(request.lookml_model_name, "/explores/").concat(request.explore_name), {
|
|
2207
|
+
fields: request.fields,
|
|
2208
|
+
add_drills_metadata: request.add_drills_metadata
|
|
2208
2209
|
}, null, options);
|
|
2209
2210
|
})();
|
|
2210
2211
|
}
|