@techdocs/cli 1.8.25-next.0 → 1.8.25

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 (54) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/embedded-app/.config-schema.json +115 -134
  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.c9dccb21.chunk.js → 124.f02a9318.chunk.js} +2 -2
  6. package/dist/embedded-app/static/{124.c9dccb21.chunk.js.map → 124.f02a9318.chunk.js.map} +1 -1
  7. package/dist/embedded-app/static/{1297.5286dfc5.chunk.js → 1297.39864036.chunk.js} +2 -2
  8. package/dist/embedded-app/static/{1297.5286dfc5.chunk.js.map → 1297.39864036.chunk.js.map} +1 -1
  9. package/dist/embedded-app/static/2177.3d831c3a.chunk.js +4 -0
  10. package/dist/embedded-app/static/2177.3d831c3a.chunk.js.map +1 -0
  11. package/dist/embedded-app/static/{2401.73c0abd9.chunk.js → 2401.4d69c234.chunk.js} +2 -2
  12. package/dist/embedded-app/static/{2401.73c0abd9.chunk.js.map → 2401.4d69c234.chunk.js.map} +1 -1
  13. package/dist/embedded-app/static/{2420.f4515d6b.chunk.js → 2420.979e1d31.chunk.js} +2 -2
  14. package/dist/embedded-app/static/{2420.f4515d6b.chunk.js.map → 2420.979e1d31.chunk.js.map} +1 -1
  15. package/dist/embedded-app/static/{287.93e12210.chunk.js → 287.e0b65890.chunk.js} +2 -2
  16. package/dist/embedded-app/static/{287.93e12210.chunk.js.map → 287.e0b65890.chunk.js.map} +1 -1
  17. package/dist/embedded-app/static/{3182.b8a79377.chunk.js → 3182.0ac241c5.chunk.js} +2 -2
  18. package/dist/embedded-app/static/{3182.b8a79377.chunk.js.map → 3182.0ac241c5.chunk.js.map} +1 -1
  19. package/dist/embedded-app/static/{3632.e83e9e79.chunk.js → 3632.f343436e.chunk.js} +2 -2
  20. package/dist/embedded-app/static/{3632.e83e9e79.chunk.js.map → 3632.f343436e.chunk.js.map} +1 -1
  21. package/dist/embedded-app/static/5724.ac4e97c6.chunk.js +4 -0
  22. package/dist/embedded-app/static/5724.ac4e97c6.chunk.js.map +1 -0
  23. package/dist/embedded-app/static/{6271.e3f614f0.chunk.js → 6271.020ea145.chunk.js} +2 -2
  24. package/dist/embedded-app/static/{6271.e3f614f0.chunk.js.map → 6271.020ea145.chunk.js.map} +1 -1
  25. package/dist/embedded-app/static/{6415.dd062904.chunk.js → 6415.493349e2.chunk.js} +2 -2
  26. package/dist/embedded-app/static/{6415.dd062904.chunk.js.map → 6415.493349e2.chunk.js.map} +1 -1
  27. package/dist/embedded-app/static/{8307.a297621e.chunk.js → 8307.b0a2a85f.chunk.js} +2 -2
  28. package/dist/embedded-app/static/{8307.a297621e.chunk.js.map → 8307.b0a2a85f.chunk.js.map} +1 -1
  29. package/dist/embedded-app/static/{8384.34bb2920.chunk.js → 8384.b9605cda.chunk.js} +2 -2
  30. package/dist/embedded-app/static/{8384.34bb2920.chunk.js.map → 8384.b9605cda.chunk.js.map} +1 -1
  31. package/dist/embedded-app/static/8803.20e0d00b.chunk.js +11 -0
  32. package/dist/embedded-app/static/8803.20e0d00b.chunk.js.map +1 -0
  33. package/dist/embedded-app/static/{9652.87ca2ab5.chunk.js → 9652.78fa0c73.chunk.js} +2 -2
  34. package/dist/embedded-app/static/{9652.87ca2ab5.chunk.js.map → 9652.78fa0c73.chunk.js.map} +1 -1
  35. package/dist/embedded-app/static/main.01d08696.js +553 -0
  36. package/dist/embedded-app/static/main.01d08696.js.map +1 -0
  37. package/dist/embedded-app/static/{module-material-ui.05c1a36a.js → module-material-ui.909829ed.js} +3 -3
  38. package/dist/embedded-app/static/{module-material-ui.05c1a36a.js.map → module-material-ui.909829ed.js.map} +1 -1
  39. package/dist/embedded-app/static/{runtime.a90fd85d.js → runtime.01d08696.js} +2 -2
  40. package/dist/embedded-app/static/{runtime.a90fd85d.js.map → runtime.01d08696.js.map} +1 -1
  41. package/dist/embedded-app/static/vendor.01d08696.js +170 -0
  42. package/dist/embedded-app/static/vendor.01d08696.js.map +1 -0
  43. package/dist/package.json.cjs.js +1 -1
  44. package/package.json +7 -7
  45. package/dist/embedded-app/static/2177.8343b97e.chunk.js +0 -4
  46. package/dist/embedded-app/static/2177.8343b97e.chunk.js.map +0 -1
  47. package/dist/embedded-app/static/5724.a8d74000.chunk.js +0 -4
  48. package/dist/embedded-app/static/5724.a8d74000.chunk.js.map +0 -1
  49. package/dist/embedded-app/static/8803.2d9f247d.chunk.js +0 -11
  50. package/dist/embedded-app/static/8803.2d9f247d.chunk.js.map +0 -1
  51. package/dist/embedded-app/static/main.a90fd85d.js +0 -553
  52. package/dist/embedded-app/static/main.a90fd85d.js.map +0 -1
  53. package/dist/embedded-app/static/vendor.a90fd85d.js +0 -170
  54. package/dist/embedded-app/static/vendor.a90fd85d.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @techdocs/cli
2
2
 
3
+ ## 1.8.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-defaults@0.7.0
9
+ - @backstage/catalog-model@1.7.3
10
+ - @backstage/cli-common@0.1.15
11
+ - @backstage/config@1.3.2
12
+ - @backstage/plugin-techdocs-node@1.12.16
13
+
14
+ ## 1.8.25-next.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @backstage/backend-defaults@0.7.0-next.1
20
+ - @backstage/catalog-model@1.7.3-next.0
21
+ - @backstage/config@1.3.2-next.0
22
+ - @backstage/plugin-techdocs-node@1.12.16-next.1
23
+ - @backstage/cli-common@0.1.15
24
+
3
25
  ## 1.8.25-next.0
4
26
 
5
27
  ### Patch Changes
@@ -2833,7 +2833,7 @@
2833
2833
  "packageName": "@backstage/plugin-auth-backend-module-bitbucket-server-provider"
2834
2834
  },
2835
2835
  {
2836
- "path": "../../plugins/auth-backend-module-gcp-iap-provider/config.d.ts",
2836
+ "path": "../../plugins/auth-backend-module-cloudflare-access-provider/config.d.ts",
2837
2837
  "value": {
2838
2838
  "type": "object",
2839
2839
  "properties": {
@@ -2843,16 +2843,36 @@
2843
2843
  "providers": {
2844
2844
  "type": "object",
2845
2845
  "properties": {
2846
- "gcpIap": {
2847
- "description": "Configuration for the Google Cloud Platform Identity-Aware Proxy (IAP) auth provider.",
2846
+ "cfaccess": {
2847
+ "visibility": "frontend",
2848
2848
  "type": "object",
2849
2849
  "properties": {
2850
- "audience": {
2851
- "description": "The audience to use when validating incoming JWT tokens.\nSee https://backstage.io/docs/auth/google/gcp-iap-auth",
2850
+ "teamName": {
2852
2851
  "type": "string"
2853
2852
  },
2854
- "jwtHeader": {
2855
- "description": "The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.",
2853
+ "serviceTokens": {
2854
+ "deepVisibility": "secret",
2855
+ "type": "array",
2856
+ "items": {
2857
+ "type": "object",
2858
+ "properties": {
2859
+ "token": {
2860
+ "type": "string"
2861
+ },
2862
+ "subject": {
2863
+ "type": "string"
2864
+ }
2865
+ },
2866
+ "required": [
2867
+ "subject",
2868
+ "token"
2869
+ ]
2870
+ }
2871
+ },
2872
+ "jwtHeaderName": {
2873
+ "type": "string"
2874
+ },
2875
+ "authorizationCookieName": {
2856
2876
  "type": "string"
2857
2877
  },
2858
2878
  "signIn": {
@@ -2862,30 +2882,6 @@
2862
2882
  "type": "array",
2863
2883
  "items": {
2864
2884
  "anyOf": [
2865
- {
2866
- "type": "object",
2867
- "properties": {
2868
- "resolver": {
2869
- "type": "string",
2870
- "const": "emailMatchingUserEntityAnnotation"
2871
- }
2872
- },
2873
- "required": [
2874
- "resolver"
2875
- ]
2876
- },
2877
- {
2878
- "type": "object",
2879
- "properties": {
2880
- "resolver": {
2881
- "type": "string",
2882
- "const": "idMatchingUserEntityAnnotation"
2883
- }
2884
- },
2885
- "required": [
2886
- "resolver"
2887
- ]
2888
- },
2889
2885
  {
2890
2886
  "type": "object",
2891
2887
  "properties": {
@@ -2926,8 +2922,11 @@
2926
2922
  }
2927
2923
  },
2928
2924
  "required": [
2929
- "audience"
2925
+ "teamName"
2930
2926
  ]
2927
+ },
2928
+ "backstageTokenExpiration": {
2929
+ "description": "The backstage token expiration."
2931
2930
  }
2932
2931
  }
2933
2932
  }
@@ -2936,10 +2935,10 @@
2936
2935
  },
2937
2936
  "$schema": "http://json-schema.org/draft-07/schema#"
2938
2937
  },
2939
- "packageName": "@backstage/plugin-auth-backend-module-gcp-iap-provider"
2938
+ "packageName": "@backstage/plugin-auth-backend-module-cloudflare-access-provider"
2940
2939
  },
2941
2940
  {
2942
- "path": "../../plugins/auth-backend-module-cloudflare-access-provider/config.d.ts",
2941
+ "path": "../../plugins/auth-backend-module-gcp-iap-provider/config.d.ts",
2943
2942
  "value": {
2944
2943
  "type": "object",
2945
2944
  "properties": {
@@ -2949,36 +2948,16 @@
2949
2948
  "providers": {
2950
2949
  "type": "object",
2951
2950
  "properties": {
2952
- "cfaccess": {
2953
- "visibility": "frontend",
2951
+ "gcpIap": {
2952
+ "description": "Configuration for the Google Cloud Platform Identity-Aware Proxy (IAP) auth provider.",
2954
2953
  "type": "object",
2955
2954
  "properties": {
2956
- "teamName": {
2957
- "type": "string"
2958
- },
2959
- "serviceTokens": {
2960
- "deepVisibility": "secret",
2961
- "type": "array",
2962
- "items": {
2963
- "type": "object",
2964
- "properties": {
2965
- "token": {
2966
- "type": "string"
2967
- },
2968
- "subject": {
2969
- "type": "string"
2970
- }
2971
- },
2972
- "required": [
2973
- "subject",
2974
- "token"
2975
- ]
2976
- }
2977
- },
2978
- "jwtHeaderName": {
2955
+ "audience": {
2956
+ "description": "The audience to use when validating incoming JWT tokens.\nSee https://backstage.io/docs/auth/google/gcp-iap-auth",
2979
2957
  "type": "string"
2980
2958
  },
2981
- "authorizationCookieName": {
2959
+ "jwtHeader": {
2960
+ "description": "The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.",
2982
2961
  "type": "string"
2983
2962
  },
2984
2963
  "signIn": {
@@ -2988,6 +2967,30 @@
2988
2967
  "type": "array",
2989
2968
  "items": {
2990
2969
  "anyOf": [
2970
+ {
2971
+ "type": "object",
2972
+ "properties": {
2973
+ "resolver": {
2974
+ "type": "string",
2975
+ "const": "emailMatchingUserEntityAnnotation"
2976
+ }
2977
+ },
2978
+ "required": [
2979
+ "resolver"
2980
+ ]
2981
+ },
2982
+ {
2983
+ "type": "object",
2984
+ "properties": {
2985
+ "resolver": {
2986
+ "type": "string",
2987
+ "const": "idMatchingUserEntityAnnotation"
2988
+ }
2989
+ },
2990
+ "required": [
2991
+ "resolver"
2992
+ ]
2993
+ },
2991
2994
  {
2992
2995
  "type": "object",
2993
2996
  "properties": {
@@ -3028,11 +3031,8 @@
3028
3031
  }
3029
3032
  },
3030
3033
  "required": [
3031
- "teamName"
3034
+ "audience"
3032
3035
  ]
3033
- },
3034
- "backstageTokenExpiration": {
3035
- "description": "The backstage token expiration."
3036
3036
  }
3037
3037
  }
3038
3038
  }
@@ -3041,7 +3041,7 @@
3041
3041
  },
3042
3042
  "$schema": "http://json-schema.org/draft-07/schema#"
3043
3043
  },
3044
- "packageName": "@backstage/plugin-auth-backend-module-cloudflare-access-provider"
3044
+ "packageName": "@backstage/plugin-auth-backend-module-gcp-iap-provider"
3045
3045
  },
3046
3046
  {
3047
3047
  "path": "../../plugins/auth-backend-module-github-provider/config.d.ts",
@@ -3160,18 +3160,17 @@
3160
3160
  "packageName": "@backstage/plugin-auth-backend-module-github-provider"
3161
3161
  },
3162
3162
  {
3163
- "path": "../../plugins/auth-backend-module-google-provider/config.d.ts",
3163
+ "path": "../../plugins/auth-backend-module-gitlab-provider/config.d.ts",
3164
3164
  "value": {
3165
3165
  "type": "object",
3166
3166
  "properties": {
3167
3167
  "auth": {
3168
- "description": "Configuration options for the auth plugin",
3169
3168
  "type": "object",
3170
3169
  "properties": {
3171
3170
  "providers": {
3172
3171
  "type": "object",
3173
3172
  "properties": {
3174
- "google": {
3173
+ "gitlab": {
3175
3174
  "visibility": "frontend",
3176
3175
  "type": "object",
3177
3176
  "additionalProperties": {
@@ -3184,6 +3183,9 @@
3184
3183
  "visibility": "secret",
3185
3184
  "type": "string"
3186
3185
  },
3186
+ "audience": {
3187
+ "type": "string"
3188
+ },
3187
3189
  "callbackUrl": {
3188
3190
  "type": "string"
3189
3191
  },
@@ -3212,7 +3214,7 @@
3212
3214
  "properties": {
3213
3215
  "resolver": {
3214
3216
  "type": "string",
3215
- "const": "emailMatchingUserEntityAnnotation"
3217
+ "const": "usernameMatchingUserEntityName"
3216
3218
  }
3217
3219
  },
3218
3220
  "required": [
@@ -3271,20 +3273,21 @@
3271
3273
  },
3272
3274
  "$schema": "http://json-schema.org/draft-07/schema#"
3273
3275
  },
3274
- "packageName": "@backstage/plugin-auth-backend-module-google-provider"
3276
+ "packageName": "@backstage/plugin-auth-backend-module-gitlab-provider"
3275
3277
  },
3276
3278
  {
3277
- "path": "../../plugins/auth-backend-module-microsoft-provider/config.d.ts",
3279
+ "path": "../../plugins/auth-backend-module-google-provider/config.d.ts",
3278
3280
  "value": {
3279
3281
  "type": "object",
3280
3282
  "properties": {
3281
3283
  "auth": {
3284
+ "description": "Configuration options for the auth plugin",
3282
3285
  "type": "object",
3283
3286
  "properties": {
3284
3287
  "providers": {
3285
3288
  "type": "object",
3286
3289
  "properties": {
3287
- "microsoft": {
3290
+ "google": {
3288
3291
  "visibility": "frontend",
3289
3292
  "type": "object",
3290
3293
  "additionalProperties": {
@@ -3293,16 +3296,10 @@
3293
3296
  "clientId": {
3294
3297
  "type": "string"
3295
3298
  },
3296
- "tenantId": {
3297
- "type": "string"
3298
- },
3299
3299
  "clientSecret": {
3300
3300
  "visibility": "secret",
3301
3301
  "type": "string"
3302
3302
  },
3303
- "domainHint": {
3304
- "type": "string"
3305
- },
3306
3303
  "callbackUrl": {
3307
3304
  "type": "string"
3308
3305
  },
@@ -3319,9 +3316,6 @@
3319
3316
  }
3320
3317
  ]
3321
3318
  },
3322
- "skipUserProfile": {
3323
- "type": "boolean"
3324
- },
3325
3319
  "signIn": {
3326
3320
  "type": "object",
3327
3321
  "properties": {
@@ -3382,8 +3376,7 @@
3382
3376
  },
3383
3377
  "required": [
3384
3378
  "clientId",
3385
- "clientSecret",
3386
- "tenantId"
3379
+ "clientSecret"
3387
3380
  ]
3388
3381
  }
3389
3382
  }
@@ -3394,10 +3387,10 @@
3394
3387
  },
3395
3388
  "$schema": "http://json-schema.org/draft-07/schema#"
3396
3389
  },
3397
- "packageName": "@backstage/plugin-auth-backend-module-microsoft-provider"
3390
+ "packageName": "@backstage/plugin-auth-backend-module-google-provider"
3398
3391
  },
3399
3392
  {
3400
- "path": "../../plugins/auth-backend-module-oauth2-provider/config.d.ts",
3393
+ "path": "../../plugins/auth-backend-module-microsoft-provider/config.d.ts",
3401
3394
  "value": {
3402
3395
  "type": "object",
3403
3396
  "properties": {
@@ -3407,7 +3400,7 @@
3407
3400
  "providers": {
3408
3401
  "type": "object",
3409
3402
  "properties": {
3410
- "oauth2": {
3403
+ "microsoft": {
3411
3404
  "visibility": "frontend",
3412
3405
  "type": "object",
3413
3406
  "additionalProperties": {
@@ -3416,18 +3409,17 @@
3416
3409
  "clientId": {
3417
3410
  "type": "string"
3418
3411
  },
3419
- "clientSecret": {
3420
- "visibility": "secret",
3412
+ "tenantId": {
3421
3413
  "type": "string"
3422
3414
  },
3423
- "authorizationUrl": {
3415
+ "clientSecret": {
3416
+ "visibility": "secret",
3424
3417
  "type": "string"
3425
3418
  },
3426
- "tokenUrl": {
3419
+ "domainHint": {
3427
3420
  "type": "string"
3428
3421
  },
3429
- "scope": {
3430
- "deprecated": "use `additionalScopes` instead",
3422
+ "callbackUrl": {
3431
3423
  "type": "string"
3432
3424
  },
3433
3425
  "additionalScopes": {
@@ -3443,10 +3435,7 @@
3443
3435
  }
3444
3436
  ]
3445
3437
  },
3446
- "disableRefresh": {
3447
- "type": "boolean"
3448
- },
3449
- "includeBasicAuth": {
3438
+ "skipUserProfile": {
3450
3439
  "type": "boolean"
3451
3440
  },
3452
3441
  "signIn": {
@@ -3461,7 +3450,7 @@
3461
3450
  "properties": {
3462
3451
  "resolver": {
3463
3452
  "type": "string",
3464
- "const": "usernameMatchingUserEntityName"
3453
+ "const": "emailMatchingUserEntityAnnotation"
3465
3454
  }
3466
3455
  },
3467
3456
  "required": [
@@ -3508,10 +3497,9 @@
3508
3497
  }
3509
3498
  },
3510
3499
  "required": [
3511
- "authorizationUrl",
3512
3500
  "clientId",
3513
3501
  "clientSecret",
3514
- "tokenUrl"
3502
+ "tenantId"
3515
3503
  ]
3516
3504
  }
3517
3505
  }
@@ -3522,10 +3510,10 @@
3522
3510
  },
3523
3511
  "$schema": "http://json-schema.org/draft-07/schema#"
3524
3512
  },
3525
- "packageName": "@backstage/plugin-auth-backend-module-oauth2-provider"
3513
+ "packageName": "@backstage/plugin-auth-backend-module-microsoft-provider"
3526
3514
  },
3527
3515
  {
3528
- "path": "../../plugins/auth-backend-module-okta-provider/config.d.ts",
3516
+ "path": "../../plugins/auth-backend-module-oauth2-provider/config.d.ts",
3529
3517
  "value": {
3530
3518
  "type": "object",
3531
3519
  "properties": {
@@ -3535,7 +3523,7 @@
3535
3523
  "providers": {
3536
3524
  "type": "object",
3537
3525
  "properties": {
3538
- "okta": {
3526
+ "oauth2": {
3539
3527
  "visibility": "frontend",
3540
3528
  "type": "object",
3541
3529
  "additionalProperties": {
@@ -3548,16 +3536,14 @@
3548
3536
  "visibility": "secret",
3549
3537
  "type": "string"
3550
3538
  },
3551
- "audience": {
3552
- "type": "string"
3553
- },
3554
- "authServerId": {
3539
+ "authorizationUrl": {
3555
3540
  "type": "string"
3556
3541
  },
3557
- "idp": {
3542
+ "tokenUrl": {
3558
3543
  "type": "string"
3559
3544
  },
3560
- "callbackUrl": {
3545
+ "scope": {
3546
+ "deprecated": "use `additionalScopes` instead",
3561
3547
  "type": "string"
3562
3548
  },
3563
3549
  "additionalScopes": {
@@ -3573,6 +3559,12 @@
3573
3559
  }
3574
3560
  ]
3575
3561
  },
3562
+ "disableRefresh": {
3563
+ "type": "boolean"
3564
+ },
3565
+ "includeBasicAuth": {
3566
+ "type": "boolean"
3567
+ },
3576
3568
  "signIn": {
3577
3569
  "type": "object",
3578
3570
  "properties": {
@@ -3585,7 +3577,7 @@
3585
3577
  "properties": {
3586
3578
  "resolver": {
3587
3579
  "type": "string",
3588
- "const": "emailMatchingUserEntityAnnotation"
3580
+ "const": "usernameMatchingUserEntityName"
3589
3581
  }
3590
3582
  },
3591
3583
  "required": [
@@ -3632,8 +3624,10 @@
3632
3624
  }
3633
3625
  },
3634
3626
  "required": [
3627
+ "authorizationUrl",
3635
3628
  "clientId",
3636
- "clientSecret"
3629
+ "clientSecret",
3630
+ "tokenUrl"
3637
3631
  ]
3638
3632
  }
3639
3633
  }
@@ -3644,7 +3638,7 @@
3644
3638
  },
3645
3639
  "$schema": "http://json-schema.org/draft-07/schema#"
3646
3640
  },
3647
- "packageName": "@backstage/plugin-auth-backend-module-okta-provider"
3641
+ "packageName": "@backstage/plugin-auth-backend-module-oauth2-provider"
3648
3642
  },
3649
3643
  {
3650
3644
  "path": "../../plugins/auth-backend-module-oidc-provider/config.d.ts",
@@ -3761,7 +3755,7 @@
3761
3755
  "packageName": "@backstage/plugin-auth-backend-module-oidc-provider"
3762
3756
  },
3763
3757
  {
3764
- "path": "../../plugins/auth-backend-module-gitlab-provider/config.d.ts",
3758
+ "path": "../../plugins/auth-backend-module-okta-provider/config.d.ts",
3765
3759
  "value": {
3766
3760
  "type": "object",
3767
3761
  "properties": {
@@ -3771,7 +3765,7 @@
3771
3765
  "providers": {
3772
3766
  "type": "object",
3773
3767
  "properties": {
3774
- "gitlab": {
3768
+ "okta": {
3775
3769
  "visibility": "frontend",
3776
3770
  "type": "object",
3777
3771
  "additionalProperties": {
@@ -3787,6 +3781,12 @@
3787
3781
  "audience": {
3788
3782
  "type": "string"
3789
3783
  },
3784
+ "authServerId": {
3785
+ "type": "string"
3786
+ },
3787
+ "idp": {
3788
+ "type": "string"
3789
+ },
3790
3790
  "callbackUrl": {
3791
3791
  "type": "string"
3792
3792
  },
@@ -3815,7 +3815,7 @@
3815
3815
  "properties": {
3816
3816
  "resolver": {
3817
3817
  "type": "string",
3818
- "const": "usernameMatchingUserEntityName"
3818
+ "const": "emailMatchingUserEntityAnnotation"
3819
3819
  }
3820
3820
  },
3821
3821
  "required": [
@@ -3874,7 +3874,7 @@
3874
3874
  },
3875
3875
  "$schema": "http://json-schema.org/draft-07/schema#"
3876
3876
  },
3877
- "packageName": "@backstage/plugin-auth-backend-module-gitlab-provider"
3877
+ "packageName": "@backstage/plugin-auth-backend-module-okta-provider"
3878
3878
  },
3879
3879
  {
3880
3880
  "path": "../../plugins/auth-backend-module-onelogin-provider/config.d.ts",
@@ -4089,25 +4089,6 @@
4089
4089
  "$schema": "http://json-schema.org/draft-07/schema#"
4090
4090
  },
4091
4091
  "packageName": "@backstage/integration-aws-node"
4092
- },
4093
- {
4094
- "path": "../../node_modules/@backstage/backend-common/node_modules/@backstage/backend-plugin-api/config.d.ts",
4095
- "value": {
4096
- "type": "object",
4097
- "properties": {
4098
- "backend": {
4099
- "type": "object",
4100
- "properties": {
4101
- "workingDirectory": {
4102
- "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
4103
- "type": "string"
4104
- }
4105
- }
4106
- }
4107
- },
4108
- "$schema": "http://json-schema.org/draft-07/schema#"
4109
- },
4110
- "packageName": "@backstage/backend-plugin-api"
4111
4092
  }
4112
4093
  ],
4113
4094
  "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.a90fd85d.js"></script><script defer="defer" src="/static/module-material-ui.05c1a36a.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.f702282a.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-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/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.a90fd85d.js"></script><script defer="defer" src="/static/main.a90fd85d.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.01d08696.js"></script><script defer="defer" src="/static/module-material-ui.909829ed.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.f702282a.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-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/module-remix-run.ba6397c2.js"></script><script defer="defer" src="/static/vendor.01d08696.js"></script><script defer="defer" src="/static/main.01d08696.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.a90fd85d.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.05c1a36a.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.f702282a.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-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/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.a90fd85d.js"></script><script defer src="<%= publicPath %>/static/main.a90fd85d.js"></script></head>
45
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.01d08696.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.909829ed.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.f702282a.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-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/module-remix-run.ba6397c2.js"></script><script defer src="<%= publicPath %>/static/vendor.01d08696.js"></script><script defer src="<%= publicPath %>/static/main.01d08696.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,y,t)=>{var e,p=t(4293),E=t(78920);e={value:!0},y.A=void 0;var d=E(t(14041)),g=p(t(74044)),v=(0,g.default)(d.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");y.A=v},48514:(W,y,t)=>{t.d(y,{M:()=>C});var e=t(31085),p=t(58837),E=t(71677),d=t(14041),g=t(72501);const v=(0,p.A)({container:{overflow:"visible !important"},typo:{fontSize:"inherit",overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box","-webkit-line-clamp":({line:c})=>c||1,"-webkit-box-orient":"vertical"}},{name:"BackstageOverflowTooltip"});function C(c){const j=v(c);return(0,e.jsx)(E.Ay,{title:c.title??(c.text||""),placement:c.placement,children:(0,e.jsx)(g.A,{className:j.typo,variant:"inherit",children:c.text})})}},48045:(W,y,t)=>{t.d(y,{n:()=>B});var e=t(31085),p=t(40703),E=t(59469),d=t(48653),g=t(45685),v=t(37197),C=t(58837),c=t(87051),j=t(53373),i=t.n(j),O=t(14041),a=t(10394),m=t(72501),l=t(74616),S=t(72072);const f=(0,C.A)(s=>({root:{maxWidth:"fit-content",padding:s.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:s.palette.textSubtle},arrow:{color:s.palette.textSubtle}}),{name:"BackstageBottomLink"});function x(s){const{link:n,title:r,onClick:T}=s,R=f();return(0,e.jsxs)(a.A,{children:[(0,e.jsx)(v.A,{}),(0,e.jsx)(S.N_,{to:n,onClick:T,underline:"none",children:(0,e.jsxs)(a.A,{display:"flex",alignItems:"center",className:R.root,children:[(0,e.jsx)(a.A,{className:R.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,e.jsx)(m.A,{children:(0,e.jsx)("strong",{children:r})})}),(0,e.jsx)(l.A,{className:R.arrow})]})})]})}var L=t(73896),u=t(22020),M=t(10315),U=t(87849);const I=s=>{const{slackChannel:n}=s,{t:r}=(0,U.i)(M.O);if(n){if(typeof n=="string")return(0,e.jsx)(m.A,{children:r("errorBoundary.title",{slackChannel:n})});if(!n.href)return(0,e.jsx)(m.A,{children:r("errorBoundary.title",{slackChannel:n.name})})}else return null;return(0,e.jsx)(L.z,{to:n.href,variant:"contained",children:n.name})},o=class extends O.Component{constructor(n){super(n),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(n,r){console.error(`ErrorBoundary, error: ${n}`,{error:n,errorInfo:r}),this.setState({error:n,errorInfo:r})}render(){const{slackChannel:n,children:r}=this.props,{error:T}=this.state;return T?(0,e.jsx)(u.b,{title:"Something Went Wrong",error:T,children:(0,e.jsx)(I,{slackChannel:n})}):r}},D=(0,C.A)(s=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:s.spacing(2,2,2,2.5)},headerTitle:{fontWeight:s.typography.fontWeightBold},headerSubheader:{paddingTop:s.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),V=(0,c.A)(s=>({root:{display:"inline-block",padding:s.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(E.A),h={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(s){const{title:n,subheader:r,divider:T=!0,deepLink:R,slackChannel:P,errorBoundaryProps:N,variant:b,alignContent:H="normal",children:A,headerStyle:z,headerProps:k,icon:F,action:w,actionsClassName:G,actions:J,cardClassName:Z,actionsTopRight:X,className:q,noPadding:_,titleTypographyProps:tt,subheaderTypographyProps:et}=s,K=D();let Y={},$={};b&&b.split(/[\s]+/g).forEach(Q=>{Y={...Y,...h.card[Q]},$={...$,...h.cardContent[Q]}});const nt=()=>!r&&!F?null:(0,e.jsxs)("div",{"data-testid":"info-card-subheader",children:[r&&(0,e.jsx)("div",{className:K.subheader,children:r}),F]}),ot=N||(P?{slackChannel:P}:{});return(0,e.jsx)(p.A,{style:Y,className:q,children:(0,e.jsxs)(o,{...ot,children:[n&&(0,e.jsx)(g.A,{classes:{root:i()(K.header),title:K.headerTitle,subheader:K.headerSubheader,avatar:K.headerAvatar,action:K.headerAction,content:K.headerContent},title:n,subheader:nt(),action:w,style:{...z},titleTypographyProps:tt,subheaderTypographyProps:et,...k}),X&&(0,e.jsx)(V,{children:X}),T&&(0,e.jsx)(v.A,{}),(0,e.jsx)(d.A,{className:i()(Z,{[K.noPadding]:_,[K.contentAlignBottom]:H==="bottom"}),style:$,children:A}),J&&(0,e.jsx)(E.A,{className:G,children:J}),R&&(0,e.jsx)(x,{...R})]})})}},89648:(W,y,t)=>{t.d(y,{s:()=>S});var e=t(31085),p=t(58837),E=t(14041),d=t(51372),g=t(48514),v=t(67871),C=t(90184),c=t(8859),j=t(34428);const i=Object.freeze({createEntityRefColumn(f){const{defaultKind:x}=f;function L(u){return u.metadata?.title||(0,C.S)(u,{defaultKind:x})}return{title:"Name",highlight:!0,customFilterAndSearch(u,M){return L(M).includes(u)},customSort(u,M){return L(u).localeCompare(L(M))},render:u=>(0,e.jsx)(c.z,{entityRef:u,defaultKind:x,title:u.metadata?.title})}},createEntityRelationColumn(f){const{title:x,relation:L,defaultKind:u,filter:M}=f;function U(o){return(0,v.t)(o,L,M)}function I(o){return U(o).map(D=>(0,C.S)(D,{defaultKind:u})).join(", ")}return{title:x,customFilterAndSearch(o,D){return I(D).includes(o)},customSort(o,D){return I(o).localeCompare(I(D))},render:o=>(0,e.jsx)(j.i,{entityRefs:U(o),defaultKind:u})}},createOwnerColumn(){return this.createEntityRelationColumn({title:"Owner",relation:d.vv,defaultKind:"group"})},createDomainColumn(){return this.createEntityRelationColumn({title:"Domain",relation:d.jn,defaultKind:"domain",filter:{kind:"domain"}})},createSystemColumn(){return this.createEntityRelationColumn({title:"System",relation:d.jn,defaultKind:"system",filter:{kind:"system"}})},createMetadataDescriptionColumn(){return{title:"Description",field:"metadata.description",render:f=>(0,e.jsx)(g.M,{text:f.metadata.description,placement:"bottom-start",line:2})}},createSpecLifecycleColumn(){return{title:"Lifecycle",field:"spec.lifecycle"}},createSpecTypeColumn(){return{title:"Type",field:"spec.type"}}}),O=[i.createEntityRefColumn({defaultKind:"system"}),i.createDomainColumn(),i.createOwnerColumn(),i.createMetadataDescriptionColumn()],a=[i.createEntityRefColumn({defaultKind:"component"}),i.createSystemColumn(),i.createOwnerColumn(),i.createSpecTypeColumn(),i.createSpecLifecycleColumn(),i.createMetadataDescriptionColumn()];var m=t(14209);const l=(0,p.A)(f=>({empty:{padding:f.spacing(2),display:"flex",justifyContent:"center"}})),S=f=>{const{entities:x,title:L,emptyContent:u,variant:M="gridItem",columns:U,tableOptions:I={}}=f,o=l(),D={minWidth:"0",width:"100%"};return M==="gridItem"&&(D.height="calc(100% - 10px)"),(0,e.jsx)(m.X,{columns:U,title:L,style:D,emptyContent:u&&(0,e.jsx)("div",{className:o.empty,children:u}),options:{search:!1,paging:!1,actionsColumnIndex:-1,padding:"dense",draggable:!1,...I},data:x})};S.columns=i,S.systemEntityColumns=O,S.componentEntityColumns=a},99538:(W,y,t)=>{t.d(y,{T7:()=>c,TY:()=>O,tN:()=>i});var e=t(31085),p=t(6820),E=t(25862),d=t(43836),g=t(10602),v=t(14041);const C=(0,d.tK)("entity-context"),c=a=>{const{children:m,entity:l,loading:S,error:f,refresh:x}=a,L={entity:l,loading:S,error:f,refresh:x};return(0,e.jsx)(C.Provider,{value:(0,g.B)({1:L}),children:(0,e.jsx)(E.Ig,{attributes:{...l?{entityRef:(0,p.U2)(l)}:void 0},children:m})})},j=a=>_jsx(c,{entity:a.entity,loading:!a.entity,error:void 0,refresh:void 0,children:a.children});function i(){const a=(0,d.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");if(!m.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:m.entity}}function O(){const a=(0,d.qO)("entity-context");if(!a)throw new Error("Entity context is not available");const m=a.atVersion(1);if(!m)throw new Error("EntityContext v1 not available");const{entity:l,loading:S,error:f,refresh:x}=m;return{entity:l,loading:S,error:f,refresh:x}}},90759:(W,y,t)=>{t.d(y,{W:()=>p});var e=t(93184);const p=(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,y,t)=>{t.r(y),t.d(y,{DependencyOfComponentsCard:()=>c});var e=t(31085),p=t(51372),E=t(14041),d=t(48105),g=t(59251),v=t(90759),C=t(87849);function c(j){const{t:i}=(0,C.i)(v.W),{variant:O="gridItem",title:a=i("dependencyOfComponentsCard.title"),columns:m=d.mz,tableOptions:l={}}=j;return(0,e.jsx)(g.p,{variant:O,title:a,entityKind:"Component",relationType:p.fT,columns:m,emptyMessage:i("dependencyOfComponentsCard.emptyMessage"),emptyHelpLink:d.e2,asRenderableEntities:d.xJ,tableOptions:l})}},59251:(W,y,t)=>{t.d(y,{p:()=>h});var e=t(31085),p=t(72501),E=t(99538),d=t(6820),g=t(72427),v=t(73466),C=t(7341);function c(B,s){const n=s?.type?.toLocaleLowerCase("en-US"),r=s?.kind?.toLocaleLowerCase("en-US"),T=(0,g.gf)(C.v),{loading:R,value:P,error:N}=(0,v.A)(async()=>{const b=B.relations?.filter(A=>(!n||A.type.toLocaleLowerCase("en-US")===n)&&(!r||(0,d.KU)(A.targetRef).kind===r));if(!b?.length)return[];const{items:H}=await T.getEntitiesByRefs({entityRefs:b.map(A=>A.targetRef)});return H.filter(A=>!!A)},[B,n,r]);return{entities:P,loading:R,error:N}}var j=t(89648),i=t(14041),O=t(48045),a=t(68146),m=t(58837),l=t(37197),S=t(8109),f=t(5951),x=t(77310),L=t(37916),u=t(22020);const M=(0,m.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:s,error:n,defaultExpanded:r}=B,T=M();if(n.name!=="ResponseError")return(0,e.jsx)(u.b,{title:s??n.message,defaultExpanded:r,error:n});const{body:R,cause:P}=n,{request:N,response:b}=R,H=`${b.statusCode}: ${P.name}`,A=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 & zoom to move around the diagram.",edgeLabels:{partOf:"part of",provides:"provides",dependsOn:"depends on"}}}})},124:(W,y,t)=>{t.r(y),t.d(y,{DependencyOfComponentsCard:()=>c});var e=t(31085),p=t(51372),E=t(14041),d=t(48105),g=t(59251),v=t(90759),C=t(87849);function c(j){const{t:i}=(0,C.i)(v.W),{variant:O="gridItem",title:a=i("dependencyOfComponentsCard.title"),columns:m=d.mz,tableOptions:l={}}=j;return(0,e.jsx)(g.p,{variant:O,title:a,entityKind:"Component",relationType:p.fT,columns:m,emptyMessage:i("dependencyOfComponentsCard.emptyMessage"),emptyHelpLink:d.e2,asRenderableEntities:d.xJ,tableOptions:l})}},59251:(W,y,t)=>{t.d(y,{p:()=>h});var e=t(31085),p=t(72501),E=t(99538),d=t(6820),g=t(72427),v=t(73466),C=t(7341);function c(B,s){const n=s?.type?.toLocaleLowerCase("en-US"),r=s?.kind?.toLocaleLowerCase("en-US"),T=(0,g.gf)(C.v),{loading:R,value:P,error:N}=(0,v.A)(async()=>{const b=B.relations?.filter(A=>(!n||A.type.toLocaleLowerCase("en-US")===n)&&(!r||(0,d.KU)(A.targetRef).kind===r));if(!b?.length)return[];const{items:H}=await T.getEntitiesByRefs({entityRefs:b.map(A=>A.targetRef)});return H.filter(A=>!!A)},[B,n,r]);return{entities:P,loading:R,error:N}}var j=t(89648),i=t(14041),O=t(48045),a=t(68146),m=t(58837),l=t(37197),S=t(8109),f=t(5951),x=t(77310),L=t(37916),u=t(22020);const M=(0,m.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:s,error:n,defaultExpanded:r}=B,T=M();if(n.name!=="ResponseError")return(0,e.jsx)(u.b,{title:s??n.message,defaultExpanded:r,error:n});const{body:R,cause:P}=n,{request:N,response:b}=R,H=`${b.statusCode}: ${P.name}`,A=N&&`${N.method} ${N.url}`,z=P.message.replace(/\\n/g,`
3
3
  `),k=P.stack?.replace(/\\n/g,`
4
4
  `),F=JSON.stringify(R,void 0,2);return(0,e.jsxs)(u.b,{title:s??n.message,defaultExpanded:r,error:{name:H,message:z,stack:k},children:[A&&(0,e.jsxs)(S.A,{alignItems:"flex-start",children:[(0,e.jsx)(f.A,{classes:{secondary:T.text},primary:"Request",secondary:N?`${A}`:void 0}),(0,e.jsx)(L.l,{text:A})]}),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l.A,{component:"li",className:T.divider}),(0,e.jsx)(S.A,{alignItems:"flex-start",children:(0,e.jsx)(f.A,{classes:{secondary:T.text},primary:"Full Error as JSON"})}),(0,e.jsx)(x.z,{language:"json",text:F,showCopyCodeButton:!0})]})]})}var I=t(72072),o=t(48105),D=t(90759),V=t(87849);const h=B=>{const{variant:s="gridItem",title:n,columns:r,entityKind:T,relationType:R,emptyMessage:P,emptyHelpLink:N,asRenderableEntities:b,tableOptions:H={}}=B,{t:A}=(0,V.i)(D.W),{entity:z}=(0,E.tN)(),{entities:k,loading:F,error:w}=c(z,{type:R,kind:T});return F?(0,e.jsx)(O.n,{variant:s,title:n,children:(0,e.jsx)(a.k,{})}):w?(0,e.jsx)(O.n,{variant:s,title:n,children:(0,e.jsx)(U,{error:w})}):(0,e.jsx)(j.s,{title:n,variant:s,emptyContent:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)(p.A,{variant:"body1",children:P}),(0,e.jsx)(p.A,{variant:"body2",children:(0,e.jsx)(I.N_,{to:N,externalLinkIcon:!0,children:A("relatedEntitiesCard.emptyHelpLinkTitle")})})]}),columns:r,entities:b(k||[]),tableOptions:H})};h.componentEntityColumns=o.mz,h.componentEntityHelpLink=o.e2,h.asComponentEntities=o.xJ,h.resourceEntityColumns=o.v9,h.resourceEntityHelpLink=o.nz,h.asResourceEntities=o.eB,h.systemEntityColumns=o.MW,h.systemEntityHelpLink=o.iU,h.asSystemEntities=o.vy,h.domainEntityColums=o.xO,h.domainEntityHelpLink=o.Xr,h.asDomainEntities=o.QS},48105:(W,y,t)=>{t.d(y,{MW:()=>c,QS:()=>m,Xr:()=>a,e2:()=>E,eB:()=>C,iU:()=>j,mz:()=>p,nz:()=>v,v9:()=>g,vy:()=>i,xJ:()=>d,xO:()=>O});var e=t(89648);const p=[e.s.columns.createEntityRefColumn({defaultKind:"component"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],E="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",d=l=>l,g=[e.s.columns.createEntityRefColumn({defaultKind:"resource"}),e.s.columns.createOwnerColumn(),e.s.columns.createSpecTypeColumn(),e.s.columns.createSpecLifecycleColumn(),e.s.columns.createMetadataDescriptionColumn()],v="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",C=l=>l,c=[e.s.columns.createEntityRefColumn({defaultKind:"system"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],j="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",i=l=>l,O=[e.s.columns.createEntityRefColumn({defaultKind:"domain"}),e.s.columns.createOwnerColumn(),e.s.columns.createMetadataDescriptionColumn()],a="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-domain",m=l=>l}}]);})();
5
5
 
6
- //# sourceMappingURL=124.c9dccb21.chunk.js.map
6
+ //# sourceMappingURL=124.f02a9318.chunk.js.map