@techdocs/cli 0.0.0-nightly-20260202031345 → 0.0.0-nightly-20260204030923

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 (49) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/dist/embedded-app/.config-schema.json +126 -126
  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.b5590627.chunk.js → 1155.7fdf8f74.chunk.js} +2 -2
  6. package/dist/embedded-app/static/{1155.b5590627.chunk.js.map → 1155.7fdf8f74.chunk.js.map} +1 -1
  7. package/dist/embedded-app/static/{1335.18ed80ea.chunk.js → 1335.dcfdb85b.chunk.js} +2 -2
  8. package/dist/embedded-app/static/1335.dcfdb85b.chunk.js.map +1 -0
  9. package/dist/embedded-app/static/{1749.b97ecd54.chunk.js → 1749.a533b844.chunk.js} +2 -2
  10. package/dist/embedded-app/static/{1749.b97ecd54.chunk.js.map → 1749.a533b844.chunk.js.map} +1 -1
  11. package/dist/embedded-app/static/{1994.4ab66df0.chunk.js → 1994.dc2e42a2.chunk.js} +2 -2
  12. package/dist/embedded-app/static/{1994.4ab66df0.chunk.js.map → 1994.dc2e42a2.chunk.js.map} +1 -1
  13. package/dist/embedded-app/static/{2295.ba227b79.chunk.js → 2295.f59582df.chunk.js} +2 -2
  14. package/dist/embedded-app/static/{2295.ba227b79.chunk.js.map → 2295.f59582df.chunk.js.map} +1 -1
  15. package/dist/embedded-app/static/{9579.0eda17f2.chunk.js → 4648.cfdf7377.chunk.js} +2 -2
  16. package/dist/embedded-app/static/{4648.da64256f.chunk.js.map → 4648.cfdf7377.chunk.js.map} +1 -1
  17. package/dist/embedded-app/static/{6138.d73686cf.chunk.js → 6138.3eb6e7c9.chunk.js} +2 -2
  18. package/dist/embedded-app/static/{6138.d73686cf.chunk.js.map → 6138.3eb6e7c9.chunk.js.map} +1 -1
  19. package/dist/embedded-app/static/{6270.e3b38d1d.chunk.js → 6270.9a83c78f.chunk.js} +2 -2
  20. package/dist/embedded-app/static/{6270.e3b38d1d.chunk.js.map → 6270.9a83c78f.chunk.js.map} +1 -1
  21. package/dist/embedded-app/static/7186.a2a42354.chunk.js +2 -0
  22. package/dist/embedded-app/static/7186.a2a42354.chunk.js.map +1 -0
  23. package/dist/embedded-app/static/{7203.a3686a7b.chunk.js → 7203.c293cace.chunk.js} +2 -2
  24. package/dist/embedded-app/static/{9050.c23899d5.chunk.js.map → 7203.c293cace.chunk.js.map} +1 -1
  25. package/dist/embedded-app/static/{7382.3e144128.chunk.js → 7382.e9c67a62.chunk.js} +2 -2
  26. package/dist/embedded-app/static/{7382.3e144128.chunk.js.map → 7382.e9c67a62.chunk.js.map} +1 -1
  27. package/dist/embedded-app/static/7526.db424b80.chunk.js +2 -0
  28. package/dist/embedded-app/static/7526.db424b80.chunk.js.map +1 -0
  29. package/dist/embedded-app/static/{8125.b12aec21.chunk.js → 8125.7f1df3f9.chunk.js} +3 -3
  30. package/dist/embedded-app/static/{8125.b12aec21.chunk.js.map → 8125.7f1df3f9.chunk.js.map} +1 -1
  31. package/dist/embedded-app/static/{9050.c23899d5.chunk.js → 9050.d4474bb5.chunk.js} +2 -2
  32. package/dist/embedded-app/static/{7203.a3686a7b.chunk.js.map → 9050.d4474bb5.chunk.js.map} +1 -1
  33. package/dist/embedded-app/static/9230.86594f87.chunk.js +2 -0
  34. package/dist/embedded-app/static/{9230.99f9d012.chunk.js.map → 9230.86594f87.chunk.js.map} +1 -1
  35. package/dist/embedded-app/static/{9230.99f9d012.chunk.js → 9579.c2942493.chunk.js} +2 -2
  36. package/dist/embedded-app/static/{9579.0eda17f2.chunk.js.map → 9579.c2942493.chunk.js.map} +1 -1
  37. package/dist/embedded-app/static/{main.4899331a.js → main.158546ef.js} +3 -3
  38. package/dist/embedded-app/static/main.158546ef.js.map +1 -0
  39. package/dist/embedded-app/static/{runtime.c94ab500.js → runtime.c6a145a1.js} +2 -2
  40. package/dist/embedded-app/static/{runtime.c94ab500.js.map → runtime.c6a145a1.js.map} +1 -1
  41. package/dist/package.json.cjs.js +1 -1
  42. package/package.json +5 -5
  43. package/dist/embedded-app/static/1335.18ed80ea.chunk.js.map +0 -1
  44. package/dist/embedded-app/static/4648.da64256f.chunk.js +0 -2
  45. package/dist/embedded-app/static/7186.2b91465c.chunk.js +0 -2
  46. package/dist/embedded-app/static/7186.2b91465c.chunk.js.map +0 -1
  47. package/dist/embedded-app/static/7526.1ff30a44.chunk.js +0 -2
  48. package/dist/embedded-app/static/7526.1ff30a44.chunk.js.map +0 -1
  49. package/dist/embedded-app/static/main.4899331a.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20260202031345
3
+ ## 0.0.0-nightly-20260204030923
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 7455dae: Use node prefix on native imports
8
8
  - Updated dependencies
9
- - @backstage/backend-defaults@0.0.0-nightly-20260202031345
10
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20260202031345
11
- - @backstage/cli-common@0.0.0-nightly-20260202031345
9
+ - @backstage/backend-defaults@0.0.0-nightly-20260204030923
10
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20260204030923
11
+ - @backstage/cli-common@0.0.0-nightly-20260204030923
12
12
  - @backstage/catalog-model@1.7.6
13
13
  - @backstage/config@1.3.6
14
14
 
@@ -404,6 +404,67 @@
404
404
  },
405
405
  "packageName": "@backstage/core-components"
406
406
  },
407
+ {
408
+ "path": "../../plugins/techdocs/config.d.ts",
409
+ "value": {
410
+ "type": "object",
411
+ "properties": {
412
+ "techdocs": {
413
+ "description": "Configuration options for the techdocs plugin",
414
+ "type": "object",
415
+ "properties": {
416
+ "builder": {
417
+ "description": "Documentation building process depends on the builder attr",
418
+ "visibility": "frontend",
419
+ "enum": [
420
+ "external",
421
+ "local"
422
+ ],
423
+ "type": "string"
424
+ },
425
+ "legacyUseCaseSensitiveTripletPaths": {
426
+ "description": "Allows fallback to case-sensitive triplets in case of migration issues.",
427
+ "visibility": "frontend",
428
+ "type": "boolean"
429
+ },
430
+ "sanitizer": {
431
+ "type": "object",
432
+ "properties": {
433
+ "allowedIframeHosts": {
434
+ "description": "Allows iframe tag only for listed hosts\nExample:\n allowedIframeHosts: [\"example.com\"]\n this will allow all iframes with the host `example.com` in the src attribute",
435
+ "visibility": "frontend",
436
+ "type": "array",
437
+ "items": {
438
+ "type": "string"
439
+ }
440
+ },
441
+ "allowedCustomElementTagNameRegExp": {
442
+ "description": "Allows listed custom element tag name regex\nExample:\n allowedCustomElementTagNameRegExp: '^backstage-'\n this will allow all custom elements with tag name matching `^backstage-` like <backstage-custom-element /> etc.",
443
+ "visibility": "frontend",
444
+ "type": "string"
445
+ },
446
+ "allowedCustomElementAttributeNameRegExp": {
447
+ "description": "Allows listed custom element attribute name regex\nExample:\n allowedCustomElementAttributeNameRegExp: 'attribute1|attribute2'\n this will allow all custom element attributes matching `attribute1` or `attribute2` like <backstage-custom-element attribute1=\"yes\" attribute2/>",
448
+ "visibility": "frontend",
449
+ "type": "string"
450
+ },
451
+ "additionalAllowedURIProtocols": {
452
+ "description": "Allows listed protocols in attributes with URI values\nExample:\n additionalAllowedURIProtocols: ['vscode']\n this will allow all attributes with URI values to have `vscode` protocol like `vscode://some/path` in addition to the default protocols\n matched by DOMPurify's IS_ALLOWED_URI RegExp:",
453
+ "visibility": "frontend",
454
+ "type": "array",
455
+ "items": {
456
+ "type": "string"
457
+ }
458
+ }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ },
464
+ "$schema": "http://json-schema.org/draft-07/schema#"
465
+ },
466
+ "packageName": "@backstage/plugin-techdocs"
467
+ },
407
468
  {
408
469
  "path": "../integration/config.d.ts",
409
470
  "value": {
@@ -1178,132 +1239,6 @@
1178
1239
  },
1179
1240
  "packageName": "@backstage/plugin-catalog"
1180
1241
  },
1181
- {
1182
- "path": "../../plugins/techdocs/config.d.ts",
1183
- "value": {
1184
- "type": "object",
1185
- "properties": {
1186
- "techdocs": {
1187
- "description": "Configuration options for the techdocs plugin",
1188
- "type": "object",
1189
- "properties": {
1190
- "builder": {
1191
- "description": "Documentation building process depends on the builder attr",
1192
- "visibility": "frontend",
1193
- "enum": [
1194
- "external",
1195
- "local"
1196
- ],
1197
- "type": "string"
1198
- },
1199
- "legacyUseCaseSensitiveTripletPaths": {
1200
- "description": "Allows fallback to case-sensitive triplets in case of migration issues.",
1201
- "visibility": "frontend",
1202
- "type": "boolean"
1203
- },
1204
- "sanitizer": {
1205
- "type": "object",
1206
- "properties": {
1207
- "allowedIframeHosts": {
1208
- "description": "Allows iframe tag only for listed hosts\nExample:\n allowedIframeHosts: [\"example.com\"]\n this will allow all iframes with the host `example.com` in the src attribute",
1209
- "visibility": "frontend",
1210
- "type": "array",
1211
- "items": {
1212
- "type": "string"
1213
- }
1214
- },
1215
- "allowedCustomElementTagNameRegExp": {
1216
- "description": "Allows listed custom element tag name regex\nExample:\n allowedCustomElementTagNameRegExp: '^backstage-'\n this will allow all custom elements with tag name matching `^backstage-` like <backstage-custom-element /> etc.",
1217
- "visibility": "frontend",
1218
- "type": "string"
1219
- },
1220
- "allowedCustomElementAttributeNameRegExp": {
1221
- "description": "Allows listed custom element attribute name regex\nExample:\n allowedCustomElementAttributeNameRegExp: 'attribute1|attribute2'\n this will allow all custom element attributes matching `attribute1` or `attribute2` like <backstage-custom-element attribute1=\"yes\" attribute2/>",
1222
- "visibility": "frontend",
1223
- "type": "string"
1224
- },
1225
- "additionalAllowedURIProtocols": {
1226
- "description": "Allows listed protocols in attributes with URI values\nExample:\n additionalAllowedURIProtocols: ['vscode']\n this will allow all attributes with URI values to have `vscode` protocol like `vscode://some/path` in addition to the default protocols\n matched by DOMPurify's IS_ALLOWED_URI RegExp:",
1227
- "visibility": "frontend",
1228
- "type": "array",
1229
- "items": {
1230
- "type": "string"
1231
- }
1232
- }
1233
- }
1234
- }
1235
- }
1236
- }
1237
- },
1238
- "$schema": "http://json-schema.org/draft-07/schema#"
1239
- },
1240
- "packageName": "@backstage/plugin-techdocs"
1241
- },
1242
- {
1243
- "path": "../backend-plugin-api/config.d.ts",
1244
- "value": {
1245
- "type": "object",
1246
- "properties": {
1247
- "backend": {
1248
- "type": "object",
1249
- "properties": {
1250
- "workingDirectory": {
1251
- "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1252
- "type": "string"
1253
- }
1254
- }
1255
- }
1256
- },
1257
- "$schema": "http://json-schema.org/draft-07/schema#"
1258
- },
1259
- "packageName": "@backstage/backend-plugin-api"
1260
- },
1261
- {
1262
- "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1263
- "value": {
1264
- "type": "object",
1265
- "properties": {
1266
- "auth": {
1267
- "description": "Configuration options for the auth plugin",
1268
- "type": "object",
1269
- "properties": {
1270
- "providers": {
1271
- "type": "object",
1272
- "properties": {
1273
- "guest": {
1274
- "type": "object",
1275
- "properties": {
1276
- "userEntityRef": {
1277
- "description": "The entity reference to use for the guest user.",
1278
- "default": "user:development/guest",
1279
- "type": "string"
1280
- },
1281
- "ownershipEntityRefs": {
1282
- "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1283
- "default": "[userEntityRef]",
1284
- "type": "array",
1285
- "items": {
1286
- "type": "string"
1287
- }
1288
- },
1289
- "dangerouslyAllowOutsideDevelopment": {
1290
- "description": "Allow users to sign in with the guest provider outside of their development environments.",
1291
- "type": "boolean"
1292
- }
1293
- }
1294
- }
1295
- }
1296
- }
1297
- },
1298
- "required": [
1299
- "providers"
1300
- ]
1301
- }
1302
- },
1303
- "$schema": "http://json-schema.org/draft-07/schema#"
1304
- },
1305
- "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1306
- },
1307
1242
  {
1308
1243
  "path": "../../plugins/auth-backend/config.d.ts",
1309
1244
  "value": {
@@ -1459,6 +1394,71 @@
1459
1394
  },
1460
1395
  "packageName": "@backstage/plugin-auth-backend"
1461
1396
  },
1397
+ {
1398
+ "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1399
+ "value": {
1400
+ "type": "object",
1401
+ "properties": {
1402
+ "auth": {
1403
+ "description": "Configuration options for the auth plugin",
1404
+ "type": "object",
1405
+ "properties": {
1406
+ "providers": {
1407
+ "type": "object",
1408
+ "properties": {
1409
+ "guest": {
1410
+ "type": "object",
1411
+ "properties": {
1412
+ "userEntityRef": {
1413
+ "description": "The entity reference to use for the guest user.",
1414
+ "default": "user:development/guest",
1415
+ "type": "string"
1416
+ },
1417
+ "ownershipEntityRefs": {
1418
+ "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1419
+ "default": "[userEntityRef]",
1420
+ "type": "array",
1421
+ "items": {
1422
+ "type": "string"
1423
+ }
1424
+ },
1425
+ "dangerouslyAllowOutsideDevelopment": {
1426
+ "description": "Allow users to sign in with the guest provider outside of their development environments.",
1427
+ "type": "boolean"
1428
+ }
1429
+ }
1430
+ }
1431
+ }
1432
+ }
1433
+ },
1434
+ "required": [
1435
+ "providers"
1436
+ ]
1437
+ }
1438
+ },
1439
+ "$schema": "http://json-schema.org/draft-07/schema#"
1440
+ },
1441
+ "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1442
+ },
1443
+ {
1444
+ "path": "../backend-plugin-api/config.d.ts",
1445
+ "value": {
1446
+ "type": "object",
1447
+ "properties": {
1448
+ "backend": {
1449
+ "type": "object",
1450
+ "properties": {
1451
+ "workingDirectory": {
1452
+ "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1453
+ "type": "string"
1454
+ }
1455
+ }
1456
+ }
1457
+ },
1458
+ "$schema": "http://json-schema.org/draft-07/schema#"
1459
+ },
1460
+ "packageName": "@backstage/backend-plugin-api"
1461
+ },
1462
1462
  {
1463
1463
  "path": "../backend-app-api/config.d.ts",
1464
1464
  "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.c94ab500.js"></script><script defer="defer" src="/static/module-material-ui.3c48b777.js"></script><script defer="defer" src="/static/module-lodash.c50623b1.js"></script><script defer="defer" src="/static/module-date-fns.bfd1b82f.js"></script><script defer="defer" src="/static/module-mui.c5efba64.js"></script><script defer="defer" src="/static/module-material-table.40a11f4e.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.909b7d4e.js"></script><script defer="defer" src="/static/module-parse5.94980036.js"></script><script defer="defer" src="/static/module-zod.c31bff05.js"></script><script defer="defer" src="/static/module-react-dom.c631e87d.js"></script><script defer="defer" src="/static/module-i18next.c154323c.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.6e061f96.js"></script><script defer="defer" src="/static/module-remix-run.d87774b0.js"></script><script defer="defer" src="/static/vendor.e4357869.js"></script><script defer="defer" src="/static/main.4899331a.js"></script><link href="/static/main.1ffe7072.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.c6a145a1.js"></script><script defer="defer" src="/static/module-material-ui.3c48b777.js"></script><script defer="defer" src="/static/module-lodash.c50623b1.js"></script><script defer="defer" src="/static/module-date-fns.bfd1b82f.js"></script><script defer="defer" src="/static/module-mui.c5efba64.js"></script><script defer="defer" src="/static/module-material-table.40a11f4e.js"></script><script defer="defer" src="/static/module-micromark-core-commonmark.909b7d4e.js"></script><script defer="defer" src="/static/module-parse5.94980036.js"></script><script defer="defer" src="/static/module-zod.c31bff05.js"></script><script defer="defer" src="/static/module-react-dom.c631e87d.js"></script><script defer="defer" src="/static/module-i18next.c154323c.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.6e061f96.js"></script><script defer="defer" src="/static/module-remix-run.d87774b0.js"></script><script defer="defer" src="/static/vendor.e4357869.js"></script><script defer="defer" src="/static/main.158546ef.js"></script><link href="/static/main.1ffe7072.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.c94ab500.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.3c48b777.js"></script><script defer src="<%= publicPath %>/static/module-lodash.c50623b1.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.bfd1b82f.js"></script><script defer src="<%= publicPath %>/static/module-mui.c5efba64.js"></script><script defer src="<%= publicPath %>/static/module-material-table.40a11f4e.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.909b7d4e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036.js"></script><script defer src="<%= publicPath %>/static/module-zod.c31bff05.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87d.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.6e061f96.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.d87774b0.js"></script><script defer src="<%= publicPath %>/static/vendor.e4357869.js"></script><script defer src="<%= publicPath %>/static/main.4899331a.js"></script><link href="<%= publicPath %>/static/main.1ffe7072.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.c6a145a1.js"></script><script defer src="<%= publicPath %>/static/module-material-ui.3c48b777.js"></script><script defer src="<%= publicPath %>/static/module-lodash.c50623b1.js"></script><script defer src="<%= publicPath %>/static/module-date-fns.bfd1b82f.js"></script><script defer src="<%= publicPath %>/static/module-mui.c5efba64.js"></script><script defer src="<%= publicPath %>/static/module-material-table.40a11f4e.js"></script><script defer src="<%= publicPath %>/static/module-micromark-core-commonmark.909b7d4e.js"></script><script defer src="<%= publicPath %>/static/module-parse5.94980036.js"></script><script defer src="<%= publicPath %>/static/module-zod.c31bff05.js"></script><script defer src="<%= publicPath %>/static/module-react-dom.c631e87d.js"></script><script defer src="<%= publicPath %>/static/module-i18next.c154323c.js"></script><script defer src="<%= publicPath %>/static/module-react-beautiful-dnd.6e061f96.js"></script><script defer src="<%= publicPath %>/static/module-remix-run.d87774b0.js"></script><script defer src="<%= publicPath %>/static/vendor.e4357869.js"></script><script defer src="<%= publicPath %>/static/main.158546ef.js"></script><link href="<%= publicPath %>/static/main.1ffe7072.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>
@@ -6,5 +6,5 @@ metadata:
6
6
  ${e}: value`).join("")}
7
7
  spec:
8
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(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(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(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.b5590627.chunk.js.map
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(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(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(50928),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(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.7fdf8f74.chunk.js.map