@spotify/backstage-plugin-pulse-common 0.4.0 → 0.5.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/README.md +2 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +4 -872
- package/dist/index.esm.js +1 -1
- package/package.json +8 -14
- package/src/graphql/schema-types.generated.ts +0 -1101
- package/src/permissions.ts +0 -13
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
_Collect data that drives continuous improvements to your R&D tooling, processes, and culture._
|
|
4
4
|
|
|
5
|
-
This plugin provides shared functionality for the [Pulse survey tool
|
|
5
|
+
This plugin provides shared internal functionality for the [Pulse survey tool][1] and should **not**
|
|
6
|
+
be depended on directly.
|
|
6
7
|
|
|
7
8
|
For installation and setup instructions, please see [the Pulse frontend plugin][2].
|
|
8
9
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@backstage/plugin-permission-common");const a="survey-instance",r=t.createPermission({name:"survey.instance.administer",attributes:{action:"create"}}),o=[r],s=require("fs"),m=require("path"),c=require("js-yaml"),u=require("node:process");u.chdir(__dirname);const n="./templates",E=s.readdirSync(n).map(e=>m.join(n,e)),d=E.map(e=>c.load(s.readFileSync(e))),l=d.reduce((e,i)=>({...e,[i.template.id]:i}),{}),P={allPermissions:o,SURVEY_RESOURCE_TYPE:a,surveyAdministerPermission:r};exports.SURVEY_TEMPLATES=l,exports.permissions=P;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|