@backstage-community/plugin-multi-source-security-viewer-common 0.1.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # @backstage-community/plugin-multi-source-security-viewer-common
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fda8237: Add multi-source security viewer plugin
8
+
9
+ - displays security information for github actions, jenkins, and gitlab.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # backstage-plugin-multi-source-security-viewer-common
2
+
3
+ Welcome to the common package for the multi-source-security-viewer plugin!
4
+
5
+ This package is intended to be used as a dependency for other multi-source-security-viewer plugins.
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var permissions = require('./permissions.cjs.js');
4
+
5
+
6
+
7
+ exports.mssvPermissions = permissions.mssvPermissions;
8
+ exports.mssvViewPermission = permissions.mssvViewPermission;
9
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,16 @@
1
+ import * as _backstage_plugin_permission_common from '@backstage/plugin-permission-common';
2
+
3
+ /**
4
+ * Permission to view mssv resources.
5
+ *
6
+ * @public
7
+ */
8
+ declare const mssvViewPermission: _backstage_plugin_permission_common.BasicPermission;
9
+ /**
10
+ * List of all permissions on permission polices.
11
+ *
12
+ * @public
13
+ */
14
+ declare const mssvPermissions: _backstage_plugin_permission_common.BasicPermission[];
15
+
16
+ export { mssvPermissions, mssvViewPermission };
@@ -0,0 +1,2 @@
1
+ export { mssvPermissions, mssvViewPermission } from './permissions.esm.js';
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ var pluginPermissionCommon = require('@backstage/plugin-permission-common');
4
+
5
+ const mssvViewPermission = pluginPermissionCommon.createPermission({
6
+ name: "mssv.view.read",
7
+ attributes: {
8
+ action: "read"
9
+ }
10
+ });
11
+ const mssvPermissions = [mssvViewPermission];
12
+
13
+ exports.mssvPermissions = mssvPermissions;
14
+ exports.mssvViewPermission = mssvViewPermission;
15
+ //# sourceMappingURL=permissions.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissions.cjs.js","sources":["../src/permissions.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * Permission to view mssv resources.\n *\n * @public\n */\nexport const mssvViewPermission = createPermission({\n name: 'mssv.view.read',\n attributes: {\n action: 'read',\n },\n});\n\n/**\n * List of all permissions on permission polices.\n *\n * @public\n */\nexport const mssvPermissions = [mssvViewPermission];\n"],"names":["createPermission"],"mappings":";;;;AAsBO,MAAM,qBAAqBA,uCAAiB,CAAA;AAAA,EACjD,IAAM,EAAA,gBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA;AAAA;AAEZ,CAAC;AAOY,MAAA,eAAA,GAAkB,CAAC,kBAAkB;;;;;"}
@@ -0,0 +1,12 @@
1
+ import { createPermission } from '@backstage/plugin-permission-common';
2
+
3
+ const mssvViewPermission = createPermission({
4
+ name: "mssv.view.read",
5
+ attributes: {
6
+ action: "read"
7
+ }
8
+ });
9
+ const mssvPermissions = [mssvViewPermission];
10
+
11
+ export { mssvPermissions, mssvViewPermission };
12
+ //# sourceMappingURL=permissions.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permissions.esm.js","sources":["../src/permissions.ts"],"sourcesContent":["/*\n * Copyright 2025 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { createPermission } from '@backstage/plugin-permission-common';\n\n/**\n * Permission to view mssv resources.\n *\n * @public\n */\nexport const mssvViewPermission = createPermission({\n name: 'mssv.view.read',\n attributes: {\n action: 'read',\n },\n});\n\n/**\n * List of all permissions on permission polices.\n *\n * @public\n */\nexport const mssvPermissions = [mssvViewPermission];\n"],"names":[],"mappings":";;AAsBO,MAAM,qBAAqB,gBAAiB,CAAA;AAAA,EACjD,IAAM,EAAA,gBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA;AAAA;AAEZ,CAAC;AAOY,MAAA,eAAA,GAAkB,CAAC,kBAAkB;;;;"}
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@backstage-community/plugin-multi-source-security-viewer-common",
3
+ "description": "Common functionalities for the multi-source-security-viewer plugin",
4
+ "version": "0.1.1",
5
+ "main": "dist/index.cjs.js",
6
+ "types": "dist/index.d.ts",
7
+ "license": "Apache-2.0",
8
+ "publishConfig": {
9
+ "access": "public",
10
+ "main": "dist/index.cjs.js",
11
+ "module": "dist/index.esm.js",
12
+ "types": "dist/index.d.ts"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/backstage/community-plugins",
17
+ "directory": "workspaces/multi-source-security-viewer/plugins/multi-source-security-viewer-common"
18
+ },
19
+ "backstage": {
20
+ "role": "common-library",
21
+ "pluginId": "multi-source-security-viewer",
22
+ "pluginPackages": [
23
+ "@backstage-community/plugin-multi-source-security-viewer",
24
+ "@backstage-community/plugin-multi-source-security-viewer-common"
25
+ ]
26
+ },
27
+ "sideEffects": false,
28
+ "scripts": {
29
+ "build": "backstage-cli package build",
30
+ "lint": "backstage-cli package lint",
31
+ "test": "backstage-cli package test",
32
+ "clean": "backstage-cli package clean",
33
+ "prepack": "backstage-cli package prepack",
34
+ "postpack": "backstage-cli package postpack"
35
+ },
36
+ "devDependencies": {
37
+ "@backstage/cli": "^0.30.0"
38
+ },
39
+ "files": [
40
+ "dist"
41
+ ],
42
+ "dependencies": {
43
+ "@backstage/plugin-permission-common": "^0.8.4"
44
+ },
45
+ "typesVersions": {
46
+ "*": {
47
+ "index": [
48
+ "dist/index.d.ts"
49
+ ]
50
+ }
51
+ },
52
+ "module": "dist/index.esm.js"
53
+ }