@techdocs/cli 1.8.12-next.1 → 1.8.12-next.2

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/embedded-app/.config-schema.json +439 -0
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/static/124.f1bbb49f.chunk.js +5 -0
  5. package/dist/embedded-app/static/124.f1bbb49f.chunk.js.map +1 -0
  6. package/dist/embedded-app/static/2401.41f8afc2.chunk.js +5 -0
  7. package/dist/embedded-app/static/2401.41f8afc2.chunk.js.map +1 -0
  8. package/dist/embedded-app/static/2420.79e5ad73.chunk.js +5 -0
  9. package/dist/embedded-app/static/2420.79e5ad73.chunk.js.map +1 -0
  10. package/dist/embedded-app/static/287.57364744.chunk.js +5 -0
  11. package/dist/embedded-app/static/287.57364744.chunk.js.map +1 -0
  12. package/dist/embedded-app/static/3632.311788b9.chunk.js +5 -0
  13. package/dist/embedded-app/static/3632.311788b9.chunk.js.map +1 -0
  14. package/dist/embedded-app/static/5974.3b113fed.chunk.js +3 -0
  15. package/dist/embedded-app/static/5974.3b113fed.chunk.js.map +1 -0
  16. package/dist/embedded-app/static/6271.491e4b08.chunk.js +5 -0
  17. package/dist/embedded-app/static/6271.491e4b08.chunk.js.map +1 -0
  18. package/dist/embedded-app/static/8384.fba8163d.chunk.js +5 -0
  19. package/dist/embedded-app/static/8384.fba8163d.chunk.js.map +1 -0
  20. package/dist/embedded-app/static/9652.c37f1514.chunk.js +5 -0
  21. package/dist/embedded-app/static/9652.c37f1514.chunk.js.map +1 -0
  22. package/dist/embedded-app/static/main.a258183d.js +508 -0
  23. package/dist/embedded-app/static/main.a258183d.js.map +1 -0
  24. package/dist/embedded-app/static/{runtime.af63ab39.js → runtime.a258183d.js} +2 -2
  25. package/dist/embedded-app/static/{runtime.af63ab39.js.map → runtime.a258183d.js.map} +1 -1
  26. package/dist/embedded-app/static/vendor.a258183d.js +155 -0
  27. package/dist/embedded-app/static/vendor.a258183d.js.map +1 -0
  28. package/dist/index.cjs.js +1 -1
  29. package/package.json +4 -4
  30. package/dist/embedded-app/static/124.2fe45728.chunk.js +0 -5
  31. package/dist/embedded-app/static/124.2fe45728.chunk.js.map +0 -1
  32. package/dist/embedded-app/static/2401.b9ecb259.chunk.js +0 -5
  33. package/dist/embedded-app/static/2401.b9ecb259.chunk.js.map +0 -1
  34. package/dist/embedded-app/static/2420.8b65f057.chunk.js +0 -5
  35. package/dist/embedded-app/static/2420.8b65f057.chunk.js.map +0 -1
  36. package/dist/embedded-app/static/287.e4ea033a.chunk.js +0 -5
  37. package/dist/embedded-app/static/287.e4ea033a.chunk.js.map +0 -1
  38. package/dist/embedded-app/static/3632.12b6d8dd.chunk.js +0 -5
  39. package/dist/embedded-app/static/3632.12b6d8dd.chunk.js.map +0 -1
  40. package/dist/embedded-app/static/5974.e17fc282.chunk.js +0 -3
  41. package/dist/embedded-app/static/5974.e17fc282.chunk.js.map +0 -1
  42. package/dist/embedded-app/static/6271.e14894fd.chunk.js +0 -5
  43. package/dist/embedded-app/static/6271.e14894fd.chunk.js.map +0 -1
  44. package/dist/embedded-app/static/8384.f9a38a1a.chunk.js +0 -5
  45. package/dist/embedded-app/static/8384.f9a38a1a.chunk.js.map +0 -1
  46. package/dist/embedded-app/static/9652.e5ad523b.chunk.js +0 -5
  47. package/dist/embedded-app/static/9652.e5ad523b.chunk.js.map +0 -1
  48. package/dist/embedded-app/static/main.af63ab39.js +0 -508
  49. package/dist/embedded-app/static/main.af63ab39.js.map +0 -1
  50. package/dist/embedded-app/static/vendor.af63ab39.js +0 -160
  51. package/dist/embedded-app/static/vendor.af63ab39.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @techdocs/cli
2
2
 
3
+ ## 1.8.12-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/plugin-techdocs-node@1.12.5-next.2
9
+ - @backstage/backend-common@0.23.0-next.2
10
+ - @backstage/catalog-model@1.5.0
11
+ - @backstage/cli-common@0.1.13
12
+ - @backstage/config@1.2.0
13
+
3
14
  ## 1.8.12-next.1
4
15
 
5
16
  ### Patch Changes
@@ -1991,6 +1991,445 @@
1991
1991
  },
1992
1992
  "$schema": "http://json-schema.org/draft-07/schema#"
1993
1993
  }
1994
+ },
1995
+ {
1996
+ "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/integration/config.d.ts",
1997
+ "value": {
1998
+ "type": "object",
1999
+ "properties": {
2000
+ "integrations": {
2001
+ "description": "Configuration for integrations towards various external repository provider systems",
2002
+ "visibility": "frontend",
2003
+ "type": "object",
2004
+ "properties": {
2005
+ "azure": {
2006
+ "description": "Integration configuration for Azure",
2007
+ "type": "array",
2008
+ "items": {
2009
+ "type": "object",
2010
+ "properties": {
2011
+ "host": {
2012
+ "description": "The hostname of the given Azure instance",
2013
+ "visibility": "frontend",
2014
+ "type": "string"
2015
+ },
2016
+ "token": {
2017
+ "description": "Token used to authenticate requests.",
2018
+ "visibility": "secret",
2019
+ "deprecated": "Use `credentials` instead.",
2020
+ "type": "string"
2021
+ },
2022
+ "credential": {
2023
+ "description": "The credential to use for requests.\n\nIf no credential is specified anonymous access is used.",
2024
+ "deepVisibility": "secret",
2025
+ "deprecated": "Use `credentials` instead.",
2026
+ "type": "object",
2027
+ "properties": {
2028
+ "clientId": {
2029
+ "type": "string"
2030
+ },
2031
+ "clientSecret": {
2032
+ "type": "string"
2033
+ },
2034
+ "tenantId": {
2035
+ "type": "string"
2036
+ },
2037
+ "personalAccessToken": {
2038
+ "type": "string"
2039
+ }
2040
+ }
2041
+ },
2042
+ "credentials": {
2043
+ "description": "The credentials to use for requests. If multiple credentials are specified the first one that matches the organization is used.\nIf not organization matches the first credential without an organization is used.\n\nIf no credentials are specified at all, either a default credential (for Azure DevOps) or anonymous access (for Azure DevOps Server) is used.",
2044
+ "deepVisibility": "secret",
2045
+ "type": "array",
2046
+ "items": {
2047
+ "type": "object",
2048
+ "properties": {
2049
+ "clientId": {
2050
+ "type": "string"
2051
+ },
2052
+ "clientSecret": {
2053
+ "type": "string"
2054
+ },
2055
+ "tenantId": {
2056
+ "type": "string"
2057
+ },
2058
+ "personalAccessToken": {
2059
+ "type": "string"
2060
+ }
2061
+ }
2062
+ }
2063
+ }
2064
+ },
2065
+ "required": [
2066
+ "host"
2067
+ ]
2068
+ }
2069
+ },
2070
+ "bitbucket": {
2071
+ "description": "Integration configuration for Bitbucket",
2072
+ "deprecated": "replaced by bitbucketCloud and bitbucketServer",
2073
+ "type": "array",
2074
+ "items": {
2075
+ "type": "object",
2076
+ "properties": {
2077
+ "host": {
2078
+ "description": "The hostname of the given Bitbucket instance",
2079
+ "visibility": "frontend",
2080
+ "type": "string"
2081
+ },
2082
+ "token": {
2083
+ "description": "Token used to authenticate requests.",
2084
+ "visibility": "secret",
2085
+ "type": "string"
2086
+ },
2087
+ "apiBaseUrl": {
2088
+ "description": "The base url for the Bitbucket API, for example https://api.bitbucket.org/2.0",
2089
+ "visibility": "frontend",
2090
+ "type": "string"
2091
+ },
2092
+ "username": {
2093
+ "description": "The username to use for authenticated requests.",
2094
+ "visibility": "secret",
2095
+ "type": "string"
2096
+ },
2097
+ "appPassword": {
2098
+ "description": "Bitbucket app password used to authenticate requests.",
2099
+ "visibility": "secret",
2100
+ "type": "string"
2101
+ }
2102
+ },
2103
+ "required": [
2104
+ "host"
2105
+ ]
2106
+ }
2107
+ },
2108
+ "bitbucketCloud": {
2109
+ "description": "Integration configuration for Bitbucket Cloud",
2110
+ "type": "array",
2111
+ "items": {
2112
+ "type": "object",
2113
+ "properties": {
2114
+ "username": {
2115
+ "description": "The username to use for authenticated requests.",
2116
+ "visibility": "secret",
2117
+ "type": "string"
2118
+ },
2119
+ "appPassword": {
2120
+ "description": "Bitbucket Cloud app password used to authenticate requests.",
2121
+ "visibility": "secret",
2122
+ "type": "string"
2123
+ }
2124
+ },
2125
+ "required": [
2126
+ "appPassword",
2127
+ "username"
2128
+ ]
2129
+ }
2130
+ },
2131
+ "bitbucketServer": {
2132
+ "description": "Integration configuration for Bitbucket Server",
2133
+ "type": "array",
2134
+ "items": {
2135
+ "type": "object",
2136
+ "properties": {
2137
+ "host": {
2138
+ "description": "The hostname of the given Bitbucket Server instance",
2139
+ "visibility": "frontend",
2140
+ "type": "string"
2141
+ },
2142
+ "token": {
2143
+ "description": "Token used to authenticate requests.",
2144
+ "visibility": "secret",
2145
+ "type": "string"
2146
+ },
2147
+ "username": {
2148
+ "description": "Username used to authenticate requests with Basic Auth.",
2149
+ "visibility": "secret",
2150
+ "type": "string"
2151
+ },
2152
+ "password": {
2153
+ "description": "Password (or token as password) used to authenticate requests with Basic Auth.",
2154
+ "visibility": "secret",
2155
+ "type": "string"
2156
+ },
2157
+ "apiBaseUrl": {
2158
+ "description": "The base url for the Bitbucket Server API, for example https://<host>/rest/api/1.0",
2159
+ "visibility": "frontend",
2160
+ "type": "string"
2161
+ }
2162
+ },
2163
+ "required": [
2164
+ "host"
2165
+ ]
2166
+ }
2167
+ },
2168
+ "gerrit": {
2169
+ "description": "Integration configuration for Gerrit",
2170
+ "type": "array",
2171
+ "items": {
2172
+ "type": "object",
2173
+ "properties": {
2174
+ "host": {
2175
+ "description": "The hostname of the given Gerrit instance",
2176
+ "visibility": "frontend",
2177
+ "type": "string"
2178
+ },
2179
+ "baseUrl": {
2180
+ "description": "The base url for the Gerrit instance.",
2181
+ "visibility": "frontend",
2182
+ "type": "string"
2183
+ },
2184
+ "cloneUrl": {
2185
+ "description": "The base url for cloning repos.",
2186
+ "visibility": "frontend",
2187
+ "type": "string"
2188
+ },
2189
+ "username": {
2190
+ "description": "The username to use for authenticated requests.",
2191
+ "visibility": "secret",
2192
+ "type": "string"
2193
+ },
2194
+ "password": {
2195
+ "description": "Gerrit password used to authenticate requests. This can be either a password\nor a generated access token.",
2196
+ "visibility": "secret",
2197
+ "type": "string"
2198
+ }
2199
+ },
2200
+ "required": [
2201
+ "host"
2202
+ ]
2203
+ }
2204
+ },
2205
+ "github": {
2206
+ "description": "Integration configuration for GitHub",
2207
+ "type": "array",
2208
+ "items": {
2209
+ "type": "object",
2210
+ "properties": {
2211
+ "host": {
2212
+ "description": "The hostname of the given GitHub instance",
2213
+ "visibility": "frontend",
2214
+ "type": "string"
2215
+ },
2216
+ "token": {
2217
+ "description": "Token used to authenticate requests.",
2218
+ "visibility": "secret",
2219
+ "type": "string"
2220
+ },
2221
+ "apiBaseUrl": {
2222
+ "description": "The base url for the GitHub API, for example https://api.github.com",
2223
+ "visibility": "frontend",
2224
+ "type": "string"
2225
+ },
2226
+ "rawBaseUrl": {
2227
+ "description": "The base url for GitHub raw resources, for example https://raw.githubusercontent.com",
2228
+ "visibility": "frontend",
2229
+ "type": "string"
2230
+ },
2231
+ "apps": {
2232
+ "description": "GitHub Apps configuration",
2233
+ "type": "array",
2234
+ "items": {
2235
+ "type": "object",
2236
+ "properties": {
2237
+ "appId": {
2238
+ "description": "The numeric GitHub App ID, string for environment variables",
2239
+ "type": [
2240
+ "string",
2241
+ "number"
2242
+ ]
2243
+ },
2244
+ "privateKey": {
2245
+ "description": "The private key to use for auth against the app",
2246
+ "visibility": "secret",
2247
+ "type": "string"
2248
+ },
2249
+ "webhookSecret": {
2250
+ "description": "The secret used for webhooks",
2251
+ "visibility": "secret",
2252
+ "type": "string"
2253
+ },
2254
+ "clientId": {
2255
+ "description": "The client ID to use",
2256
+ "type": "string"
2257
+ },
2258
+ "clientSecret": {
2259
+ "description": "The client secret to use",
2260
+ "visibility": "secret",
2261
+ "type": "string"
2262
+ },
2263
+ "allowedInstallationOwners": {
2264
+ "description": "List of installation owners allowed to be used by this GitHub app. The GitHub UI does not provide a way to list the installations.\nHowever you can list the installations with the GitHub API. You can find the list of installations here:\nhttps://api.github.com/app/installations\nThe relevant documentation for this is here.\nhttps://docs.github.com/en/rest/reference/apps#list-installations-for-the-authenticated-app--code-samples",
2265
+ "type": "array",
2266
+ "items": {
2267
+ "type": "string"
2268
+ }
2269
+ }
2270
+ },
2271
+ "required": [
2272
+ "appId",
2273
+ "clientId",
2274
+ "clientSecret",
2275
+ "privateKey",
2276
+ "webhookSecret"
2277
+ ]
2278
+ }
2279
+ }
2280
+ },
2281
+ "required": [
2282
+ "host"
2283
+ ]
2284
+ }
2285
+ },
2286
+ "gitlab": {
2287
+ "description": "Integration configuration for GitLab",
2288
+ "type": "array",
2289
+ "items": {
2290
+ "type": "object",
2291
+ "properties": {
2292
+ "host": {
2293
+ "description": "The host of the target that this matches on, e.g. \"gitlab.com\".",
2294
+ "visibility": "frontend",
2295
+ "type": "string"
2296
+ },
2297
+ "apiBaseUrl": {
2298
+ "description": "The base URL of the API of this provider, e.g.\n\"https://gitlab.com/api/v4\", with no trailing slash.\n\nMay be omitted specifically for public GitLab; then it will be deduced.",
2299
+ "visibility": "frontend",
2300
+ "type": "string"
2301
+ },
2302
+ "token": {
2303
+ "description": "The authorization token to use for requests to this provider.\n\nIf no token is specified, anonymous access is used.",
2304
+ "visibility": "secret",
2305
+ "type": "string"
2306
+ },
2307
+ "baseUrl": {
2308
+ "description": "The baseUrl of this provider, e.g. \"https://gitlab.com\", which is\npassed into the GitLab client.\n\nIf no baseUrl is provided, it will default to https://${host}.",
2309
+ "visibility": "frontend",
2310
+ "type": "string"
2311
+ }
2312
+ },
2313
+ "required": [
2314
+ "host"
2315
+ ]
2316
+ }
2317
+ },
2318
+ "googleGcs": {
2319
+ "description": "Integration configuration for Google Cloud Storage",
2320
+ "type": "object",
2321
+ "properties": {
2322
+ "clientEmail": {
2323
+ "description": "Service account email used to authenticate requests.",
2324
+ "type": "string"
2325
+ },
2326
+ "privateKey": {
2327
+ "description": "Service account private key used to authenticate requests.",
2328
+ "visibility": "secret",
2329
+ "type": "string"
2330
+ }
2331
+ }
2332
+ },
2333
+ "awsS3": {
2334
+ "description": "Integration configuration for AWS S3 Service",
2335
+ "type": "array",
2336
+ "items": {
2337
+ "type": "object",
2338
+ "properties": {
2339
+ "endpoint": {
2340
+ "description": "AWS Endpoint.\nThe endpoint URI to send requests to. The default endpoint is built from the configured region.",
2341
+ "visibility": "frontend",
2342
+ "type": "string"
2343
+ },
2344
+ "s3ForcePathStyle": {
2345
+ "description": "Whether to use path style URLs when communicating with S3.\nDefaults to false.\nThis allows providers like LocalStack, Minio and Wasabi (and possibly others) to be used.",
2346
+ "visibility": "frontend",
2347
+ "type": "boolean"
2348
+ },
2349
+ "accessKeyId": {
2350
+ "description": "Account access key used to authenticate requests.",
2351
+ "type": "string"
2352
+ },
2353
+ "secretAccessKey": {
2354
+ "description": "Account secret key used to authenticate requests.",
2355
+ "visibility": "secret",
2356
+ "type": "string"
2357
+ },
2358
+ "roleArn": {
2359
+ "description": "ARN of the role to be assumed",
2360
+ "type": "string"
2361
+ },
2362
+ "externalId": {
2363
+ "description": "External ID to use when assuming role",
2364
+ "type": "string"
2365
+ }
2366
+ }
2367
+ }
2368
+ },
2369
+ "gitea": {
2370
+ "description": "Integration configuration for Gitea",
2371
+ "type": "array",
2372
+ "items": {
2373
+ "type": "object",
2374
+ "properties": {
2375
+ "host": {
2376
+ "description": "The hostname of the given Gitea instance",
2377
+ "visibility": "frontend",
2378
+ "type": "string"
2379
+ },
2380
+ "baseUrl": {
2381
+ "description": "The base url for the Gitea instance.",
2382
+ "visibility": "frontend",
2383
+ "type": "string"
2384
+ },
2385
+ "username": {
2386
+ "description": "The username to use for authenticated requests.",
2387
+ "visibility": "secret",
2388
+ "type": "string"
2389
+ },
2390
+ "password": {
2391
+ "description": "Gitea password used to authenticate requests. This can be either a password\nor a generated access token.",
2392
+ "visibility": "secret",
2393
+ "type": "string"
2394
+ }
2395
+ },
2396
+ "required": [
2397
+ "host"
2398
+ ]
2399
+ }
2400
+ },
2401
+ "harness": {
2402
+ "description": "Integration configuration for Harness Code",
2403
+ "type": "array",
2404
+ "items": {
2405
+ "type": "object",
2406
+ "properties": {
2407
+ "host": {
2408
+ "description": "The hostname of the given Harness Code instance",
2409
+ "visibility": "frontend",
2410
+ "type": "string"
2411
+ },
2412
+ "apiKey": {
2413
+ "description": "The apikey to use for authenticated requests.",
2414
+ "visibility": "secret",
2415
+ "type": "string"
2416
+ },
2417
+ "token": {
2418
+ "description": "Harness Code token used to authenticate requests. This can be either a generated access token.",
2419
+ "visibility": "secret",
2420
+ "type": "string"
2421
+ }
2422
+ },
2423
+ "required": [
2424
+ "host"
2425
+ ]
2426
+ }
2427
+ }
2428
+ }
2429
+ }
2430
+ },
2431
+ "$schema": "http://json-schema.org/draft-07/schema#"
2432
+ }
1994
2433
  }
1995
2434
  ],
1996
2435
  "backstageConfigSchemaVersion": 1
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.af63ab39.js"></script><script defer="defer" src="/static/module-material-ui.1eefc717.js"></script><script defer="defer" src="/static/module-lodash.1a2b8e11.js"></script><script defer="defer" src="/static/module-date-fns.196adaa7.js"></script><script defer="defer" src="/static/module-mui.bb6867cb.js"></script><script defer="defer" src="/static/module-material-table.892da5bc.js"></script><script defer="defer" src="/static/module-react-dom.3e65b8bc.js"></script><script defer="defer" src="/static/module-react-router.07ec2a81.js"></script><script defer="defer" src="/static/module-react-router-dom.ba9d01bf.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.8a51ed97.js"></script><script defer="defer" src="/static/module-zod.52dba18e.js"></script><script defer="defer" src="/static/module-i18next.40b7c233.js"></script><script defer="defer" src="/static/vendor.af63ab39.js"></script><script defer="defer" src="/static/main.af63ab39.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Backstage is an open source framework for building developer portals"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><link rel="icon" href="/favicon.ico"/><link rel="shortcut icon" href="/favicon.ico"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/><title>Techdocs Preview App</title><meta name="backstage-app-mode" content="public"><script defer="defer" src="/static/runtime.a258183d.js"></script><script defer="defer" src="/static/module-material-ui.1eefc717.js"></script><script defer="defer" src="/static/module-lodash.1a2b8e11.js"></script><script defer="defer" src="/static/module-date-fns.196adaa7.js"></script><script defer="defer" src="/static/module-mui.bb6867cb.js"></script><script defer="defer" src="/static/module-material-table.892da5bc.js"></script><script defer="defer" src="/static/module-react-dom.3e65b8bc.js"></script><script defer="defer" src="/static/module-react-router.07ec2a81.js"></script><script defer="defer" src="/static/module-react-router-dom.ba9d01bf.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.8a51ed97.js"></script><script defer="defer" src="/static/module-zod.52dba18e.js"></script><script defer="defer" src="/static/module-i18next.40b7c233.js"></script><script defer="defer" src="/static/vendor.a258183d.js"></script><script defer="defer" src="/static/main.a258183d.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -0,0 +1,5 @@
1
+ "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[124],{74616:function(z,f,t){var n,h=t(4293),A=t(78920);n={value:!0},f.A=void 0;var u=A(t(14041)),y=h(t(74044)),C=(0,y.default)(u.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");f.A=C},48514:function(z,f,t){t.d(f,{M:function(){return x}});var n=t(31085),h=t(58837),A=t(71677),u=t(14041),y=t(72501);const C=(0,h.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:s})=>s||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function x(s){const M=C(s);var a;return(0,n.jsx)(A.Ay,{title:(a=s.title)!==null&&a!==void 0?a:s.text||"",placement:s.placement,children:(0,n.jsx)(y.A,{className:M.typo,children:s.text})})}},48045:function(z,f,t){t.d(f,{n:function(){return D}});var n=t(31085),h=t(40703),A=t(59469),u=t(48653),y=t(45685),C=t(37197),x=t(58837),s=t(87051),M=t(53373),a=t.n(M),S=t(14041),c=t(10394),g=t(72501),I=t(74616),L=t(72072);const m=(0,x.A)(o=>({root:{maxWidth:"fit-content",padding:o.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:o.palette.textSubtle},arrow:{color:o.palette.textSubtle}}),{name:"BackstageBottomLink"});function R(o){const{link:e,title:l,onClick:T}=o,j=m();return(0,n.jsxs)(c.A,{children:[(0,n.jsx)(C.A,{}),(0,n.jsx)(L.N_,{to:e,onClick:T,underline:"none",children:(0,n.jsxs)(c.A,{display:"flex",alignItems:"center",className:j.root,children:[(0,n.jsx)(c.A,{className:j.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,n.jsx)(g.A,{children:(0,n.jsx)("strong",{children:l})})}),(0,n.jsx)(I.A,{className:j.arrow})]})})]})}var O=t(73896),r=t(22020),d=t(10315),U=t(87849);const K=o=>{const{slackChannel:e}=o,{t:l}=(0,U.i)(d.O);if(e){if(typeof e=="string")return(0,n.jsx)(g.A,{children:l("errorBoundary.title",{slackChannel:e})});if(!e.href)return(0,n.jsx)(g.A,{children:l("errorBoundary.title",{slackChannel:e.name})})}else return null;return(0,n.jsx)(O.z,{to:e.href,variant:"contained",children:e.name})},E=class extends S.Component{componentDidCatch(e,l){console.error(`ErrorBoundary, error: ${e}`,{error:e,errorInfo:l}),this.setState({error:e,errorInfo:l})}render(){const{slackChannel:e,children:l}=this.props,{error:T}=this.state;return T?(0,n.jsx)(r.b,{title:"Something Went Wrong",error:T,children:(0,n.jsx)(K,{slackChannel:e})}):l}constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}},i=(0,x.A)(o=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:o.spacing(2,2,2,2.5)},headerTitle:{fontWeight:o.typography.fontWeightBold},headerSubheader:{paddingTop:o.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),p=(0,s.A)(o=>({root:{display:"inline-block",padding:o.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(A.A),v={card:{flex:{display:"flex",flexDirection:"column"},fullHeight:{display:"flex",flexDirection:"column",height:"100%"},gridItem:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px",breakInside:"avoid-page","@media print":{height:"auto"}}},cardContent:{fullHeight:{flex:1},gridItem:{flex:1}}};function D(o){const{title:e,subheader:l,divider:T=!0,deepLink:j,slackChannel:H,errorBoundaryProps:N,variant:B,alignContent:F="normal",children:P,headerStyle:$,headerProps:G,icon:b,action:Q,actionsClassName:Z,actions:k,cardClassName:w,actionsTopRight:X,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:nt}=o,W=i();let J={},V={};B&&B.split(/[\s]+/g).forEach(Y=>{J={...J,...v.card[Y]},V={...V,...v.cardContent[Y]}});const et=()=>!l&&!b?null:(0,n.jsxs)("div",{"data-testid":"info-card-subheader",children:[l&&(0,n.jsx)("div",{className:W.subheader,children:l}),b]}),ot=N||(H?{slackChannel:H}:{});return(0,n.jsx)(h.A,{style:J,className:q,children:(0,n.jsxs)(E,{...ot,children:[e&&(0,n.jsx)(y.A,{classes:{root:a()(W.header),title:W.headerTitle,subheader:W.headerSubheader,avatar:W.headerAvatar,action:W.headerAction,content:W.headerContent},title:e,subheader:et(),action:Q,style:{...$},titleTypographyProps:tt,subheaderTypographyProps:nt,...G}),X&&(0,n.jsx)(p,{children:X}),T&&(0,n.jsx)(C.A,{}),(0,n.jsx)(u.A,{className:a()(w,{[W.noPadding]:_,[W.contentAlignBottom]:F==="bottom"}),style:V,children:P}),k&&(0,n.jsx)(A.A,{className:Z,children:k}),j&&(0,n.jsx)(R,{...j})]})})}},89648:function(z,f,t){t.d(f,{s:function(){return L}});var n=t(31085),h=t(58837),A=t(14041),u=t(51372),y=t(48514),C=t(67871),x=t(90184),s=t(8859),M=t(34428);const a=Object.freeze({createEntityRefColumn(m){const{defaultKind:R}=m;function O(r){var d;return((d=r.metadata)===null||d===void 0?void 0:d.title)||(0,x.S)(r,{defaultKind:R})}return{title:"Name",highlight:!0,customFilterAndSearch(r,d){return O(d).includes(r)},customSort(r,d){return O(r).localeCompare(O(d))},render:r=>{var d;return(0,n.jsx)(s.z,{entityRef:r,defaultKind:R,title:(d=r.metadata)===null||d===void 0?void 0:d.title})}}},createEntityRelationColumn(m){const{title:R,relation:O,defaultKind:r,filter:d}=m;function U(E){return(0,C.t)(E,O,d)}function K(E){return U(E).map(i=>(0,x.S)(i,{defaultKind:r})).join(", ")}return{title:R,customFilterAndSearch(E,i){return K(i).includes(E)},customSort(E,i){return K(E).localeCompare(K(i))},render:E=>(0,n.jsx)(M.i,{entityRefs:U(E),defaultKind:r})}},createOwnerColumn(){return this.createEntityRelationColumn({title:"Owner",relation:u.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:"Domain",relation:u.jn,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:"System",relation:u.jn,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn(){return{title:"Description",field:"metadata.description",render:m=>(0,n.jsx)(y.M,{text:m.metadata.description,placement:"bottom-start",line:2})}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"spec.lifecycle"}},createSpecTypeColumn(){return{title:"Type",field:"spec.type"}}}),S=[a.createEntityRefColumn({defaultKind:"system"}),a.createDomainColumn(),a.createOwnerColumn(),a.createMetadataDescriptionColumn()],c=[a.createEntityRefColumn({defaultKind:"component"}),a.createSystemColumn(),a.createOwnerColumn(),a.createSpecTypeColumn(),a.createSpecLifecycleColumn(),a.createMetadataDescriptionColumn()];var g=t(14209);const I=(0,h.A)(m=>({empty:{padding:m.spacing(2),display:"flex",justifyContent:"center"}})),L=m=>{const{entities:R,title:O,emptyContent:r,variant:d="gridItem",columns:U,tableOptions:K={}}=m,E=I(),i={minWidth:"0",width:"100%"};return d==="gridItem"&&(i.height="calc(100% - 10px)"),(0,n.jsx)(g.X,{columns:U,title:O,style:i,emptyContent:r&&(0,n.jsx)("div",{className:E.empty,children:r}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...K},data:R})};L.columns=a,L.systemEntityColumns=S,L.componentEntityColumns=c},99538:function(z,f,t){t.d(f,{T7:function(){return s},TY:function(){return S},tN:function(){return a}});var n=t(31085),h=t(6820),A=t(25862),u=t(43836),y=t(10602),C=t(14041);const x=(0,u.tK)("entity-context"),s=c=>{const{children:g,entity:I,loading:L,error:m,refresh:R}=c,O={entity:I,loading:L,error:m,refresh:R};return(0,n.jsx)(x.Provider,{value:(0,y.B)({1:O}),children:(0,n.jsx)(A.Ig,{attributes:{...I?{entityRef:(0,h.U2)(I)}:void 0},children:g})})},M=c=>_jsx(s,{entity:c.entity,loading:!c.entity,error:void 0,refresh:void 0,children:c.children});function a(){const c=(0,u.qO)("entity-context");if(!c)throw new Error("Entity context is not available");const g=c.atVersion(1);if(!g)throw new Error("EntityContext v1 not available");if(!g.entity)throw new Error("useEntity hook is being called outside of an EntityLayout where the entity has not been loaded. If this is intentional, please use useAsyncEntity instead.");return{entity:g.entity}}function S(){const c=(0,u.qO)("entity-context");if(!c)throw new Error("Entity context is not available");const g=c.atVersion(1);if(!g)throw new Error("EntityContext v1 not available");const{entity:I,loading:L,error:m,refresh:R}=g;return{entity:I,loading:L,error:m,refresh:R}}},124:function(z,f,t){t.r(f),t.d(f,{DependencyOfComponentsCard:function(){return C}});var n=t(31085),h=t(51372),A=t(14041),u=t(59251),y=t(48105);function C(x){const{variant:s="gridItem",title:M="Dependency of components"}=x;return(0,n.jsx)(u.p,{variant:s,title:M,entityKind:"Component",relationType:h.fT,columns:y.mz,emptyMessage:"No component depends on this component",emptyHelpLink:y.e2,asRenderableEntities:y.xJ})}},59251:function(z,f,t){t.d(f,{p:function(){return E}});var n=t(31085),h=t(72501),A=t(99538),u=t(6820),y=t(72427),C=t(73466),x=t(7341);function s(i,p){var v,D;const o=p==null||(v=p.type)===null||v===void 0?void 0:v.toLocaleLowerCase("en-US"),e=p==null||(D=p.kind)===null||D===void 0?void 0:D.toLocaleLowerCase("en-US"),l=(0,y.gf)(x.v),{loading:T,value:j,error:H}=(0,C.A)(async()=>{var N;const B=(N=i.relations)===null||N===void 0?void 0:N.filter(P=>(!o||P.type.toLocaleLowerCase("en-US")===o)&&(!e||(0,u.KU)(P.targetRef).kind===e));if(!(B!=null&&B.length))return[];const{items:F}=await l.getEntitiesByRefs({entityRefs:B.map(P=>P.targetRef)});return F.filter(P=>!!P)},[i,o,e]);return{entities:j,loading:T,error:H}}var M=t(89648),a=t(14041),S=t(48045),c=t(68146),g=t(58837),I=t(37197),L=t(8109),m=t(5951),R=t(77310),O=t(37916),r=t(22020);const d=(0,g.A)(i=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:i.spacing(2)},divider:{margin:i.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function U(i){var p;const{title:v,error:D,defaultExpanded:o}=i,e=d();if(D.name!=="ResponseError")return(0,n.jsx)(r.b,{title:v!=null?v:D.message,defaultExpanded:o,error:D});const{body:l,cause:T}=D,{request:j,response:H}=l,N=`${H.statusCode}: ${T.name}`,B=j&&`${j.method} ${j.url}`,F=T.message.replace(/\\n/g,`
2
+ `),P=(p=T.stack)===null||p===void 0?void 0:p.replace(/\\n/g,`
3
+ `),$=JSON.stringify(l,void 0,2);return(0,n.jsxs)(r.b,{title:v!=null?v:D.message,defaultExpanded:o,error:{name:N,message:F,stack:P},children:[B&&(0,n.jsxs)(L.A,{alignItems:"flex-start",children:[(0,n.jsx)(m.A,{classes:{secondary:e.text},primary:"Request",secondary:j?`${B}`:void 0}),(0,n.jsx)(O.l,{text:B})]}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(I.A,{component:"li",className:e.divider}),(0,n.jsx)(L.A,{alignItems:"flex-start",children:(0,n.jsx)(m.A,{classes:{secondary:e.text},primary:"Full Error as JSON"})}),(0,n.jsx)(R.z,{language:"json",text:$,showCopyCodeButton:!0})]})]})}var K=t(72072);function E(i){const{variant:p="gridItem",title:v,columns:D,entityKind:o,relationType:e,emptyMessage:l,emptyHelpLink:T,asRenderableEntities:j,tableOptions:H={}}=i,{entity:N}=(0,A.tN)(),{entities:B,loading:F,error:P}=s(N,{type:e,kind:o});return F?(0,n.jsx)(S.n,{variant:p,title:v,children:(0,n.jsx)(c.k,{})}):P?(0,n.jsx)(S.n,{variant:p,title:v,children:(0,n.jsx)(U,{error:P})}):(0,n.jsx)(M.s,{title:v,variant:p,emptyContent:(0,n.jsxs)("div",{style:{textAlign:"center"},children:[(0,n.jsx)(h.A,{variant:"body1",children:l}),(0,n.jsx)(h.A,{variant:"body2",children:(0,n.jsx)(K.N_,{to:T,children:"Learn how to change this."})})]}),columns:D,entities:j(B||[]),tableOptions:H})}},48105:function(z,f,t){t.d(f,{MW:function(){return s},e2:function(){return A},eB:function(){return x},iU:function(){return M},mz:function(){return h},nz:function(){return C},v9:function(){return y},vy:function(){return a},xJ:function(){return u}});var n=t(89648);const h=[n.s.columns.createEntityRefColumn({defaultKind:"component"}),n.s.columns.createOwnerColumn(),n.s.columns.createSpecTypeColumn(),n.s.columns.createSpecLifecycleColumn(),n.s.columns.createMetadataDescriptionColumn()],A="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",u=S=>S,y=[n.s.columns.createEntityRefColumn({defaultKind:"resource"}),n.s.columns.createOwnerColumn(),n.s.columns.createSpecTypeColumn(),n.s.columns.createSpecLifecycleColumn(),n.s.columns.createMetadataDescriptionColumn()],C="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",x=S=>S,s=[n.s.columns.createEntityRefColumn({defaultKind:"system"}),n.s.columns.createOwnerColumn(),n.s.columns.createMetadataDescriptionColumn()],M="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",a=S=>S}}]);})();
4
+
5
+ //# sourceMappingURL=124.f1bbb49f.chunk.js.map