@backstage/plugin-api-docs 0.6.10 → 0.6.14
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 +51 -0
- package/dist/esm/AsyncApiDefinition-21854d8d.esm.js +116 -0
- package/dist/esm/AsyncApiDefinition-21854d8d.esm.js.map +1 -0
- package/dist/esm/GraphQlDefinition-547f34fe.esm.js +41 -0
- package/dist/esm/GraphQlDefinition-547f34fe.esm.js.map +1 -0
- package/dist/esm/OpenApiDefinition-c327180d.esm.js +109 -0
- package/dist/esm/OpenApiDefinition-c327180d.esm.js.map +1 -0
- package/dist/esm/{index-4e33f1a0.esm.js → index-03bfdd77.esm.js} +6 -11
- package/dist/esm/index-03bfdd77.esm.js.map +1 -0
- package/dist/esm/index-2718cc46.esm.js +9 -0
- package/dist/esm/index-2718cc46.esm.js.map +1 -0
- package/dist/esm/index-48ab55dd.esm.js +9 -0
- package/dist/esm/index-48ab55dd.esm.js.map +1 -0
- package/dist/esm/{index-a62a80fd.esm.js → index-4fecc409.esm.js} +43 -216
- package/dist/esm/index-4fecc409.esm.js.map +1 -0
- package/dist/esm/index-f9ccecc3.esm.js +9 -0
- package/dist/esm/index-f9ccecc3.esm.js.map +1 -0
- package/dist/index.d.ts +25 -20
- package/dist/index.esm.js +1 -8
- package/dist/index.esm.js.map +1 -1
- package/package.json +15 -15
- package/dist/esm/index-4e33f1a0.esm.js.map +0 -1
- package/dist/esm/index-5e767dbd.esm.js +0 -16
- package/dist/esm/index-5e767dbd.esm.js.map +0 -1
- package/dist/esm/index-623a502e.esm.js +0 -16
- package/dist/esm/index-623a502e.esm.js.map +0 -1
- package/dist/esm/index-7534a43f.esm.js +0 -16
- package/dist/esm/index-7534a43f.esm.js.map +0 -1
- package/dist/esm/index-a62a80fd.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @backstage/plugin-api-docs
|
|
2
2
|
|
|
3
|
+
## 0.6.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a125278b81: Refactor out the deprecated path and icon from RouteRefs
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/plugin-catalog@0.7.3
|
|
10
|
+
- @backstage/catalog-model@0.9.7
|
|
11
|
+
- @backstage/plugin-catalog-react@0.6.4
|
|
12
|
+
- @backstage/core-components@0.7.4
|
|
13
|
+
- @backstage/core-plugin-api@0.2.0
|
|
14
|
+
|
|
15
|
+
## 0.6.13
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 044c38e739: Lazy load all API definition widgets. The widgets use libraries like
|
|
20
|
+
`swagger-ui`, `graphiql`, and `@asyncapi/react-component` which are quite heavy
|
|
21
|
+
weight. To improve initial load times, the widgets are only loaded once used.
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @backstage/core-components@0.7.3
|
|
24
|
+
- @backstage/theme@0.2.13
|
|
25
|
+
- @backstage/core-plugin-api@0.1.13
|
|
26
|
+
- @backstage/plugin-catalog-react@0.6.3
|
|
27
|
+
|
|
28
|
+
## 0.6.12
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- d03ee85ff8: Bump `swagger-ui-react` to `^4.0.0-rc.3`.
|
|
33
|
+
- 3c50c86604: Remove unused dependency on material-icons/font
|
|
34
|
+
- 6ed423c139: lock down the `swagger-client`
|
|
35
|
+
- b6ab93c421: Add actions props to the ApiExplorerPage
|
|
36
|
+
- Updated dependencies
|
|
37
|
+
- @backstage/plugin-catalog-react@0.6.0
|
|
38
|
+
- @backstage/plugin-catalog@0.7.1
|
|
39
|
+
- @backstage/core-components@0.7.0
|
|
40
|
+
- @backstage/theme@0.2.11
|
|
41
|
+
|
|
42
|
+
## 0.6.11
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- 81a41ec249: Added a `name` key to all extensions in order to improve Analytics API metadata.
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
- @backstage/core-components@0.6.1
|
|
49
|
+
- @backstage/core-plugin-api@0.1.10
|
|
50
|
+
- @backstage/plugin-catalog@0.7.0
|
|
51
|
+
- @backstage/plugin-catalog-react@0.5.2
|
|
52
|
+
- @backstage/catalog-model@0.9.4
|
|
53
|
+
|
|
3
54
|
## 0.6.10
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import AsyncApi from '@asyncapi/react-component';
|
|
2
|
+
import '@asyncapi/react-component/lib/styles/fiori.css';
|
|
3
|
+
import { makeStyles, alpha } from '@material-ui/core/styles';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
const useStyles = makeStyles((theme) => ({
|
|
7
|
+
root: {
|
|
8
|
+
"& .asyncapi": {
|
|
9
|
+
"font-family": "inherit",
|
|
10
|
+
background: "none"
|
|
11
|
+
},
|
|
12
|
+
"& h2": {
|
|
13
|
+
...theme.typography.h6
|
|
14
|
+
},
|
|
15
|
+
"& .text-teal": {
|
|
16
|
+
color: theme.palette.primary.main
|
|
17
|
+
},
|
|
18
|
+
"& button": {
|
|
19
|
+
...theme.typography.button,
|
|
20
|
+
background: "none",
|
|
21
|
+
boxSizing: "border-box",
|
|
22
|
+
minWidth: 64,
|
|
23
|
+
borderRadius: theme.shape.borderRadius,
|
|
24
|
+
transition: theme.transitions.create(["background-color", "box-shadow", "border"], {
|
|
25
|
+
duration: theme.transitions.duration.short
|
|
26
|
+
}),
|
|
27
|
+
padding: "5px 15px",
|
|
28
|
+
color: theme.palette.primary.main,
|
|
29
|
+
border: `1px solid ${alpha(theme.palette.primary.main, 0.5)}`,
|
|
30
|
+
"&:hover": {
|
|
31
|
+
textDecoration: "none",
|
|
32
|
+
"&.Mui-disabled": {
|
|
33
|
+
backgroundColor: "transparent"
|
|
34
|
+
},
|
|
35
|
+
border: `1px solid ${theme.palette.primary.main}`,
|
|
36
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity),
|
|
37
|
+
"@media (hover: none)": {
|
|
38
|
+
backgroundColor: "transparent"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"&.Mui-disabled": {
|
|
42
|
+
color: theme.palette.action.disabled
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"& .asyncapi__collapse-button:hover": {
|
|
46
|
+
color: theme.palette.primary.main
|
|
47
|
+
},
|
|
48
|
+
"& button.asyncapi__toggle-button": {
|
|
49
|
+
"min-width": "inherit"
|
|
50
|
+
},
|
|
51
|
+
"& .asyncapi__info-list li": {
|
|
52
|
+
"border-color": theme.palette.primary.main,
|
|
53
|
+
"&:hover": {
|
|
54
|
+
color: theme.palette.text.primary,
|
|
55
|
+
"border-color": theme.palette.primary.main,
|
|
56
|
+
"background-color": theme.palette.primary.main
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"& .asyncapi__info-list li a": {
|
|
60
|
+
color: theme.palette.primary.main,
|
|
61
|
+
"&:hover": {
|
|
62
|
+
color: theme.palette.getContrastText(theme.palette.primary.main)
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"& .asyncapi__enum": {
|
|
66
|
+
color: theme.palette.secondary.main
|
|
67
|
+
},
|
|
68
|
+
"& .asyncapi__info, .asyncapi__channel, .asyncapi__channels > div, .asyncapi__schema, .asyncapi__channel-operations-list .asyncapi__messages-list-item .asyncapi__message, .asyncapi__message, .asyncapi__server, .asyncapi__servers > div, .asyncapi__messages > div, .asyncapi__schemas > div": {
|
|
69
|
+
"background-color": "inherit"
|
|
70
|
+
},
|
|
71
|
+
"& .asyncapi__channel-parameters-header, .asyncapi__channel-operations-header, .asyncapi__channel-operation-oneOf-subscribe-header, .asyncapi__channel-operation-oneOf-publish-header, .asyncapi__channel-operation-message-header, .asyncapi__message-header, .asyncapi__message-header-title, .asyncapi__message-header-title > h3, .asyncapi__bindings, .asyncapi__bindings-header, .asyncapi__bindings-header > h4": {
|
|
72
|
+
"background-color": "inherit",
|
|
73
|
+
color: theme.palette.text.primary
|
|
74
|
+
},
|
|
75
|
+
"& .asyncapi__additional-properties-notice": {
|
|
76
|
+
color: theme.palette.text.hint
|
|
77
|
+
},
|
|
78
|
+
"& .asyncapi__code, .asyncapi__code-pre": {
|
|
79
|
+
background: theme.palette.background.default
|
|
80
|
+
},
|
|
81
|
+
"& .asyncapi__schema-example-header-title": {
|
|
82
|
+
color: theme.palette.text.secondary
|
|
83
|
+
},
|
|
84
|
+
"& .asyncapi__message-headers-header, .asyncapi__message-payload-header, .asyncapi__server-variables-header, .asyncapi__server-security-header": {
|
|
85
|
+
"background-color": "inherit",
|
|
86
|
+
color: theme.palette.text.secondary
|
|
87
|
+
},
|
|
88
|
+
"& .asyncapi__table-header": {
|
|
89
|
+
background: theme.palette.background.default
|
|
90
|
+
},
|
|
91
|
+
"& .asyncapi__table-body": {
|
|
92
|
+
color: theme.palette.text.primary
|
|
93
|
+
},
|
|
94
|
+
"& .asyncapi__server-security-flow": {
|
|
95
|
+
background: theme.palette.background.default,
|
|
96
|
+
border: "none"
|
|
97
|
+
},
|
|
98
|
+
"& .asyncapi__server-security-flows-list a": {
|
|
99
|
+
color: theme.palette.primary.main
|
|
100
|
+
},
|
|
101
|
+
"& .asyncapi__table-row--nested": {
|
|
102
|
+
color: theme.palette.text.secondary
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}));
|
|
106
|
+
const AsyncApiDefinition = ({definition}) => {
|
|
107
|
+
const classes = useStyles();
|
|
108
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
109
|
+
className: classes.root
|
|
110
|
+
}, /* @__PURE__ */ React.createElement(AsyncApi, {
|
|
111
|
+
schema: definition
|
|
112
|
+
}));
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export { AsyncApiDefinition };
|
|
116
|
+
//# sourceMappingURL=AsyncApiDefinition-21854d8d.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsyncApiDefinition-21854d8d.esm.js","sources":["../../src/components/AsyncApiDefinitionWidget/AsyncApiDefinition.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport AsyncApi from '@asyncapi/react-component';\nimport '@asyncapi/react-component/lib/styles/fiori.css';\nimport { alpha, makeStyles } from '@material-ui/core/styles';\nimport React from 'react';\n\nconst useStyles = makeStyles(theme => ({\n root: {\n '& .asyncapi': {\n 'font-family': 'inherit',\n background: 'none',\n },\n '& h2': {\n ...theme.typography.h6,\n },\n '& .text-teal': {\n color: theme.palette.primary.main,\n },\n '& button': {\n ...theme.typography.button,\n background: 'none',\n boxSizing: 'border-box',\n minWidth: 64,\n borderRadius: theme.shape.borderRadius,\n transition: theme.transitions.create(\n ['background-color', 'box-shadow', 'border'],\n {\n duration: theme.transitions.duration.short,\n },\n ),\n padding: '5px 15px',\n color: theme.palette.primary.main,\n border: `1px solid ${alpha(theme.palette.primary.main, 0.5)}`,\n '&:hover': {\n textDecoration: 'none',\n '&.Mui-disabled': {\n backgroundColor: 'transparent',\n },\n border: `1px solid ${theme.palette.primary.main}`,\n backgroundColor: alpha(\n theme.palette.primary.main,\n theme.palette.action.hoverOpacity,\n ),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent',\n },\n },\n '&.Mui-disabled': {\n color: theme.palette.action.disabled,\n },\n },\n '& .asyncapi__collapse-button:hover': {\n color: theme.palette.primary.main,\n },\n '& button.asyncapi__toggle-button': {\n 'min-width': 'inherit',\n },\n '& .asyncapi__info-list li': {\n 'border-color': theme.palette.primary.main,\n '&:hover': {\n color: theme.palette.text.primary,\n 'border-color': theme.palette.primary.main,\n 'background-color': theme.palette.primary.main,\n },\n },\n '& .asyncapi__info-list li a': {\n color: theme.palette.primary.main,\n '&:hover': {\n color: theme.palette.getContrastText(theme.palette.primary.main),\n },\n },\n '& .asyncapi__enum': {\n color: theme.palette.secondary.main,\n },\n '& .asyncapi__info, .asyncapi__channel, .asyncapi__channels > div, .asyncapi__schema, .asyncapi__channel-operations-list .asyncapi__messages-list-item .asyncapi__message, .asyncapi__message, .asyncapi__server, .asyncapi__servers > div, .asyncapi__messages > div, .asyncapi__schemas > div':\n {\n 'background-color': 'inherit',\n },\n '& .asyncapi__channel-parameters-header, .asyncapi__channel-operations-header, .asyncapi__channel-operation-oneOf-subscribe-header, .asyncapi__channel-operation-oneOf-publish-header, .asyncapi__channel-operation-message-header, .asyncapi__message-header, .asyncapi__message-header-title, .asyncapi__message-header-title > h3, .asyncapi__bindings, .asyncapi__bindings-header, .asyncapi__bindings-header > h4':\n {\n 'background-color': 'inherit',\n color: theme.palette.text.primary,\n },\n '& .asyncapi__additional-properties-notice': {\n color: theme.palette.text.hint,\n },\n '& .asyncapi__code, .asyncapi__code-pre': {\n background: theme.palette.background.default,\n },\n '& .asyncapi__schema-example-header-title': {\n color: theme.palette.text.secondary,\n },\n '& .asyncapi__message-headers-header, .asyncapi__message-payload-header, .asyncapi__server-variables-header, .asyncapi__server-security-header':\n {\n 'background-color': 'inherit',\n color: theme.palette.text.secondary,\n },\n '& .asyncapi__table-header': {\n background: theme.palette.background.default,\n },\n '& .asyncapi__table-body': {\n color: theme.palette.text.primary,\n },\n '& .asyncapi__server-security-flow': {\n background: theme.palette.background.default,\n border: 'none',\n },\n '& .asyncapi__server-security-flows-list a': {\n color: theme.palette.primary.main,\n },\n '& .asyncapi__table-row--nested': {\n color: theme.palette.text.secondary,\n },\n },\n}));\n\ntype Props = {\n definition: string;\n};\n\nexport const AsyncApiDefinition = ({ definition }: Props) => {\n const classes = useStyles();\n\n return (\n <div className={classes.root}>\n <AsyncApi schema={definition} />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;AAqBA,MAAM,YAAY,WAAW;AAAU,EACrC,MAAM;AAAA,IACJ,eAAe;AAAA,MACb,eAAe;AAAA,MACf,YAAY;AAAA;AAAA,IAEd,QAAQ;AAAA,SACH,MAAM,WAAW;AAAA;AAAA,IAEtB,gBAAgB;AAAA,MACd,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,IAE/B,YAAY;AAAA,SACP,MAAM,WAAW;AAAA,MACpB,YAAY;AAAA,MACZ,WAAW;AAAA,MACX,UAAU;AAAA,MACV,cAAc,MAAM,MAAM;AAAA,MAC1B,YAAY,MAAM,YAAY,OAC5B,CAAC,oBAAoB,cAAc,WACnC;AAAA,QACE,UAAU,MAAM,YAAY,SAAS;AAAA;AAAA,MAGzC,SAAS;AAAA,MACT,OAAO,MAAM,QAAQ,QAAQ;AAAA,MAC7B,QAAQ,aAAa,MAAM,MAAM,QAAQ,QAAQ,MAAM;AAAA,MACvD,WAAW;AAAA,QACT,gBAAgB;AAAA,QAChB,kBAAkB;AAAA,UAChB,iBAAiB;AAAA;AAAA,QAEnB,QAAQ,aAAa,MAAM,QAAQ,QAAQ;AAAA,QAC3C,iBAAiB,MACf,MAAM,QAAQ,QAAQ,MACtB,MAAM,QAAQ,OAAO;AAAA,QAGvB,wBAAwB;AAAA,UACtB,iBAAiB;AAAA;AAAA;AAAA,MAGrB,kBAAkB;AAAA,QAChB,OAAO,MAAM,QAAQ,OAAO;AAAA;AAAA;AAAA,IAGhC,sCAAsC;AAAA,MACpC,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,IAE/B,oCAAoC;AAAA,MAClC,aAAa;AAAA;AAAA,IAEf,6BAA6B;AAAA,MAC3B,gBAAgB,MAAM,QAAQ,QAAQ;AAAA,MACtC,WAAW;AAAA,QACT,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,gBAAgB,MAAM,QAAQ,QAAQ;AAAA,QACtC,oBAAoB,MAAM,QAAQ,QAAQ;AAAA;AAAA;AAAA,IAG9C,+BAA+B;AAAA,MAC7B,OAAO,MAAM,QAAQ,QAAQ;AAAA,MAC7B,WAAW;AAAA,QACT,OAAO,MAAM,QAAQ,gBAAgB,MAAM,QAAQ,QAAQ;AAAA;AAAA;AAAA,IAG/D,qBAAqB;AAAA,MACnB,OAAO,MAAM,QAAQ,UAAU;AAAA;AAAA,IAEjC,kSACE;AAAA,MACE,oBAAoB;AAAA;AAAA,IAExB,0ZACE;AAAA,MACE,oBAAoB;AAAA,MACpB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE9B,6CAA6C;AAAA,MAC3C,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE5B,0CAA0C;AAAA,MACxC,YAAY,MAAM,QAAQ,WAAW;AAAA;AAAA,IAEvC,4CAA4C;AAAA,MAC1C,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE5B,iJACE;AAAA,MACE,oBAAoB;AAAA,MACpB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE9B,6BAA6B;AAAA,MAC3B,YAAY,MAAM,QAAQ,WAAW;AAAA;AAAA,IAEvC,2BAA2B;AAAA,MACzB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,IAE5B,qCAAqC;AAAA,MACnC,YAAY,MAAM,QAAQ,WAAW;AAAA,MACrC,QAAQ;AAAA;AAAA,IAEV,6CAA6C;AAAA,MAC3C,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,IAE/B,kCAAkC;AAAA,MAChC,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA;AAAA;MASnB,qBAAqB,CAAC,CAAE,gBAAwB;AAC3D,QAAM,UAAU;AAEhB,6CACG,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,UAAD;AAAA,IAAU,QAAQ;AAAA;AAAA;;;;"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { makeStyles } from '@material-ui/core/styles';
|
|
2
|
+
import GraphiQL from 'graphiql';
|
|
3
|
+
import 'graphiql/graphiql.css';
|
|
4
|
+
import { buildSchema } from 'graphql';
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
const useStyles = makeStyles(() => ({
|
|
8
|
+
root: {
|
|
9
|
+
height: "100%",
|
|
10
|
+
display: "flex",
|
|
11
|
+
flexFlow: "column nowrap"
|
|
12
|
+
},
|
|
13
|
+
graphiQlWrapper: {
|
|
14
|
+
flex: 1,
|
|
15
|
+
"@global": {
|
|
16
|
+
".graphiql-container": {
|
|
17
|
+
boxSizing: "initial",
|
|
18
|
+
height: "100%",
|
|
19
|
+
minHeight: "600px",
|
|
20
|
+
flex: "1 1 auto"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
const GraphQlDefinition = ({definition}) => {
|
|
26
|
+
const classes = useStyles();
|
|
27
|
+
const schema = buildSchema(definition);
|
|
28
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
29
|
+
className: classes.root
|
|
30
|
+
}, /* @__PURE__ */ React.createElement("div", {
|
|
31
|
+
className: classes.graphiQlWrapper
|
|
32
|
+
}, /* @__PURE__ */ React.createElement(GraphiQL, {
|
|
33
|
+
fetcher: () => Promise.resolve(null),
|
|
34
|
+
schema,
|
|
35
|
+
docExplorerOpen: true,
|
|
36
|
+
defaultSecondaryEditorOpen: false
|
|
37
|
+
})));
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export { GraphQlDefinition };
|
|
41
|
+
//# sourceMappingURL=GraphQlDefinition-547f34fe.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphQlDefinition-547f34fe.esm.js","sources":["../../src/components/GraphQlDefinitionWidget/GraphQlDefinition.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { BackstageTheme } from '@backstage/theme';\nimport { makeStyles } from '@material-ui/core/styles';\nimport GraphiQL from 'graphiql';\nimport 'graphiql/graphiql.css';\nimport { buildSchema } from 'graphql';\nimport React from 'react';\n\nconst useStyles = makeStyles<BackstageTheme>(() => ({\n root: {\n height: '100%',\n display: 'flex',\n flexFlow: 'column nowrap',\n },\n graphiQlWrapper: {\n flex: 1,\n '@global': {\n '.graphiql-container': {\n boxSizing: 'initial',\n height: '100%',\n minHeight: '600px',\n flex: '1 1 auto',\n },\n },\n },\n}));\n\ntype Props = {\n definition: string;\n};\n\nexport const GraphQlDefinition = ({ definition }: Props) => {\n const classes = useStyles();\n const schema = buildSchema(definition);\n\n return (\n <div className={classes.root}>\n <div className={classes.graphiQlWrapper}>\n <GraphiQL\n fetcher={() => Promise.resolve(null) as any}\n schema={schema}\n docExplorerOpen\n defaultSecondaryEditorOpen={false}\n />\n </div>\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;;AAuBA,MAAM,YAAY,WAA2B;AAAO,EAClD,MAAM;AAAA,IACJ,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,UAAU;AAAA;AAAA,EAEZ,iBAAiB;AAAA,IACf,MAAM;AAAA,IACN,WAAW;AAAA,MACT,uBAAuB;AAAA,QACrB,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,WAAW;AAAA,QACX,MAAM;AAAA;AAAA;AAAA;AAAA;MAUD,oBAAoB,CAAC,CAAE,gBAAwB;AAC1D,QAAM,UAAU;AAChB,QAAM,SAAS,YAAY;AAE3B,6CACG,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,UAAD;AAAA,IACE,SAAS,MAAM,QAAQ,QAAQ;AAAA,IAC/B;AAAA,IACA,iBAAe;AAAA,IACf,4BAA4B;AAAA;AAAA;;;;"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { makeStyles } from '@material-ui/core/styles';
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
3
|
+
import SwaggerUI from 'swagger-ui-react';
|
|
4
|
+
import 'swagger-ui-react/swagger-ui.css';
|
|
5
|
+
|
|
6
|
+
const useStyles = makeStyles((theme) => ({
|
|
7
|
+
root: {
|
|
8
|
+
"& .swagger-ui": {
|
|
9
|
+
fontFamily: "inherit",
|
|
10
|
+
color: theme.palette.text.primary,
|
|
11
|
+
[`& .info h1,
|
|
12
|
+
.info h2,
|
|
13
|
+
.info h3,
|
|
14
|
+
.info h4,
|
|
15
|
+
.info h5,
|
|
16
|
+
.info h6`]: {
|
|
17
|
+
fontFamily: "inherit",
|
|
18
|
+
color: theme.palette.text.primary
|
|
19
|
+
},
|
|
20
|
+
[`& .scheme-container`]: {
|
|
21
|
+
backgroundColor: theme.palette.background.default
|
|
22
|
+
},
|
|
23
|
+
[`& .opblock-tag,
|
|
24
|
+
.opblock-tag small,
|
|
25
|
+
table thead tr td,
|
|
26
|
+
table thead tr th`]: {
|
|
27
|
+
fontFamily: "inherit",
|
|
28
|
+
color: theme.palette.text.primary,
|
|
29
|
+
borderColor: theme.palette.divider
|
|
30
|
+
},
|
|
31
|
+
[`& section.models,
|
|
32
|
+
section.models.is-open h4`]: {
|
|
33
|
+
borderColor: theme.palette.divider
|
|
34
|
+
},
|
|
35
|
+
[`& .opblock .opblock-summary-description,
|
|
36
|
+
.parameter__type,
|
|
37
|
+
table.headers td,
|
|
38
|
+
.model-title,
|
|
39
|
+
.model .property.primitive,
|
|
40
|
+
section h3`]: {
|
|
41
|
+
fontFamily: "inherit",
|
|
42
|
+
color: theme.palette.text.secondary
|
|
43
|
+
},
|
|
44
|
+
[`& .opblock .opblock-summary-operation-id,
|
|
45
|
+
.opblock .opblock-summary-path,
|
|
46
|
+
.opblock .opblock-summary-path__deprecated,
|
|
47
|
+
.opblock .opblock-section-header h4,
|
|
48
|
+
.parameter__name,
|
|
49
|
+
.response-col_status,
|
|
50
|
+
.response-col_links,
|
|
51
|
+
.responses-inner h4,
|
|
52
|
+
.responses-inner h5,
|
|
53
|
+
.opblock-section-header .btn,
|
|
54
|
+
.tab li,
|
|
55
|
+
.info li,
|
|
56
|
+
.info p,
|
|
57
|
+
.info table,
|
|
58
|
+
section.models h4,
|
|
59
|
+
.info .title,
|
|
60
|
+
table.model tr.description,
|
|
61
|
+
.property-row`]: {
|
|
62
|
+
fontFamily: "inherit",
|
|
63
|
+
color: theme.palette.text.primary
|
|
64
|
+
},
|
|
65
|
+
[`& .opblock .opblock-section-header,
|
|
66
|
+
.model-box,
|
|
67
|
+
section.models .model-container`]: {
|
|
68
|
+
background: theme.palette.background.default
|
|
69
|
+
},
|
|
70
|
+
[`& .prop-format,
|
|
71
|
+
.parameter__in`]: {
|
|
72
|
+
color: theme.palette.text.disabled
|
|
73
|
+
},
|
|
74
|
+
[`& .opblock-description-wrapper p,
|
|
75
|
+
.opblock-external-docs-wrapper p,
|
|
76
|
+
.opblock-title_normal p,
|
|
77
|
+
.response-control-media-type__accept-message,
|
|
78
|
+
.opblock .opblock-section-header>label,
|
|
79
|
+
.scheme-container .schemes>label,
|
|
80
|
+
.info .base-url,
|
|
81
|
+
.model`]: {
|
|
82
|
+
color: theme.palette.text.hint
|
|
83
|
+
},
|
|
84
|
+
[`& .parameter__name.required:after`]: {
|
|
85
|
+
color: theme.palette.warning.dark
|
|
86
|
+
},
|
|
87
|
+
[`& .prop-type`]: {
|
|
88
|
+
color: theme.palette.primary.main
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}));
|
|
93
|
+
const OpenApiDefinition = ({definition}) => {
|
|
94
|
+
const classes = useStyles();
|
|
95
|
+
const [def, setDef] = useState("");
|
|
96
|
+
useEffect(() => {
|
|
97
|
+
const timer = setTimeout(() => setDef(definition), 0);
|
|
98
|
+
return () => clearTimeout(timer);
|
|
99
|
+
}, [definition, setDef]);
|
|
100
|
+
return /* @__PURE__ */ React.createElement("div", {
|
|
101
|
+
className: classes.root
|
|
102
|
+
}, /* @__PURE__ */ React.createElement(SwaggerUI, {
|
|
103
|
+
spec: def,
|
|
104
|
+
deepLinking: true
|
|
105
|
+
}));
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export { OpenApiDefinition };
|
|
109
|
+
//# sourceMappingURL=OpenApiDefinition-c327180d.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenApiDefinition-c327180d.esm.js","sources":["../../src/components/OpenApiDefinitionWidget/OpenApiDefinition.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { makeStyles } from '@material-ui/core/styles';\nimport React, { useEffect, useState } from 'react';\nimport SwaggerUI from 'swagger-ui-react';\nimport 'swagger-ui-react/swagger-ui.css';\n\nconst useStyles = makeStyles(theme => ({\n root: {\n '& .swagger-ui': {\n fontFamily: 'inherit',\n color: theme.palette.text.primary,\n\n [`& .info h1,\n .info h2,\n .info h3,\n .info h4,\n .info h5,\n .info h6`]: {\n fontFamily: 'inherit',\n color: theme.palette.text.primary,\n },\n [`& .scheme-container`]: {\n backgroundColor: theme.palette.background.default,\n },\n [`& .opblock-tag,\n .opblock-tag small,\n table thead tr td,\n table thead tr th`]: {\n fontFamily: 'inherit',\n color: theme.palette.text.primary,\n borderColor: theme.palette.divider,\n },\n [`& section.models,\n section.models.is-open h4`]: {\n borderColor: theme.palette.divider,\n },\n [`& .opblock .opblock-summary-description,\n .parameter__type,\n table.headers td,\n .model-title,\n .model .property.primitive,\n section h3`]: {\n fontFamily: 'inherit',\n color: theme.palette.text.secondary,\n },\n [`& .opblock .opblock-summary-operation-id, \n .opblock .opblock-summary-path,\n .opblock .opblock-summary-path__deprecated,\n .opblock .opblock-section-header h4,\n .parameter__name,\n .response-col_status,\n .response-col_links,\n .responses-inner h4,\n .responses-inner h5,\n .opblock-section-header .btn,\n .tab li,\n .info li,\n .info p,\n .info table,\n section.models h4,\n .info .title,\n table.model tr.description,\n .property-row`]: {\n fontFamily: 'inherit',\n color: theme.palette.text.primary,\n },\n [`& .opblock .opblock-section-header, \n .model-box,\n section.models .model-container`]: {\n background: theme.palette.background.default,\n },\n [`& .prop-format,\n .parameter__in`]: {\n color: theme.palette.text.disabled,\n },\n [`& .opblock-description-wrapper p,\n .opblock-external-docs-wrapper p,\n .opblock-title_normal p,\n .response-control-media-type__accept-message,\n .opblock .opblock-section-header>label,\n .scheme-container .schemes>label,\n .info .base-url,\n .model`]: {\n color: theme.palette.text.hint,\n },\n [`& .parameter__name.required:after`]: {\n color: theme.palette.warning.dark,\n },\n [`& .prop-type`]: {\n color: theme.palette.primary.main,\n },\n },\n },\n}));\n\nexport type OpenApiDefinitionProps = {\n definition: string;\n};\n\nexport const OpenApiDefinition = ({ definition }: OpenApiDefinitionProps) => {\n const classes = useStyles();\n\n // Due to a bug in the swagger-ui-react component, the component needs\n // to be created without content first.\n const [def, setDef] = useState('');\n\n useEffect(() => {\n const timer = setTimeout(() => setDef(definition), 0);\n return () => clearTimeout(timer);\n }, [definition, setDef]);\n\n return (\n <div className={classes.root}>\n <SwaggerUI spec={def} deepLinking />\n </div>\n );\n};\n"],"names":[],"mappings":";;;;;AAqBA,MAAM,YAAY,WAAW;AAAU,EACrC,MAAM;AAAA,IACJ,iBAAiB;AAAA,MACf,YAAY;AAAA,MACZ,OAAO,MAAM,QAAQ,KAAK;AAAA,OAEzB;AAAA;AAAA;AAAA;AAAA;AAAA,sBAKe;AAAA,QACd,YAAY;AAAA,QACZ,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B,wBAAwB;AAAA,QACvB,iBAAiB,MAAM,QAAQ,WAAW;AAAA;AAAA,OAE3C;AAAA;AAAA;AAAA,+BAGwB;AAAA,QACvB,YAAY;AAAA,QACZ,OAAO,MAAM,QAAQ,KAAK;AAAA,QAC1B,aAAa,MAAM,QAAQ;AAAA;AAAA,OAE5B;AAAA,uCACgC;AAAA,QAC/B,aAAa,MAAM,QAAQ;AAAA;AAAA,OAE5B;AAAA;AAAA;AAAA;AAAA;AAAA,wBAKiB;AAAA,QAChB,YAAY;AAAA,QACZ,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAiBoB;AAAA,QACnB,YAAY;AAAA,QACZ,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B;AAAA;AAAA,6CAEsC;AAAA,QACrC,YAAY,MAAM,QAAQ,WAAW;AAAA;AAAA,OAEtC;AAAA,4BACqB;AAAA,QACpB,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAOa;AAAA,QACZ,OAAO,MAAM,QAAQ,KAAK;AAAA;AAAA,OAE3B,sCAAsC;AAAA,QACrC,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA,OAE9B,iBAAiB;AAAA,QAChB,OAAO,MAAM,QAAQ,QAAQ;AAAA;AAAA;AAAA;AAAA;MAUxB,oBAAoB,CAAC,CAAE,gBAAyC;AAC3E,QAAM,UAAU;AAIhB,QAAM,CAAC,KAAK,UAAU,SAAS;AAE/B,YAAU,MAAM;AACd,UAAM,QAAQ,WAAW,MAAM,OAAO,aAAa;AACnD,WAAO,MAAM,aAAa;AAAA,KACzB,CAAC,YAAY;AAEhB,6CACG,OAAD;AAAA,IAAK,WAAW,QAAQ;AAAA,yCACrB,WAAD;AAAA,IAAW,MAAM;AAAA,IAAK,aAAW;AAAA;AAAA;;;;"}
|
|
@@ -3,15 +3,8 @@ import { useApi, configApiRef, useRouteRef } from '@backstage/core-plugin-api';
|
|
|
3
3
|
import { CatalogTable, FilteredEntityLayout, FilterContainer, EntityListContainer } from '@backstage/plugin-catalog';
|
|
4
4
|
import { EntityListProvider, EntityKindPicker, EntityTypePicker, UserListPicker, EntityOwnerPicker, EntityLifecyclePicker, EntityTagPicker } from '@backstage/plugin-catalog-react';
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { c as createComponentRouteRef } from './index-
|
|
6
|
+
import { c as createComponentRouteRef } from './index-4fecc409.esm.js';
|
|
7
7
|
import '@material-ui/lab';
|
|
8
|
-
import '@asyncapi/react-component';
|
|
9
|
-
import '@asyncapi/react-component/lib/styles/fiori.css';
|
|
10
|
-
import '@material-ui/core/styles';
|
|
11
|
-
import 'graphiql/graphiql.css';
|
|
12
|
-
import 'graphql';
|
|
13
|
-
import 'swagger-ui-react';
|
|
14
|
-
import 'swagger-ui-react/swagger-ui.css';
|
|
15
8
|
import '@backstage/catalog-model';
|
|
16
9
|
import '@material-ui/core';
|
|
17
10
|
|
|
@@ -26,7 +19,8 @@ const defaultColumns = [
|
|
|
26
19
|
];
|
|
27
20
|
const ApiExplorerPage = ({
|
|
28
21
|
initiallySelectedFilter = "all",
|
|
29
|
-
columns
|
|
22
|
+
columns,
|
|
23
|
+
actions
|
|
30
24
|
}) => {
|
|
31
25
|
var _a;
|
|
32
26
|
const configApi = useApi(configApiRef);
|
|
@@ -48,9 +42,10 @@ const ApiExplorerPage = ({
|
|
|
48
42
|
}), /* @__PURE__ */ React.createElement(EntityTypePicker, null), /* @__PURE__ */ React.createElement(UserListPicker, {
|
|
49
43
|
initialFilter: initiallySelectedFilter
|
|
50
44
|
}), /* @__PURE__ */ React.createElement(EntityOwnerPicker, null), /* @__PURE__ */ React.createElement(EntityLifecyclePicker, null), /* @__PURE__ */ React.createElement(EntityTagPicker, null)), /* @__PURE__ */ React.createElement(EntityListContainer, null, /* @__PURE__ */ React.createElement(CatalogTable, {
|
|
51
|
-
columns: columns || defaultColumns
|
|
45
|
+
columns: columns || defaultColumns,
|
|
46
|
+
actions
|
|
52
47
|
}))))));
|
|
53
48
|
};
|
|
54
49
|
|
|
55
50
|
export { ApiExplorerPage };
|
|
56
|
-
//# sourceMappingURL=index-
|
|
51
|
+
//# sourceMappingURL=index-03bfdd77.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-03bfdd77.esm.js","sources":["../../src/components/ApiExplorerPage/ApiExplorerPage.tsx"],"sourcesContent":["/*\n * Copyright 2020 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Content,\n ContentHeader,\n CreateButton,\n PageWithHeader,\n SupportButton,\n TableColumn,\n TableProps,\n} from '@backstage/core-components';\nimport { configApiRef, useApi, useRouteRef } from '@backstage/core-plugin-api';\nimport {\n CatalogTable,\n CatalogTableRow,\n FilteredEntityLayout,\n EntityListContainer,\n FilterContainer,\n} from '@backstage/plugin-catalog';\nimport {\n EntityKindPicker,\n EntityLifecyclePicker,\n EntityListProvider,\n EntityOwnerPicker,\n EntityTagPicker,\n EntityTypePicker,\n UserListFilterKind,\n UserListPicker,\n} from '@backstage/plugin-catalog-react';\nimport React from 'react';\nimport { createComponentRouteRef } from '../../routes';\n\nconst defaultColumns: TableColumn<CatalogTableRow>[] = [\n CatalogTable.columns.createNameColumn({ defaultKind: 'API' }),\n CatalogTable.columns.createSystemColumn(),\n CatalogTable.columns.createOwnerColumn(),\n CatalogTable.columns.createSpecTypeColumn(),\n CatalogTable.columns.createSpecLifecycleColumn(),\n CatalogTable.columns.createMetadataDescriptionColumn(),\n CatalogTable.columns.createTagsColumn(),\n];\n\ntype ApiExplorerPageProps = {\n initiallySelectedFilter?: UserListFilterKind;\n columns?: TableColumn<CatalogTableRow>[];\n actions?: TableProps<CatalogTableRow>['actions'];\n};\n\nexport const ApiExplorerPage = ({\n initiallySelectedFilter = 'all',\n columns,\n actions,\n}: ApiExplorerPageProps) => {\n const configApi = useApi(configApiRef);\n const generatedSubtitle = `${\n configApi.getOptionalString('organization.name') ?? 'Backstage'\n } API Explorer`;\n const createComponentLink = useRouteRef(createComponentRouteRef);\n\n return (\n <PageWithHeader\n themeId=\"apis\"\n title=\"APIs\"\n subtitle={generatedSubtitle}\n pageTitleOverride=\"APIs\"\n >\n <Content>\n <ContentHeader title=\"\">\n <CreateButton\n title=\"Register Existing API\"\n to={createComponentLink?.()}\n />\n <SupportButton>All your APIs</SupportButton>\n </ContentHeader>\n <EntityListProvider>\n <FilteredEntityLayout>\n <FilterContainer>\n <EntityKindPicker initialFilter=\"api\" hidden />\n <EntityTypePicker />\n <UserListPicker initialFilter={initiallySelectedFilter} />\n <EntityOwnerPicker />\n <EntityLifecyclePicker />\n <EntityTagPicker />\n </FilterContainer>\n <EntityListContainer>\n <CatalogTable\n columns={columns || defaultColumns}\n actions={actions}\n />\n </EntityListContainer>\n </FilteredEntityLayout>\n </EntityListProvider>\n </Content>\n </PageWithHeader>\n );\n};\n"],"names":[],"mappings":";;;;;;;;;;AA8CA,MAAM,iBAAiD;AAAA,EACrD,aAAa,QAAQ,iBAAiB,CAAE,aAAa;AAAA,EACrD,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA,EACrB,aAAa,QAAQ;AAAA;MASV,kBAAkB,CAAC;AAAA,EAC9B,0BAA0B;AAAA,EAC1B;AAAA,EACA;AAAA,MAC0B;AAlE5B;AAmEE,QAAM,YAAY,OAAO;AACzB,QAAM,oBAAoB,GACxB,gBAAU,kBAAkB,yBAA5B,YAAoD;AAEtD,QAAM,sBAAsB,YAAY;AAExC,6CACG,gBAAD;AAAA,IACE,SAAQ;AAAA,IACR,OAAM;AAAA,IACN,UAAU;AAAA,IACV,mBAAkB;AAAA,yCAEjB,SAAD,0CACG,eAAD;AAAA,IAAe,OAAM;AAAA,yCAClB,cAAD;AAAA,IACE,OAAM;AAAA,IACN,IAAI;AAAA,0CAEL,eAAD,MAAe,uDAEhB,oBAAD,0CACG,sBAAD,0CACG,iBAAD,0CACG,kBAAD;AAAA,IAAkB,eAAc;AAAA,IAAM,QAAM;AAAA,0CAC3C,kBAAD,2CACC,gBAAD;AAAA,IAAgB,eAAe;AAAA,0CAC9B,mBAAD,2CACC,uBAAD,2CACC,iBAAD,4CAED,qBAAD,0CACG,cAAD;AAAA,IACE,SAAS,WAAW;AAAA,IACpB;AAAA;AAAA;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { C as ConsumedApisCard, H as HasApisCard, P as ProvidedApisCard } from './index-4fecc409.esm.js';
|
|
2
|
+
import '@backstage/plugin-catalog-react';
|
|
3
|
+
import '@material-ui/lab';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@backstage/core-plugin-api';
|
|
6
|
+
import '@backstage/core-components';
|
|
7
|
+
import '@backstage/catalog-model';
|
|
8
|
+
import '@material-ui/core';
|
|
9
|
+
//# sourceMappingURL=index-2718cc46.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-2718cc46.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { b as ConsumingComponentsCard, e as ProvidingComponentsCard } from './index-4fecc409.esm.js';
|
|
2
|
+
import '@backstage/plugin-catalog-react';
|
|
3
|
+
import '@material-ui/lab';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '@backstage/core-plugin-api';
|
|
6
|
+
import '@backstage/core-components';
|
|
7
|
+
import '@backstage/catalog-model';
|
|
8
|
+
import '@material-ui/core';
|
|
9
|
+
//# sourceMappingURL=index-48ab55dd.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-48ab55dd.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|