@looker/api-explorer 0.9.28 → 0.9.32

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 CHANGED
@@ -5,6 +5,72 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ### [0.9.32](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.31...api-explorer-v0.9.32) (2022-04-07)
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @looker/extension-utils bumped from ^0.1.8 to ^0.1.9
16
+ * @looker/code-editor bumped from ^0.1.20 to ^0.1.21
17
+ * @looker/run-it bumped from ^0.9.31 to ^0.9.32
18
+ * @looker/sdk bumped from ^22.4.1 to ^22.4.2
19
+ * @looker/sdk-codegen bumped from ^21.5.1 to ^21.5.2
20
+ * @looker/sdk-rtl bumped from ^21.3.2 to ^21.3.3
21
+ * devDependencies
22
+ * @looker/sdk-codegen-scripts bumped from ^21.3.2 to ^21.3.3
23
+ * @looker/sdk-node bumped from ^22.4.1 to ^22.4.2
24
+
25
+ ### [0.9.31](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.30...api-explorer-v0.9.31) (2022-04-07)
26
+
27
+
28
+ ### Dependencies
29
+
30
+ * The following workspace dependencies were updated
31
+ * dependencies
32
+ * @looker/extension-utils bumped from ^0.1.7 to ^0.1.8
33
+ * @looker/code-editor bumped from ^0.1.19 to ^0.1.20
34
+ * @looker/run-it bumped from ^0.9.30 to ^0.9.31
35
+ * @looker/sdk bumped from ^22.4.0 to ^22.4.1
36
+ * @looker/sdk-codegen bumped from ^21.5.0 to ^21.5.1
37
+ * devDependencies
38
+ * @looker/sdk-codegen-scripts bumped from ^21.3.1 to ^21.3.2
39
+ * @looker/sdk-node bumped from ^22.4.0 to ^22.4.1
40
+
41
+ ### [0.9.30](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.29...api-explorer-v0.9.30) (2022-03-24)
42
+
43
+
44
+ ### Dependencies
45
+
46
+ * The following workspace dependencies were updated
47
+ * dependencies
48
+ * @looker/extension-utils bumped from ^0.1.6 to ^0.1.7
49
+ * @looker/run-it bumped from ^0.9.29 to ^0.9.30
50
+ * @looker/sdk bumped from ^22.2.0 to ^22.4.0
51
+ * devDependencies
52
+ * @looker/sdk-codegen-scripts bumped from ^21.3.0 to ^21.3.1
53
+ * @looker/sdk-node bumped from ^22.2.0 to ^22.4.0
54
+
55
+ ### [0.9.29](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.28...api-explorer-v0.9.29) (2022-03-04)
56
+
57
+
58
+ ### Features
59
+
60
+ * generate code deprecation tags ([#1006](https://www.github.com/looker-open-source/sdk-codegen/issues/1006)) ([afd4b66](https://www.github.com/looker-open-source/sdk-codegen/commit/afd4b66ffbd11cdacd19fe1353c9e5bf381fe932))
61
+
62
+
63
+ ### Dependencies
64
+
65
+ * The following workspace dependencies were updated
66
+ * dependencies
67
+ * @looker/extension-utils bumped from ^0.1.5 to ^0.1.6
68
+ * @looker/code-editor bumped from ^0.1.18 to ^0.1.19
69
+ * @looker/run-it bumped from ^0.9.28 to ^0.9.29
70
+ * @looker/sdk-codegen bumped from ^21.4.0 to ^21.5.0
71
+ * devDependencies
72
+ * @looker/sdk-codegen-scripts bumped from ^21.2.3 to ^21.3.0
73
+
8
74
  ### [0.9.28](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.27...api-explorer-v0.9.28) (2022-02-18)
9
75
 
10
76
 
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _components = require("@looker/components");
11
11
 
12
+ var _sdkCodegen = require("@looker/sdk-codegen");
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
15
 
14
16
  var DocParam = _ref => {
@@ -16,7 +18,7 @@ var DocParam = _ref => {
16
18
  parameter
17
19
  } = _ref;
18
20
  return _react.default.createElement(_components.Tooltip, {
19
- content: "".concat(parameter.type.name, " ").concat(parameter.description)
21
+ content: "".concat(parameter.type.name, " ").concat((0, _sdkCodegen.describeParam)(parameter))
20
22
  }, _react.default.createElement("span", null, parameter.required ? parameter.name : "[".concat(parameter.name, "]")));
21
23
  };
22
24
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/DocPseudo/DocParam.tsx"],"names":["DocParam","parameter","type","name","description","required"],"mappings":";;;;;;;AA0BA;;AAEA;;;;AAMO,IAAMA,QAAyB,GAAG;AAAA,MAAC;AAAEC,IAAAA;AAAF,GAAD;AAAA,SACvC,6BAAC,mBAAD;AAAS,IAAA,OAAO,YAAKA,SAAS,CAACC,IAAV,CAAeC,IAApB,cAA4BF,SAAS,CAACG,WAAtC;AAAhB,KACE,2CAAOH,SAAS,CAACI,QAAV,GAAqBJ,SAAS,CAACE,IAA/B,cAA0CF,SAAS,CAACE,IAApD,MAAP,CADF,CADuC;AAAA,CAAlC","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 */\nimport type { FC } from 'react'\nimport React from 'react'\nimport type { IParameter } from '@looker/sdk-codegen'\nimport { Tooltip } from '@looker/components'\n\nexport interface DocArgProps {\n parameter: IParameter\n}\n\nexport const DocParam: FC<DocArgProps> = ({ parameter }) => (\n <Tooltip content={`${parameter.type.name} ${parameter.description}`}>\n <span>{parameter.required ? parameter.name : `[${parameter.name}]`}</span>\n </Tooltip>\n)\n"],"file":"DocParam.js"}
1
+ {"version":3,"sources":["../../../src/components/DocPseudo/DocParam.tsx"],"names":["DocParam","parameter","type","name","required"],"mappings":";;;;;;;AA0BA;;AAEA;;AACA;;;;AAMO,IAAMA,QAAyB,GAAG;AAAA,MAAC;AAAEC,IAAAA;AAAF,GAAD;AAAA,SACvC,6BAAC,mBAAD;AAAS,IAAA,OAAO,YAAKA,SAAS,CAACC,IAAV,CAAeC,IAApB,cAA4B,+BAAcF,SAAd,CAA5B;AAAhB,KACE,2CAAOA,SAAS,CAACG,QAAV,GAAqBH,SAAS,CAACE,IAA/B,cAA0CF,SAAS,CAACE,IAApD,MAAP,CADF,CADuC;AAAA,CAAlC","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 */\nimport type { FC } from 'react'\nimport React from 'react'\nimport type { IParameter } from '@looker/sdk-codegen'\nimport { Tooltip } from '@looker/components'\nimport { describeParam } from '@looker/sdk-codegen'\n\nexport interface DocArgProps {\n parameter: IParameter\n}\n\nexport const DocParam: FC<DocArgProps> = ({ parameter }) => (\n <Tooltip content={`${parameter.type.name} ${describeParam(parameter)}`}>\n <span>{parameter.required ? parameter.name : `[${parameter.name}]`}</span>\n </Tooltip>\n)\n"],"file":"DocParam.js"}
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
2
  import { Tooltip } from '@looker/components';
3
+ import { describeParam } from '@looker/sdk-codegen';
3
4
  export var DocParam = _ref => {
4
5
  var {
5
6
  parameter
6
7
  } = _ref;
7
8
  return React.createElement(Tooltip, {
8
- content: "".concat(parameter.type.name, " ").concat(parameter.description)
9
+ content: "".concat(parameter.type.name, " ").concat(describeParam(parameter))
9
10
  }, React.createElement("span", null, parameter.required ? parameter.name : "[".concat(parameter.name, "]")));
10
11
  };
11
12
  //# sourceMappingURL=DocParam.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/DocPseudo/DocParam.tsx"],"names":["React","Tooltip","DocParam","parameter","type","name","description","required"],"mappings":"AA0BA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,SAASC,OAAT,QAAwB,oBAAxB;AAMA,OAAO,IAAMC,QAAyB,GAAG;AAAA,MAAC;AAAEC,IAAAA;AAAF,GAAD;AAAA,SACvC,oBAAC,OAAD;AAAS,IAAA,OAAO,YAAKA,SAAS,CAACC,IAAV,CAAeC,IAApB,cAA4BF,SAAS,CAACG,WAAtC;AAAhB,KACE,kCAAOH,SAAS,CAACI,QAAV,GAAqBJ,SAAS,CAACE,IAA/B,cAA0CF,SAAS,CAACE,IAApD,MAAP,CADF,CADuC;AAAA,CAAlC","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 */\nimport type { FC } from 'react'\nimport React from 'react'\nimport type { IParameter } from '@looker/sdk-codegen'\nimport { Tooltip } from '@looker/components'\n\nexport interface DocArgProps {\n parameter: IParameter\n}\n\nexport const DocParam: FC<DocArgProps> = ({ parameter }) => (\n <Tooltip content={`${parameter.type.name} ${parameter.description}`}>\n <span>{parameter.required ? parameter.name : `[${parameter.name}]`}</span>\n </Tooltip>\n)\n"],"file":"DocParam.js"}
1
+ {"version":3,"sources":["../../../../src/components/DocPseudo/DocParam.tsx"],"names":["React","Tooltip","describeParam","DocParam","parameter","type","name","required"],"mappings":"AA0BA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,SAASC,OAAT,QAAwB,oBAAxB;AACA,SAASC,aAAT,QAA8B,qBAA9B;AAMA,OAAO,IAAMC,QAAyB,GAAG;AAAA,MAAC;AAAEC,IAAAA;AAAF,GAAD;AAAA,SACvC,oBAAC,OAAD;AAAS,IAAA,OAAO,YAAKA,SAAS,CAACC,IAAV,CAAeC,IAApB,cAA4BJ,aAAa,CAACE,SAAD,CAAzC;AAAhB,KACE,kCAAOA,SAAS,CAACG,QAAV,GAAqBH,SAAS,CAACE,IAA/B,cAA0CF,SAAS,CAACE,IAApD,MAAP,CADF,CADuC;AAAA,CAAlC","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 */\nimport type { FC } from 'react'\nimport React from 'react'\nimport type { IParameter } from '@looker/sdk-codegen'\nimport { Tooltip } from '@looker/components'\nimport { describeParam } from '@looker/sdk-codegen'\n\nexport interface DocArgProps {\n parameter: IParameter\n}\n\nexport const DocParam: FC<DocArgProps> = ({ parameter }) => (\n <Tooltip content={`${parameter.type.name} ${describeParam(parameter)}`}>\n <span>{parameter.required ? parameter.name : `[${parameter.name}]`}</span>\n </Tooltip>\n)\n"],"file":"DocParam.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@looker/api-explorer",
3
- "version": "0.9.28",
3
+ "version": "0.9.32",
4
4
  "description": "Looker API Explorer",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@looker/components-test-utils": "^1.5.5",
36
- "@looker/sdk-codegen-scripts": "^21.2.3",
37
- "@looker/sdk-node": "^22.2.0",
36
+ "@looker/sdk-codegen-scripts": "^21.3.3",
37
+ "@looker/sdk-node": "^22.4.2",
38
38
  "@styled-icons/styled-icon": "^10.6.3",
39
39
  "@testing-library/jest-dom": "^5.11.6",
40
40
  "@testing-library/react": "^11.2.2",
@@ -67,17 +67,17 @@
67
67
  "webpack-merge": "^5.7.3"
68
68
  },
69
69
  "dependencies": {
70
- "@looker/code-editor": "^0.1.18",
70
+ "@looker/code-editor": "^0.1.21",
71
71
  "@looker/components": "^2.8.1",
72
72
  "@looker/components-date": "^2.4.1",
73
73
  "@looker/design-tokens": "^2.7.1",
74
- "@looker/extension-utils": "^0.1.5",
74
+ "@looker/extension-utils": "^0.1.9",
75
75
  "@looker/icons": "^1.5.3",
76
76
  "@looker/redux": "0.0.0",
77
- "@looker/run-it": "^0.9.28",
78
- "@looker/sdk": "^22.2.0",
79
- "@looker/sdk-codegen": "^21.4.0",
80
- "@looker/sdk-rtl": "^21.3.2",
77
+ "@looker/run-it": "^0.9.32",
78
+ "@looker/sdk": "^22.4.2",
79
+ "@looker/sdk-codegen": "^21.5.2",
80
+ "@looker/sdk-rtl": "^21.3.3",
81
81
  "@reduxjs/toolkit": "^1.6.2",
82
82
  "@styled-icons/material": "^10.28.0",
83
83
  "@styled-icons/material-outlined": "^10.28.0",
@@ -96,5 +96,5 @@
96
96
  "ts-jest": "^26.2.0",
97
97
  "typed-redux-saga": "^1.3.1"
98
98
  },
99
- "gitHead": "a2263422a52940fdc3d5d8c3f0a9de210cb1f24b"
99
+ "gitHead": "79b245fdf08c08faf46e120f0961bc820199dccd"
100
100
  }