@kartverket/backstage-plugin-risk-scorecard 1.0.2 → 1.0.3
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.
- package/dist/esm/index-4258fc5b.esm.js +34 -0
- package/dist/esm/index-4258fc5b.esm.js.map +1 -0
- package/dist/esm/index-af063c38.esm.js +3879 -0
- package/dist/esm/index-af063c38.esm.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRouteRef, createSubRouteRef, createPlugin, createRoutableExtension } from '@backstage/core-plugin-api';
|
|
2
|
+
|
|
3
|
+
const rootRouteRef = createRouteRef({
|
|
4
|
+
id: "riSc"
|
|
5
|
+
});
|
|
6
|
+
const scenarioRouteRef = createSubRouteRef({
|
|
7
|
+
id: "scenarioId",
|
|
8
|
+
parent: rootRouteRef,
|
|
9
|
+
path: "/:riScId/:scenarioId"
|
|
10
|
+
});
|
|
11
|
+
const riScRouteRef = createSubRouteRef({
|
|
12
|
+
id: "riScId",
|
|
13
|
+
parent: rootRouteRef,
|
|
14
|
+
path: "/:riScId"
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
const riScPlugin = createPlugin({
|
|
18
|
+
id: "riSc",
|
|
19
|
+
routes: {
|
|
20
|
+
root: rootRouteRef,
|
|
21
|
+
scenario: scenarioRouteRef,
|
|
22
|
+
riSc: riScRouteRef
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const RiScPage = riScPlugin.provide(
|
|
26
|
+
createRoutableExtension({
|
|
27
|
+
name: "RiScPage",
|
|
28
|
+
component: () => import('./index-af063c38.esm.js').then((m) => m.RiScPlugin),
|
|
29
|
+
mountPoint: rootRouteRef
|
|
30
|
+
})
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
export { RiScPage as R, riScPlugin as a, riScRouteRef as r, scenarioRouteRef as s };
|
|
34
|
+
//# sourceMappingURL=index-4258fc5b.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-4258fc5b.esm.js","sources":["../../src/routes.ts","../../src/plugin.ts"],"sourcesContent":["import { createRouteRef, createSubRouteRef } from '@backstage/core-plugin-api';\n\nexport const rootRouteRef = createRouteRef({\n id: 'riSc',\n});\n\nexport const scenarioRouteRef = createSubRouteRef({\n id: 'scenarioId',\n parent: rootRouteRef,\n path: '/:riScId/:scenarioId',\n});\n\nexport const riScRouteRef = createSubRouteRef({\n id: 'riScId',\n parent: rootRouteRef,\n path: '/:riScId',\n});\n","import {\n createPlugin,\n createRoutableExtension,\n} from '@backstage/core-plugin-api';\n\nimport { rootRouteRef, riScRouteRef, scenarioRouteRef } from './routes';\n\nexport const riScPlugin = createPlugin({\n id: 'riSc',\n routes: {\n root: rootRouteRef,\n scenario: scenarioRouteRef,\n riSc: riScRouteRef,\n },\n});\n\nexport const RiScPage = riScPlugin.provide(\n createRoutableExtension({\n name: 'RiScPage',\n component: () => import('./components/riScPlugin').then(m => m.RiScPlugin),\n mountPoint: rootRouteRef,\n }),\n);\n"],"names":[],"mappings":";;AAEO,MAAM,eAAe,cAAe,CAAA;AAAA,EACzC,EAAI,EAAA,MAAA;AACN,CAAC,CAAA,CAAA;AAEM,MAAM,mBAAmB,iBAAkB,CAAA;AAAA,EAChD,EAAI,EAAA,YAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,sBAAA;AACR,CAAC,EAAA;AAEM,MAAM,eAAe,iBAAkB,CAAA;AAAA,EAC5C,EAAI,EAAA,QAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,UAAA;AACR,CAAC;;ACTM,MAAM,aAAa,YAAa,CAAA;AAAA,EACrC,EAAI,EAAA,MAAA;AAAA,EACJ,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,YAAA;AAAA,IACN,QAAU,EAAA,gBAAA;AAAA,IACV,IAAM,EAAA,YAAA;AAAA,GACR;AACF,CAAC,EAAA;AAEM,MAAM,WAAW,UAAW,CAAA,OAAA;AAAA,EACjC,uBAAwB,CAAA;AAAA,IACtB,IAAM,EAAA,UAAA;AAAA,IACN,SAAA,EAAW,MAAM,OAAO,yBAAyB,EAAE,IAAK,CAAA,CAAA,CAAA,KAAK,EAAE,UAAU,CAAA;AAAA,IACzE,UAAY,EAAA,YAAA;AAAA,GACb,CAAA;AACH;;;;"}
|