@techdocs/cli 1.8.19-next.2 → 1.8.20-next.0

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 (66) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/embedded-app/.config-schema.json +45 -427
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/index.html.tmpl +1 -1
  5. package/dist/embedded-app/static/{124.6a72bb60.chunk.js → 124.b47d39f0.chunk.js} +3 -3
  6. package/dist/embedded-app/static/124.b47d39f0.chunk.js.map +1 -0
  7. package/dist/embedded-app/static/{1297.56016a00.chunk.js → 1297.bdbb2ab3.chunk.js} +2 -2
  8. package/dist/embedded-app/static/{1297.56016a00.chunk.js.map → 1297.bdbb2ab3.chunk.js.map} +1 -1
  9. package/dist/embedded-app/static/2177.9af93c36.chunk.js +4 -0
  10. package/dist/embedded-app/static/2177.9af93c36.chunk.js.map +1 -0
  11. package/dist/embedded-app/static/{2401.5800894a.chunk.js → 2401.35bcb315.chunk.js} +4 -4
  12. package/dist/embedded-app/static/2401.35bcb315.chunk.js.map +1 -0
  13. package/dist/embedded-app/static/{2420.ec71550f.chunk.js → 2420.860e0793.chunk.js} +3 -3
  14. package/dist/embedded-app/static/2420.860e0793.chunk.js.map +1 -0
  15. package/dist/embedded-app/static/{287.cb167bf5.chunk.js → 287.47551c87.chunk.js} +3 -3
  16. package/dist/embedded-app/static/287.47551c87.chunk.js.map +1 -0
  17. package/dist/embedded-app/static/{3182.c93f3ad2.chunk.js → 3182.98e9d2a1.chunk.js} +2 -2
  18. package/dist/embedded-app/static/{3182.c93f3ad2.chunk.js.map → 3182.98e9d2a1.chunk.js.map} +1 -1
  19. package/dist/embedded-app/static/{3632.79d8d08e.chunk.js → 3632.9a960ad0.chunk.js} +3 -3
  20. package/dist/embedded-app/static/3632.9a960ad0.chunk.js.map +1 -0
  21. package/dist/embedded-app/static/5184.a71ad88e.chunk.js +3 -0
  22. package/dist/embedded-app/static/5184.a71ad88e.chunk.js.map +1 -0
  23. package/dist/embedded-app/static/5724.3b064b18.chunk.js +4 -0
  24. package/dist/embedded-app/static/5724.3b064b18.chunk.js.map +1 -0
  25. package/dist/embedded-app/static/{6271.a9677342.chunk.js → 6271.eb3d4c17.chunk.js} +3 -3
  26. package/dist/embedded-app/static/6271.eb3d4c17.chunk.js.map +1 -0
  27. package/dist/embedded-app/static/{6415.fdd76cbd.chunk.js → 6415.f399ab03.chunk.js} +4 -4
  28. package/dist/embedded-app/static/6415.f399ab03.chunk.js.map +1 -0
  29. package/dist/embedded-app/static/{8307.59399604.chunk.js → 8307.39e989c7.chunk.js} +2 -2
  30. package/dist/embedded-app/static/{8307.59399604.chunk.js.map → 8307.39e989c7.chunk.js.map} +1 -1
  31. package/dist/embedded-app/static/{8384.e7a39178.chunk.js → 8384.1a62b18a.chunk.js} +4 -4
  32. package/dist/embedded-app/static/8384.1a62b18a.chunk.js.map +1 -0
  33. package/dist/embedded-app/static/9605.7441e12c.chunk.js +11 -0
  34. package/dist/embedded-app/static/9605.7441e12c.chunk.js.map +1 -0
  35. package/dist/embedded-app/static/{9652.1693197c.chunk.js → 9652.4e8f3b00.chunk.js} +3 -3
  36. package/dist/embedded-app/static/9652.4e8f3b00.chunk.js.map +1 -0
  37. package/dist/embedded-app/static/main.500b1c12.js +533 -0
  38. package/dist/embedded-app/static/main.500b1c12.js.map +1 -0
  39. package/dist/embedded-app/static/{module-material-ui.91ae9db1.js → module-material-ui.116dde6e.js} +2 -2
  40. package/dist/embedded-app/static/module-material-ui.116dde6e.js.map +1 -0
  41. package/dist/embedded-app/static/{runtime.835725b1.js → runtime.500b1c12.js} +2 -2
  42. package/dist/embedded-app/static/{runtime.835725b1.js.map → runtime.500b1c12.js.map} +1 -1
  43. package/dist/embedded-app/static/{vendor.835725b1.js → vendor.500b1c12.js} +1 -1
  44. package/dist/embedded-app/static/{vendor.835725b1.js.map → vendor.500b1c12.js.map} +1 -1
  45. package/dist/index.cjs.js +1 -1
  46. package/package.json +35 -35
  47. package/dist/embedded-app/static/124.6a72bb60.chunk.js.map +0 -1
  48. package/dist/embedded-app/static/2177.75b21fde.chunk.js +0 -4
  49. package/dist/embedded-app/static/2177.75b21fde.chunk.js.map +0 -1
  50. package/dist/embedded-app/static/2401.5800894a.chunk.js.map +0 -1
  51. package/dist/embedded-app/static/2420.ec71550f.chunk.js.map +0 -1
  52. package/dist/embedded-app/static/287.cb167bf5.chunk.js.map +0 -1
  53. package/dist/embedded-app/static/3632.79d8d08e.chunk.js.map +0 -1
  54. package/dist/embedded-app/static/5724.6bcea8b5.chunk.js +0 -4
  55. package/dist/embedded-app/static/5724.6bcea8b5.chunk.js.map +0 -1
  56. package/dist/embedded-app/static/6271.a9677342.chunk.js.map +0 -1
  57. package/dist/embedded-app/static/6415.fdd76cbd.chunk.js.map +0 -1
  58. package/dist/embedded-app/static/8115.92c30e65.chunk.js +0 -3
  59. package/dist/embedded-app/static/8115.92c30e65.chunk.js.map +0 -1
  60. package/dist/embedded-app/static/8384.e7a39178.chunk.js.map +0 -1
  61. package/dist/embedded-app/static/9605.65ef8158.chunk.js +0 -11
  62. package/dist/embedded-app/static/9605.65ef8158.chunk.js.map +0 -1
  63. package/dist/embedded-app/static/9652.1693197c.chunk.js.map +0 -1
  64. package/dist/embedded-app/static/main.835725b1.js +0 -510
  65. package/dist/embedded-app/static/main.835725b1.js.map +0 -1
  66. package/dist/embedded-app/static/module-material-ui.91ae9db1.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @techdocs/cli
2
2
 
3
+ ## 1.8.20-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-defaults@0.5.1-next.0
9
+ - @backstage/catalog-model@1.7.0
10
+ - @backstage/cli-common@0.1.14
11
+ - @backstage/config@1.2.0
12
+ - @backstage/plugin-techdocs-node@1.12.12-next.0
13
+
14
+ ## 1.8.19
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @backstage/backend-defaults@0.5.0
20
+ - @backstage/plugin-techdocs-node@1.12.11
21
+ - @backstage/catalog-model@1.7.0
22
+ - @backstage/cli-common@0.1.14
23
+ - @backstage/config@1.2.0
24
+
3
25
  ## 1.8.19-next.2
4
26
 
5
27
  ### Patch Changes
@@ -1082,7 +1082,7 @@
1082
1082
  }
1083
1083
  },
1084
1084
  {
1085
- "path": "../backend-common/config.d.ts",
1085
+ "path": "../../node_modules/@backstage/backend-common/config.d.ts",
1086
1086
  "value": {
1087
1087
  "type": "object",
1088
1088
  "properties": {
@@ -1613,6 +1613,24 @@
1613
1613
  "$schema": "http://json-schema.org/draft-07/schema#"
1614
1614
  }
1615
1615
  },
1616
+ {
1617
+ "path": "../../node_modules/@backstage/backend-common/node_modules/@backstage/backend-plugin-api/config.d.ts",
1618
+ "value": {
1619
+ "type": "object",
1620
+ "properties": {
1621
+ "backend": {
1622
+ "type": "object",
1623
+ "properties": {
1624
+ "workingDirectory": {
1625
+ "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1626
+ "type": "string"
1627
+ }
1628
+ }
1629
+ }
1630
+ },
1631
+ "$schema": "http://json-schema.org/draft-07/schema#"
1632
+ }
1633
+ },
1616
1634
  {
1617
1635
  "path": "../integration-aws-node/config.d.ts",
1618
1636
  "value": {
@@ -2589,442 +2607,42 @@
2589
2607
  }
2590
2608
  },
2591
2609
  {
2592
- "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/integration/config.d.ts",
2610
+ "path": "../../node_modules/@backstage-community/plugin-puppetdb/node_modules/@backstage/plugin-catalog-react/node_modules/@backstage/core-components/config.d.ts",
2593
2611
  "value": {
2594
2612
  "type": "object",
2595
2613
  "properties": {
2596
- "integrations": {
2597
- "description": "Configuration for integrations towards various external repository provider systems",
2598
- "visibility": "frontend",
2614
+ "auth": {
2599
2615
  "type": "object",
2600
2616
  "properties": {
2601
- "azure": {
2602
- "description": "Integration configuration for Azure",
2603
- "type": "array",
2604
- "items": {
2605
- "type": "object",
2606
- "properties": {
2607
- "host": {
2608
- "description": "The hostname of the given Azure instance",
2609
- "visibility": "frontend",
2610
- "type": "string"
2611
- },
2612
- "token": {
2613
- "description": "Token used to authenticate requests.",
2614
- "visibility": "secret",
2615
- "deprecated": "Use `credentials` instead.",
2616
- "type": "string"
2617
- },
2618
- "credential": {
2619
- "description": "The credential to use for requests.\n\nIf no credential is specified anonymous access is used.",
2620
- "deepVisibility": "secret",
2621
- "deprecated": "Use `credentials` instead.",
2622
- "type": "object",
2623
- "properties": {
2624
- "clientId": {
2625
- "type": "string"
2626
- },
2627
- "clientSecret": {
2628
- "type": "string"
2629
- },
2630
- "tenantId": {
2631
- "type": "string"
2632
- },
2633
- "personalAccessToken": {
2634
- "type": "string"
2635
- }
2636
- }
2637
- },
2638
- "credentials": {
2639
- "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.",
2640
- "deepVisibility": "secret",
2641
- "type": "array",
2642
- "items": {
2643
- "type": "object",
2644
- "properties": {
2645
- "clientId": {
2646
- "type": "string"
2647
- },
2648
- "clientSecret": {
2649
- "type": "string"
2650
- },
2651
- "tenantId": {
2652
- "type": "string"
2653
- },
2654
- "personalAccessToken": {
2655
- "type": "string"
2656
- }
2657
- }
2658
- }
2659
- }
2660
- },
2661
- "required": [
2662
- "host"
2663
- ]
2664
- }
2665
- },
2666
- "bitbucket": {
2667
- "description": "Integration configuration for Bitbucket",
2668
- "deprecated": "replaced by bitbucketCloud and bitbucketServer",
2669
- "type": "array",
2670
- "items": {
2671
- "type": "object",
2672
- "properties": {
2673
- "host": {
2674
- "description": "The hostname of the given Bitbucket instance",
2675
- "visibility": "frontend",
2676
- "type": "string"
2677
- },
2678
- "token": {
2679
- "description": "Token used to authenticate requests.",
2680
- "visibility": "secret",
2681
- "type": "string"
2682
- },
2683
- "apiBaseUrl": {
2684
- "description": "The base url for the Bitbucket API, for example https://api.bitbucket.org/2.0",
2685
- "visibility": "frontend",
2686
- "type": "string"
2687
- },
2688
- "username": {
2689
- "description": "The username to use for authenticated requests.",
2690
- "visibility": "secret",
2691
- "type": "string"
2692
- },
2693
- "appPassword": {
2694
- "description": "Bitbucket app password used to authenticate requests.",
2695
- "visibility": "secret",
2696
- "type": "string"
2697
- }
2698
- },
2699
- "required": [
2700
- "host"
2701
- ]
2702
- }
2703
- },
2704
- "bitbucketCloud": {
2705
- "description": "Integration configuration for Bitbucket Cloud",
2706
- "type": "array",
2707
- "items": {
2708
- "type": "object",
2709
- "properties": {
2710
- "username": {
2711
- "description": "The username to use for authenticated requests.",
2712
- "visibility": "secret",
2713
- "type": "string"
2714
- },
2715
- "appPassword": {
2716
- "description": "Bitbucket Cloud app password used to authenticate requests.",
2717
- "visibility": "secret",
2718
- "type": "string"
2719
- }
2720
- },
2721
- "required": [
2722
- "appPassword",
2723
- "username"
2724
- ]
2725
- }
2726
- },
2727
- "bitbucketServer": {
2728
- "description": "Integration configuration for Bitbucket Server",
2729
- "type": "array",
2730
- "items": {
2731
- "type": "object",
2732
- "properties": {
2733
- "host": {
2734
- "description": "The hostname of the given Bitbucket Server instance",
2735
- "visibility": "frontend",
2736
- "type": "string"
2737
- },
2738
- "token": {
2739
- "description": "Token used to authenticate requests.",
2740
- "visibility": "secret",
2741
- "type": "string"
2742
- },
2743
- "username": {
2744
- "description": "Username used to authenticate requests with Basic Auth.",
2745
- "visibility": "secret",
2746
- "type": "string"
2747
- },
2748
- "password": {
2749
- "description": "Password (or token as password) used to authenticate requests with Basic Auth.",
2750
- "visibility": "secret",
2751
- "type": "string"
2752
- },
2753
- "apiBaseUrl": {
2754
- "description": "The base url for the Bitbucket Server API, for example https://<host>/rest/api/1.0",
2755
- "visibility": "frontend",
2756
- "type": "string"
2757
- }
2758
- },
2759
- "required": [
2760
- "host"
2761
- ]
2762
- }
2763
- },
2764
- "gerrit": {
2765
- "description": "Integration configuration for Gerrit",
2766
- "type": "array",
2767
- "items": {
2768
- "type": "object",
2769
- "properties": {
2770
- "host": {
2771
- "description": "The hostname of the given Gerrit instance",
2772
- "visibility": "frontend",
2773
- "type": "string"
2774
- },
2775
- "baseUrl": {
2776
- "description": "The base url for the Gerrit instance.",
2777
- "visibility": "frontend",
2778
- "type": "string"
2779
- },
2780
- "gitilesBaseUrl": {
2781
- "description": "The gitiles base url.",
2782
- "visibility": "frontend",
2783
- "type": "string"
2784
- },
2785
- "cloneUrl": {
2786
- "description": "The base url for cloning repos.",
2787
- "visibility": "frontend",
2788
- "type": "string"
2789
- },
2790
- "username": {
2791
- "description": "The username to use for authenticated requests.",
2792
- "visibility": "secret",
2793
- "type": "string"
2794
- },
2795
- "password": {
2796
- "description": "Gerrit password used to authenticate requests. This can be either a password\nor a generated access token.",
2797
- "visibility": "secret",
2798
- "type": "string"
2799
- }
2800
- },
2801
- "required": [
2802
- "gitilesBaseUrl",
2803
- "host"
2804
- ]
2805
- }
2806
- },
2807
- "github": {
2808
- "description": "Integration configuration for GitHub",
2809
- "type": "array",
2810
- "items": {
2811
- "type": "object",
2812
- "properties": {
2813
- "host": {
2814
- "description": "The hostname of the given GitHub instance",
2815
- "visibility": "frontend",
2816
- "type": "string"
2817
- },
2818
- "token": {
2819
- "description": "Token used to authenticate requests.",
2820
- "visibility": "secret",
2821
- "type": "string"
2822
- },
2823
- "apiBaseUrl": {
2824
- "description": "The base url for the GitHub API, for example https://api.github.com",
2825
- "visibility": "frontend",
2826
- "type": "string"
2827
- },
2828
- "rawBaseUrl": {
2829
- "description": "The base url for GitHub raw resources, for example https://raw.githubusercontent.com",
2830
- "visibility": "frontend",
2831
- "type": "string"
2832
- },
2833
- "apps": {
2834
- "description": "GitHub Apps configuration",
2835
- "type": "array",
2836
- "items": {
2837
- "type": "object",
2838
- "properties": {
2839
- "appId": {
2840
- "description": "The numeric GitHub App ID, string for environment variables",
2841
- "type": [
2842
- "string",
2843
- "number"
2844
- ]
2845
- },
2846
- "privateKey": {
2847
- "description": "The private key to use for auth against the app",
2848
- "visibility": "secret",
2849
- "type": "string"
2850
- },
2851
- "webhookSecret": {
2852
- "description": "The secret used for webhooks",
2853
- "visibility": "secret",
2854
- "type": "string"
2855
- },
2856
- "clientId": {
2857
- "description": "The client ID to use",
2858
- "type": "string"
2859
- },
2860
- "clientSecret": {
2861
- "description": "The client secret to use",
2862
- "visibility": "secret",
2863
- "type": "string"
2864
- },
2865
- "allowedInstallationOwners": {
2866
- "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",
2867
- "type": "array",
2868
- "items": {
2869
- "type": "string"
2870
- }
2871
- }
2872
- },
2873
- "required": [
2874
- "appId",
2875
- "clientId",
2876
- "clientSecret",
2877
- "privateKey",
2878
- "webhookSecret"
2879
- ]
2880
- }
2881
- }
2882
- },
2883
- "required": [
2884
- "host"
2885
- ]
2886
- }
2887
- },
2888
- "gitlab": {
2889
- "description": "Integration configuration for GitLab",
2890
- "type": "array",
2891
- "items": {
2892
- "type": "object",
2893
- "properties": {
2894
- "host": {
2895
- "description": "The host of the target that this matches on, e.g. \"gitlab.com\".",
2896
- "visibility": "frontend",
2897
- "type": "string"
2898
- },
2899
- "apiBaseUrl": {
2900
- "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.",
2901
- "visibility": "frontend",
2902
- "type": "string"
2903
- },
2904
- "token": {
2905
- "description": "The authorization token to use for requests to this provider.\n\nIf no token is specified, anonymous access is used.",
2906
- "visibility": "secret",
2907
- "type": "string"
2908
- },
2909
- "baseUrl": {
2910
- "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}.",
2911
- "visibility": "frontend",
2912
- "type": "string"
2913
- }
2914
- },
2915
- "required": [
2916
- "host"
2917
- ]
2918
- }
2919
- },
2920
- "googleGcs": {
2921
- "description": "Integration configuration for Google Cloud Storage",
2617
+ "autologout": {
2618
+ "description": "Autologout feature configuration",
2922
2619
  "type": "object",
2923
2620
  "properties": {
2924
- "clientEmail": {
2925
- "description": "Service account email used to authenticate requests.",
2926
- "type": "string"
2621
+ "enabled": {
2622
+ "description": "Enable or disable the autologout feature",
2623
+ "visibility": "frontend",
2624
+ "type": "boolean"
2927
2625
  },
2928
- "privateKey": {
2929
- "description": "Service account private key used to authenticate requests.",
2930
- "visibility": "secret",
2931
- "type": "string"
2932
- }
2933
- }
2934
- },
2935
- "awsS3": {
2936
- "description": "Integration configuration for AWS S3 Service",
2937
- "type": "array",
2938
- "items": {
2939
- "type": "object",
2940
- "properties": {
2941
- "endpoint": {
2942
- "description": "AWS Endpoint.\nThe endpoint URI to send requests to. The default endpoint is built from the configured region.",
2943
- "visibility": "frontend",
2944
- "type": "string"
2945
- },
2946
- "s3ForcePathStyle": {
2947
- "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.",
2948
- "visibility": "frontend",
2949
- "type": "boolean"
2950
- },
2951
- "accessKeyId": {
2952
- "description": "Account access key used to authenticate requests.",
2953
- "type": "string"
2954
- },
2955
- "secretAccessKey": {
2956
- "description": "Account secret key used to authenticate requests.",
2957
- "visibility": "secret",
2958
- "type": "string"
2959
- },
2960
- "roleArn": {
2961
- "description": "ARN of the role to be assumed",
2962
- "type": "string"
2963
- },
2964
- "externalId": {
2965
- "description": "External ID to use when assuming role",
2966
- "type": "string"
2967
- }
2968
- }
2969
- }
2970
- },
2971
- "gitea": {
2972
- "description": "Integration configuration for Gitea",
2973
- "type": "array",
2974
- "items": {
2975
- "type": "object",
2976
- "properties": {
2977
- "host": {
2978
- "description": "The hostname of the given Gitea instance",
2979
- "visibility": "frontend",
2980
- "type": "string"
2981
- },
2982
- "baseUrl": {
2983
- "description": "The base url for the Gitea instance.",
2984
- "visibility": "frontend",
2985
- "type": "string"
2986
- },
2987
- "username": {
2988
- "description": "The username to use for authenticated requests.",
2989
- "visibility": "secret",
2990
- "type": "string"
2991
- },
2992
- "password": {
2993
- "description": "Gitea password used to authenticate requests. This can be either a password\nor a generated access token.",
2994
- "visibility": "secret",
2995
- "type": "string"
2996
- }
2626
+ "idleTimeoutMinutes": {
2627
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
2628
+ "visibility": "frontend",
2629
+ "type": "number"
2997
2630
  },
2998
- "required": [
2999
- "host"
3000
- ]
3001
- }
3002
- },
3003
- "harness": {
3004
- "description": "Integration configuration for Harness Code",
3005
- "type": "array",
3006
- "items": {
3007
- "type": "object",
3008
- "properties": {
3009
- "host": {
3010
- "description": "The hostname of the given Harness Code instance",
3011
- "visibility": "frontend",
3012
- "type": "string"
3013
- },
3014
- "apiKey": {
3015
- "description": "The apikey to use for authenticated requests.",
3016
- "visibility": "secret",
3017
- "type": "string"
3018
- },
3019
- "token": {
3020
- "description": "Harness Code token used to authenticate requests. This can be either a generated access token.",
3021
- "visibility": "secret",
3022
- "type": "string"
3023
- }
2631
+ "promptBeforeIdleSeconds": {
2632
+ "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.",
2633
+ "visibility": "frontend",
2634
+ "type": "number"
3024
2635
  },
3025
- "required": [
3026
- "host"
3027
- ]
2636
+ "useWorkerTimers": {
2637
+ "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.",
2638
+ "visibility": "frontend",
2639
+ "type": "boolean"
2640
+ },
2641
+ "logoutIfDisconnected": {
2642
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
2643
+ "visibility": "frontend",
2644
+ "type": "boolean"
2645
+ }
3028
2646
  }
3029
2647
  }
3030
2648
  }
@@ -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.835725b1.js"></script><script defer="defer" src="/static/module-material-ui.91ae9db1.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f5e57c92.js"></script><script defer="defer" src="/static/module-material-table.84f30b2f.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-router.fae32787.js"></script><script defer="defer" src="/static/module-react-router-dom.bf7ca63f.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/vendor.835725b1.js"></script><script defer="defer" src="/static/main.835725b1.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.500b1c12.js"></script><script defer="defer" src="/static/module-material-ui.116dde6e.js"></script><script defer="defer" src="/static/module-lodash.aa647045.js"></script><script defer="defer" src="/static/module-date-fns.c633d602.js"></script><script defer="defer" src="/static/module-mui.f5e57c92.js"></script><script defer="defer" src="/static/module-material-table.84f30b2f.js"></script><script defer="defer" src="/static/module-react-dom.42a304d3.js"></script><script defer="defer" src="/static/module-react-router.fae32787.js"></script><script defer="defer" src="/static/module-react-router-dom.bf7ca63f.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer="defer" src="/static/module-zod.4f2eeb8c.js"></script><script defer="defer" src="/static/module-i18next.f50c1612.js"></script><script defer="defer" src="/static/vendor.500b1c12.js"></script><script defer="defer" src="/static/main.500b1c12.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -42,7 +42,7 @@
42
42
  color="#5bbad5"
43
43
  />
44
44
  <title><%= config.getString('app.title') %></title>
45
- <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.835725b1.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.91ae9db1.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f5e57c92.js"></script><script defer src="<%= publicPath %>/static/module-material-table.84f30b2f.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-router.fae32787.js"></script><script defer src="<%= publicPath %>/static/module-react-router-dom.bf7ca63f.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/vendor.835725b1.js"></script><script defer src="<%= publicPath %>/static/main.835725b1.js"></script></head>
45
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.500b1c12.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.116dde6e.js"></script><script defer src="<%= publicPath %>/static/module-lodash.aa647045.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.c633d602.js"></script><script defer src="<%= publicPath %>/static/module-mui.f5e57c92.js"></script><script defer src="<%= publicPath %>/static/module-material-table.84f30b2f.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.42a304d3.js"></script><script defer src="<%= publicPath %>/static/module-react-router.fae32787.js"></script><script defer src="<%= publicPath %>/static/module-react-router-dom.bf7ca63f.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.b474cfe9.js"></script><script defer src="<%= publicPath %>/static/module-zod.4f2eeb8c.js"></script><script defer src="<%= publicPath %>/static/module-i18next.f50c1612.js"></script><script defer src="<%= publicPath %>/static/vendor.500b1c12.js"></script><script defer src="<%= publicPath %>/static/main.500b1c12.js"></script></head>
46
46
  <body>
47
47
  <noscript>You need to enable JavaScript to run this app.</noscript>
48
48
  <div id="root"></div>
@@ -1,6 +1,6 @@
1
1
  "use strict";(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[124],{74616:(W,m,t)=>{var e,u=t(4293),C=t(78920);e={value:!0},m.A=void 0;var l=C(t(14041)),f=u(t(74044)),g=(0,f.default)(l.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");m.A=g},48514:(W,m,t)=>{t.d(m,{M:()=>v});var e=t(31085),u=t(58837),C=t(71677),l=t(14041),f=t(72501);const g=(0,u.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:d})=>d||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function v(d){const O=g(d);return(0,e.jsx)(C.Ay,{title:d.title??(d.text||""),placement:d.placement,children:(0,e.jsx)(f.A,{className:O.typo,variant:"inherit",children:d.text})})}},48045:(W,m,t)=>{t.d(m,{n:()=>B});var e=t(31085),u=t(40703),C=t(59469),l=t(48653),f=t(45685),g=t(37197),v=t(58837),d=t(87051),O=t(53373),a=t.n(O),h=t(14041),r=t(10394),y=t(72501),A=t(74616),S=t(72072);const p=(0,v.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 E(o){const{link:n,title:i,onClick:x}=o,j=p();return(0,e.jsxs)(r.A,{children:[(0,e.jsx)(g.A,{}),(0,e.jsx)(S.N_,{to:n,onClick:x,underline:"none",children:(0,e.jsxs)(r.A,{display:"flex",alignItems:"center",className:j.root,children:[(0,e.jsx)(r.A,{className:j.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,e.jsx)(y.A,{children:(0,e.jsx)("strong",{children:i})})}),(0,e.jsx)(A.A,{className:j.arrow})]})})]})}var L=t(73896),c=t(22020),M=t(10315),U=t(87849);const I=o=>{const{slackChannel:n}=o,{t:i}=(0,U.i)(M.O);if(n){if(typeof n=="string")return(0,e.jsx)(y.A,{children:i("errorBoundary.title",{slackChannel:n})});if(!n.href)return(0,e.jsx)(y.A,{children:i("errorBoundary.title",{slackChannel:n.name})})}else return null;return(0,e.jsx)(L.z,{to:n.href,variant:"contained",children:n.name})},s=class extends h.Component{constructor(n){super(n),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(n,i){console.error(`ErrorBoundary, error: ${n}`,{error:n,errorInfo:i}),this.setState({error:n,errorInfo:i})}render(){const{slackChannel:n,children:i}=this.props,{error:x}=this.state;return x?(0,e.jsx)(c.b,{title:"Something Went Wrong",error:x,children:(0,e.jsx)(I,{slackChannel:n})}):i}},D=(0,v.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"}),V=(0,d.A)(o=>({root:{display:"inline-block",padding:o.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(C.A),R={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 B(o){const{title:n,subheader:i,divider:x=!0,deepLink:j,slackChannel:P,errorBoundaryProps:N,variant:b,alignContent:H="normal",children:T,headerStyle:z,headerProps:w,icon:F,action:k,actionsClassName:Q,actions:J,cardClassName:Z,actionsTopRight:X,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:et}=o,K=D();let Y={},$={};b&&b.split(/[\s]+/g).forEach(G=>{Y={...Y,...R.card[G]},$={...$,...R.cardContent[G]}});const nt=()=>!i&&!F?null:(0,e.jsxs)("div",{"data-testid":"info-card-subheader",children:[i&&(0,e.jsx)("div",{className:K.subheader,children:i}),F]}),ot=N||(P?{slackChannel:P}:{});return(0,e.jsx)(u.A,{style:Y,className:q,children:(0,e.jsxs)(s,{...ot,children:[n&&(0,e.jsx)(f.A,{classes:{root:a()(K.header),title:K.headerTitle,subheader:K.headerSubheader,avatar:K.headerAvatar,action:K.headerAction,content:K.headerContent},title:n,subheader:nt(),action:k,style:{...z},titleTypographyProps:tt,subheaderTypographyProps:et,...w}),X&&(0,e.jsx)(V,{children:X}),x&&(0,e.jsx)(g.A,{}),(0,e.jsx)(l.A,{className:a()(Z,{[K.noPadding]:_,[K.contentAlignBottom]:H==="bottom"}),style:$,children:T}),J&&(0,e.jsx)(C.A,{className:Q,children:J}),j&&(0,e.jsx)(E,{...j})]})})}},89648:(W,m,t)=>{t.d(m,{s:()=>S});var e=t(31085),u=t(58837),C=t(14041),l=t(51372),f=t(48514),g=t(67871),v=t(90184),d=t(8859),O=t(34428);const a=Object.freeze({createEntityRefColumn(p){const{defaultKind:E}=p;function L(c){return c.metadata?.title||(0,v.S)(c,{defaultKind:E})}return{title:"Name",highlight:!0,customFilterAndSearch(c,M){return L(M).includes(c)},customSort(c,M){return L(c).localeCompare(L(M))},render:c=>(0,e.jsx)(d.z,{entityRef:c,defaultKind:E,title:c.metadata?.title})}},createEntityRelationColumn(p){const{title:E,relation:L,defaultKind:c,filter:M}=p;function U(s){return(0,g.t)(s,L,M)}function I(s){return U(s).map(D=>(0,v.S)(D,{defaultKind:c})).join(", ")}return{title:E,customFilterAndSearch(s,D){return I(D).includes(s)},customSort(s,D){return I(s).localeCompare(I(D))},render:s=>(0,e.jsx)(O.i,{entityRefs:U(s),defaultKind:c})}},createOwnerColumn(){return this.createEntityRelationColumn({title:"Owner",relation:l.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:"Domain",relation:l.jn,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:"System",relation:l.jn,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn(){return{title:"Description",field:"metadata.description",render:p=>(0,e.jsx)(f.M,{text:p.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()],r=[a.createEntityRefColumn({defaultKind:"component"}),a.createSystemColumn(),a.createOwnerColumn(),a.createSpecTypeColumn(),a.createSpecLifecycleColumn(),a.createMetadataDescriptionColumn()];var y=t(14209);const A=(0,u.A)(p=>({empty:{padding:p.spacing(2),display:"flex",justifyContent:"center"}})),S=p=>{const{entities:E,title:L,emptyContent:c,variant:M="gridItem",columns:U,tableOptions:I={}}=p,s=A(),D={minWidth:"0",width:"100%"};return M==="gridItem"&&(D.height="calc(100% - 10px)"),(0,e.jsx)(y.X,{columns:U,title:L,style:D,emptyContent:c&&(0,e.jsx)("div",{className:s.empty,children:c}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...I},data:E})};S.columns=a,S.systemEntityColumns=h,S.componentEntityColumns=r},99538:(W,m,t)=>{t.d(m,{T7:()=>d,TY:()=>h,tN:()=>a});var e=t(31085),u=t(6820),C=t(25862),l=t(43836),f=t(10602),g=t(14041);const v=(0,l.tK)("entity-context"),d=r=>{const{children:y,entity:A,loading:S,error:p,refresh:E}=r,L={entity:A,loading:S,error:p,refresh:E};return(0,e.jsx)(v.Provider,{value:(0,f.B)({1:L}),children:(0,e.jsx)(C.Ig,{attributes:{...A?{entityRef:(0,u.U2)(A)}:void 0},children:y})})},O=r=>_jsx(d,{entity:r.entity,loading:!r.entity,error:void 0,refresh:void 0,children:r.children});function a(){const r=(0,l.qO)("entity-context");if(!r)throw new Error("Entity context is not available");const y=r.atVersion(1);if(!y)throw new Error("EntityContext v1 not available");if(!y.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:y.entity}}function h(){const r=(0,l.qO)("entity-context");if(!r)throw new Error("Entity context is not available");const y=r.atVersion(1);if(!y)throw new Error("EntityContext v1 not available");const{entity:A,loading:S,error:p,refresh:E}=y;return{entity:A,loading:S,error:p,refresh:E}}},90759:(W,m,t)=>{t.d(m,{W:()=>u});var e=t(93184);const u=(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.
2
- 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"},hasSubdomainsCard:{title:"Has subdomains",emptyMessage:"No subdomain is part of this domain"},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"}}}})},124:(W,m,t)=>{t.r(m),t.d(m,{DependencyOfComponentsCard:()=>d});var e=t(31085),u=t(51372),C=t(14041),l=t(48105),f=t(59251),g=t(90759),v=t(87849);function d(O){const{t:a}=(0,v.i)(g.W),{variant:h="gridItem",title:r=a("dependencyOfComponentsCard.title"),columns:y=l.mz,tableOptions:A={}}=O;return(0,e.jsx)(f.p,{variant:h,title:r,entityKind:"Component",relationType:u.fT,columns:y,emptyMessage:a("dependencyOfComponentsCard.emptyMessage"),emptyHelpLink:l.e2,asRenderableEntities:l.xJ,tableOptions:A})}},59251:(W,m,t)=>{t.d(m,{p:()=>R});var e=t(31085),u=t(72501),C=t(99538),l=t(6820),f=t(72427),g=t(73466),v=t(7341);function d(B,o){const n=o?.type?.toLocaleLowerCase("en-US"),i=o?.kind?.toLocaleLowerCase("en-US"),x=(0,f.gf)(v.v),{loading:j,value:P,error:N}=(0,g.A)(async()=>{const b=B.relations?.filter(T=>(!n||T.type.toLocaleLowerCase("en-US")===n)&&(!i||(0,l.KU)(T.targetRef).kind===i));if(!b?.length)return[];const{items:H}=await x.getEntitiesByRefs({entityRefs:b.map(T=>T.targetRef)});return H.filter(T=>!!T)},[B,n,i]);return{entities:P,loading:j,error:N}}var O=t(89648),a=t(14041),h=t(48045),r=t(68146),y=t(58837),A=t(37197),S=t(8109),p=t(5951),E=t(77310),L=t(37916),c=t(22020);const M=(0,y.A)(B=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:B.spacing(2)},divider:{margin:B.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function U(B){const{title:o,error:n,defaultExpanded:i}=B,x=M();if(n.name!=="ResponseError")return(0,e.jsx)(c.b,{title:o??n.message,defaultExpanded:i,error:n});const{body:j,cause:P}=n,{request:N,response:b}=j,H=`${b.statusCode}: ${P.name}`,T=N&&`${N.method} ${N.url}`,z=P.message.replace(/\\n/g,`
2
+ 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"},hasSubdomainsCard:{title:"Has subdomains",emptyMessage:"No subdomain is part of this domain"},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"}}}})},124:(W,m,t)=>{t.r(m),t.d(m,{DependencyOfComponentsCard:()=>d});var e=t(31085),u=t(51372),C=t(14041),l=t(48105),f=t(59251),g=t(90759),v=t(87849);function d(O){const{t:a}=(0,v.i)(g.W),{variant:h="gridItem",title:r=a("dependencyOfComponentsCard.title"),columns:y=l.mz,tableOptions:A={}}=O;return(0,e.jsx)(f.p,{variant:h,title:r,entityKind:"Component",relationType:u.fT,columns:y,emptyMessage:a("dependencyOfComponentsCard.emptyMessage"),emptyHelpLink:l.e2,asRenderableEntities:l.xJ,tableOptions:A})}},59251:(W,m,t)=>{t.d(m,{p:()=>R});var e=t(31085),u=t(72501),C=t(99538),l=t(6820),f=t(72427),g=t(73466),v=t(7341);function d(B,o){const n=o?.type?.toLocaleLowerCase("en-US"),i=o?.kind?.toLocaleLowerCase("en-US"),x=(0,f.gf)(v.v),{loading:j,value:P,error:N}=(0,g.A)(async()=>{const b=B.relations?.filter(T=>(!n||T.type.toLocaleLowerCase("en-US")===n)&&(!i||(0,l.KU)(T.targetRef).kind===i));if(!b?.length)return[];const{items:H}=await x.getEntitiesByRefs({entityRefs:b.map(T=>T.targetRef)});return H.filter(T=>!!T)},[B,n,i]);return{entities:P,loading:j,error:N}}var O=t(89648),a=t(14041),h=t(48045),r=t(68146),y=t(58837),A=t(37197),S=t(8109),p=t(5951),E=t(77310),L=t(37916),c=t(22020);const M=(0,y.A)(B=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:B.spacing(2)},divider:{margin:B.spacing(2)}}),{name:"BackstageResponseErrorPanel"});function U(B){const{title:o,error:n,defaultExpanded:i}=B,x=M();if(n.name!=="ResponseError")return(0,e.jsx)(c.b,{title:o??n.message,defaultExpanded:i,error:n});const{body:j,cause:P}=n,{request:N,response:b}=j,H=`${b.statusCode}: ${P.name}`,T=N&&`${N.method} ${N.url}`,z=P.message.replace(/\\n/g,`
3
3
  `),w=P.stack?.replace(/\\n/g,`
4
- `),F=JSON.stringify(j,void 0,2);return(0,e.jsxs)(c.b,{title:o??n.message,defaultExpanded:i,error:{name:H,message:z,stack:w},children:[T&&(0,e.jsxs)(S.A,{alignItems:"flex-start",children:[(0,e.jsx)(p.A,{classes:{secondary:x.text},primary:"Request",secondary:N?`${T}`:void 0}),(0,e.jsx)(L.l,{text:T})]}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(A.A,{component:"li",className:x.divider}),(0,e.jsx)(S.A,{alignItems:"flex-start",children:(0,e.jsx)(p.A,{classes:{secondary:x.text},primary:"Full Error as JSON"})}),(0,e.jsx)(E.z,{language:"json",text:F,showCopyCodeButton:!0})]})]})}var I=t(72072),s=t(48105),D=t(90759),V=t(87849);const R=B=>{const{variant:o="gridItem",title:n,columns:i,entityKind:x,relationType:j,emptyMessage:P,emptyHelpLink:N,asRenderableEntities:b,tableOptions:H={}}=B,{t:T}=(0,V.i)(D.W),{entity:z}=(0,C.tN)(),{entities:w,loading:F,error:k}=d(z,{type:j,kind:x});return F?(0,e.jsx)(h.n,{variant:o,title:n,children:(0,e.jsx)(r.k,{})}):k?(0,e.jsx)(h.n,{variant:o,title:n,children:(0,e.jsx)(U,{error:k})}):(0,e.jsx)(O.s,{title:n,variant:o,emptyContent:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)(u.A,{variant:"body1",children:P}),(0,e.jsx)(u.A,{variant:"body2",children:(0,e.jsx)(I.N_,{to:N,children:T("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:i,entities:b(w||[]),tableOptions:H})};R.componentEntityColumns=s.mz,R.componentEntityHelpLink=s.e2,R.asComponentEntities=s.xJ,R.resourceEntityColumns=s.v9,R.resourceEntityHelpLink=s.nz,R.asResourceEntities=s.eB,R.systemEntityColumns=s.MW,R.systemEntityHelpLink=s.iU,R.asSystemEntities=s.vy},48105:(W,m,t)=>{t.d(m,{MW:()=>d,e2:()=>C,eB:()=>v,iU:()=>O,mz:()=>u,nz:()=>g,v9:()=>f,vy:()=>a,xJ:()=>l});var e=t(89648);const u=[e.s.columns.createEntityRefColumn({defaultKind:"component"}),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-component",l=h=>h,f=[e.s.columns.createEntityRefColumn({defaultKind:"resource"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],g="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",v=h=>h,d=[e.s.columns.createEntityRefColumn({defaultKind:"system"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],O="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",a=h=>h}}]);})();
4
+ `),F=JSON.stringify(j,void 0,2);return(0,e.jsxs)(c.b,{title:o??n.message,defaultExpanded:i,error:{name:H,message:z,stack:w},children:[T&&(0,e.jsxs)(S.A,{alignItems:"flex-start",children:[(0,e.jsx)(p.A,{classes:{secondary:x.text},primary:"Request",secondary:N?`${T}`:void 0}),(0,e.jsx)(L.l,{text:T})]}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(A.A,{component:"li",className:x.divider}),(0,e.jsx)(S.A,{alignItems:"flex-start",children:(0,e.jsx)(p.A,{classes:{secondary:x.text},primary:"Full Error as JSON"})}),(0,e.jsx)(E.z,{language:"json",text:F,showCopyCodeButton:!0})]})]})}var I=t(72072),s=t(48105),D=t(90759),V=t(87849);const R=B=>{const{variant:o="gridItem",title:n,columns:i,entityKind:x,relationType:j,emptyMessage:P,emptyHelpLink:N,asRenderableEntities:b,tableOptions:H={}}=B,{t:T}=(0,V.i)(D.W),{entity:z}=(0,C.tN)(),{entities:w,loading:F,error:k}=d(z,{type:j,kind:x});return F?(0,e.jsx)(h.n,{variant:o,title:n,children:(0,e.jsx)(r.k,{})}):k?(0,e.jsx)(h.n,{variant:o,title:n,children:(0,e.jsx)(U,{error:k})}):(0,e.jsx)(O.s,{title:n,variant:o,emptyContent:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)(u.A,{variant:"body1",children:P}),(0,e.jsx)(u.A,{variant:"body2",children:(0,e.jsx)(I.N_,{to:N,externalLinkIcon:!0,children:T("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:i,entities:b(w||[]),tableOptions:H})};R.componentEntityColumns=s.mz,R.componentEntityHelpLink=s.e2,R.asComponentEntities=s.xJ,R.resourceEntityColumns=s.v9,R.resourceEntityHelpLink=s.nz,R.asResourceEntities=s.eB,R.systemEntityColumns=s.MW,R.systemEntityHelpLink=s.iU,R.asSystemEntities=s.vy},48105:(W,m,t)=>{t.d(m,{MW:()=>d,e2:()=>C,eB:()=>v,iU:()=>O,mz:()=>u,nz:()=>g,v9:()=>f,vy:()=>a,xJ:()=>l});var e=t(89648);const u=[e.s.columns.createEntityRefColumn({defaultKind:"component"}),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-component",l=h=>h,f=[e.s.columns.createEntityRefColumn({defaultKind:"resource"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],g="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",v=h=>h,d=[e.s.columns.createEntityRefColumn({defaultKind:"system"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],O="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",a=h=>h}}]);})();
5
5
 
6
- //# sourceMappingURL=124.6a72bb60.chunk.js.map
6
+ //# sourceMappingURL=124.b47d39f0.chunk.js.map