@drodil/backstage-plugin-qeta-common 1.10.2 → 1.11.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/dist/index.d.ts +20 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,23 @@ declare const qetaCreateQuestionPermission: _backstage_plugin_permission_common.
|
|
|
5
5
|
declare const qetaCreateAnswerPermission: _backstage_plugin_permission_common.BasicPermission;
|
|
6
6
|
declare const qetaPermissions: _backstage_plugin_permission_common.BasicPermission[];
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
interface StatisticResponse {
|
|
9
|
+
ranking: Statistic[];
|
|
10
|
+
loggedUser?: Statistic;
|
|
11
|
+
}
|
|
12
|
+
interface Statistic {
|
|
13
|
+
author?: string;
|
|
14
|
+
total?: number;
|
|
15
|
+
position?: number;
|
|
16
|
+
}
|
|
17
|
+
interface StatisticsOptions {
|
|
18
|
+
limit?: number;
|
|
19
|
+
period?: string;
|
|
20
|
+
loggedUser?: string;
|
|
21
|
+
}
|
|
22
|
+
interface StatisticsRequestParameters {
|
|
23
|
+
author?: string;
|
|
24
|
+
options?: StatisticsOptions;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { Statistic, StatisticResponse, StatisticsOptions, StatisticsRequestParameters, qetaCreateAnswerPermission, qetaCreateQuestionPermission, qetaPermissions, qetaReadPermission };
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"frontend",
|
|
8
8
|
"backstage.io"
|
|
9
9
|
],
|
|
10
|
-
"version": "1.
|
|
10
|
+
"version": "1.11.0",
|
|
11
11
|
"main": "dist/index.cjs.js",
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"prepublishOnly": "yarn tsc && yarn build",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@backstage/catalog-model": "^1.3.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@backstage/cli": "^0.22.
|
|
48
|
+
"@backstage/cli": "^0.22.7"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"dist"
|