@drodil/backstage-plugin-qeta-react 3.47.2 → 3.48.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/package.json +9 -9
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
2
2
  import { IdentityApi } from '@backstage/core-plugin-api';
3
+ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
3
4
  import * as _drodil_backstage_plugin_qeta_common from '@drodil/backstage-plugin-qeta-common';
4
5
  import { QetaApi, PostType, PostStatus, PostResponse, Template, PostsResponse, AnswersResponse, AnswerResponse, Collection, PostsQuery, CollectionResponse, TagResponse, Post, Answer, Comment, Stat, StatisticsResponse, UserStat, GlobalStat, TemplatesResponse, Article, UserResponse, AIQuery } from '@drodil/backstage-plugin-qeta-common';
5
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -10,7 +11,6 @@ import { LinkProps } from '@backstage/core-components';
10
11
  import { SvgIconProps } from '@material-ui/core';
11
12
  import { PluggableList } from 'unified';
12
13
  import * as react_use_lib_useAsyncFn from 'react-use/lib/useAsyncFn';
13
- import * as _backstage_core_plugin_api_alpha from '@backstage/core-plugin-api/alpha';
14
14
  import { Overrides } from '@material-ui/core/styles/overrides';
15
15
  import { StyleRules } from '@material-ui/core/styles/withStyles';
16
16
 
@@ -41,7 +41,7 @@ declare const entitiesRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined
41
41
  declare const entityRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/entities/:entityRef">>;
42
42
  declare const moderatorRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
43
43
 
44
- declare const qetaApiRef: _backstage_core_plugin_api.ApiRef<QetaApi>;
44
+ declare const qetaApiRef: _backstage_frontend_plugin_api.ApiRef<QetaApi>;
45
45
 
46
46
  interface TagAndEntitiesFormValues {
47
47
  tags?: string[];
@@ -502,14 +502,14 @@ declare const useUserInfo: (entityRef: string, anonymous?: boolean) => {
502
502
  initials: string | null;
503
503
  user: UserEntity | null;
504
504
  secondaryTitle: string | undefined;
505
- Icon: false | _backstage_core_plugin_api.IconComponent | undefined;
505
+ Icon: false | _backstage_frontend_plugin_api.IconComponent | undefined;
506
506
  };
507
507
  declare const useEntityAuthor: (entity: PostResponse | AnswerResponse | CollectionResponse | UserResponse) => {
508
508
  name: string;
509
509
  initials: string | null;
510
510
  user: UserEntity | null;
511
511
  secondaryTitle: string | undefined;
512
- Icon: false | _backstage_core_plugin_api.IconComponent | undefined;
512
+ Icon: false | _backstage_frontend_plugin_api.IconComponent | undefined;
513
513
  };
514
514
 
515
515
  declare const useUserFollow: () => {
@@ -548,7 +548,7 @@ declare const useAI: () => {
548
548
  };
549
549
 
550
550
  /** @alpha */
551
- declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"qeta", {
551
+ declare const qetaTranslationRef: _backstage_frontend_plugin_api.TranslationRef<"qeta", {
552
552
  readonly "answer.questionTitle": "Q: {{question}}";
553
553
  readonly "answer.answeredTime": "answered";
554
554
  readonly "favorite.remove": "Remove this post from favorites";
@@ -1048,7 +1048,7 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
1048
1048
  readonly "viewToggle.listView": "List View";
1049
1049
  readonly "viewToggle.gridView": "Grid View";
1050
1050
  }>;
1051
- declare const qetaTranslations: _backstage_core_plugin_api_alpha.TranslationResource<"qeta">;
1051
+ declare const qetaTranslations: _backstage_frontend_plugin_api.TranslationResource<"qeta">;
1052
1052
 
1053
1053
  type QetaVoteButtonsClassKey = 'qetaCorrectAnswerSelected' | 'qetaCorrectAnswer' | 'voteButtonContainer';
1054
1054
 
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "frontend",
8
8
  "backstage.io"
9
9
  ],
10
- "version": "3.47.2",
10
+ "version": "3.48.0",
11
11
  "main": "dist/index.esm.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "prepublishOnly": "yarn tsc && yarn build",
@@ -51,13 +51,13 @@
51
51
  "@backstage/catalog-client": "^1.12.1",
52
52
  "@backstage/catalog-model": "^1.7.6",
53
53
  "@backstage/config": "^1.3.6",
54
- "@backstage/core-components": "^0.18.3",
55
- "@backstage/core-plugin-api": "^1.12.0",
56
- "@backstage/plugin-catalog-react": "^1.21.3",
54
+ "@backstage/core-components": "^0.18.4",
55
+ "@backstage/core-plugin-api": "^1.12.1",
56
+ "@backstage/plugin-catalog-react": "^1.21.4",
57
57
  "@backstage/plugin-permission-common": "^0.9.3",
58
- "@backstage/plugin-permission-react": "^0.4.38",
59
- "@backstage/plugin-signals-react": "^0.0.17",
60
- "@drodil/backstage-plugin-qeta-common": "^3.47.2",
58
+ "@backstage/plugin-permission-react": "^0.4.39",
59
+ "@backstage/plugin-signals-react": "^0.0.18",
60
+ "@drodil/backstage-plugin-qeta-common": "^3.48.0",
61
61
  "@jsdevtools/rehype-toc": "^3.0.2",
62
62
  "@material-ui/core": "^4.12.2",
63
63
  "@material-ui/icons": "^4.11.3",
@@ -87,8 +87,8 @@
87
87
  "react-router-dom": "6.0.0-beta.0 || ^6.3.0"
88
88
  },
89
89
  "devDependencies": {
90
- "@backstage/cli": "^0.34.5",
91
- "@backstage/test-utils": "^1.7.13",
90
+ "@backstage/cli": "^0.35.0",
91
+ "@backstage/test-utils": "^1.7.14",
92
92
  "@testing-library/dom": "^10.4.0",
93
93
  "@testing-library/jest-dom": "^5.10.1",
94
94
  "@testing-library/react": "^16.0.1",