@techdocs/cli 1.8.15 → 1.8.16-next.1
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 +7 -18
- package/dist/embedded-app/.config-schema.json +511 -0
- package/dist/embedded-app/index.html +1 -1
- package/dist/embedded-app/static/124.e854231e.chunk.js +6 -0
- package/dist/embedded-app/static/124.e854231e.chunk.js.map +1 -0
- package/dist/embedded-app/static/1297.2efe7acb.chunk.js +4 -0
- package/dist/embedded-app/static/1297.2efe7acb.chunk.js.map +1 -0
- package/dist/embedded-app/static/2401.77321e4a.chunk.js +6 -0
- package/dist/embedded-app/static/2401.77321e4a.chunk.js.map +1 -0
- package/dist/embedded-app/static/2420.69549f33.chunk.js +6 -0
- package/dist/embedded-app/static/2420.69549f33.chunk.js.map +1 -0
- package/dist/embedded-app/static/287.58b6ebdb.chunk.js +6 -0
- package/dist/embedded-app/static/287.58b6ebdb.chunk.js.map +1 -0
- package/dist/embedded-app/static/3182.e2dedf44.chunk.js +7 -0
- package/dist/embedded-app/static/3182.e2dedf44.chunk.js.map +1 -0
- package/dist/embedded-app/static/3632.3fdefc70.chunk.js +6 -0
- package/dist/embedded-app/static/3632.3fdefc70.chunk.js.map +1 -0
- package/dist/embedded-app/static/5724.c4e87fa2.chunk.js +4 -0
- package/dist/embedded-app/static/5724.c4e87fa2.chunk.js.map +1 -0
- package/dist/embedded-app/static/6271.fcd6a3b1.chunk.js +6 -0
- package/dist/embedded-app/static/6271.fcd6a3b1.chunk.js.map +1 -0
- package/dist/embedded-app/static/8307.9e8dea63.chunk.js +9 -0
- package/dist/embedded-app/static/8307.9e8dea63.chunk.js.map +1 -0
- package/dist/embedded-app/static/8384.b3ef405d.chunk.js +6 -0
- package/dist/embedded-app/static/8384.b3ef405d.chunk.js.map +1 -0
- package/dist/embedded-app/static/898.370a54b9.chunk.js +4 -0
- package/dist/embedded-app/static/898.370a54b9.chunk.js.map +1 -0
- package/dist/embedded-app/static/9652.6e5e7a08.chunk.js +6 -0
- package/dist/embedded-app/static/9652.6e5e7a08.chunk.js.map +1 -0
- package/dist/embedded-app/static/main.3736273c.js +509 -0
- package/dist/embedded-app/static/main.3736273c.js.map +1 -0
- package/dist/embedded-app/static/module-mui.6a6952b4.js +3 -0
- package/dist/embedded-app/static/module-mui.6a6952b4.js.map +1 -0
- package/dist/embedded-app/static/{runtime.bed8cee0.js → runtime.3736273c.js} +2 -2
- package/dist/embedded-app/static/{runtime.bed8cee0.js.map → runtime.3736273c.js.map} +1 -1
- package/dist/embedded-app/static/{vendor.bed8cee0.js → vendor.3736273c.js} +1 -1
- package/dist/embedded-app/static/{vendor.bed8cee0.js.map → vendor.3736273c.js.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/package.json +4 -4
- package/dist/embedded-app/static/124.03919ca7.chunk.js +0 -5
- package/dist/embedded-app/static/124.03919ca7.chunk.js.map +0 -1
- package/dist/embedded-app/static/1297.cdfd490e.chunk.js +0 -3
- package/dist/embedded-app/static/1297.cdfd490e.chunk.js.map +0 -1
- package/dist/embedded-app/static/2401.247c971d.chunk.js +0 -5
- package/dist/embedded-app/static/2401.247c971d.chunk.js.map +0 -1
- package/dist/embedded-app/static/2420.23fe1ec9.chunk.js +0 -5
- package/dist/embedded-app/static/2420.23fe1ec9.chunk.js.map +0 -1
- package/dist/embedded-app/static/287.2041cfdc.chunk.js +0 -5
- package/dist/embedded-app/static/287.2041cfdc.chunk.js.map +0 -1
- package/dist/embedded-app/static/3182.09c2f360.chunk.js +0 -6
- package/dist/embedded-app/static/3182.09c2f360.chunk.js.map +0 -1
- package/dist/embedded-app/static/3632.1842e03a.chunk.js +0 -5
- package/dist/embedded-app/static/3632.1842e03a.chunk.js.map +0 -1
- package/dist/embedded-app/static/5724.49186426.chunk.js +0 -3
- package/dist/embedded-app/static/5724.49186426.chunk.js.map +0 -1
- package/dist/embedded-app/static/5974.d8cc325c.chunk.js +0 -3
- package/dist/embedded-app/static/5974.d8cc325c.chunk.js.map +0 -1
- package/dist/embedded-app/static/6271.a8dfee3d.chunk.js +0 -5
- package/dist/embedded-app/static/6271.a8dfee3d.chunk.js.map +0 -1
- package/dist/embedded-app/static/8307.3553740d.chunk.js +0 -8
- package/dist/embedded-app/static/8307.3553740d.chunk.js.map +0 -1
- package/dist/embedded-app/static/8384.72221db2.chunk.js +0 -5
- package/dist/embedded-app/static/8384.72221db2.chunk.js.map +0 -1
- package/dist/embedded-app/static/9652.1adb76ec.chunk.js +0 -5
- package/dist/embedded-app/static/9652.1adb76ec.chunk.js.map +0 -1
- package/dist/embedded-app/static/main.bed8cee0.js +0 -508
- package/dist/embedded-app/static/main.bed8cee0.js.map +0 -1
- package/dist/embedded-app/static/module-mui.bb6867cb.js +0 -3
- package/dist/embedded-app/static/module-mui.bb6867cb.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,35 +1,24 @@
|
|
|
1
1
|
# @techdocs/cli
|
|
2
2
|
|
|
3
|
-
## 1.8.
|
|
3
|
+
## 1.8.16-next.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies
|
|
8
|
-
- @backstage/
|
|
9
|
-
- @backstage/
|
|
8
|
+
- @backstage/plugin-techdocs-node@1.12.8-next.1
|
|
9
|
+
- @backstage/backend-defaults@0.3.4-next.1
|
|
10
10
|
- @backstage/catalog-model@1.5.0
|
|
11
11
|
- @backstage/cli-common@0.1.14
|
|
12
12
|
- @backstage/config@1.2.0
|
|
13
13
|
|
|
14
|
-
## 1.8.
|
|
14
|
+
## 1.8.15-next.0
|
|
15
15
|
|
|
16
16
|
### Patch Changes
|
|
17
17
|
|
|
18
|
+
- c964a3d: Import discovery from backend-defaults instead of backend-common
|
|
18
19
|
- Updated dependencies
|
|
19
|
-
- @backstage/backend-defaults@0.3.
|
|
20
|
-
- @backstage/
|
|
21
|
-
- @backstage/cli-common@0.1.14
|
|
22
|
-
- @backstage/config@1.2.0
|
|
23
|
-
- @backstage/plugin-techdocs-node@1.12.6
|
|
24
|
-
|
|
25
|
-
## 1.8.13
|
|
26
|
-
|
|
27
|
-
### Patch Changes
|
|
28
|
-
|
|
29
|
-
- aeae3be: Import discovery from backend-defaults instead of backend-common
|
|
30
|
-
- Updated dependencies
|
|
31
|
-
- @backstage/backend-defaults@0.3.1
|
|
32
|
-
- @backstage/plugin-techdocs-node@1.12.6
|
|
20
|
+
- @backstage/backend-defaults@0.3.3-next.0
|
|
21
|
+
- @backstage/plugin-techdocs-node@1.12.7-next.0
|
|
33
22
|
- @backstage/catalog-model@1.5.0
|
|
34
23
|
- @backstage/cli-common@0.1.14
|
|
35
24
|
- @backstage/config@1.2.0
|
|
@@ -201,6 +201,27 @@
|
|
|
201
201
|
"items",
|
|
202
202
|
"url"
|
|
203
203
|
]
|
|
204
|
+
},
|
|
205
|
+
"routes": {
|
|
206
|
+
"type": "object",
|
|
207
|
+
"properties": {
|
|
208
|
+
"bindings": {
|
|
209
|
+
"description": "Maps external route references to regular route references. Both the\nkey and the value is expected to be on the form `<pluginId>.<routeId>`.\nIf the value is `false`, the route will be disabled even if it has a\ndefault mapping.",
|
|
210
|
+
"deepVisibility": "frontend",
|
|
211
|
+
"type": "object",
|
|
212
|
+
"additionalProperties": {
|
|
213
|
+
"anyOf": [
|
|
214
|
+
{
|
|
215
|
+
"const": false,
|
|
216
|
+
"type": "boolean"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "string"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
204
225
|
}
|
|
205
226
|
},
|
|
206
227
|
"required": [
|
|
@@ -1486,6 +1507,51 @@
|
|
|
1486
1507
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1487
1508
|
}
|
|
1488
1509
|
},
|
|
1510
|
+
{
|
|
1511
|
+
"path": "../../node_modules/@backstage-community/plugin-stackstorm/node_modules/@backstage/core-components/config.d.ts",
|
|
1512
|
+
"value": {
|
|
1513
|
+
"type": "object",
|
|
1514
|
+
"properties": {
|
|
1515
|
+
"auth": {
|
|
1516
|
+
"type": "object",
|
|
1517
|
+
"properties": {
|
|
1518
|
+
"autologout": {
|
|
1519
|
+
"description": "Autologout feature configuration",
|
|
1520
|
+
"type": "object",
|
|
1521
|
+
"properties": {
|
|
1522
|
+
"enabled": {
|
|
1523
|
+
"description": "Enable or disable the autologout feature",
|
|
1524
|
+
"visibility": "frontend",
|
|
1525
|
+
"type": "boolean"
|
|
1526
|
+
},
|
|
1527
|
+
"idleTimeoutMinutes": {
|
|
1528
|
+
"description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
|
|
1529
|
+
"visibility": "frontend",
|
|
1530
|
+
"type": "number"
|
|
1531
|
+
},
|
|
1532
|
+
"promptBeforeIdleSeconds": {
|
|
1533
|
+
"description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
|
|
1534
|
+
"visibility": "frontend",
|
|
1535
|
+
"type": "number"
|
|
1536
|
+
},
|
|
1537
|
+
"useWorkerTimers": {
|
|
1538
|
+
"description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
|
|
1539
|
+
"visibility": "frontend",
|
|
1540
|
+
"type": "boolean"
|
|
1541
|
+
},
|
|
1542
|
+
"logoutIfDisconnected": {
|
|
1543
|
+
"description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
|
|
1544
|
+
"visibility": "frontend",
|
|
1545
|
+
"type": "boolean"
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1489
1555
|
{
|
|
1490
1556
|
"path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/core-components/config.d.ts",
|
|
1491
1557
|
"value": {
|
|
@@ -2418,6 +2484,451 @@
|
|
|
2418
2484
|
},
|
|
2419
2485
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2420
2486
|
}
|
|
2487
|
+
},
|
|
2488
|
+
{
|
|
2489
|
+
"path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/integration/config.d.ts",
|
|
2490
|
+
"value": {
|
|
2491
|
+
"type": "object",
|
|
2492
|
+
"properties": {
|
|
2493
|
+
"integrations": {
|
|
2494
|
+
"description": "Configuration for integrations towards various external repository provider systems",
|
|
2495
|
+
"visibility": "frontend",
|
|
2496
|
+
"type": "object",
|
|
2497
|
+
"properties": {
|
|
2498
|
+
"azure": {
|
|
2499
|
+
"description": "Integration configuration for Azure",
|
|
2500
|
+
"type": "array",
|
|
2501
|
+
"items": {
|
|
2502
|
+
"type": "object",
|
|
2503
|
+
"properties": {
|
|
2504
|
+
"host": {
|
|
2505
|
+
"description": "The hostname of the given Azure instance",
|
|
2506
|
+
"visibility": "frontend",
|
|
2507
|
+
"type": "string"
|
|
2508
|
+
},
|
|
2509
|
+
"token": {
|
|
2510
|
+
"description": "Token used to authenticate requests.",
|
|
2511
|
+
"visibility": "secret",
|
|
2512
|
+
"deprecated": "Use `credentials` instead.",
|
|
2513
|
+
"type": "string"
|
|
2514
|
+
},
|
|
2515
|
+
"credential": {
|
|
2516
|
+
"description": "The credential to use for requests.\n\nIf no credential is specified anonymous access is used.",
|
|
2517
|
+
"deepVisibility": "secret",
|
|
2518
|
+
"deprecated": "Use `credentials` instead.",
|
|
2519
|
+
"type": "object",
|
|
2520
|
+
"properties": {
|
|
2521
|
+
"clientId": {
|
|
2522
|
+
"type": "string"
|
|
2523
|
+
},
|
|
2524
|
+
"clientSecret": {
|
|
2525
|
+
"type": "string"
|
|
2526
|
+
},
|
|
2527
|
+
"tenantId": {
|
|
2528
|
+
"type": "string"
|
|
2529
|
+
},
|
|
2530
|
+
"personalAccessToken": {
|
|
2531
|
+
"type": "string"
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
"credentials": {
|
|
2536
|
+
"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.",
|
|
2537
|
+
"deepVisibility": "secret",
|
|
2538
|
+
"type": "array",
|
|
2539
|
+
"items": {
|
|
2540
|
+
"type": "object",
|
|
2541
|
+
"properties": {
|
|
2542
|
+
"clientId": {
|
|
2543
|
+
"type": "string"
|
|
2544
|
+
},
|
|
2545
|
+
"clientSecret": {
|
|
2546
|
+
"type": "string"
|
|
2547
|
+
},
|
|
2548
|
+
"tenantId": {
|
|
2549
|
+
"type": "string"
|
|
2550
|
+
},
|
|
2551
|
+
"personalAccessToken": {
|
|
2552
|
+
"type": "string"
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
},
|
|
2558
|
+
"required": [
|
|
2559
|
+
"host"
|
|
2560
|
+
]
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
"bitbucket": {
|
|
2564
|
+
"description": "Integration configuration for Bitbucket",
|
|
2565
|
+
"deprecated": "replaced by bitbucketCloud and bitbucketServer",
|
|
2566
|
+
"type": "array",
|
|
2567
|
+
"items": {
|
|
2568
|
+
"type": "object",
|
|
2569
|
+
"properties": {
|
|
2570
|
+
"host": {
|
|
2571
|
+
"description": "The hostname of the given Bitbucket instance",
|
|
2572
|
+
"visibility": "frontend",
|
|
2573
|
+
"type": "string"
|
|
2574
|
+
},
|
|
2575
|
+
"token": {
|
|
2576
|
+
"description": "Token used to authenticate requests.",
|
|
2577
|
+
"visibility": "secret",
|
|
2578
|
+
"type": "string"
|
|
2579
|
+
},
|
|
2580
|
+
"apiBaseUrl": {
|
|
2581
|
+
"description": "The base url for the Bitbucket API, for example https://api.bitbucket.org/2.0",
|
|
2582
|
+
"visibility": "frontend",
|
|
2583
|
+
"type": "string"
|
|
2584
|
+
},
|
|
2585
|
+
"username": {
|
|
2586
|
+
"description": "The username to use for authenticated requests.",
|
|
2587
|
+
"visibility": "secret",
|
|
2588
|
+
"type": "string"
|
|
2589
|
+
},
|
|
2590
|
+
"appPassword": {
|
|
2591
|
+
"description": "Bitbucket app password used to authenticate requests.",
|
|
2592
|
+
"visibility": "secret",
|
|
2593
|
+
"type": "string"
|
|
2594
|
+
}
|
|
2595
|
+
},
|
|
2596
|
+
"required": [
|
|
2597
|
+
"host"
|
|
2598
|
+
]
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
"bitbucketCloud": {
|
|
2602
|
+
"description": "Integration configuration for Bitbucket Cloud",
|
|
2603
|
+
"type": "array",
|
|
2604
|
+
"items": {
|
|
2605
|
+
"type": "object",
|
|
2606
|
+
"properties": {
|
|
2607
|
+
"username": {
|
|
2608
|
+
"description": "The username to use for authenticated requests.",
|
|
2609
|
+
"visibility": "secret",
|
|
2610
|
+
"type": "string"
|
|
2611
|
+
},
|
|
2612
|
+
"appPassword": {
|
|
2613
|
+
"description": "Bitbucket Cloud app password used to authenticate requests.",
|
|
2614
|
+
"visibility": "secret",
|
|
2615
|
+
"type": "string"
|
|
2616
|
+
}
|
|
2617
|
+
},
|
|
2618
|
+
"required": [
|
|
2619
|
+
"appPassword",
|
|
2620
|
+
"username"
|
|
2621
|
+
]
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2624
|
+
"bitbucketServer": {
|
|
2625
|
+
"description": "Integration configuration for Bitbucket Server",
|
|
2626
|
+
"type": "array",
|
|
2627
|
+
"items": {
|
|
2628
|
+
"type": "object",
|
|
2629
|
+
"properties": {
|
|
2630
|
+
"host": {
|
|
2631
|
+
"description": "The hostname of the given Bitbucket Server instance",
|
|
2632
|
+
"visibility": "frontend",
|
|
2633
|
+
"type": "string"
|
|
2634
|
+
},
|
|
2635
|
+
"token": {
|
|
2636
|
+
"description": "Token used to authenticate requests.",
|
|
2637
|
+
"visibility": "secret",
|
|
2638
|
+
"type": "string"
|
|
2639
|
+
},
|
|
2640
|
+
"username": {
|
|
2641
|
+
"description": "Username used to authenticate requests with Basic Auth.",
|
|
2642
|
+
"visibility": "secret",
|
|
2643
|
+
"type": "string"
|
|
2644
|
+
},
|
|
2645
|
+
"password": {
|
|
2646
|
+
"description": "Password (or token as password) used to authenticate requests with Basic Auth.",
|
|
2647
|
+
"visibility": "secret",
|
|
2648
|
+
"type": "string"
|
|
2649
|
+
},
|
|
2650
|
+
"apiBaseUrl": {
|
|
2651
|
+
"description": "The base url for the Bitbucket Server API, for example https://<host>/rest/api/1.0",
|
|
2652
|
+
"visibility": "frontend",
|
|
2653
|
+
"type": "string"
|
|
2654
|
+
}
|
|
2655
|
+
},
|
|
2656
|
+
"required": [
|
|
2657
|
+
"host"
|
|
2658
|
+
]
|
|
2659
|
+
}
|
|
2660
|
+
},
|
|
2661
|
+
"gerrit": {
|
|
2662
|
+
"description": "Integration configuration for Gerrit",
|
|
2663
|
+
"type": "array",
|
|
2664
|
+
"items": {
|
|
2665
|
+
"type": "object",
|
|
2666
|
+
"properties": {
|
|
2667
|
+
"host": {
|
|
2668
|
+
"description": "The hostname of the given Gerrit instance",
|
|
2669
|
+
"visibility": "frontend",
|
|
2670
|
+
"type": "string"
|
|
2671
|
+
},
|
|
2672
|
+
"baseUrl": {
|
|
2673
|
+
"description": "The base url for the Gerrit instance.",
|
|
2674
|
+
"visibility": "frontend",
|
|
2675
|
+
"type": "string"
|
|
2676
|
+
},
|
|
2677
|
+
"gitilesBaseUrl": {
|
|
2678
|
+
"description": "The gitiles base url.",
|
|
2679
|
+
"visibility": "frontend",
|
|
2680
|
+
"type": "string"
|
|
2681
|
+
},
|
|
2682
|
+
"cloneUrl": {
|
|
2683
|
+
"description": "The base url for cloning repos.",
|
|
2684
|
+
"visibility": "frontend",
|
|
2685
|
+
"type": "string"
|
|
2686
|
+
},
|
|
2687
|
+
"username": {
|
|
2688
|
+
"description": "The username to use for authenticated requests.",
|
|
2689
|
+
"visibility": "secret",
|
|
2690
|
+
"type": "string"
|
|
2691
|
+
},
|
|
2692
|
+
"password": {
|
|
2693
|
+
"description": "Gerrit password used to authenticate requests. This can be either a password\nor a generated access token.",
|
|
2694
|
+
"visibility": "secret",
|
|
2695
|
+
"type": "string"
|
|
2696
|
+
}
|
|
2697
|
+
},
|
|
2698
|
+
"required": [
|
|
2699
|
+
"gitilesBaseUrl",
|
|
2700
|
+
"host"
|
|
2701
|
+
]
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
"github": {
|
|
2705
|
+
"description": "Integration configuration for GitHub",
|
|
2706
|
+
"type": "array",
|
|
2707
|
+
"items": {
|
|
2708
|
+
"type": "object",
|
|
2709
|
+
"properties": {
|
|
2710
|
+
"host": {
|
|
2711
|
+
"description": "The hostname of the given GitHub instance",
|
|
2712
|
+
"visibility": "frontend",
|
|
2713
|
+
"type": "string"
|
|
2714
|
+
},
|
|
2715
|
+
"token": {
|
|
2716
|
+
"description": "Token used to authenticate requests.",
|
|
2717
|
+
"visibility": "secret",
|
|
2718
|
+
"type": "string"
|
|
2719
|
+
},
|
|
2720
|
+
"apiBaseUrl": {
|
|
2721
|
+
"description": "The base url for the GitHub API, for example https://api.github.com",
|
|
2722
|
+
"visibility": "frontend",
|
|
2723
|
+
"type": "string"
|
|
2724
|
+
},
|
|
2725
|
+
"rawBaseUrl": {
|
|
2726
|
+
"description": "The base url for GitHub raw resources, for example https://raw.githubusercontent.com",
|
|
2727
|
+
"visibility": "frontend",
|
|
2728
|
+
"type": "string"
|
|
2729
|
+
},
|
|
2730
|
+
"apps": {
|
|
2731
|
+
"description": "GitHub Apps configuration",
|
|
2732
|
+
"type": "array",
|
|
2733
|
+
"items": {
|
|
2734
|
+
"type": "object",
|
|
2735
|
+
"properties": {
|
|
2736
|
+
"appId": {
|
|
2737
|
+
"description": "The numeric GitHub App ID, string for environment variables",
|
|
2738
|
+
"type": [
|
|
2739
|
+
"string",
|
|
2740
|
+
"number"
|
|
2741
|
+
]
|
|
2742
|
+
},
|
|
2743
|
+
"privateKey": {
|
|
2744
|
+
"description": "The private key to use for auth against the app",
|
|
2745
|
+
"visibility": "secret",
|
|
2746
|
+
"type": "string"
|
|
2747
|
+
},
|
|
2748
|
+
"webhookSecret": {
|
|
2749
|
+
"description": "The secret used for webhooks",
|
|
2750
|
+
"visibility": "secret",
|
|
2751
|
+
"type": "string"
|
|
2752
|
+
},
|
|
2753
|
+
"clientId": {
|
|
2754
|
+
"description": "The client ID to use",
|
|
2755
|
+
"type": "string"
|
|
2756
|
+
},
|
|
2757
|
+
"clientSecret": {
|
|
2758
|
+
"description": "The client secret to use",
|
|
2759
|
+
"visibility": "secret",
|
|
2760
|
+
"type": "string"
|
|
2761
|
+
},
|
|
2762
|
+
"allowedInstallationOwners": {
|
|
2763
|
+
"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",
|
|
2764
|
+
"type": "array",
|
|
2765
|
+
"items": {
|
|
2766
|
+
"type": "string"
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
},
|
|
2770
|
+
"required": [
|
|
2771
|
+
"appId",
|
|
2772
|
+
"clientId",
|
|
2773
|
+
"clientSecret",
|
|
2774
|
+
"privateKey",
|
|
2775
|
+
"webhookSecret"
|
|
2776
|
+
]
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
"required": [
|
|
2781
|
+
"host"
|
|
2782
|
+
]
|
|
2783
|
+
}
|
|
2784
|
+
},
|
|
2785
|
+
"gitlab": {
|
|
2786
|
+
"description": "Integration configuration for GitLab",
|
|
2787
|
+
"type": "array",
|
|
2788
|
+
"items": {
|
|
2789
|
+
"type": "object",
|
|
2790
|
+
"properties": {
|
|
2791
|
+
"host": {
|
|
2792
|
+
"description": "The host of the target that this matches on, e.g. \"gitlab.com\".",
|
|
2793
|
+
"visibility": "frontend",
|
|
2794
|
+
"type": "string"
|
|
2795
|
+
},
|
|
2796
|
+
"apiBaseUrl": {
|
|
2797
|
+
"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.",
|
|
2798
|
+
"visibility": "frontend",
|
|
2799
|
+
"type": "string"
|
|
2800
|
+
},
|
|
2801
|
+
"token": {
|
|
2802
|
+
"description": "The authorization token to use for requests to this provider.\n\nIf no token is specified, anonymous access is used.",
|
|
2803
|
+
"visibility": "secret",
|
|
2804
|
+
"type": "string"
|
|
2805
|
+
},
|
|
2806
|
+
"baseUrl": {
|
|
2807
|
+
"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}.",
|
|
2808
|
+
"visibility": "frontend",
|
|
2809
|
+
"type": "string"
|
|
2810
|
+
}
|
|
2811
|
+
},
|
|
2812
|
+
"required": [
|
|
2813
|
+
"host"
|
|
2814
|
+
]
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
"googleGcs": {
|
|
2818
|
+
"description": "Integration configuration for Google Cloud Storage",
|
|
2819
|
+
"type": "object",
|
|
2820
|
+
"properties": {
|
|
2821
|
+
"clientEmail": {
|
|
2822
|
+
"description": "Service account email used to authenticate requests.",
|
|
2823
|
+
"type": "string"
|
|
2824
|
+
},
|
|
2825
|
+
"privateKey": {
|
|
2826
|
+
"description": "Service account private key used to authenticate requests.",
|
|
2827
|
+
"visibility": "secret",
|
|
2828
|
+
"type": "string"
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
},
|
|
2832
|
+
"awsS3": {
|
|
2833
|
+
"description": "Integration configuration for AWS S3 Service",
|
|
2834
|
+
"type": "array",
|
|
2835
|
+
"items": {
|
|
2836
|
+
"type": "object",
|
|
2837
|
+
"properties": {
|
|
2838
|
+
"endpoint": {
|
|
2839
|
+
"description": "AWS Endpoint.\nThe endpoint URI to send requests to. The default endpoint is built from the configured region.",
|
|
2840
|
+
"visibility": "frontend",
|
|
2841
|
+
"type": "string"
|
|
2842
|
+
},
|
|
2843
|
+
"s3ForcePathStyle": {
|
|
2844
|
+
"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.",
|
|
2845
|
+
"visibility": "frontend",
|
|
2846
|
+
"type": "boolean"
|
|
2847
|
+
},
|
|
2848
|
+
"accessKeyId": {
|
|
2849
|
+
"description": "Account access key used to authenticate requests.",
|
|
2850
|
+
"type": "string"
|
|
2851
|
+
},
|
|
2852
|
+
"secretAccessKey": {
|
|
2853
|
+
"description": "Account secret key used to authenticate requests.",
|
|
2854
|
+
"visibility": "secret",
|
|
2855
|
+
"type": "string"
|
|
2856
|
+
},
|
|
2857
|
+
"roleArn": {
|
|
2858
|
+
"description": "ARN of the role to be assumed",
|
|
2859
|
+
"type": "string"
|
|
2860
|
+
},
|
|
2861
|
+
"externalId": {
|
|
2862
|
+
"description": "External ID to use when assuming role",
|
|
2863
|
+
"type": "string"
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
"gitea": {
|
|
2869
|
+
"description": "Integration configuration for Gitea",
|
|
2870
|
+
"type": "array",
|
|
2871
|
+
"items": {
|
|
2872
|
+
"type": "object",
|
|
2873
|
+
"properties": {
|
|
2874
|
+
"host": {
|
|
2875
|
+
"description": "The hostname of the given Gitea instance",
|
|
2876
|
+
"visibility": "frontend",
|
|
2877
|
+
"type": "string"
|
|
2878
|
+
},
|
|
2879
|
+
"baseUrl": {
|
|
2880
|
+
"description": "The base url for the Gitea instance.",
|
|
2881
|
+
"visibility": "frontend",
|
|
2882
|
+
"type": "string"
|
|
2883
|
+
},
|
|
2884
|
+
"username": {
|
|
2885
|
+
"description": "The username to use for authenticated requests.",
|
|
2886
|
+
"visibility": "secret",
|
|
2887
|
+
"type": "string"
|
|
2888
|
+
},
|
|
2889
|
+
"password": {
|
|
2890
|
+
"description": "Gitea password used to authenticate requests. This can be either a password\nor a generated access token.",
|
|
2891
|
+
"visibility": "secret",
|
|
2892
|
+
"type": "string"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
"required": [
|
|
2896
|
+
"host"
|
|
2897
|
+
]
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
"harness": {
|
|
2901
|
+
"description": "Integration configuration for Harness Code",
|
|
2902
|
+
"type": "array",
|
|
2903
|
+
"items": {
|
|
2904
|
+
"type": "object",
|
|
2905
|
+
"properties": {
|
|
2906
|
+
"host": {
|
|
2907
|
+
"description": "The hostname of the given Harness Code instance",
|
|
2908
|
+
"visibility": "frontend",
|
|
2909
|
+
"type": "string"
|
|
2910
|
+
},
|
|
2911
|
+
"apiKey": {
|
|
2912
|
+
"description": "The apikey to use for authenticated requests.",
|
|
2913
|
+
"visibility": "secret",
|
|
2914
|
+
"type": "string"
|
|
2915
|
+
},
|
|
2916
|
+
"token": {
|
|
2917
|
+
"description": "Harness Code token used to authenticate requests. This can be either a generated access token.",
|
|
2918
|
+
"visibility": "secret",
|
|
2919
|
+
"type": "string"
|
|
2920
|
+
}
|
|
2921
|
+
},
|
|
2922
|
+
"required": [
|
|
2923
|
+
"host"
|
|
2924
|
+
]
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2931
|
+
}
|
|
2421
2932
|
}
|
|
2422
2933
|
],
|
|
2423
2934
|
"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.
|
|
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.3736273c.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.6a6952b4.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.3736273c.js"></script><script defer="defer" src="/static/main.3736273c.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[124],{74616:(U,d,t)=>{var e,m=t(4293),T=t(78920);e={value:!0},d.A=void 0;var u=T(t(14041)),p=m(t(74044)),C=(0,p.default)(u.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");d.A=C},48514:(U,d,t)=>{t.d(d,{M:()=>x});var e=t(31085),m=t(58837),T=t(71677),u=t(14041),p=t(72501);const C=(0,m.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:r})=>r||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function x(r){const L=C(r);var a;return(0,e.jsx)(T.Ay,{title:(a=r.title)!==null&&a!==void 0?a:r.text||"",placement:r.placement,children:(0,e.jsx)(p.A,{className:L.typo,variant:"inherit",children:r.text})})}},48045:(U,d,t)=>{t.d(d,{n:()=>v});var e=t(31085),m=t(40703),T=t(59469),u=t(48653),p=t(45685),C=t(37197),x=t(58837),r=t(87051),L=t(53373),a=t.n(L),h=t(14041),i=t(10394),f=t(72501),P=t(74616),S=t(72072);const y=(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 A(o){const{link:n,title:s,onClick:g}=o,R=y();return(0,e.jsxs)(i.A,{children:[(0,e.jsx)(C.A,{}),(0,e.jsx)(S.N_,{to:n,onClick:g,underline:"none",children:(0,e.jsxs)(i.A,{display:"flex",alignItems:"center",className:R.root,children:[(0,e.jsx)(i.A,{className:R.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,e.jsx)(f.A,{children:(0,e.jsx)("strong",{children:s})})}),(0,e.jsx)(P.A,{className:R.arrow})]})})]})}var j=t(73896),l=t(22020),c=t(10315),H=t(87849);const K=o=>{const{slackChannel:n}=o,{t:s}=(0,H.i)(c.O);if(n){if(typeof n=="string")return(0,e.jsx)(f.A,{children:s("errorBoundary.title",{slackChannel:n})});if(!n.href)return(0,e.jsx)(f.A,{children:s("errorBoundary.title",{slackChannel:n.name})})}else return null;return(0,e.jsx)(j.z,{to:n.href,variant:"contained",children:n.name})},E=class extends h.Component{componentDidCatch(n,s){console.error(`ErrorBoundary, error: ${n}`,{error:n,errorInfo:s}),this.setState({error:n,errorInfo:s})}render(){const{slackChannel:n,children:s}=this.props,{error:g}=this.state;return g?(0,e.jsx)(l.b,{title:"Something Went Wrong",error:g,children:(0,e.jsx)(K,{slackChannel:n})}):s}constructor(n){super(n),this.state={error:void 0,errorInfo:void 0}}},O=(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"}),k=(0,r.A)(o=>({root:{display:"inline-block",padding:o.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(T.A),D={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 v(o){const{title:n,subheader:s,divider:g=!0,deepLink:R,slackChannel:N,errorBoundaryProps:I,variant:F,alignContent:b="normal",children:M,headerStyle:z,headerProps:B,icon:w,action:G,actionsClassName:Q,actions:$,cardClassName:Z,actionsTopRight:J,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:et}=o,W=O();let V={},Y={};F&&F.split(/[\s]+/g).forEach(X=>{V={...V,...D.card[X]},Y={...Y,...D.cardContent[X]}});const nt=()=>!s&&!w?null:(0,e.jsxs)("div",{"data-testid":"info-card-subheader",children:[s&&(0,e.jsx)("div",{className:W.subheader,children:s}),w]}),ot=I||(N?{slackChannel:N}:{});return(0,e.jsx)(m.A,{style:V,className:q,children:(0,e.jsxs)(E,{...ot,children:[n&&(0,e.jsx)(p.A,{classes:{root:a()(W.header),title:W.headerTitle,subheader:W.headerSubheader,avatar:W.headerAvatar,action:W.headerAction,content:W.headerContent},title:n,subheader:nt(),action:G,style:{...z},titleTypographyProps:tt,subheaderTypographyProps:et,...B}),J&&(0,e.jsx)(k,{children:J}),g&&(0,e.jsx)(C.A,{}),(0,e.jsx)(u.A,{className:a()(Z,{[W.noPadding]:_,[W.contentAlignBottom]:b==="bottom"}),style:Y,children:M}),$&&(0,e.jsx)(T.A,{className:Q,children:$}),R&&(0,e.jsx)(A,{...R})]})})}},89648:(U,d,t)=>{t.d(d,{s:()=>S});var e=t(31085),m=t(58837),T=t(14041),u=t(51372),p=t(48514),C=t(67871),x=t(90184),r=t(8859),L=t(34428);const a=Object.freeze({createEntityRefColumn(y){const{defaultKind:A}=y;function j(l){var c;return((c=l.metadata)===null||c===void 0?void 0:c.title)||(0,x.S)(l,{defaultKind:A})}return{title:"Name",highlight:!0,customFilterAndSearch(l,c){return j(c).includes(l)},customSort(l,c){return j(l).localeCompare(j(c))},render:l=>{var c;return(0,e.jsx)(r.z,{entityRef:l,defaultKind:A,title:(c=l.metadata)===null||c===void 0?void 0:c.title})}}},createEntityRelationColumn(y){const{title:A,relation:j,defaultKind:l,filter:c}=y;function H(E){return(0,C.t)(E,j,c)}function K(E){return H(E).map(O=>(0,x.S)(O,{defaultKind:l})).join(", ")}return{title:A,customFilterAndSearch(E,O){return K(O).includes(E)},customSort(E,O){return K(E).localeCompare(K(O))},render:E=>(0,e.jsx)(L.i,{entityRefs:H(E),defaultKind:l})}},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:y=>(0,e.jsx)(p.M,{text:y.metadata.description,placement:"bottom-start",line:2})}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"spec.lifecycle"}},createSpecTypeColumn(){return{title:"Type",field:"spec.type"}}}),h=[a.createEntityRefColumn({defaultKind:"system"}),a.createDomainColumn(),a.createOwnerColumn(),a.createMetadataDescriptionColumn()],i=[a.createEntityRefColumn({defaultKind:"component"}),a.createSystemColumn(),a.createOwnerColumn(),a.createSpecTypeColumn(),a.createSpecLifecycleColumn(),a.createMetadataDescriptionColumn()];var f=t(14209);const P=(0,m.A)(y=>({empty:{padding:y.spacing(2),display:"flex",justifyContent:"center"}})),S=y=>{const{entities:A,title:j,emptyContent:l,variant:c="gridItem",columns:H,tableOptions:K={}}=y,E=P(),O={minWidth:"0",width:"100%"};return c==="gridItem"&&(O.height="calc(100% - 10px)"),(0,e.jsx)(f.X,{columns:H,title:j,style:O,emptyContent:l&&(0,e.jsx)("div",{className:E.empty,children:l}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...K},data:A})};S.columns=a,S.systemEntityColumns=h,S.componentEntityColumns=i},99538:(U,d,t)=>{t.d(d,{T7:()=>r,TY:()=>h,tN:()=>a});var e=t(31085),m=t(6820),T=t(25862),u=t(43836),p=t(10602),C=t(14041);const x=(0,u.tK)("entity-context"),r=i=>{const{children:f,entity:P,loading:S,error:y,refresh:A}=i,j={entity:P,loading:S,error:y,refresh:A};return(0,e.jsx)(x.Provider,{value:(0,p.B)({1:j}),children:(0,e.jsx)(T.Ig,{attributes:{...P?{entityRef:(0,m.U2)(P)}:void 0},children:f})})},L=i=>_jsx(r,{entity:i.entity,loading:!i.entity,error:void 0,refresh:void 0,children:i.children});function a(){const i=(0,u.qO)("entity-context");if(!i)throw new Error("Entity context is not available");const f=i.atVersion(1);if(!f)throw new Error("EntityContext v1 not available");if(!f.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:f.entity}}function h(){const i=(0,u.qO)("entity-context");if(!i)throw new Error("Entity context is not available");const f=i.atVersion(1);if(!f)throw new Error("EntityContext v1 not available");const{entity:P,loading:S,error:y,refresh:A}=f;return{entity:P,loading:S,error:y,refresh:A}}},124:(U,d,t)=>{t.r(d),t.d(d,{DependencyOfComponentsCard:()=>r});var e=t(31085),m=t(51372),T=t(14041),u=t(59251),p=t(48105),C=t(98508),x=t(87849);function r(L){const{t:a}=(0,x.i)(C.W),{variant:h="gridItem",title:i=a("dependencyOfComponentsCard.title")}=L;return(0,e.jsx)(u.p,{variant:h,title:i,entityKind:"Component",relationType:m.fT,columns:p.mz,emptyMessage:a("dependencyOfComponentsCard.emptyMessage"),emptyHelpLink:p.e2,asRenderableEntities:p.xJ})}},59251:(U,d,t)=>{t.d(d,{p:()=>k});var e=t(31085),m=t(72501),T=t(99538),u=t(6820),p=t(72427),C=t(73466),x=t(7341);function r(D,v){var o,n;const s=v==null||(o=v.type)===null||o===void 0?void 0:o.toLocaleLowerCase("en-US"),g=v==null||(n=v.kind)===null||n===void 0?void 0:n.toLocaleLowerCase("en-US"),R=(0,p.gf)(x.v),{loading:N,value:I,error:F}=(0,C.A)(async()=>{var b;const M=(b=D.relations)===null||b===void 0?void 0:b.filter(B=>(!s||B.type.toLocaleLowerCase("en-US")===s)&&(!g||(0,u.KU)(B.targetRef).kind===g));if(!(M!=null&&M.length))return[];const{items:z}=await R.getEntitiesByRefs({entityRefs:M.map(B=>B.targetRef)});return z.filter(B=>!!B)},[D,s,g]);return{entities:I,loading:N,error:F}}var L=t(89648),a=t(14041),h=t(48045),i=t(68146),f=t(58837),P=t(37197),S=t(8109),y=t(5951),A=t(77310),j=t(37916),l=t(22020);const c=(0,f.A)(D=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:D.spacing(2)},divider:{margin:D.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function H(D){var v;const{title:o,error:n,defaultExpanded:s}=D,g=c();if(n.name!=="ResponseError")return(0,e.jsx)(l.b,{title:o!=null?o:n.message,defaultExpanded:s,error:n});const{body:R,cause:N}=n,{request:I,response:F}=R,b=`${F.statusCode}: ${N.name}`,M=I&&`${I.method} ${I.url}`,z=N.message.replace(/\\n/g,`
|
|
2
|
+
`),B=(v=N.stack)===null||v===void 0?void 0:v.replace(/\\n/g,`
|
|
3
|
+
`),w=JSON.stringify(R,void 0,2);return(0,e.jsxs)(l.b,{title:o!=null?o:n.message,defaultExpanded:s,error:{name:b,message:z,stack:B},children:[M&&(0,e.jsxs)(S.A,{alignItems:"flex-start",children:[(0,e.jsx)(y.A,{classes:{secondary:g.text},primary:"Request",secondary:I?`${M}`:void 0}),(0,e.jsx)(j.l,{text:M})]}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(P.A,{component:"li",className:g.divider}),(0,e.jsx)(S.A,{alignItems:"flex-start",children:(0,e.jsx)(y.A,{classes:{secondary:g.text},primary:"Full Error as JSON"})}),(0,e.jsx)(A.z,{language:"json",text:w,showCopyCodeButton:!0})]})]})}var K=t(72072),E=t(98508),O=t(87849);function k(D){const{variant:v="gridItem",title:o,columns:n,entityKind:s,relationType:g,emptyMessage:R,emptyHelpLink:N,asRenderableEntities:I,tableOptions:F={}}=D,{t:b}=(0,O.i)(E.W),{entity:M}=(0,T.tN)(),{entities:z,loading:B,error:w}=r(M,{type:g,kind:s});return B?(0,e.jsx)(h.n,{variant:v,title:o,children:(0,e.jsx)(i.k,{})}):w?(0,e.jsx)(h.n,{variant:v,title:o,children:(0,e.jsx)(H,{error:w})}):(0,e.jsx)(L.s,{title:o,variant:v,emptyContent:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)(m.A,{variant:"body1",children:R}),(0,e.jsx)(m.A,{variant:"body2",children:(0,e.jsx)(K.N_,{to:N,children:b("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:n,entities:I(z||[]),tableOptions:F})}},48105:(U,d,t)=>{t.d(d,{MW:()=>r,e2:()=>T,eB:()=>x,iU:()=>L,mz:()=>m,nz:()=>C,v9:()=>p,vy:()=>a,xJ:()=>u});var e=t(89648);const m=[e.s.columns.createEntityRefColumn({defaultKind:"component"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],T="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",u=h=>h,p=[e.s.columns.createEntityRefColumn({defaultKind:"resource"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],C="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",x=h=>h,r=[e.s.columns.createEntityRefColumn({defaultKind:"system"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],L="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",a=h=>h},98508:(U,d,t)=>{t.d(d,{W:()=>m});var e=t(93184);const m=(0,e.h)({id:"catalog",messages:{indexPage:{title:"{{orgName}} Catalog",createButtonTitle:"Create",supportButtonContent:"All your software catalog entities"},aboutCard:{title:"About",refreshButtonTitle:"Schedule entity refresh",editButtonTitle:"Edit Metadata",createSimilarButtonTitle:"Create something similar",refreshScheduledMessage:"Refresh scheduled",launchTemplate:"Launch Template",viewTechdocs:"View TechDocs",viewSource:"View Source",descriptionField:{label:"Description",value:"No description"},ownerField:{label:"Owner",value:"No Owner"},domainField:{label:"Domain",value:"No Domain"},systemField:{label:"System",value:"No System"},parentComponentField:{label:"Parent Component",value:"No Parent Component"},typeField:{label:"Type"},lifecycleField:{label:"Lifecycle"},tagsField:{label:"Tags",value:"No Tags"},targetsField:{label:"Targets"}},searchResultItem:{lifecycle:"Lifecycle",Owner:"Owner"},catalogTable:{warningPanelTitle:"Could not fetch catalog entities.",viewActionTitle:"View",editActionTitle:"Edit",starActionTitle:"Add to favorites",unStarActionTitle:"Remove from favorites"},dependencyOfComponentsCard:{title:"Dependency of components",emptyMessage:"No component depends on this component"},dependsOnComponentsCard:{title:"Depends on components",emptyMessage:"No component is a dependency of this component"},dependsOnResourcesCard:{title:"Depends on resources",emptyMessage:"No resource is a dependency of this component"},entityContextMenu:{copiedMessage:"Copied!",moreButtonTitle:"More",inspectMenuTitle:"Inspect entity",copyURLMenuTitle:"Copy entity URL",unregisterMenuTitle:"Unregister entity"},entityLabelsCard:{title:"Labels",emptyDescription:"No labels defined for this entity. You can add labels to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityLabels:{warningPanelTitle:"Entity not found",ownerLabel:"Owner",lifecycleLabel:"Lifecycle"},entityLinksCard:{title:"Links",emptyDescription:"No links defined for this entity. You can add links to your entity YAML as shown in the highlighted example below:",readMoreButtonTitle:"Read more"},entityNotFound:{title:"Entity was not found",description:"Want to help us build this? Check out our Getting Started documentation.",docButtonTitle:"DOCS"},deleteEntity:{dialogTitle:"Are you sure you want to delete this entity?",deleteButtonTitle:"Delete",cancelButtonTitle:"Cancel",description:"This entity is not referenced by any location and is therefore not receiving updates. Click here to delete."},entityProcessingErrorsDescription:"The error below originates from",entityRelationWarningDescription:`This entity has relations to other entities, which can't be found in the catalog.
|
|
4
|
+
Entities not found are: `,hasComponentsCard:{title:"Has components",emptyMessage:"No component is part of this system"},hasResourcesCard:{title:"Has resources",emptyMessage:"No resource is part of this system"},hasSubcomponentsCard:{title:"Has subcomponents",emptyMessage:"No subcomponent is part of this component"},hasSystemsCard:{title:"Has systems",emptyMessage:"No system is part of this domain"},relatedEntitiesCard:{emptyHelpLinkTitle:"Learn how to change this."},systemDiagramCard:{title:"System Diagram",description:"Use pinch & zoo to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})}}]);})();
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=124.e854231e.chunk.js.map
|