@drodil/backstage-plugin-qeta 1.10.2 → 1.10.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -51,7 +51,7 @@ interface CommentResponse {
51
51
  updated?: Date;
52
52
  updatedBy?: string;
53
53
  }
54
- declare type QuestionsResponseBody = QuestionsResponse | ErrorResponse;
54
+ type QuestionsResponseBody = QuestionsResponse | ErrorResponse;
55
55
  interface QuestionResponse {
56
56
  id: number;
57
57
  author: string;
@@ -73,7 +73,7 @@ interface QuestionResponse {
73
73
  votes?: VoteResponse[];
74
74
  comments: CommentResponse[];
75
75
  }
76
- declare type QuestionResponseBody = QuestionResponse | ErrorResponse;
76
+ type QuestionResponseBody = QuestionResponse | ErrorResponse;
77
77
  interface QuestionRequest {
78
78
  title: string;
79
79
  content: string;
@@ -101,7 +101,7 @@ interface AnswerResponse {
101
101
  votes?: VoteResponse[];
102
102
  comments?: CommentResponse[];
103
103
  }
104
- declare type AnswerResponseBody = AnswerResponse | ErrorResponse;
104
+ type AnswerResponseBody = AnswerResponse | ErrorResponse;
105
105
  interface VoteResponse {
106
106
  author: string;
107
107
  score: number;
@@ -123,9 +123,9 @@ interface AttachmentResponse {
123
123
  creator: string;
124
124
  created: Date;
125
125
  }
126
- declare type AttachmentResponseBody = AttachmentResponse | ErrorResponse;
126
+ type AttachmentResponseBody = AttachmentResponse | ErrorResponse;
127
127
 
128
- declare type GetQuestionsOptions = {
128
+ type GetQuestionsOptions = {
129
129
  noCorrectAnswer: string;
130
130
  offset: number;
131
131
  includeEntities: boolean;
@@ -227,7 +227,7 @@ declare const Content: (props: {
227
227
  quickFilter?: 'latest' | 'favorites' | 'most_viewed';
228
228
  }) => React__default.JSX.Element;
229
229
 
230
- declare type QuickFilterType = 'latest' | 'favorites' | 'most_viewed';
230
+ type QuickFilterType = 'latest' | 'favorites' | 'most_viewed';
231
231
  declare const QuestionsTable: (props: {
232
232
  hideTitle?: boolean;
233
233
  rowsPerPage?: number;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "1.10.2",
10
+ "version": "1.10.3",
11
11
  "main": "dist/index.esm.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -42,13 +42,13 @@
42
42
  "@backstage/catalog-client": "^1.4.1",
43
43
  "@backstage/catalog-model": "^1.3.0",
44
44
  "@backstage/config": "^1.0.7",
45
- "@backstage/core-components": "^0.13.0",
45
+ "@backstage/core-components": "^0.13.1",
46
46
  "@backstage/core-plugin-api": "^1.5.1",
47
47
  "@backstage/errors": "^1.1.5",
48
- "@backstage/plugin-catalog-react": "^1.5.0",
49
- "@backstage/plugin-home": "^0.5.1",
48
+ "@backstage/plugin-catalog-react": "^1.6.0",
49
+ "@backstage/plugin-home": "^0.5.2",
50
50
  "@backstage/plugin-permission-react": "^0.4.12",
51
- "@drodil/backstage-plugin-qeta-common": "^1.10.2",
51
+ "@drodil/backstage-plugin-qeta-common": "^1.10.3",
52
52
  "@material-ui/core": "^4.12.2",
53
53
  "@material-ui/icons": "^4.11.3",
54
54
  "@material-ui/lab": "4.0.0-alpha.61",
@@ -69,8 +69,8 @@
69
69
  "react-router-dom": "^6.3.0"
70
70
  },
71
71
  "devDependencies": {
72
- "@backstage/cli": "^0.22.6",
73
- "@backstage/dev-utils": "^1.0.14",
72
+ "@backstage/cli": "^0.22.7",
73
+ "@backstage/dev-utils": "^1.0.15",
74
74
  "@testing-library/jest-dom": "^5.10.1",
75
75
  "@types/dompurify": "^3.0.0",
76
76
  "cross-fetch": "^3.1.5"