@backstage-community/plugin-tekton-common 1.5.0 → 1.6.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.
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs.js +0 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -16
- package/dist/index.esm.js +0 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/permissions.cjs.js +0 -15
- package/dist/permissions.cjs.js.map +0 -1
- package/dist/permissions.esm.js +0 -12
- package/dist/permissions.esm.js.map +0 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var annotations = require('./annotations.cjs.js');
|
|
4
|
-
var permissions = require('./permissions.cjs.js');
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
exports.TektonAnnotations = annotations.TektonAnnotations;
|
|
9
|
-
exports.tektonPermissions = permissions.tektonPermissions;
|
|
10
|
-
exports.tektonViewPermission = permissions.tektonViewPermission;
|
|
11
8
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _backstage_plugin_permission_common from '@backstage/plugin-permission-common';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
2
|
* Annotations to enable or configure the Tekton plugin.
|
|
5
3
|
*
|
|
@@ -16,17 +14,4 @@ declare enum TektonAnnotations {
|
|
|
16
14
|
CICD = "tekton.dev/cicd"
|
|
17
15
|
}
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
* Permission to view tekton resources.
|
|
21
|
-
*
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
declare const tektonViewPermission: _backstage_plugin_permission_common.BasicPermission;
|
|
25
|
-
/**
|
|
26
|
-
* List of all permissions on permission polices.
|
|
27
|
-
*
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
30
|
-
declare const tektonPermissions: _backstage_plugin_permission_common.BasicPermission[];
|
|
31
|
-
|
|
32
|
-
export { TektonAnnotations, tektonPermissions, tektonViewPermission };
|
|
17
|
+
export { TektonAnnotations };
|
package/dist/index.esm.js
CHANGED
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
CHANGED
package/dist/permissions.cjs.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var pluginPermissionCommon = require('@backstage/plugin-permission-common');
|
|
4
|
-
|
|
5
|
-
const tektonViewPermission = pluginPermissionCommon.createPermission({
|
|
6
|
-
name: "tekton.view.read",
|
|
7
|
-
attributes: {
|
|
8
|
-
action: "read"
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const tektonPermissions = [tektonViewPermission];
|
|
12
|
-
|
|
13
|
-
exports.tektonPermissions = tektonPermissions;
|
|
14
|
-
exports.tektonViewPermission = tektonViewPermission;
|
|
15
|
-
//# sourceMappingURL=permissions.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.cjs.js","sources":["../src/permissions.ts"],"sourcesContent":["/*\n * Copyright 2024 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 tekton resources.\n *\n * @public\n */\nexport const tektonViewPermission = createPermission({\n name: 'tekton.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 tektonPermissions = [tektonViewPermission];\n"],"names":["createPermission"],"mappings":";;;;AAsBO,MAAM,uBAAuBA,uCAAiB,CAAA;AAAA,EACnD,IAAM,EAAA,kBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA;AAAA;AAEZ,CAAC;AAOY,MAAA,iBAAA,GAAoB,CAAC,oBAAoB;;;;;"}
|
package/dist/permissions.esm.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createPermission } from '@backstage/plugin-permission-common';
|
|
2
|
-
|
|
3
|
-
const tektonViewPermission = createPermission({
|
|
4
|
-
name: "tekton.view.read",
|
|
5
|
-
attributes: {
|
|
6
|
-
action: "read"
|
|
7
|
-
}
|
|
8
|
-
});
|
|
9
|
-
const tektonPermissions = [tektonViewPermission];
|
|
10
|
-
|
|
11
|
-
export { tektonPermissions, tektonViewPermission };
|
|
12
|
-
//# sourceMappingURL=permissions.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.esm.js","sources":["../src/permissions.ts"],"sourcesContent":["/*\n * Copyright 2024 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 tekton resources.\n *\n * @public\n */\nexport const tektonViewPermission = createPermission({\n name: 'tekton.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 tektonPermissions = [tektonViewPermission];\n"],"names":[],"mappings":";;AAsBO,MAAM,uBAAuB,gBAAiB,CAAA;AAAA,EACnD,IAAM,EAAA,kBAAA;AAAA,EACN,UAAY,EAAA;AAAA,IACV,MAAQ,EAAA;AAAA;AAEZ,CAAC;AAOY,MAAA,iBAAA,GAAoB,CAAC,oBAAoB;;;;"}
|