@techdocs/cli 1.10.2 → 1.10.3-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 (55) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/embedded-app/.config-schema.json +145 -145
  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/1155.1bc918a1.chunk.js +10 -0
  6. package/dist/embedded-app/static/{1155.c6c120ba.chunk.js.map → 1155.1bc918a1.chunk.js.map} +1 -1
  7. package/dist/embedded-app/static/{1335.e649d01a.chunk.js → 1335.d9759037.chunk.js} +2 -2
  8. package/dist/embedded-app/static/{1335.e649d01a.chunk.js.map → 1335.d9759037.chunk.js.map} +1 -1
  9. package/dist/embedded-app/static/{1749.ecaae025.chunk.js → 1749.aa6bc589.chunk.js} +2 -2
  10. package/dist/embedded-app/static/{1749.ecaae025.chunk.js.map → 1749.aa6bc589.chunk.js.map} +1 -1
  11. package/dist/embedded-app/static/{1994.90be16c3.chunk.js → 1994.ca9d4fc1.chunk.js} +2 -2
  12. package/dist/embedded-app/static/{1994.90be16c3.chunk.js.map → 1994.ca9d4fc1.chunk.js.map} +1 -1
  13. package/dist/embedded-app/static/{2295.676254a6.chunk.js → 2295.3f44c986.chunk.js} +2 -2
  14. package/dist/embedded-app/static/{2295.676254a6.chunk.js.map → 2295.3f44c986.chunk.js.map} +1 -1
  15. package/dist/embedded-app/static/{4591.c7904e2c.chunk.js → 4591.5aa5d796.chunk.js} +2 -2
  16. package/dist/embedded-app/static/{4591.c7904e2c.chunk.js.map → 4591.5aa5d796.chunk.js.map} +1 -1
  17. package/dist/embedded-app/static/{4648.42e253c5.chunk.js → 4648.68d2c6ff.chunk.js} +2 -2
  18. package/dist/embedded-app/static/{4648.42e253c5.chunk.js.map → 4648.68d2c6ff.chunk.js.map} +1 -1
  19. package/dist/embedded-app/static/{5574.3e0b1b01.chunk.js → 5574.723a5e64.chunk.js} +2 -2
  20. package/dist/embedded-app/static/{5574.3e0b1b01.chunk.js.map → 5574.723a5e64.chunk.js.map} +1 -1
  21. package/dist/embedded-app/static/{7203.f047878f.chunk.js → 6138.ca5f4dea.chunk.js} +2 -2
  22. package/dist/embedded-app/static/{6138.72f63616.chunk.js.map → 6138.ca5f4dea.chunk.js.map} +1 -1
  23. package/dist/embedded-app/static/6270.33cbf043.chunk.js +2 -0
  24. package/dist/embedded-app/static/{6270.0cf24ebb.chunk.js.map → 6270.33cbf043.chunk.js.map} +1 -1
  25. package/dist/embedded-app/static/7186.96e6edf9.chunk.js +2 -0
  26. package/dist/embedded-app/static/{7186.c0fa7899.chunk.js.map → 7186.96e6edf9.chunk.js.map} +1 -1
  27. package/dist/embedded-app/static/{6138.72f63616.chunk.js → 7203.7288c4e0.chunk.js} +2 -2
  28. package/dist/embedded-app/static/{7203.f047878f.chunk.js.map → 7203.7288c4e0.chunk.js.map} +1 -1
  29. package/dist/embedded-app/static/7226.99db194a.chunk.js +2 -0
  30. package/dist/embedded-app/static/{7226.f8fc7544.chunk.js.map → 7226.99db194a.chunk.js.map} +1 -1
  31. package/dist/embedded-app/static/{7382.688a734f.chunk.js → 7382.836db1c7.chunk.js} +2 -2
  32. package/dist/embedded-app/static/{7382.688a734f.chunk.js.map → 7382.836db1c7.chunk.js.map} +1 -1
  33. package/dist/embedded-app/static/7526.601d8e47.chunk.js +2 -0
  34. package/dist/embedded-app/static/{7526.a9e2aca8.chunk.js.map → 7526.601d8e47.chunk.js.map} +1 -1
  35. package/dist/embedded-app/static/{8125.d73ed16d.chunk.js → 8125.2e82046f.chunk.js} +3 -3
  36. package/dist/embedded-app/static/{8125.d73ed16d.chunk.js.map → 8125.2e82046f.chunk.js.map} +1 -1
  37. package/dist/embedded-app/static/{9050.47091371.chunk.js → 9050.1b486cae.chunk.js} +2 -2
  38. package/dist/embedded-app/static/{9050.47091371.chunk.js.map → 9050.1b486cae.chunk.js.map} +1 -1
  39. package/dist/embedded-app/static/{9230.57f4ae14.chunk.js → 9230.02b12ff0.chunk.js} +2 -2
  40. package/dist/embedded-app/static/{9230.57f4ae14.chunk.js.map → 9230.02b12ff0.chunk.js.map} +1 -1
  41. package/dist/embedded-app/static/{9579.46a875e3.chunk.js → 9579.beaea584.chunk.js} +2 -2
  42. package/dist/embedded-app/static/{9579.46a875e3.chunk.js.map → 9579.beaea584.chunk.js.map} +1 -1
  43. package/dist/embedded-app/static/main.9f641a04.js +550 -0
  44. package/dist/embedded-app/static/main.9f641a04.js.map +1 -0
  45. package/dist/embedded-app/static/{runtime.1ed9627a.js → runtime.89b37e56.js} +2 -2
  46. package/dist/embedded-app/static/{runtime.1ed9627a.js.map → runtime.89b37e56.js.map} +1 -1
  47. package/dist/package.json.cjs.js +1 -1
  48. package/package.json +7 -7
  49. package/dist/embedded-app/static/1155.c6c120ba.chunk.js +0 -10
  50. package/dist/embedded-app/static/6270.0cf24ebb.chunk.js +0 -2
  51. package/dist/embedded-app/static/7186.c0fa7899.chunk.js +0 -2
  52. package/dist/embedded-app/static/7226.f8fc7544.chunk.js +0 -2
  53. package/dist/embedded-app/static/7526.a9e2aca8.chunk.js +0 -2
  54. package/dist/embedded-app/static/main.a9a0a87c.js +0 -550
  55. package/dist/embedded-app/static/main.a9a0a87c.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @techdocs/cli
2
2
 
3
+ ## 1.10.3-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-defaults@0.14.0-next.0
9
+ - @backstage/cli-common@0.1.16-next.0
10
+ - @backstage/plugin-techdocs-node@1.13.10-next.0
11
+ - @backstage/config@1.3.6
12
+ - @backstage/catalog-model@1.7.6
13
+
3
14
  ## 1.10.2
4
15
 
5
16
  ### Patch Changes
@@ -131,6 +131,52 @@
131
131
  },
132
132
  "packageName": "@backstage/plugin-permission-common"
133
133
  },
134
+ {
135
+ "path": "../core-components/config.d.ts",
136
+ "value": {
137
+ "type": "object",
138
+ "properties": {
139
+ "auth": {
140
+ "type": "object",
141
+ "properties": {
142
+ "autologout": {
143
+ "description": "Autologout feature configuration",
144
+ "type": "object",
145
+ "properties": {
146
+ "enabled": {
147
+ "description": "Enable or disable the autologout feature",
148
+ "visibility": "frontend",
149
+ "type": "boolean"
150
+ },
151
+ "idleTimeoutMinutes": {
152
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
153
+ "visibility": "frontend",
154
+ "type": "number"
155
+ },
156
+ "promptBeforeIdleSeconds": {
157
+ "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.",
158
+ "visibility": "frontend",
159
+ "type": "number"
160
+ },
161
+ "useWorkerTimers": {
162
+ "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.",
163
+ "visibility": "frontend",
164
+ "type": "boolean"
165
+ },
166
+ "logoutIfDisconnected": {
167
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
168
+ "visibility": "frontend",
169
+ "type": "boolean"
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "$schema": "http://json-schema.org/draft-07/schema#"
177
+ },
178
+ "packageName": "@backstage/core-components"
179
+ },
134
180
  {
135
181
  "path": "../core-app-api/config.d.ts",
136
182
  "value": {
@@ -358,52 +404,6 @@
358
404
  },
359
405
  "packageName": "@backstage/core-app-api"
360
406
  },
361
- {
362
- "path": "../core-components/config.d.ts",
363
- "value": {
364
- "type": "object",
365
- "properties": {
366
- "auth": {
367
- "type": "object",
368
- "properties": {
369
- "autologout": {
370
- "description": "Autologout feature configuration",
371
- "type": "object",
372
- "properties": {
373
- "enabled": {
374
- "description": "Enable or disable the autologout feature",
375
- "visibility": "frontend",
376
- "type": "boolean"
377
- },
378
- "idleTimeoutMinutes": {
379
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
380
- "visibility": "frontend",
381
- "type": "number"
382
- },
383
- "promptBeforeIdleSeconds": {
384
- "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.",
385
- "visibility": "frontend",
386
- "type": "number"
387
- },
388
- "useWorkerTimers": {
389
- "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.",
390
- "visibility": "frontend",
391
- "type": "boolean"
392
- },
393
- "logoutIfDisconnected": {
394
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
395
- "visibility": "frontend",
396
- "type": "boolean"
397
- }
398
- }
399
- }
400
- }
401
- }
402
- },
403
- "$schema": "http://json-schema.org/draft-07/schema#"
404
- },
405
- "packageName": "@backstage/core-components"
406
- },
407
407
  {
408
408
  "path": "../../plugins/techdocs/config.d.ts",
409
409
  "value": {
@@ -1481,105 +1481,6 @@
1481
1481
  },
1482
1482
  "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1483
1483
  },
1484
- {
1485
- "path": "../backend-app-api/config.d.ts",
1486
- "value": {
1487
- "type": "object",
1488
- "properties": {
1489
- "backend": {
1490
- "type": "object",
1491
- "properties": {
1492
- "packages": {
1493
- "description": "Used by the feature discovery service",
1494
- "anyOf": [
1495
- {
1496
- "type": "object",
1497
- "properties": {
1498
- "include": {
1499
- "type": "array",
1500
- "items": {
1501
- "type": "string"
1502
- }
1503
- },
1504
- "exclude": {
1505
- "type": "array",
1506
- "items": {
1507
- "type": "string"
1508
- }
1509
- }
1510
- }
1511
- },
1512
- {
1513
- "const": "all",
1514
- "type": "string"
1515
- }
1516
- ]
1517
- },
1518
- "startup": {
1519
- "type": "object",
1520
- "properties": {
1521
- "default": {
1522
- "type": "object",
1523
- "properties": {
1524
- "onPluginBootFailure": {
1525
- "description": "The default value for `onPluginBootFailure` if not specified for a particular plugin.\nThis defaults to 'abort', which means `onPluginBootFailure: continue` must be specified\nfor backend startup to continue on plugin boot failure. This can also be set to\n'continue', which flips the logic for individual plugins so that they must be set to\n`onPluginBootFailure: abort` to be required.",
1526
- "enum": [
1527
- "abort",
1528
- "continue"
1529
- ],
1530
- "type": "string"
1531
- },
1532
- "onPluginModuleBootFailure": {
1533
- "description": "The default value for `onPluginModuleBootFailure` if not specified for a particular plugin module.\nThis defaults to 'abort', which means `onPluginModuleBootFailure: continue` must be specified\nfor backend startup to continue on plugin module boot failure. This can also be set to\n'continue', which flips the logic for individual plugin modules so that they must be set to\n`onPluginModuleBootFailure: abort` to be required.",
1534
- "enum": [
1535
- "abort",
1536
- "continue"
1537
- ],
1538
- "type": "string"
1539
- }
1540
- }
1541
- },
1542
- "plugins": {
1543
- "type": "object",
1544
- "additionalProperties": {
1545
- "type": "object",
1546
- "properties": {
1547
- "onPluginBootFailure": {
1548
- "description": "Used to control backend startup behavior when this plugin fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nfails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin failures for plugins\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
1549
- "enum": [
1550
- "abort",
1551
- "continue"
1552
- ],
1553
- "type": "string"
1554
- },
1555
- "modules": {
1556
- "type": "object",
1557
- "additionalProperties": {
1558
- "type": "object",
1559
- "properties": {
1560
- "onPluginModuleBootFailure": {
1561
- "description": "Used to control backend startup behavior when this plugin module fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nmodule fails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin module failures for plugin modules\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
1562
- "enum": [
1563
- "abort",
1564
- "continue"
1565
- ],
1566
- "type": "string"
1567
- }
1568
- }
1569
- }
1570
- }
1571
- }
1572
- }
1573
- }
1574
- }
1575
- }
1576
- }
1577
- }
1578
- },
1579
- "$schema": "http://json-schema.org/draft-07/schema#"
1580
- },
1581
- "packageName": "@backstage/backend-app-api"
1582
- },
1583
1484
  {
1584
1485
  "path": "../backend-defaults/config.d.ts",
1585
1486
  "value": {
@@ -3176,6 +3077,105 @@
3176
3077
  },
3177
3078
  "packageName": "@backstage/plugin-events-node"
3178
3079
  },
3080
+ {
3081
+ "path": "../backend-app-api/config.d.ts",
3082
+ "value": {
3083
+ "type": "object",
3084
+ "properties": {
3085
+ "backend": {
3086
+ "type": "object",
3087
+ "properties": {
3088
+ "packages": {
3089
+ "description": "Used by the feature discovery service",
3090
+ "anyOf": [
3091
+ {
3092
+ "type": "object",
3093
+ "properties": {
3094
+ "include": {
3095
+ "type": "array",
3096
+ "items": {
3097
+ "type": "string"
3098
+ }
3099
+ },
3100
+ "exclude": {
3101
+ "type": "array",
3102
+ "items": {
3103
+ "type": "string"
3104
+ }
3105
+ }
3106
+ }
3107
+ },
3108
+ {
3109
+ "const": "all",
3110
+ "type": "string"
3111
+ }
3112
+ ]
3113
+ },
3114
+ "startup": {
3115
+ "type": "object",
3116
+ "properties": {
3117
+ "default": {
3118
+ "type": "object",
3119
+ "properties": {
3120
+ "onPluginBootFailure": {
3121
+ "description": "The default value for `onPluginBootFailure` if not specified for a particular plugin.\nThis defaults to 'abort', which means `onPluginBootFailure: continue` must be specified\nfor backend startup to continue on plugin boot failure. This can also be set to\n'continue', which flips the logic for individual plugins so that they must be set to\n`onPluginBootFailure: abort` to be required.",
3122
+ "enum": [
3123
+ "abort",
3124
+ "continue"
3125
+ ],
3126
+ "type": "string"
3127
+ },
3128
+ "onPluginModuleBootFailure": {
3129
+ "description": "The default value for `onPluginModuleBootFailure` if not specified for a particular plugin module.\nThis defaults to 'abort', which means `onPluginModuleBootFailure: continue` must be specified\nfor backend startup to continue on plugin module boot failure. This can also be set to\n'continue', which flips the logic for individual plugin modules so that they must be set to\n`onPluginModuleBootFailure: abort` to be required.",
3130
+ "enum": [
3131
+ "abort",
3132
+ "continue"
3133
+ ],
3134
+ "type": "string"
3135
+ }
3136
+ }
3137
+ },
3138
+ "plugins": {
3139
+ "type": "object",
3140
+ "additionalProperties": {
3141
+ "type": "object",
3142
+ "properties": {
3143
+ "onPluginBootFailure": {
3144
+ "description": "Used to control backend startup behavior when this plugin fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nfails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin failures for plugins\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
3145
+ "enum": [
3146
+ "abort",
3147
+ "continue"
3148
+ ],
3149
+ "type": "string"
3150
+ },
3151
+ "modules": {
3152
+ "type": "object",
3153
+ "additionalProperties": {
3154
+ "type": "object",
3155
+ "properties": {
3156
+ "onPluginModuleBootFailure": {
3157
+ "description": "Used to control backend startup behavior when this plugin module fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nmodule fails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin module failures for plugin modules\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
3158
+ "enum": [
3159
+ "abort",
3160
+ "continue"
3161
+ ],
3162
+ "type": "string"
3163
+ }
3164
+ }
3165
+ }
3166
+ }
3167
+ }
3168
+ }
3169
+ }
3170
+ }
3171
+ }
3172
+ }
3173
+ }
3174
+ },
3175
+ "$schema": "http://json-schema.org/draft-07/schema#"
3176
+ },
3177
+ "packageName": "@backstage/backend-app-api"
3178
+ },
3179
3179
  {
3180
3180
  "path": "../../plugins/auth-backend-module-google-provider/config.d.ts",
3181
3181
  "value": {
@@ -1,4 +1,4 @@
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="color-scheme" content="light dark"/><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.1ed9627a.js"></script><script defer="defer" src="/static/module-material-ui.d7e935bd.js"></script><script defer="defer" src="/static/module-lodash.4c0b97a0.js"></script><script defer="defer" src="/static/module-date-fns.ea38f57b.js"></script><script defer="defer" src="/static/module-mui.5d4d7042.js"></script><script defer="defer" src="/static/module-material-table.3ca211ef.js"></script><script defer="defer" src="/static/module-zod.ebbb06c8.js"></script><script defer="defer" src="/static/module-react-dom.e29ff3c5.js"></script><script defer="defer" src="/static/module-i18next.2dc1c3e2.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.ba954a31.js"></script><script defer="defer" src="/static/module-remix-run.a4991870.js"></script><script defer="defer" src="/static/vendor.5686e88b.js"></script><script defer="defer" src="/static/main.a9a0a87c.js"></script><link href="/static/main.5f8bd308.css" rel="stylesheet"><script type="backstage.io/config">[
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="color-scheme" content="light dark"/><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.89b37e56.js"></script><script defer="defer" src="/static/module-material-ui.d7e935bd.js"></script><script defer="defer" src="/static/module-lodash.4c0b97a0.js"></script><script defer="defer" src="/static/module-date-fns.ea38f57b.js"></script><script defer="defer" src="/static/module-mui.5d4d7042.js"></script><script defer="defer" src="/static/module-material-table.3ca211ef.js"></script><script defer="defer" src="/static/module-zod.ebbb06c8.js"></script><script defer="defer" src="/static/module-react-dom.e29ff3c5.js"></script><script defer="defer" src="/static/module-i18next.2dc1c3e2.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.ba954a31.js"></script><script defer="defer" src="/static/module-remix-run.a4991870.js"></script><script defer="defer" src="/static/vendor.5686e88b.js"></script><script defer="defer" src="/static/main.9f641a04.js"></script><link href="/static/main.5f8bd308.css" rel="stylesheet"><script type="backstage.io/config">[
2
2
  {
3
3
  "context": "app-config.yaml",
4
4
  "data": {
@@ -43,7 +43,7 @@
43
43
  color="#5bbad5"
44
44
  />
45
45
  <title><%= config.getString('app.title') %></title>
46
- <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.1ed9627a.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.d7e935bd.js"></script><script defer src="<%= publicPath %>/static/module-lodash.4c0b97a0.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.ea38f57b.js"></script><script defer src="<%= publicPath %>/static/module-mui.5d4d7042.js"></script><script defer src="<%= publicPath %>/static/module-material-table.3ca211ef.js"></script><script defer src="<%= publicPath %>/static/module-zod.ebbb06c8.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.e29ff3c5.js"></script><script defer src="<%= publicPath %>/static/module-i18next.2dc1c3e2.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.ba954a31.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.a4991870.js"></script><script defer src="<%= publicPath %>/static/vendor.5686e88b.js"></script><script defer src="<%= publicPath %>/static/main.a9a0a87c.js"></script><link href="<%= publicPath %>/static/main.5f8bd308.css" rel="stylesheet"></head>
46
+ <meta name="backstage-app-mode" content="public"><meta name="backstage-public-path" content="<%= publicPath %>/"><script defer src="<%= publicPath %>/static/runtime.89b37e56.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.d7e935bd.js"></script><script defer src="<%= publicPath %>/static/module-lodash.4c0b97a0.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.ea38f57b.js"></script><script defer src="<%= publicPath %>/static/module-mui.5d4d7042.js"></script><script defer src="<%= publicPath %>/static/module-material-table.3ca211ef.js"></script><script defer src="<%= publicPath %>/static/module-zod.ebbb06c8.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.e29ff3c5.js"></script><script defer src="<%= publicPath %>/static/module-i18next.2dc1c3e2.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.ba954a31.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.a4991870.js"></script><script defer src="<%= publicPath %>/static/vendor.5686e88b.js"></script><script defer src="<%= publicPath %>/static/main.9f641a04.js"></script><link href="<%= publicPath %>/static/main.5f8bd308.css" rel="stylesheet"></head>
47
47
  <body>
48
48
  <noscript>You need to enable JavaScript to run this app.</noscript>
49
49
  <div id="root"></div>
@@ -0,0 +1,10 @@
1
+ "use strict";(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([["1155"],{90615:function(e,t,n){n.d(t,{K:()=>r});var a=n(18690);function r(e){return(0,a.g)()}},22845:function(e,t,n){n.d(t,{T7:()=>c,TY:()=>d,tN:()=>u});var a=n(31085),r=n(58077),s=n(92829),i=n(9135),o=n(20549);let l=(0,i.tK)("entity-context"),c=e=>{let{children:t,entity:n,loading:i,error:c,refresh:u}=e;return(0,a.jsx)(l.Provider,{value:(0,o.B)({1:{entity:n,loading:i,error:c,refresh:u}}),children:(0,a.jsx)(s.Ig,{attributes:{...n?{entityRef:(0,r.U2)(n)}:void 0},children:t})})};function u(){let e=(0,i.qO)("entity-context");if(!e)throw Error("Entity context is not available");let t=e.atVersion(1);if(!t)throw Error("EntityContext v1 not available");if(!t.entity)throw 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:t.entity}}function d(){let e=(0,i.qO)("entity-context");if(!e)throw Error("Entity context is not available");let t=e.atVersion(1);if(!t)throw Error("EntityContext v1 not available");let{entity:n,loading:a,error:r,refresh:s}=t;return{entity:n,loading:a,error:r,refresh:s}}},83390:function(e,t,n){n.d(t,{Router:()=>M,LegacyEmbeddedDocsRouter:()=>$});var a=n(31085),r=n(18690),s=n(58077),i=n(78931),o=n(95269),l=n(50875),c=n(85066),u=n(4518),d=n(14041),h=n(16647),p=n(90898);let m=({entity:e,withSearch:t=!0})=>{let n=(0,s.sM)(e),r=function(e){let{kind:t,name:n,namespace:a}=e,r=(0,h.S)(p.Oc),s=(0,h.S)(p.Ri);return(0,d.useMemo)(()=>{let e=r({kind:t,namespace:a,name:n}).replace(/\/+$/,""),i=s().replace(/\/+$/,"");return t=>{if(t.toLocaleLowerCase("en-US").startsWith(e.toLocaleLowerCase("en-US"))){let n=t.slice(e.length).replace(/^\/+/,"");return 0===n.length||n.startsWith("#")?`${i}${n}`:`${i}/${n}`}return t}},[r,s,t,n,a])}(n);if(e.metadata.annotations?.[i.GO])try{n=(0,s.KU)(e.metadata.annotations?.[i.GO])}catch{}let m=(0,o.oN)(e);return(0,a.jsxs)(l.Wj,{entityRef:n,children:[(0,a.jsx)(u.Z,{}),(0,a.jsx)(c.p,{withSearch:t,searchResultUrlMapper:r,defaultPath:m})]})};var g=n(34289),x=n(99480),f=n(22845),y=n(9720),j=n(64947),v=n(58837),w=n(72501),E=n(35571),A=n(4809),b=n(60603),k=n(89595),C=n(79811);let S=(0,v.A)(e=>({code:{borderRadius:6,margin:e.spacing(2,0),background:"dark"===e.palette.type?"#444":e.palette.common.white}}),{name:"BackstageMissingAnnotationEmptyState"});function R(e){var t;let n,r,s,i,o,l,c,u,{t:d}=(0,k.i)(C.j);try{n=(0,f.tN)().entity}catch(e){}let{annotation:h,readMoreUrl:p}=e,m=Array.isArray(h)?h:[h],g=S(),x=n?.kind||"Component",{yamlText:v,lineNumbers:R}=(t=n,r=t?.kind||"Component",s=t?.metadata.name||"example",i=t?.spec?.type||"website",o=t?.spec?.owner||"user:default/guest",l=`apiVersion: backstage.io/v1alpha1
2
+ kind: ${r}
3
+ metadata:
4
+ name: ${s}
5
+ annotations:${m.map(e=>`
6
+ ${e}: value`).join("")}
7
+ spec:
8
+ type: ${i}
9
+ owner: ${o}`,c=6,u=[],m.forEach(()=>{u.push(c),c++}),{yamlText:l,lineNumbers:u});return(0,a.jsx)(E.p,{missing:"field",title:d("missingAnnotationEmptyState.title"),description:function(e,t="Component",n){let r=e.map(e=>(0,a.jsx)("code",{children:e},e)).reduce((e,t)=>(0,a.jsxs)(a.Fragment,{children:[e,", ",t]}));return n("missingAnnotationEmptyState.generateDescription",{count:e.length,entityKind:t,annotations:r})}(m,x,d),action:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.A,{variant:"body1",children:d("missingAnnotationEmptyState.annotationYaml",{entityKind:x})}),(0,a.jsx)(y.A,{className:g.code,children:(0,a.jsx)(A.z,{text:v,language:"yaml",showLineNumbers:!0,highlightedNumbers:R,customStyle:{background:"inherit",fontSize:"115%"}})}),(0,a.jsx)(j.A,{color:"primary",component:b.N_,to:p||"https://backstage.io/docs/features/software-catalog/well-known-annotations",children:d("missingAnnotationEmptyState.readMore")})]})})}let M=()=>(0,a.jsxs)(r.BV,{children:[(0,a.jsx)(r.qh,{path:"/",element:(0,a.jsx)(g.TechDocsIndexPage,{})}),(0,a.jsx)(r.qh,{path:"/:namespace/:kind/:name/*",element:(0,a.jsx)(x.W,{})})]}),O=e=>{let{children:t,emptyState:n,withSearch:s=!0}=e,{entity:o}=(0,f.tN)(),l=(0,r.Ye)([{path:"/*",element:(0,a.jsx)(m,{entity:o,withSearch:s}),children:[{path:"*",element:t}]}]);return o.metadata.annotations?.[i.As]||o.metadata.annotations?.[i.GO]?l:n??(0,a.jsx)(R,{annotation:[i.As]})},$=({children:e,withSearch:t=!0})=>(0,a.jsx)(O,{children:e,withSearch:t})},34289:function(e,t,n){n.d(t,{TechDocsIndexPage:()=>i});var a=n(31085),r=n(18690),s=n(70335);let i=e=>(0,r.P1)()||(0,a.jsx)(s.K,{...e})},99480:function(e,t,n){n.d(t,{W:()=>D});var a=n(31085),r=n(14041),s=n(18690),i=n(12439),o=n(55489),l=n(90479),c=n(63401),u=n(85066),d=n(68999),h=n(4518),p=n(90898),m=n(90615),g=n(65605),x=n(60691),f=n(77091),y=n(64947),j=n(50509),v=n(76637),w=n(71531),E=n(16261),A=n(76842),b=n(33947);function k(e){let{children:t,...n}=e,{Progress:s}=(0,f.n)().getComponents(),i=function(e){let{pluginId:t}=e??{},n=(0,j.gf)(v.a),a=(0,j.gf)(w.I),s=(0,r.useMemo)(()=>"BroadcastChannel"in window?new BroadcastChannel(`${t}-auth-cookie-expires-at`):null,[t]),[i,o]=function(e,t){let[n,a]=(0,r.useState)({status:"not-executed",error:void 0,result:void 0}),s=(0,r.useRef)(),i=(0,r.useRef)(),o=(0,E.J)({execute(...t){i.current=t;let n=e(...t);return s.current=n,a(e=>({...e,status:"loading"})),n.then(e=>{n===s.current&&a(t=>({...t,status:"success",error:void 0,result:e}))},e=>{n===s.current&&a(t=>({...t,status:"error",error:e}))}),n},reset(){a({status:"not-executed",error:void 0,result:void 0}),s.current=void 0,i.current=void 0}});return[n,(0,r.useMemo)(()=>({reset(){o.current.reset()},execute:(...e)=>o.current.execute(...e)}),[]),{promise:s.current,lastArgs:i.current}]}(async()=>{let e=await a.getBaseUrl(t),r=`${e}/.backstage/auth/v1/cookie`,s=await n.fetch(`${r}`,{credentials:"include"});if(!s.ok){if(404===s.status)return{expiresAt:new Date(Date.now()+31536e6)};throw await b.o.fromResponse(s)}let i=await s.json();if(!i.expiresAt)throw Error("No expiration date found in response");return i});(0,A.u)(o.execute);let l=(0,r.useCallback)(()=>{o.execute()},[o]),c=(0,r.useCallback)(e=>{let t=(1+3*Math.random())*6e4,n=setTimeout(l,Date.parse(e.expiresAt)-Date.now()-t);return()=>clearTimeout(n)},[l]);return((0,r.useEffect)(()=>{if("success"!==i.status||!i.result)return()=>{};s?.postMessage({action:"COOKIE_REFRESH_SUCCESS",payload:i.result});let e=c(i.result),t=t=>{let{action:n,payload:a}=t.data;"COOKIE_REFRESH_SUCCESS"===n&&(e(),e=c(a))};return s?.addEventListener("message",t),()=>{e(),s?.removeEventListener("message",t)}},[i,c,s]),"not-executed"===i.status||"loading"===i.status&&!i.result||"loading"===i.status&&i.error)?{status:"loading"}:"error"===i.status&&i.error?{status:"error",error:i.error,retry:l}:{status:"success",data:i.result}}(n);return"loading"===i.status?(0,a.jsx)(s,{}):"error"===i.status?(0,a.jsx)(x.b,{error:i.error,children:(0,a.jsx)(y.A,{variant:"outlined",onClick:i.retry,children:"Retry"})}):(0,a.jsx)(a.Fragment,{children:t})}var C=n(99314),S=n(54917),R=n(41329),M=n(50868),O=n(73466),$=n(16647),I=n(76272),L=n(58077),_=n(95269),N=n(78931);let T=e=>{let{withSearch:t,withHeader:n=!0}=e;return(0,a.jsxs)(i.Y,{themeId:"documentation",children:[n&&(0,a.jsx)(d.T,{}),(0,a.jsx)(h.Z,{}),(0,a.jsx)(u.p,{withSearch:t})]})},B=(0,C.A)(i.Y)({height:"inherit",overflowY:"visible"}),D=e=>{let t,n,i,u,d,h,x,f,y=(0,S.A)(),v=(0,r.useMemo)(()=>(0,R.A)({...y,...e.overrideThemeOptions||{}}),[y,e.overrideThemeOptions]),{kind:w,name:E,namespace:A}=(0,m.K)(p.Oc),{children:b,entityRef:C={kind:w,name:E,namespace:A}}=e,D=(0,s.P1)(),U=(0,r.useMemo)(()=>({kind:C.kind,name:C.name,namespace:C.namespace}),[C.kind,C.name,C.namespace]),{shouldShowProgress:F}=(t=(0,j.gf)(I.v),n=(0,s.Zp)(),i=(0,$.S)(p.Oc),u=(0,L.U2)(U),h=(d=(0,r.useRef)(null)).current!==u,x=(0,O.A)(async()=>{try{let e=await t.getEntityByRef(U);if(e?.metadata?.annotations?.[N.GO])return(0,_.b1)(e,i)}catch(e){}},[u,t]),(0,r.useEffect)(()=>{!x.loading&&x.value&&n(x.value,{replace:!0}),x.loading||x.value||(d.current=u)},[x.loading,x.value,n,u]),f=h&&x.loading||!!x.value,{loading:x.loading,shouldShowProgress:f}),K=(0,r.useMemo)(()=>b?null:(D?r.Children.toArray(D.props.children):[]).flatMap(e=>e?.props?.children??[]).find(e=>!(0,g.E)(e,l.AF)&&!(0,g.E)(e,l.Wm)),[b,D]);return F?(0,a.jsx)(o.k,{}):b?(0,a.jsx)(M.A,{theme:v,children:(0,a.jsx)(k,{pluginId:"techdocs",children:(0,a.jsx)(c.R,{entityRef:U,children:({metadata:e,entityMetadata:t,onReady:n})=>(0,a.jsx)(B,{themeId:"documentation",className:"techdocs-reader-page",children:b instanceof Function?b({entityRef:U,techdocsMetadataValue:e.value,entityMetadataValue:t.value,onReady:n}):b})})})}):(0,a.jsx)(M.A,{theme:v,children:(0,a.jsx)(k,{pluginId:"techdocs",children:(0,a.jsx)(c.R,{entityRef:U,children:K||(0,a.jsx)(T,{})})})})}},4518:function(e,t,n){n.d(t,{Z:()=>x});var a=n(31085),r=n(14041),s=n(58837),i=n(29365),o=n(75173),l=n(71677),c=n(37757),u=n(9720),d=n(9684),h=n(63401),p=n(90479),m=n(10337);let g=(0,s.A)(e=>({root:{gridArea:"pageSubheader",flexDirection:"column",minHeight:"auto",padding:e.spacing(3,3,0),"@media print":{display:"none"}}})),x=e=>{let t=g(),[n,s]=(0,r.useState)(null),x=(0,r.useCallback)(e=>{s(e.currentTarget)},[]),f=(0,r.useCallback)(()=>{s(null)},[]),{entityMetadata:{value:y,loading:j}}=(0,h.V)(),v=(0,p.YR)(),w=v.renderComponentsByLocation(m.e.Subheader),E=v.renderComponentsByLocation(m.e.Settings);return(w||E)&&(!1!==j||y)?(0,a.jsx)(o.A,{classes:t,...e.toolbarProps,children:(0,a.jsxs)(u.A,{display:"flex",justifyContent:"flex-end",width:"100%",flexWrap:"wrap",children:[w,E?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Ay,{title:"Settings",children:(0,a.jsx)(i.A,{"aria-controls":"tech-docs-reader-page-settings","aria-haspopup":"true",onClick:x,children:(0,a.jsx)(d.default,{})})}),(0,a.jsx)(c.A,{id:"tech-docs-reader-page-settings",getContentAnchorEl:null,anchorEl:n,anchorOrigin:{vertical:"bottom",horizontal:"right"},open:!!n,onClose:f,keepMounted:!0,children:(0,a.jsx)("div",{children:E})})]}):null]})}):null}}}]);
10
+ //# sourceMappingURL=1155.1bc918a1.chunk.js.map