@drodil/backstage-plugin-qeta-react 2.2.1 → 2.3.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/dist/index.esm.js +1 -47
- package/dist/index.esm.js.map +1 -1
- package/dist/routes.esm.js +48 -0
- package/dist/routes.esm.js.map +1 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -1,48 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const qetaRouteRef = createRouteRef({
|
|
4
|
-
id: "qeta"
|
|
5
|
-
});
|
|
6
|
-
const askRouteRef = createSubRouteRef({
|
|
7
|
-
id: "qeta.ask",
|
|
8
|
-
parent: qetaRouteRef,
|
|
9
|
-
path: "/ask"
|
|
10
|
-
});
|
|
11
|
-
const favoriteQuestionsRouteRef = createSubRouteRef({
|
|
12
|
-
id: "qeta.favoriteQuestions",
|
|
13
|
-
parent: qetaRouteRef,
|
|
14
|
-
path: "/questions/favorite"
|
|
15
|
-
});
|
|
16
|
-
const statisticsRouteRef = createSubRouteRef({
|
|
17
|
-
id: "qeta.statistics",
|
|
18
|
-
parent: qetaRouteRef,
|
|
19
|
-
path: "/statistics"
|
|
20
|
-
});
|
|
21
|
-
const questionRouteRef = createSubRouteRef({
|
|
22
|
-
id: "qeta.question",
|
|
23
|
-
parent: qetaRouteRef,
|
|
24
|
-
path: "/questions/:id"
|
|
25
|
-
});
|
|
26
|
-
const userRouteRef = createSubRouteRef({
|
|
27
|
-
id: "qeta.user",
|
|
28
|
-
parent: qetaRouteRef,
|
|
29
|
-
path: "/users/*"
|
|
30
|
-
});
|
|
31
|
-
const editQuestionRouteRef = createSubRouteRef({
|
|
32
|
-
id: "qeta.editQuestion",
|
|
33
|
-
parent: qetaRouteRef,
|
|
34
|
-
path: "/questions/:id/edit"
|
|
35
|
-
});
|
|
36
|
-
const tagsRouteRef = createSubRouteRef({
|
|
37
|
-
id: "qeta.tags",
|
|
38
|
-
parent: qetaRouteRef,
|
|
39
|
-
path: "/tags"
|
|
40
|
-
});
|
|
41
|
-
const tagRouteRef = createSubRouteRef({
|
|
42
|
-
id: "qeta.tag",
|
|
43
|
-
parent: qetaRouteRef,
|
|
44
|
-
path: "/tags/:tag"
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
export { askRouteRef, editQuestionRouteRef, favoriteQuestionsRouteRef, qetaRouteRef, questionRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef };
|
|
1
|
+
export { askRouteRef, editQuestionRouteRef, favoriteQuestionsRouteRef, qetaRouteRef, questionRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef } from './routes.esm.js';
|
|
48
2
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/index.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createRouteRef, createSubRouteRef } from '@backstage/core-plugin-api';
|
|
2
|
+
|
|
3
|
+
const qetaRouteRef = createRouteRef({
|
|
4
|
+
id: "qeta"
|
|
5
|
+
});
|
|
6
|
+
const askRouteRef = createSubRouteRef({
|
|
7
|
+
id: "qeta.ask",
|
|
8
|
+
parent: qetaRouteRef,
|
|
9
|
+
path: "/ask"
|
|
10
|
+
});
|
|
11
|
+
const favoriteQuestionsRouteRef = createSubRouteRef({
|
|
12
|
+
id: "qeta.favoriteQuestions",
|
|
13
|
+
parent: qetaRouteRef,
|
|
14
|
+
path: "/questions/favorite"
|
|
15
|
+
});
|
|
16
|
+
const statisticsRouteRef = createSubRouteRef({
|
|
17
|
+
id: "qeta.statistics",
|
|
18
|
+
parent: qetaRouteRef,
|
|
19
|
+
path: "/statistics"
|
|
20
|
+
});
|
|
21
|
+
const questionRouteRef = createSubRouteRef({
|
|
22
|
+
id: "qeta.question",
|
|
23
|
+
parent: qetaRouteRef,
|
|
24
|
+
path: "/questions/:id"
|
|
25
|
+
});
|
|
26
|
+
const userRouteRef = createSubRouteRef({
|
|
27
|
+
id: "qeta.user",
|
|
28
|
+
parent: qetaRouteRef,
|
|
29
|
+
path: "/users/*"
|
|
30
|
+
});
|
|
31
|
+
const editQuestionRouteRef = createSubRouteRef({
|
|
32
|
+
id: "qeta.editQuestion",
|
|
33
|
+
parent: qetaRouteRef,
|
|
34
|
+
path: "/questions/:id/edit"
|
|
35
|
+
});
|
|
36
|
+
const tagsRouteRef = createSubRouteRef({
|
|
37
|
+
id: "qeta.tags",
|
|
38
|
+
parent: qetaRouteRef,
|
|
39
|
+
path: "/tags"
|
|
40
|
+
});
|
|
41
|
+
const tagRouteRef = createSubRouteRef({
|
|
42
|
+
id: "qeta.tag",
|
|
43
|
+
parent: qetaRouteRef,
|
|
44
|
+
path: "/tags/:tag"
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export { askRouteRef, editQuestionRouteRef, favoriteQuestionsRouteRef, qetaRouteRef, questionRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef };
|
|
48
|
+
//# sourceMappingURL=routes.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.esm.js","sources":["../src/routes.ts"],"sourcesContent":["import { createRouteRef, createSubRouteRef } from '@backstage/core-plugin-api';\n\nexport const qetaRouteRef = createRouteRef({\n id: 'qeta',\n});\n\nexport const askRouteRef = createSubRouteRef({\n id: 'qeta.ask',\n parent: qetaRouteRef,\n path: '/ask',\n});\n\nexport const favoriteQuestionsRouteRef = createSubRouteRef({\n id: 'qeta.favoriteQuestions',\n parent: qetaRouteRef,\n path: '/questions/favorite',\n});\n\nexport const statisticsRouteRef = createSubRouteRef({\n id: 'qeta.statistics',\n parent: qetaRouteRef,\n path: '/statistics',\n});\n\nexport const questionRouteRef = createSubRouteRef({\n id: 'qeta.question',\n parent: qetaRouteRef,\n path: '/questions/:id',\n});\n\nexport const userRouteRef = createSubRouteRef({\n id: 'qeta.user',\n parent: qetaRouteRef,\n path: '/users/*',\n});\n\nexport const editQuestionRouteRef = createSubRouteRef({\n id: 'qeta.editQuestion',\n parent: qetaRouteRef,\n path: '/questions/:id/edit',\n});\n\nexport const tagsRouteRef = createSubRouteRef({\n id: 'qeta.tags',\n parent: qetaRouteRef,\n path: '/tags',\n});\n\nexport const tagRouteRef = createSubRouteRef({\n id: 'qeta.tag',\n parent: qetaRouteRef,\n path: '/tags/:tag',\n});\n"],"names":[],"mappings":";;AAEO,MAAM,eAAe,cAAe,CAAA;AAAA,EACzC,EAAI,EAAA,MAAA;AACN,CAAC,EAAA;AAEM,MAAM,cAAc,iBAAkB,CAAA;AAAA,EAC3C,EAAI,EAAA,UAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,MAAA;AACR,CAAC,EAAA;AAEM,MAAM,4BAA4B,iBAAkB,CAAA;AAAA,EACzD,EAAI,EAAA,wBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,qBAAA;AACR,CAAC,EAAA;AAEM,MAAM,qBAAqB,iBAAkB,CAAA;AAAA,EAClD,EAAI,EAAA,iBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,aAAA;AACR,CAAC,EAAA;AAEM,MAAM,mBAAmB,iBAAkB,CAAA;AAAA,EAChD,EAAI,EAAA,eAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,gBAAA;AACR,CAAC,EAAA;AAEM,MAAM,eAAe,iBAAkB,CAAA;AAAA,EAC5C,EAAI,EAAA,WAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,UAAA;AACR,CAAC,EAAA;AAEM,MAAM,uBAAuB,iBAAkB,CAAA;AAAA,EACpD,EAAI,EAAA,mBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,qBAAA;AACR,CAAC,EAAA;AAEM,MAAM,eAAe,iBAAkB,CAAA;AAAA,EAC5C,EAAI,EAAA,WAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,OAAA;AACR,CAAC,EAAA;AAEM,MAAM,cAAc,iBAAkB,CAAA;AAAA,EAC3C,EAAI,EAAA,UAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA,YAAA;AACR,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"frontend",
|
|
8
8
|
"backstage.io"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.3.1",
|
|
11
11
|
"main": "dist/index.esm.js",
|
|
12
12
|
"types": "dist/index.d.ts",
|
|
13
13
|
"prepublishOnly": "yarn tsc && yarn build",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"react": "^16.13.1 || ^17.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@backstage/cli": "^0.26.
|
|
51
|
-
"@backstage/test-utils": "^1.5.
|
|
50
|
+
"@backstage/cli": "^0.26.5",
|
|
51
|
+
"@backstage/test-utils": "^1.5.5",
|
|
52
52
|
"@testing-library/jest-dom": "^5.10.1",
|
|
53
53
|
"@testing-library/react": "^12.1.3"
|
|
54
54
|
},
|