@looker/extension-sdk 22.4.2 → 22.4.3-alpha.1524
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/lib/connect/extension_host_api.d.ts +13 -3
- package/lib/connect/extension_host_api.js +104 -20
- package/lib/connect/extension_host_api.js.map +1 -1
- package/lib/connect/global_listener.js +4 -2
- package/lib/connect/global_listener.js.map +1 -1
- package/lib/connect/index.d.ts +2 -0
- package/lib/connect/index.js +29 -1
- package/lib/connect/index.js.map +1 -1
- package/lib/connect/tile/index.d.ts +1 -0
- package/lib/connect/tile/index.js +19 -0
- package/lib/connect/tile/index.js.map +1 -0
- package/lib/connect/tile/tile_sdk.d.ts +24 -0
- package/lib/connect/tile/tile_sdk.js +150 -0
- package/lib/connect/tile/tile_sdk.js.map +1 -0
- package/lib/connect/tile/types.d.ts +79 -0
- package/lib/connect/tile/types.js +15 -0
- package/lib/connect/tile/types.js.map +1 -0
- package/lib/connect/types.d.ts +50 -7
- package/lib/connect/types.js +23 -1
- package/lib/connect/types.js.map +1 -1
- package/lib/connect/visualization/index.d.ts +2 -0
- package/lib/connect/visualization/index.js +32 -0
- package/lib/connect/visualization/index.js.map +1 -0
- package/lib/connect/visualization/types.d.ts +62 -0
- package/lib/connect/visualization/types.js +2 -0
- package/lib/connect/visualization/types.js.map +1 -0
- package/lib/connect/visualization/visualization_sdk.d.ts +36 -0
- package/lib/connect/visualization/visualization_sdk.js +166 -0
- package/lib/connect/visualization/visualization_sdk.js.map +1 -0
- package/lib/esm/connect/extension_host_api.js +102 -21
- package/lib/esm/connect/extension_host_api.js.map +1 -1
- package/lib/esm/connect/global_listener.js +4 -2
- package/lib/esm/connect/global_listener.js.map +1 -1
- package/lib/esm/connect/index.js +2 -0
- package/lib/esm/connect/index.js.map +1 -1
- package/lib/esm/connect/tile/index.js +2 -0
- package/lib/esm/connect/tile/index.js.map +1 -0
- package/lib/esm/connect/tile/tile_sdk.js +137 -0
- package/lib/esm/connect/tile/tile_sdk.js.map +1 -0
- package/lib/esm/connect/tile/types.js +8 -0
- package/lib/esm/connect/tile/types.js.map +1 -0
- package/lib/esm/connect/types.js +21 -0
- package/lib/esm/connect/types.js.map +1 -1
- package/lib/esm/connect/visualization/index.js +3 -0
- package/lib/esm/connect/visualization/index.js.map +1 -0
- package/lib/esm/connect/visualization/types.js +2 -0
- package/lib/esm/connect/visualization/types.js.map +1 -0
- package/lib/esm/connect/visualization/visualization_sdk.js +156 -0
- package/lib/esm/connect/visualization/visualization_sdk.js.map +1 -0
- package/lib/esm/index.js +3 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/util/errors.js +2 -0
- package/lib/esm/util/errors.js.map +1 -0
- package/lib/esm/util/index.js +2 -0
- package/lib/esm/util/index.js.map +1 -0
- package/lib/esm/util/logger.js +15 -0
- package/lib/esm/util/logger.js.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +40 -1
- package/lib/index.js.map +1 -1
- package/lib/util/errors.d.ts +1 -0
- package/lib/util/errors.js +9 -0
- package/lib/util/errors.js.map +1 -0
- package/lib/util/index.d.ts +1 -0
- package/lib/util/index.js +19 -0
- package/lib/util/index.js.map +1 -0
- package/lib/util/logger.d.ts +2 -0
- package/lib/util/logger.js +27 -0
- package/lib/util/logger.js.map +1 -0
- package/package.json +2 -2
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":"AA0BA,cAAc,kCAAd;AACA,cAAc,2BAAd;AACA,cAAc,iBAAd;AACA,cAAc,qBAAd;AACA,cAAc,wBAAd;AACA,cAAc,wBAAd;AACA,cAAc,sBAAd","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport * from './connect/connect_extension_host'\nexport * from './connect/global_listener'\nexport * from './connect/types'\nexport * from './sdk/extension_sdk'\nexport * from './sdk/extension_sdk_31'\nexport * from './sdk/extension_sdk_40'\nexport * from './sdk/sdk_connection'\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":"AA0BA,cAAc,kCAAd;AACA,cAAc,2BAAd;AACA,cAAc,+BAAd;AACA,cAAc,sBAAd;AACA,cAAc,iBAAd;AACA,cAAc,qBAAd;AACA,cAAc,wBAAd;AACA,cAAc,wBAAd;AACA,cAAc,sBAAd;AACA,cAAc,eAAd","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport * from './connect/connect_extension_host'\nexport * from './connect/global_listener'\nexport * from './connect/visualization/types'\nexport * from './connect/tile/types'\nexport * from './connect/types'\nexport * from './sdk/extension_sdk'\nexport * from './sdk/extension_sdk_31'\nexport * from './sdk/extension_sdk_40'\nexport * from './sdk/sdk_connection'\nexport * from './util/logger'\n"],"file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/util/errors.ts"],"names":["NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR","Error"],"mappings":"AAyBA,OAAO,IAAMA,uCAAuC,GAAG,IAAIC,KAAJ,CACrD,oDADqD,CAAhD","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2022 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport const NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR = new Error(\n 'Mounting dashboards in extensions is not supported'\n)\n"],"file":"errors.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/util/index.ts"],"names":[],"mappings":"AAyBA,cAAc,UAAd","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './logger'\n"],"file":"index.js"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var logError = function logError(message) {
|
|
2
|
+
for (var _len = arguments.length, optionalParams = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
3
|
+
optionalParams[_key - 1] = arguments[_key];
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
console.error(message, optionalParams);
|
|
7
|
+
};
|
|
8
|
+
export var logWarn = function logWarn(message) {
|
|
9
|
+
for (var _len2 = arguments.length, optionalParams = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
10
|
+
optionalParams[_key2 - 1] = arguments[_key2];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
console.warn(message, optionalParams);
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/util/logger.ts"],"names":["logError","message","optionalParams","console","error","logWarn","warn"],"mappings":"AAyBA,OAAO,IAAMA,QAAQ,GAAG,SAAXA,QAAW,CAACC,OAAD,EAA6C;AAAA,oCAA1BC,cAA0B;AAA1BA,IAAAA,cAA0B;AAAA;;AAEnEC,EAAAA,OAAO,CAACC,KAAR,CAAcH,OAAd,EAAuBC,cAAvB;AACD,CAHM;AAKP,OAAO,IAAMG,OAAO,GAAG,SAAVA,OAAU,CAACJ,OAAD,EAA6C;AAAA,qCAA1BC,cAA0B;AAA1BA,IAAAA,cAA0B;AAAA;;AAElEC,EAAAA,OAAO,CAACG,IAAR,CAAaL,OAAb,EAAsBC,cAAtB;AACD,CAHM","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport const logError = (message?: any, ...optionalParams: any[]) => {\n // eslint-disable-next-line no-console\n console.error(message, optionalParams)\n}\n\nexport const logWarn = (message?: any, ...optionalParams: any[]) => {\n // eslint-disable-next-line no-console\n console.warn(message, optionalParams)\n}\n"],"file":"logger.js"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export * from './connect/connect_extension_host';
|
|
2
2
|
export * from './connect/global_listener';
|
|
3
|
+
export * from './connect/visualization/types';
|
|
4
|
+
export * from './connect/tile/types';
|
|
3
5
|
export * from './connect/types';
|
|
4
6
|
export * from './sdk/extension_sdk';
|
|
5
7
|
export * from './sdk/extension_sdk_31';
|
|
6
8
|
export * from './sdk/extension_sdk_40';
|
|
7
9
|
export * from './sdk/sdk_connection';
|
|
10
|
+
export * from './util/logger';
|
package/lib/index.js
CHANGED
|
@@ -30,7 +30,7 @@ Object.keys(_global_listener).forEach(function (key) {
|
|
|
30
30
|
});
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
var _types = require("./connect/types");
|
|
33
|
+
var _types = require("./connect/visualization/types");
|
|
34
34
|
|
|
35
35
|
Object.keys(_types).forEach(function (key) {
|
|
36
36
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -43,6 +43,32 @@ Object.keys(_types).forEach(function (key) {
|
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
+
var _types2 = require("./connect/tile/types");
|
|
47
|
+
|
|
48
|
+
Object.keys(_types2).forEach(function (key) {
|
|
49
|
+
if (key === "default" || key === "__esModule") return;
|
|
50
|
+
if (key in exports && exports[key] === _types2[key]) return;
|
|
51
|
+
Object.defineProperty(exports, key, {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function get() {
|
|
54
|
+
return _types2[key];
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
var _types3 = require("./connect/types");
|
|
60
|
+
|
|
61
|
+
Object.keys(_types3).forEach(function (key) {
|
|
62
|
+
if (key === "default" || key === "__esModule") return;
|
|
63
|
+
if (key in exports && exports[key] === _types3[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function get() {
|
|
67
|
+
return _types3[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
46
72
|
var _extension_sdk = require("./sdk/extension_sdk");
|
|
47
73
|
|
|
48
74
|
Object.keys(_extension_sdk).forEach(function (key) {
|
|
@@ -94,4 +120,17 @@ Object.keys(_sdk_connection).forEach(function (key) {
|
|
|
94
120
|
}
|
|
95
121
|
});
|
|
96
122
|
});
|
|
123
|
+
|
|
124
|
+
var _logger = require("./util/logger");
|
|
125
|
+
|
|
126
|
+
Object.keys(_logger).forEach(function (key) {
|
|
127
|
+
if (key === "default" || key === "__esModule") return;
|
|
128
|
+
if (key in exports && exports[key] === _logger[key]) return;
|
|
129
|
+
Object.defineProperty(exports, key, {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function get() {
|
|
132
|
+
return _logger[key];
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
});
|
|
97
136
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AA0BA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport * from './connect/connect_extension_host'\nexport * from './connect/global_listener'\nexport * from './connect/types'\nexport * from './sdk/extension_sdk'\nexport * from './sdk/extension_sdk_31'\nexport * from './sdk/extension_sdk_40'\nexport * from './sdk/sdk_connection'\n"],"file":"index.js"}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AA0BA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\n\nexport * from './connect/connect_extension_host'\nexport * from './connect/global_listener'\nexport * from './connect/visualization/types'\nexport * from './connect/tile/types'\nexport * from './connect/types'\nexport * from './sdk/extension_sdk'\nexport * from './sdk/extension_sdk_31'\nexport * from './sdk/extension_sdk_40'\nexport * from './sdk/sdk_connection'\nexport * from './util/logger'\n"],"file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR: Error;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR = void 0;
|
|
7
|
+
var NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR = new Error('Mounting dashboards in extensions is not supported');
|
|
8
|
+
exports.NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR = NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR;
|
|
9
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/util/errors.ts"],"names":["NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR","Error"],"mappings":";;;;;;AAyBO,IAAMA,uCAAuC,GAAG,IAAIC,KAAJ,CACrD,oDADqD,CAAhD","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2022 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport const NOT_DASHBOARD_MOUNT_NOT_SUPPORTED_ERROR = new Error(\n 'Mounting dashboards in extensions is not supported'\n)\n"],"file":"errors.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './logger';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
var _logger = require("./logger");
|
|
8
|
+
|
|
9
|
+
Object.keys(_logger).forEach(function (key) {
|
|
10
|
+
if (key === "default" || key === "__esModule") return;
|
|
11
|
+
if (key in exports && exports[key] === _logger[key]) return;
|
|
12
|
+
Object.defineProperty(exports, key, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _logger[key];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/util/index.ts"],"names":[],"mappings":";;;;;;AAyBA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport * from './logger'\n"],"file":"index.js"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.logWarn = exports.logError = void 0;
|
|
7
|
+
|
|
8
|
+
var logError = function logError(message) {
|
|
9
|
+
for (var _len = arguments.length, optionalParams = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
10
|
+
optionalParams[_key - 1] = arguments[_key];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
console.error(message, optionalParams);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
exports.logError = logError;
|
|
17
|
+
|
|
18
|
+
var logWarn = function logWarn(message) {
|
|
19
|
+
for (var _len2 = arguments.length, optionalParams = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
20
|
+
optionalParams[_key2 - 1] = arguments[_key2];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
console.warn(message, optionalParams);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
exports.logWarn = logWarn;
|
|
27
|
+
//# sourceMappingURL=logger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/util/logger.ts"],"names":["logError","message","optionalParams","console","error","logWarn","warn"],"mappings":";;;;;;;AAyBO,IAAMA,QAAQ,GAAG,SAAXA,QAAW,CAACC,OAAD,EAA6C;AAAA,oCAA1BC,cAA0B;AAA1BA,IAAAA,cAA0B;AAAA;;AAEnEC,EAAAA,OAAO,CAACC,KAAR,CAAcH,OAAd,EAAuBC,cAAvB;AACD,CAHM;;;;AAKA,IAAMG,OAAO,GAAG,SAAVA,OAAU,CAACJ,OAAD,EAA6C;AAAA,qCAA1BC,cAA0B;AAA1BA,IAAAA,cAA0B;AAAA;;AAElEC,EAAAA,OAAO,CAACG,IAAR,CAAaL,OAAb,EAAsBC,cAAtB;AACD,CAHM","sourcesContent":["/*\n\n MIT License\n\n Copyright (c) 2021 Looker Data Sciences, Inc.\n\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n\n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\n */\nexport const logError = (message?: any, ...optionalParams: any[]) => {\n // eslint-disable-next-line no-console\n console.error(message, optionalParams)\n}\n\nexport const logWarn = (message?: any, ...optionalParams: any[]) => {\n // eslint-disable-next-line no-console\n console.warn(message, optionalParams)\n}\n"],"file":"logger.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@looker/extension-sdk",
|
|
3
|
-
"version": "22.4.
|
|
3
|
+
"version": "22.4.3-alpha.1524+0be961a6",
|
|
4
4
|
"description": "Looker Extension SDK",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"Looker",
|
|
53
53
|
"extension-sdk"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "0be961a6030870de88a0f1e76ffe3d7fe6037efd"
|
|
56
56
|
}
|