@looker/api-explorer 0.9.27 → 0.9.30

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,53 @@ 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.30](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.29...api-explorer-v0.9.30) (2022-03-24)
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @looker/extension-utils bumped from ^0.1.6 to ^0.1.7
16
+ * @looker/run-it bumped from ^0.9.29 to ^0.9.30
17
+ * @looker/sdk bumped from ^22.2.0 to ^22.4.0
18
+ * devDependencies
19
+ * @looker/sdk-codegen-scripts bumped from ^21.3.0 to ^21.3.1
20
+ * @looker/sdk-node bumped from ^22.2.0 to ^22.4.0
21
+
22
+ ### [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)
23
+
24
+
25
+ ### Features
26
+
27
+ * 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))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @looker/extension-utils bumped from ^0.1.5 to ^0.1.6
35
+ * @looker/code-editor bumped from ^0.1.18 to ^0.1.19
36
+ * @looker/run-it bumped from ^0.9.28 to ^0.9.29
37
+ * @looker/sdk-codegen bumped from ^21.4.0 to ^21.5.0
38
+ * devDependencies
39
+ * @looker/sdk-codegen-scripts bumped from ^21.2.3 to ^21.3.0
40
+
41
+ ### [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)
42
+
43
+
44
+ ### Dependencies
45
+
46
+ * The following workspace dependencies were updated
47
+ * dependencies
48
+ * @looker/extension-utils bumped from ^0.1.4 to ^0.1.5
49
+ * @looker/run-it bumped from ^0.9.27 to ^0.9.28
50
+ * @looker/sdk bumped from ^22.0.0 to ^22.2.0
51
+ * devDependencies
52
+ * @looker/sdk-codegen-scripts bumped from ^21.2.2 to ^21.2.3
53
+ * @looker/sdk-node bumped from ^22.0.0 to ^22.2.0
54
+
8
55
  ### [0.9.27](https://www.github.com/looker-open-source/sdk-codegen/compare/api-explorer-v0.9.26...api-explorer-v0.9.27) (2022-02-14)
9
56
 
10
57
 
@@ -585,4 +632,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
585
632
  - Response types now have nested types correctly documented
586
633
  - The response type processing functions now have arguments for the number of levels to expand nested types
587
634
  - API explorer's default expansion depth is one level deep
588
- - Added [`ExploreType`](src/components/ExploreType/ExploreType.tsx) and [`ExploreProperty`](src/components/ExploreType/ExploreProperty.tsx) components used to display responses and explore the type on the type page
635
+ - Added [`ExploreType`](src/components/ExploreType/ExploreType.tsx) and [`ExploreProperty`](src/components/ExploreType/ExploreProperty.tsx) components used to display responses and explore the type on the type page
@@ -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.27",
3
+ "version": "0.9.30",
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.2",
37
- "@looker/sdk-node": "^22.0.0",
36
+ "@looker/sdk-codegen-scripts": "^21.3.1",
37
+ "@looker/sdk-node": "^22.4.0",
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,16 +67,16 @@
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.19",
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.4",
74
+ "@looker/extension-utils": "^0.1.7",
75
75
  "@looker/icons": "^1.5.3",
76
76
  "@looker/redux": "0.0.0",
77
- "@looker/run-it": "^0.9.27",
78
- "@looker/sdk": "^22.0.0",
79
- "@looker/sdk-codegen": "^21.4.0",
77
+ "@looker/run-it": "^0.9.30",
78
+ "@looker/sdk": "^22.4.0",
79
+ "@looker/sdk-codegen": "^21.5.0",
80
80
  "@looker/sdk-rtl": "^21.3.2",
81
81
  "@reduxjs/toolkit": "^1.6.2",
82
82
  "@styled-icons/material": "^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": "f8867339965baf85c26b3beaee8e4621e3cff3a8"
99
+ "gitHead": "02ce8785abc5a1ba4b10627d5d9758150842410f"
100
100
  }