@techdocs/cli 0.0.0-nightly-20240414023511 → 0.0.0-nightly-20240416021242

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 (31) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/dist/embedded-app/.config-schema.json +98 -23
  3. package/dist/embedded-app/index.html +1 -1
  4. package/dist/embedded-app/static/{124.235bfaa5.chunk.js → 124.843ab31e.chunk.js} +1 -1
  5. package/dist/embedded-app/static/{124.235bfaa5.chunk.js.map → 124.843ab31e.chunk.js.map} +1 -1
  6. package/dist/embedded-app/static/{2401.8afa4dc3.chunk.js → 2401.4df01527.chunk.js} +1 -1
  7. package/dist/embedded-app/static/{2401.8afa4dc3.chunk.js.map → 2401.4df01527.chunk.js.map} +1 -1
  8. package/dist/embedded-app/static/{2420.df6a26bf.chunk.js → 2420.18b68427.chunk.js} +1 -1
  9. package/dist/embedded-app/static/{2420.df6a26bf.chunk.js.map → 2420.18b68427.chunk.js.map} +1 -1
  10. package/dist/embedded-app/static/{287.445503fc.chunk.js → 287.ee4ee196.chunk.js} +1 -1
  11. package/dist/embedded-app/static/{287.445503fc.chunk.js.map → 287.ee4ee196.chunk.js.map} +1 -1
  12. package/dist/embedded-app/static/{3632.996cbefd.chunk.js → 3632.95b279c9.chunk.js} +1 -1
  13. package/dist/embedded-app/static/{3632.996cbefd.chunk.js.map → 3632.95b279c9.chunk.js.map} +1 -1
  14. package/dist/embedded-app/static/5974.633b23c0.chunk.js +3 -0
  15. package/dist/embedded-app/static/5974.633b23c0.chunk.js.map +1 -0
  16. package/dist/embedded-app/static/{6271.3ced48b7.chunk.js → 6271.25803276.chunk.js} +1 -1
  17. package/dist/embedded-app/static/{6271.3ced48b7.chunk.js.map → 6271.25803276.chunk.js.map} +1 -1
  18. package/dist/embedded-app/static/{8384.dbbfd1c3.chunk.js → 8384.a139d26a.chunk.js} +1 -1
  19. package/dist/embedded-app/static/{8384.dbbfd1c3.chunk.js.map → 8384.a139d26a.chunk.js.map} +1 -1
  20. package/dist/embedded-app/static/{9652.a9bdffaf.chunk.js → 9652.9a93372c.chunk.js} +1 -1
  21. package/dist/embedded-app/static/{9652.a9bdffaf.chunk.js.map → 9652.9a93372c.chunk.js.map} +1 -1
  22. package/dist/embedded-app/static/{main.365e8c5b.js → main.e02a8f27.js} +5 -5
  23. package/dist/embedded-app/static/main.e02a8f27.js.map +1 -0
  24. package/dist/embedded-app/static/{runtime.365e8c5b.js → runtime.e02a8f27.js} +2 -2
  25. package/dist/embedded-app/static/{runtime.365e8c5b.js.map → runtime.e02a8f27.js.map} +1 -1
  26. package/dist/embedded-app/static/{vendor.365e8c5b.js → vendor.e02a8f27.js} +1 -1
  27. package/dist/embedded-app/static/{vendor.365e8c5b.js.map → vendor.e02a8f27.js.map} +1 -1
  28. package/package.json +4 -4
  29. package/dist/embedded-app/static/5974.c5a12384.chunk.js +0 -3
  30. package/dist/embedded-app/static/5974.c5a12384.chunk.js.map +0 -1
  31. package/dist/embedded-app/static/main.365e8c5b.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20240414023511
3
+ ## 0.0.0-nightly-20240416021242
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-common@0.0.0-nightly-20240414023511
9
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20240414023511
8
+ - @backstage/backend-common@0.0.0-nightly-20240416021242
9
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20240416021242
10
10
  - @backstage/catalog-model@1.4.5
11
11
  - @backstage/cli-common@0.1.13
12
12
  - @backstage/config@1.2.0
@@ -961,28 +961,6 @@
961
961
  "$schema": "http://json-schema.org/draft-07/schema#"
962
962
  }
963
963
  },
964
- {
965
- "path": "../../plugins/stackstorm/config.d.ts",
966
- "value": {
967
- "type": "object",
968
- "properties": {
969
- "stackstorm": {
970
- "type": "object",
971
- "properties": {
972
- "webUrl": {
973
- "description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
974
- "visibility": "frontend",
975
- "type": "string"
976
- }
977
- },
978
- "required": [
979
- "webUrl"
980
- ]
981
- }
982
- },
983
- "$schema": "http://json-schema.org/draft-07/schema#"
984
- }
985
- },
986
964
  {
987
965
  "path": "../../node_modules/@oriflame/backstage-plugin-score-card/config.d.ts",
988
966
  "value": {
@@ -1011,6 +989,28 @@
1011
989
  "$schema": "http://json-schema.org/draft-07/schema#"
1012
990
  }
1013
991
  },
992
+ {
993
+ "path": "../../plugins/stackstorm/config.d.ts",
994
+ "value": {
995
+ "type": "object",
996
+ "properties": {
997
+ "stackstorm": {
998
+ "type": "object",
999
+ "properties": {
1000
+ "webUrl": {
1001
+ "description": "StackStorm Web UI url\nUsed in links to StackStorm web UI",
1002
+ "visibility": "frontend",
1003
+ "type": "string"
1004
+ }
1005
+ },
1006
+ "required": [
1007
+ "webUrl"
1008
+ ]
1009
+ }
1010
+ },
1011
+ "$schema": "http://json-schema.org/draft-07/schema#"
1012
+ }
1013
+ },
1014
1014
  {
1015
1015
  "path": "../backend-common/config.d.ts",
1016
1016
  "value": {
@@ -1484,8 +1484,83 @@
1484
1484
  "dangerouslyDisableDefaultAuthPolicy": {
1485
1485
  "description": "This disables the otherwise default auth policy, which requires all\nrequests to be authenticated with either user or service credentials.\n\nDisabling this check means that the backend will no longer block\nunauthenticated requests, but instead allow them to pass through to\nplugins.\n\nIf permissions are enabled, unauthenticated requests will be treated\nexactly as such, leaving it to the permission policy to determine what\npermissions should be allowed for an unauthenticated identity. Note\nthat this will also apply to service-to-service calls between plugins\nunless you configure credentials for service calls.",
1486
1486
  "type": "boolean"
1487
+ },
1488
+ "externalAccess": {
1489
+ "description": "Configures methods of external access, ie ways for callers outside of\nthe Backstage ecosystem to get authorized for access to APIs that do\nnot permit unauthorized access.",
1490
+ "type": "array",
1491
+ "items": {
1492
+ "anyOf": [
1493
+ {
1494
+ "type": "object",
1495
+ "properties": {
1496
+ "type": {
1497
+ "description": "This is the legacy service-to-service access method, where a set\nof static keys were shared among plugins and used for symmetric\nsigning and verification. These correspond to the old\n`backend.auth.keys` set and retain their behavior for backwards\ncompatibility. Please migrate to other access methods when\npossible.\n\nCallers generate JWT tokens with the following payload:\n\n```json\n{\n \"sub\": \"backstage-plugin\",\n \"exp\": <epoch seconds one hour in the future>\n}\n```\n\nAnd sign them with HS256, using the base64 decoded secret. The\ntokens are then passed along with requests in the Authorization\nheader:\n\n```\nAuthorization: Bearer eyJhbGciOiJIUzI...\n```",
1498
+ "type": "string",
1499
+ "const": "legacy"
1500
+ },
1501
+ "options": {
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "secret": {
1505
+ "description": "Any set of base64 encoded random bytes to be used as both the\nsigning and verification key. Should be sufficiently long so as\nnot to be easy to guess by brute force.\n\nCan be generated eg using\n\n```sh\nnode -p 'require(\"crypto\").randomBytes(24).toString(\"base64\")'\n```",
1506
+ "visibility": "secret",
1507
+ "type": "string"
1508
+ },
1509
+ "subject": {
1510
+ "description": "Sets the subject of the principal, when matching this token.\nUseful for debugging and tracking purposes.",
1511
+ "type": "string"
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "secret",
1516
+ "subject"
1517
+ ]
1518
+ }
1519
+ },
1520
+ "required": [
1521
+ "options",
1522
+ "type"
1523
+ ]
1524
+ },
1525
+ {
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "type": {
1529
+ "description": "This access method consists of random static tokens that can be\nhanded out to callers.\n\nThe tokens are then passed along verbatim with requests in the\nAuthorization header:\n\n```\nAuthorization: Bearer eZv5o+fW3KnR3kVabMW4ZcDNLPl8nmMW\n```",
1530
+ "type": "string",
1531
+ "const": "static"
1532
+ },
1533
+ "options": {
1534
+ "type": "object",
1535
+ "properties": {
1536
+ "token": {
1537
+ "description": "A raw token that can be any string, but for security reasons\nshould be sufficiently long so as not to be easy to guess by\nbrute force.\n\nCan be generated eg using\n\n```sh\nnode -p 'require(\"crypto\").randomBytes(24).toString(\"base64\")'\n```\n\nSince the tokens can be any string, you are free to add\nadditional identifying data to them if you like. For example,\nadding a `freben-local-dev-` prefix for debugging purposes to a\ntoken that you know will be handed out for use as a personal\naccess token during development.",
1538
+ "visibility": "secret",
1539
+ "type": "string"
1540
+ },
1541
+ "subject": {
1542
+ "description": "Sets the subject of the principal, when matching this token.\nUseful for debugging and tracking purposes.",
1543
+ "type": "string"
1544
+ }
1545
+ },
1546
+ "required": [
1547
+ "subject",
1548
+ "token"
1549
+ ]
1550
+ }
1551
+ },
1552
+ "required": [
1553
+ "options",
1554
+ "type"
1555
+ ]
1556
+ }
1557
+ ]
1558
+ }
1487
1559
  }
1488
- }
1560
+ },
1561
+ "required": [
1562
+ "externalAccess"
1563
+ ]
1489
1564
  }
1490
1565
  }
1491
1566
  },
@@ -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><script defer="defer" src="/static/runtime.365e8c5b.js"></script><script defer="defer" src="/static/module-material-ui.1eefc717.js"></script><script defer="defer" src="/static/module-material-table.145eb704.js"></script><script defer="defer" src="/static/module-lodash.1a2b8e11.js"></script><script defer="defer" src="/static/module-mui.3056800b.js"></script><script defer="defer" src="/static/module-react-dom.3e65b8bc.js"></script><script defer="defer" src="/static/module-react-router.07ec2a81.js"></script><script defer="defer" src="/static/module-react-router-dom.ba9d01bf.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.8a51ed97.js"></script><script defer="defer" src="/static/module-zod.955be94f.js"></script><script defer="defer" src="/static/module-i18next.40b7c233.js"></script><script defer="defer" src="/static/vendor.365e8c5b.js"></script><script defer="defer" src="/static/main.365e8c5b.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><script defer="defer" src="/static/runtime.e02a8f27.js"></script><script defer="defer" src="/static/module-material-ui.1eefc717.js"></script><script defer="defer" src="/static/module-material-table.145eb704.js"></script><script defer="defer" src="/static/module-lodash.1a2b8e11.js"></script><script defer="defer" src="/static/module-mui.3056800b.js"></script><script defer="defer" src="/static/module-react-dom.3e65b8bc.js"></script><script defer="defer" src="/static/module-react-router.07ec2a81.js"></script><script defer="defer" src="/static/module-react-router-dom.ba9d01bf.js"></script><script defer="defer" src="/static/module-react-beautiful-dnd.8a51ed97.js"></script><script defer="defer" src="/static/module-zod.955be94f.js"></script><script defer="defer" src="/static/module-i18next.40b7c233.js"></script><script defer="defer" src="/static/vendor.e02a8f27.js"></script><script defer="defer" src="/static/main.e02a8f27.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -2,4 +2,4 @@
2
2
  `),P=(o=y.stack)===null||o===void 0?void 0:o.replace(/\\n/g,`
3
3
  `),X=JSON.stringify(s,void 0,2);return(0,n.jsxs)(E.b,{title:r!=null?r:i.message,defaultExpanded:e,error:{name:w,message:F,stack:P},children:[l&&(0,n.jsxs)(M.A,{alignItems:"flex-start",children:[(0,n.jsx)(v.A,{classes:{secondary:a.text},primary:"Request",secondary:m?`${l}`:void 0}),(0,n.jsx)(O.l,{text:l})]}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(B.A,{component:"li",className:a.divider}),(0,n.jsx)(M.A,{alignItems:"flex-start",children:(0,n.jsx)(v.A,{classes:{secondary:a.text},primary:"Full Error as JSON"})}),(0,n.jsx)(j.z,{language:"json",text:X,showCopyCodeButton:!0})]})]})}var $=t(72072);function L(h){const{variant:o="gridItem",title:r,columns:i,entityKind:e,relationType:a,emptyMessage:s,emptyHelpLink:y,asRenderableEntities:m,tableOptions:b={}}=h,{entity:w}=(0,A.tN)(),{entities:l,loading:F,error:P}=f(w,{type:a,kind:e});return F?(0,n.jsx)(R.n,{variant:o,title:r,children:(0,n.jsx)(g.k,{})}):P?(0,n.jsx)(R.n,{variant:o,title:r,children:(0,n.jsx)(W,{error:P})}):(0,n.jsx)(U.s,{title:r,variant:o,emptyContent:(0,n.jsxs)("div",{style:{textAlign:"center"},children:[(0,n.jsx)(T.A,{variant:"body1",children:s}),(0,n.jsx)(T.A,{variant:"body2",children:(0,n.jsx)($.N_,{to:y,children:"Learn how to change this."})})]}),columns:i,entities:m(l||[]),tableOptions:b})}},48105:function(H,C,t){t.d(C,{MW:function(){return f},e2:function(){return A},eB:function(){return I},iU:function(){return U},mz:function(){return T},nz:function(){return D},v9:function(){return d},vy:function(){return u},xJ:function(){return c}});var n=t(89648);const T=[n.s.columns.createEntityRefColumn({defaultKind:"component"}),n.s.columns.createOwnerColumn(),n.s.columns.createSpecTypeColumn(),n.s.columns.createSpecLifecycleColumn(),n.s.columns.createMetadataDescriptionColumn()],A="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-component",c=R=>R,d=[n.s.columns.createEntityRefColumn({defaultKind:"resource"}),n.s.columns.createOwnerColumn(),n.s.columns.createSpecTypeColumn(),n.s.columns.createSpecLifecycleColumn(),n.s.columns.createMetadataDescriptionColumn()],D="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-resource",I=R=>R,f=[n.s.columns.createEntityRefColumn({defaultKind:"system"}),n.s.columns.createOwnerColumn(),n.s.columns.createMetadataDescriptionColumn()],U="https://backstage.io/docs/features/software-catalog/descriptor-format#kind-system",u=R=>R},85058:function(H,C,t){t.d(C,{a:function(){return T}});var n=t(14041);function T(A=!1){const c=(0,n.useRef)(A),d=(0,n.useCallback)(()=>c.current,[]);return(0,n.useEffect)(()=>(c.current=!0,()=>{c.current=!1}),[]),d}}}]);})();
4
4
 
5
- //# sourceMappingURL=124.235bfaa5.chunk.js.map
5
+ //# sourceMappingURL=124.843ab31e.chunk.js.map