@spotify/backstage-plugin-pulse-common 0.2.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/LICENSE.md +9 -0
- package/README.md +10 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.d.ts +881 -0
- package/dist/index.esm.js +2 -0
- package/package.json +44 -0
- package/src/graphql/schema-types.generated.ts +1101 -0
- package/src/permissions.ts +13 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Commercial License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Spotify. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software is part of the "Spotify Plugins for Backstage" bundle. "Spotify
|
|
6
|
+
Plugins for Backstage" is commercial software. To use it, you must obtain a
|
|
7
|
+
license and agree to the [License
|
|
8
|
+
Terms](https://backstage.spotify.com/spotify-plugins-for-backstage-terms).
|
|
9
|
+
Commercial licenses can be obtained at https://backstage.spotify.com/.
|
package/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Spotify Plugins for Backstage: Pulse - Common
|
|
2
|
+
|
|
3
|
+
_Collect data that drives continuous improvements to your R&D tooling, processes, and culture._
|
|
4
|
+
|
|
5
|
+
This plugin provides shared functionality for the [Pulse survey tool.][1]
|
|
6
|
+
|
|
7
|
+
For installation and setup instructions, please see [the Pulse frontend plugin][2].
|
|
8
|
+
|
|
9
|
+
[1]: https://backstage.spotify.com/plugins/pulse
|
|
10
|
+
[2]: https://www.npmjs.com/package/@spotify/backstage-plugin-pulse
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var S=require("@backstage/plugin-permission-common"),s=(e=>(e.DuplicateResponse="DUPLICATE_RESPONSE",e.InternalError="INTERNAL_ERROR",e.InvalidDates="INVALID_DATES",e.InvalidId="INVALID_ID",e.InvalidResponse="INVALID_RESPONSE",e.MissingSurveyTemplate="MISSING_SURVEY_TEMPLATE",e.MissingTitle="MISSING_TITLE",e.OverlappingSurveys="OVERLAPPING_SURVEYS",e.SurveyIsClosed="SURVEY_IS_CLOSED",e.Unauthorized="UNAUTHORIZED",e))(s||{}),i=(e=>(e.Active="ACTIVE",e.Published="PUBLISHED",e))(i||{}),I=(e=>(e.Q1="Q1",e.Q2="Q2",e.Q3="Q3",e.Q4="Q4",e))(I||{}),_=Object.freeze({__proto__:null,MutationResponseErrorCode:s,SurveyStatus:i,TargetQuarter:I});const l="survey-instance",n=S.createPermission({name:"survey.instance.administer",attributes:{action:"create"}}),v=[n],E={allPermissions:v,SURVEY_RESOURCE_TYPE:l,surveyAdministerPermission:n};exports.GraphQLTypes=_,exports.permissions=E;
|
|
2
|
+
//# sourceMappingURL=index.cjs.js.map
|