@drodil/backstage-plugin-qeta-react 3.35.2 → 3.36.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 (51) hide show
  1. package/dist/components/Buttons/CreateLinkButton.esm.js +47 -0
  2. package/dist/components/Buttons/CreateLinkButton.esm.js.map +1 -0
  3. package/dist/components/Buttons/OpenLinkButton.esm.js +33 -0
  4. package/dist/components/Buttons/OpenLinkButton.esm.js.map +1 -0
  5. package/dist/components/DeleteModal/DeleteModal.esm.js +15 -3
  6. package/dist/components/DeleteModal/DeleteModal.esm.js.map +1 -1
  7. package/dist/components/FaviconItem/FaviconItem.esm.js +42 -0
  8. package/dist/components/FaviconItem/FaviconItem.esm.js.map +1 -0
  9. package/dist/components/FilterPanel/FilterPanel.esm.js +9 -6
  10. package/dist/components/FilterPanel/FilterPanel.esm.js.map +1 -1
  11. package/dist/components/HomePageCards/PostsCard.esm.js +3 -1
  12. package/dist/components/HomePageCards/PostsCard.esm.js.map +1 -1
  13. package/dist/components/LeftMenu/LeftMenu.esm.js +7 -1
  14. package/dist/components/LeftMenu/LeftMenu.esm.js.map +1 -1
  15. package/dist/components/LinkCard/LinkCard.esm.js +220 -0
  16. package/dist/components/LinkCard/LinkCard.esm.js.map +1 -0
  17. package/dist/components/PostForm/PostForm.esm.js +139 -17
  18. package/dist/components/PostForm/PostForm.esm.js.map +1 -1
  19. package/dist/components/PostHighlightList/PostHighlightList.esm.js +9 -3
  20. package/dist/components/PostHighlightList/PostHighlightList.esm.js.map +1 -1
  21. package/dist/components/PostHighlightList/PostHighlightListContainer.esm.js +50 -0
  22. package/dist/components/PostHighlightList/PostHighlightListContainer.esm.js.map +1 -0
  23. package/dist/components/PostsContainer/NoPostsCard.esm.js +16 -3
  24. package/dist/components/PostsContainer/NoPostsCard.esm.js.map +1 -1
  25. package/dist/components/PostsContainer/PostListItem.esm.js +44 -21
  26. package/dist/components/PostsContainer/PostListItem.esm.js.map +1 -1
  27. package/dist/components/PostsContainer/PostsContainer.esm.js +16 -5
  28. package/dist/components/PostsContainer/PostsContainer.esm.js.map +1 -1
  29. package/dist/components/PostsGrid/PostsGrid.esm.js +16 -5
  30. package/dist/components/PostsGrid/PostsGrid.esm.js.map +1 -1
  31. package/dist/components/PostsGrid/PostsGridItem.esm.js +26 -10
  32. package/dist/components/PostsGrid/PostsGridItem.esm.js.map +1 -1
  33. package/dist/components/PostsTable/PostsTableRow.esm.js +16 -3
  34. package/dist/components/PostsTable/PostsTableRow.esm.js.map +1 -1
  35. package/dist/components/StatsChart/StatsChart.esm.js +9 -0
  36. package/dist/components/StatsChart/StatsChart.esm.js.map +1 -1
  37. package/dist/components/SuggestionsCard/SuggestionsCard.esm.js +27 -3
  38. package/dist/components/SuggestionsCard/SuggestionsCard.esm.js.map +1 -1
  39. package/dist/components/SummaryStatsGrid/SummaryStatsGrid.esm.js +9 -0
  40. package/dist/components/SummaryStatsGrid/SummaryStatsGrid.esm.js.map +1 -1
  41. package/dist/components/UsersGrid/UsersGridItem.esm.js +5 -0
  42. package/dist/components/UsersGrid/UsersGridItem.esm.js.map +1 -1
  43. package/dist/hooks/usePaginatedPosts.esm.js.map +1 -1
  44. package/dist/index.d.ts +103 -41
  45. package/dist/index.esm.js +6 -1
  46. package/dist/index.esm.js.map +1 -1
  47. package/dist/routes.esm.js +21 -1
  48. package/dist/routes.esm.js.map +1 -1
  49. package/dist/translation.esm.js +52 -4
  50. package/dist/translation.esm.js.map +1 -1
  51. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -25,10 +25,14 @@ declare const collectionEditRouteRef: _backstage_core_plugin_api.SubRouteRef<_ba
25
25
  declare const writeRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
26
26
  declare const articlesRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
27
27
  declare const articleRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/articles/:id">>;
28
+ declare const linksRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
29
+ declare const createLinkRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
30
+ declare const linkRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/links/:id">>;
28
31
  declare const usersRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
29
32
  declare const userRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
30
33
  declare const editQuestionRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/questions/:id/edit">>;
31
34
  declare const editArticleRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/articles/:id/edit">>;
35
+ declare const editLinkRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/links/:id/edit">>;
32
36
  declare const tagsRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
33
37
  declare const tagRouteRef: _backstage_core_plugin_api.SubRouteRef<_backstage_core_plugin_api.PathParams<"/tags/:tag">>;
34
38
  declare const entitiesRouteRef: _backstage_core_plugin_api.SubRouteRef<undefined>;
@@ -48,6 +52,7 @@ interface QuestionFormValues extends TagAndEntitiesFormValues {
48
52
  type: PostType;
49
53
  images: number[];
50
54
  headerImage?: string;
55
+ url?: string;
51
56
  status?: PostStatus;
52
57
  }
53
58
 
@@ -119,6 +124,7 @@ type PaginatedPostsProps = PostFilters & {
119
124
  favorite?: boolean;
120
125
  showAskButton?: boolean;
121
126
  showWriteButton?: boolean;
127
+ showLinkButton?: boolean;
122
128
  showNoQuestionsBtn?: boolean;
123
129
  initialPageSize?: number;
124
130
  collectionId?: number;
@@ -208,6 +214,16 @@ declare const WriteArticleButton: (props: {
208
214
  entityPage?: boolean;
209
215
  }) => react_jsx_runtime.JSX.Element;
210
216
 
217
+ declare const CreateLinkButton: (props: {
218
+ entity?: string;
219
+ tags?: string[];
220
+ entityPage?: boolean;
221
+ }) => react_jsx_runtime.JSX.Element;
222
+
223
+ declare const OpenLinkButton: (props: {
224
+ entity: PostResponse;
225
+ }) => react_jsx_runtime.JSX.Element;
226
+
211
227
  declare const CreateCollectionButton: () => react_jsx_runtime.JSX.Element;
212
228
 
213
229
  declare const AddToCollectionButton: (props: {
@@ -237,6 +253,10 @@ declare const PostHighlightList: (props: {
237
253
  postType?: PostType;
238
254
  }) => react_jsx_runtime.JSX.Element;
239
255
 
256
+ declare const PostHighlightListContainer: ({ options, }: {
257
+ options?: PostsQuery;
258
+ }) => react_jsx_runtime.JSX.Element;
259
+
240
260
  type QetaMarkdownContentClassKey = 'markdown' | 'header' | 'tocHeader' | 'toc' | 'tocList' | 'tocListItem' | 'tocLink';
241
261
  declare const MarkdownRenderer: (props: {
242
262
  content: string;
@@ -408,6 +428,14 @@ declare const AIAnswerCard: (props: AIAnswerCardProps) => react_jsx_runtime.JSX.
408
428
 
409
429
  declare const SuggestionsCard: () => react_jsx_runtime.JSX.Element;
410
430
 
431
+ declare const LinkCard: (props: {
432
+ link: PostResponse;
433
+ }) => react_jsx_runtime.JSX.Element;
434
+
435
+ declare const FaviconItem: (props: {
436
+ entity: PostResponse;
437
+ }) => react_jsx_runtime.JSX.Element;
438
+
411
439
  declare const DeletedBanner: () => react_jsx_runtime.JSX.Element;
412
440
 
413
441
  declare const DraftBanner: () => react_jsx_runtime.JSX.Element;
@@ -508,6 +536,19 @@ declare const useAI: () => {
508
536
 
509
537
  /** @alpha */
510
538
  declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRef<"qeta", {
539
+ readonly "answer.questionTitle": "Q: {{question}}";
540
+ readonly "answer.answeredTime": "answered";
541
+ readonly "favorite.remove": "Remove this post from favorites";
542
+ readonly "favorite.add": "Mark this post as favorite";
543
+ readonly "link.post": "Copy link to this post to clipboard";
544
+ readonly "link.answer": "Copy link to this answer to clipboard";
545
+ readonly "link.aria": "Copy link to clipboard";
546
+ readonly "link.copied": "Link copied to clipboard";
547
+ readonly "link.open": "Open link in new tab";
548
+ readonly "ranking.top": "Rank this question to the top in this collection";
549
+ readonly "ranking.bottom": "Rank this question to the bottom in this collection";
550
+ readonly "ranking.up": "Rank this question up in this collection";
551
+ readonly "ranking.down": "Rank this question down in this collection";
511
552
  readonly "statistics.ranking": "User ranking 🏆";
512
553
  readonly "statistics.errorLoading": "Could not load statistics";
513
554
  readonly "statistics.notAvailable": "Statistics are unavailable";
@@ -521,20 +562,8 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
521
562
  readonly "statistics.topVotedAnswers.description": "People who have the highest rated answers";
522
563
  readonly "statistics.topVotedCorrectAnswers.title": "Top voted correct answers";
523
564
  readonly "statistics.topVotedCorrectAnswers.description": "People who have the highest rated correct answers";
524
- readonly "answer.questionTitle": "Q: {{question}}";
525
- readonly "answer.answeredTime": "answered";
526
- readonly "favorite.remove": "Remove this post from favorites";
527
- readonly "favorite.add": "Mark this post as favorite";
528
- readonly "ranking.top": "Rank this question to the top in this collection";
529
- readonly "ranking.bottom": "Rank this question to the bottom in this collection";
530
- readonly "ranking.up": "Rank this question up in this collection";
531
- readonly "ranking.down": "Rank this question down in this collection";
532
565
  readonly "code.aria": "Copy code to clipboard";
533
566
  readonly "code.copied": "Code copied to clipboard";
534
- readonly "link.post": "Copy link to this post to clipboard";
535
- readonly "link.answer": "Copy link to this answer to clipboard";
536
- readonly "link.aria": "Copy link to clipboard";
537
- readonly "link.copied": "Link copied to clipboard";
538
567
  readonly pluginName: "Q&A";
539
568
  readonly "answerList.noAnswers": "No answers";
540
569
  readonly "answerList.errorLoading": "Could not load answers";
@@ -543,6 +572,7 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
543
572
  readonly "common.collection": "collection";
544
573
  readonly "common.question": "question";
545
574
  readonly "common.article": "article";
575
+ readonly "common.link": "link";
546
576
  readonly "common.draft": "Draft";
547
577
  readonly "common.deleted": "Deleted";
548
578
  readonly "common.score": "{{score}} score";
@@ -552,6 +582,7 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
552
582
  readonly "common.tagExpert": "This user is an expert in this area";
553
583
  readonly "common.comments": "Comments";
554
584
  readonly "common.votes": "votes";
585
+ readonly "common.clicks": "clicks";
555
586
  readonly "common.views": "views";
556
587
  readonly "common.postStats": "Post stats";
557
588
  readonly "common.anonymousAuthor": "Anonymous";
@@ -569,6 +600,9 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
569
600
  readonly "common.votesCount_zero": "0 votes";
570
601
  readonly "common.votesCount_one": "{{count}} vote";
571
602
  readonly "common.votesCount_other": "{{count}} votes";
603
+ readonly "common.clicksCount_zero": "0 clicks";
604
+ readonly "common.clicksCount_one": "{{count}} click";
605
+ readonly "common.clicksCount_other": "{{count}} clicks";
572
606
  readonly "common.posts_zero": "No {{itemType}}s";
573
607
  readonly "common.posts_one": "{{count}} {{itemType}}";
574
608
  readonly "common.posts_other": "{{count}} {{itemType}}s";
@@ -587,15 +621,15 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
587
621
  readonly "markdownEditor.preview": "Preview";
588
622
  readonly "markdownEditor.uploadingImage": "Uploading image...";
589
623
  readonly "markdownEditor.pasteDropSelect": "Paste, drop or select an image";
590
- readonly "answerContainer.search.label": "Search answer";
591
- readonly "answerContainer.search.placeholder": "Search...";
592
624
  readonly "answerContainer.title.answersBy": "Answers by";
593
625
  readonly "answerContainer.title.answersAbout": "Answers about";
594
626
  readonly "answerContainer.title.answersTagged": "Answers tagged with {{tags}}";
627
+ readonly "answerContainer.search.label": "Search answer";
628
+ readonly "answerContainer.search.placeholder": "Search...";
629
+ readonly "anonymousCheckbox.info": "Your name will not be shown to others.";
595
630
  readonly "anonymousCheckbox.tooltip": "By enabling this, other users won't be able to see you as an author";
596
631
  readonly "anonymousCheckbox.answerAnonymously": "Answer anonymously";
597
632
  readonly "anonymousCheckbox.postAnonymously": "Post anonymously";
598
- readonly "anonymousCheckbox.info": "Your name will not be shown to others.";
599
633
  readonly "fileInput.label": "Header image";
600
634
  readonly "fileInput.preview": "Preview image";
601
635
  readonly "fileInput.helperText": "URL of the header image to be used";
@@ -624,7 +658,8 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
624
658
  readonly "postForm.submitting": "Posting...";
625
659
  readonly "postForm.titleInput.label": "Title";
626
660
  readonly "postForm.titleInput.placeholder": "e.g. How do I deploy a Backstage plugin?";
627
- readonly "postForm.titleInput.helperText": "Write good title for your {{type}} that people can understand";
661
+ readonly "postForm.titleInput.helperText": "Write a good title for your {{type}} that people can understand";
662
+ readonly "postForm.titleInput.placeholder_link": "e.g. Backstage documentation";
628
663
  readonly "postForm.submit.existingPost": "Save";
629
664
  readonly "postForm.submit.publish": "Publish";
630
665
  readonly "postForm.successPosting": "Your {{type}} was posted successfully!";
@@ -640,13 +675,20 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
640
675
  readonly "postForm.tips_article_2": "Organize your content with headings and lists.";
641
676
  readonly "postForm.tips_article_3": "Add images or diagrams to illustrate your points.";
642
677
  readonly "postForm.tips_article_4": "Cite sources or link to relevant documentation.";
678
+ readonly "postForm.tips_link_1": "Explain why this link is useful.";
679
+ readonly "postForm.tips_link_2": "Describe who will benefit from this link.";
643
680
  readonly "postForm.autoSaveDraft": "Auto-save";
644
681
  readonly "postForm.autoSaveDraftTooltip": "Automatically save your post every 3 seconds when changes are made";
645
682
  readonly "postForm.autoSaveSuccess": "Saved automatically";
646
683
  readonly "postForm.contentInput.label": "Your {{type}}";
647
684
  readonly "postForm.contentInput.markdownHelp": "Markdown help";
685
+ readonly "postForm.contentInput.placeholder_link": "Why is this link useful? Who will benefit from it?";
648
686
  readonly "postForm.contentInput.placeholder_question": "Describe your problem in detail. What have you tried? What did you expect to happen?";
649
687
  readonly "postForm.contentInput.placeholder_article": "Write your article content here. Use headings, lists, and images to organize your information.";
688
+ readonly "postForm.urlInput.label": "URL";
689
+ readonly "postForm.urlInput.placeholder": "https://";
690
+ readonly "postForm.urlInput.helperText": "Paste the link you want to share";
691
+ readonly "postForm.urlInput.invalid": "Please enter a valid URL (starting with http:// or https://)";
650
692
  readonly "answerForm.errorPosting": "Could not post answer";
651
693
  readonly "answerForm.submitting": "Submitting...";
652
694
  readonly "answerForm.submit.existingAnswer": "Save";
@@ -671,6 +713,10 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
671
713
  readonly "writePage.title.newArticle": "New article";
672
714
  readonly "writePage.title.existingArticle": "Edit article";
673
715
  readonly "writePage.title.entityArticle": "Write an article about {{entity}}";
716
+ readonly "createLinkPage.title.newLink": "New link";
717
+ readonly "createLinkPage.title.existingLink": "Edit link";
718
+ readonly "createLinkPage.title.entityLink": "Create a link about {{entity}}";
719
+ readonly "createLinkPage.editButton": "Edit this link";
674
720
  readonly "collectionCreatePage.title.existingCollection": "Edit collection";
675
721
  readonly "collectionCreatePage.title.newCollection": "New collection";
676
722
  readonly "askQuestionButton.title": "Ask a question";
@@ -680,6 +726,7 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
680
726
  readonly "addToCollectionButton.removed": "Removed from collection {{collection}}";
681
727
  readonly "addToCollectionButton.added": "Added to collection {{collection}}";
682
728
  readonly "writeArticleButton.title": "Write an article";
729
+ readonly "createLinkButton.title": "Link";
683
730
  readonly "createCollectionButton.title": "Create a collection";
684
731
  readonly "commentList.save": "Save";
685
732
  readonly "commentList.editLink": "edit";
@@ -690,20 +737,20 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
690
737
  readonly "commentSection.addComment": "Add a comment";
691
738
  readonly "tagChip.nonExistingTag": "This tag does not yet exist";
692
739
  readonly "editTagModal.title": "Edit tag {{tag}}";
693
- readonly "editTagModal.errorPosting": "Failed to edit";
694
740
  readonly "editTagModal.description": "Tag description";
741
+ readonly "editTagModal.errorPosting": "Failed to edit";
695
742
  readonly "editTagModal.expertsLabel": "Experts";
696
743
  readonly "editTagModal.expertsPlaceholder": "Tag experts";
697
744
  readonly "editTagModal.saveButton": "Save";
698
745
  readonly "editTagModal.cancelButton": "Cancel";
699
746
  readonly "createTagModal.title": "Create a new tag";
700
- readonly "createTagModal.errorPosting": "Failed to create";
701
747
  readonly "createTagModal.description": "Tag description";
748
+ readonly "createTagModal.errorPosting": "Failed to create";
702
749
  readonly "createTagModal.cancelButton": "Cancel";
703
750
  readonly "createTagModal.tagInput": "Tag";
704
751
  readonly "createTagModal.createButton": "Create";
705
- readonly "deleteModal.title.tag": "Are you sure you want to delete this tag?";
706
752
  readonly "deleteModal.title.answer": "Are you sure you want to delete this answer?";
753
+ readonly "deleteModal.title.tag": "Are you sure you want to delete this tag?";
707
754
  readonly "deleteModal.title.collection": "Are you sure you want to delete this collection?";
708
755
  readonly "deleteModal.title.question": "Are you sure you want to delete this post?";
709
756
  readonly "deleteModal.cancelButton": "Cancel";
@@ -715,14 +762,16 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
715
762
  readonly "deleteModal.questionDeleted": "Question deleted";
716
763
  readonly "deleteModal.articleDeleted": "Article deleted";
717
764
  readonly "deleteModal.answerDeleted": "Answer deleted";
765
+ readonly "deleteModal.linkDeleted": "Link deleted";
718
766
  readonly "favoritePage.title": "Favorited posts";
719
- readonly "leftMenu.questions": "Questions";
720
- readonly "leftMenu.statistics": "Statistics";
721
- readonly "leftMenu.collections": "Collections";
722
- readonly "leftMenu.articles": "Articles";
723
- readonly "leftMenu.users": "Users";
724
767
  readonly "leftMenu.tags": "Tags";
725
768
  readonly "leftMenu.entities": "Entities";
769
+ readonly "leftMenu.users": "Users";
770
+ readonly "leftMenu.collections": "Collections";
771
+ readonly "leftMenu.statistics": "Statistics";
772
+ readonly "leftMenu.links": "Links";
773
+ readonly "leftMenu.questions": "Questions";
774
+ readonly "leftMenu.articles": "Articles";
726
775
  readonly "leftMenu.moderate": "Moderate";
727
776
  readonly "leftMenu.manage": "Manage";
728
777
  readonly "leftMenu.buttonLabel": "Menu";
@@ -739,6 +788,7 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
739
788
  readonly "suggestionsCard.noCorrectAnswer": "Your question \"{{title}}\" does not have a correct answer";
740
789
  readonly "suggestionsCard.newQuestion": "Do you have an answer for \"{{title}}\"?";
741
790
  readonly "suggestionsCard.newArticle": "You might like to read \"{{title}}\"";
791
+ readonly "suggestionsCard.newLink": "You might like to check this link \"{{title}}\"";
742
792
  readonly "suggestionsCard.draftPost": "Ready to finalize draft post \"{{title}}\"?";
743
793
  readonly "suggestionsCard.title": "Suggestions";
744
794
  readonly "suggestionsCard.noSuggestions": "No suggestions";
@@ -758,19 +808,27 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
758
808
  readonly "highlights.hotQuestions.noQuestionsLabel": "No questions";
759
809
  readonly "highlights.hotArticles.title": "Hot articles";
760
810
  readonly "highlights.hotArticles.noArticlesLabel": "No articles";
811
+ readonly "highlights.hotLinks.title": "Hot links";
812
+ readonly "highlights.hotLinks.noLinksLabel": "No links";
761
813
  readonly "highlights.unanswered.title": "Unanswered questions";
762
814
  readonly "highlights.unanswered.noQuestionsLabel": "No unanswered questions";
763
815
  readonly "highlights.incorrect.title": "Questions without correct answer";
764
816
  readonly "highlights.incorrect.noQuestionsLabel": "No questions without correct answers";
765
817
  readonly "questionsPage.title": "All questions";
766
818
  readonly "articlesPage.title": "All articles";
819
+ readonly "linksPage.title": "All links";
767
820
  readonly "userLink.anonymous": "Anonymous";
768
821
  readonly "userLink.you": "You";
769
822
  readonly "articlePage.errorLoading": "Could not load article";
823
+ readonly "articlePage.editButton": "Edit this article";
770
824
  readonly "articlePage.deleteButton": "Delete this article";
771
825
  readonly "articlePage.notFound": "Could not find the article";
772
- readonly "articlePage.editButton": "Edit this article";
773
826
  readonly "articlePage.restoreButton": "Restore this article";
827
+ readonly "linkPage.errorLoading": "Could not load link";
828
+ readonly "linkPage.editButton": "Edit this link";
829
+ readonly "linkPage.deleteButton": "Delete this link";
830
+ readonly "linkPage.notFound": "Could not find the link";
831
+ readonly "linkPage.restoreButton": "Restore this link";
774
832
  readonly "templateList.errorLoading": "Could not load templates";
775
833
  readonly "templateList.errorPosting": "Could not post template";
776
834
  readonly "templateList.titleInput.label": "Title";
@@ -779,9 +837,9 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
779
837
  readonly "templateList.descriptionInput.helperText": "Template description, what is it used for?";
780
838
  readonly "templateList.submit.existingTemplate": "Save";
781
839
  readonly "templateList.submit.newTemplate": "Create";
840
+ readonly "templateList.editButton": "Edit";
782
841
  readonly "templateList.createButton": "Create";
783
842
  readonly "templateList.deleteButton": "Delete";
784
- readonly "templateList.editButton": "Edit";
785
843
  readonly "templateList.noTemplates": "No templates";
786
844
  readonly "templateList.noTemplatesDescription": "Create a new template to get started";
787
845
  readonly "templateList.questionTitleInput.label": "Default question title";
@@ -792,15 +850,15 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
792
850
  readonly "templateSelectList.genericQuestion": "Generic question";
793
851
  readonly "templateSelectList.genericQuestionDescription": "Create a generic question";
794
852
  readonly "pagination.defaultTooltip": "Number of items";
853
+ readonly "collectionsPage.title": "Collections";
795
854
  readonly "collectionsPage.search.label": "Search collection";
796
855
  readonly "collectionsPage.search.placeholder": "Search...";
797
- readonly "collectionsPage.title": "Collections";
798
- readonly "collectionPage.info": "You can add questions and articles to the collection from question and article pages";
799
856
  readonly "collectionPage.description": "Description";
857
+ readonly "collectionPage.info": "You can add questions and articles to the collection from question and article pages";
800
858
  readonly "searchResult.created": "Created";
801
859
  readonly "questionPage.errorLoading": "Could not load question";
802
- readonly "questionPage.notFound": "Could not find the question";
803
860
  readonly "questionPage.editButton": "Edit";
861
+ readonly "questionPage.notFound": "Could not find the question";
804
862
  readonly "questionPage.restoreButton": "Restore";
805
863
  readonly "questionPage.draftStatus": "This is a draft post. Please edit and publish it to make it visible to others.";
806
864
  readonly "questionPage.deletedStatus": "This post has been deleted. You can delete it permanently or restore it.";
@@ -855,8 +913,9 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
855
913
  readonly "filterPanel.orderBy.created": "Created";
856
914
  readonly "filterPanel.orderBy.updated": "Updated";
857
915
  readonly "filterPanel.orderBy.answers": "Answers";
858
- readonly "filterPanel.orderBy.label": "Order by";
859
916
  readonly "filterPanel.orderBy.title": "Title";
917
+ readonly "filterPanel.orderBy.label": "Order by";
918
+ readonly "filterPanel.orderBy.clicks": "Clicks";
860
919
  readonly "filterPanel.orderBy.views": "Views";
861
920
  readonly "filterPanel.orderBy.rank": "Rank";
862
921
  readonly "filterPanel.orderBy.trend": "Trend";
@@ -870,12 +929,12 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
870
929
  readonly "filterPanel.filters.entity.placeholder": "Type or select entity";
871
930
  readonly "postsList.errorLoading": "Could not load {{itemType}}s";
872
931
  readonly "postsList.postsPerPage": "{{itemType}}s per page";
873
- readonly "postsContainer.search.label": "Search {{itemType}}";
874
- readonly "postsContainer.search.placeholder": "Search...";
875
932
  readonly "postsContainer.title.favorite": "Your favorite {{itemType}}s";
876
933
  readonly "postsContainer.title.by": "{{itemType}}s by";
877
934
  readonly "postsContainer.title.about": "{{itemType}}s about";
878
935
  readonly "postsContainer.title.tagged": "{{itemType}} tagged with {{tags}}";
936
+ readonly "postsContainer.search.label": "Search {{itemType}}";
937
+ readonly "postsContainer.search.placeholder": "Search...";
879
938
  readonly "postsContainer.createButton": "Go ahead and create one!";
880
939
  readonly "postsContainer.noItems": "No {{itemType}}s";
881
940
  readonly "postsTable.favorites": "Favorites";
@@ -908,28 +967,30 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
908
967
  readonly "aiAnswerCard.regenerate": "Regenerate this answer";
909
968
  readonly "aiAnswerCard.show": "Show";
910
969
  readonly "aiAnswerCard.hide": "Hide";
970
+ readonly "usersPage.title": "Users";
911
971
  readonly "usersPage.search.label": "Search user";
912
972
  readonly "usersPage.search.placeholder": "Search...";
913
- readonly "usersPage.title": "Users";
914
973
  readonly "usersPage.errorLoading": "Could not load users";
915
974
  readonly "usersPage.defaultTitle": "users";
916
975
  readonly "usersPage.users_zero": "No users";
917
976
  readonly "usersPage.users_one": "{{count}} user";
918
977
  readonly "usersPage.users_other": "{{count}} users";
919
- readonly "userPage.questions": "Questions";
920
- readonly "userPage.statistics": "Statistics";
978
+ readonly "userPage.answers": "Answers";
921
979
  readonly "userPage.collections": "Collections";
980
+ readonly "userPage.statistics": "Statistics";
981
+ readonly "userPage.links": "Links";
982
+ readonly "userPage.questions": "Questions";
922
983
  readonly "userPage.articles": "Articles";
923
- readonly "userPage.answers": "Answers";
924
984
  readonly "userPage.profileTab": "Profile";
925
985
  readonly "userPage.followUser": "Follow {{name}}";
926
986
  readonly "userPage.profilePicture": "Profile picture of {{name}}";
927
987
  readonly "userPage.profileHeader": "User profile";
928
- readonly "stats.questions": "Questions";
929
- readonly "stats.articles": "Articles";
930
- readonly "stats.users": "Users";
931
988
  readonly "stats.tags": "Tags";
989
+ readonly "stats.users": "Users";
932
990
  readonly "stats.answers": "Answers";
991
+ readonly "stats.links": "Links";
992
+ readonly "stats.questions": "Questions";
993
+ readonly "stats.articles": "Articles";
933
994
  readonly "stats.comments": "Comments";
934
995
  readonly "stats.votes": "Votes";
935
996
  readonly "stats.views": "Views";
@@ -949,13 +1010,14 @@ declare const qetaTranslationRef: _backstage_core_plugin_api_alpha.TranslationRe
949
1010
  readonly "stats.totalUsers": "Total users";
950
1011
  readonly "stats.totalTags": "Total tags";
951
1012
  readonly "stats.totalArticles": "Total articles";
1013
+ readonly "stats.totalLinks": "Total links";
952
1014
  readonly "stats.totalFollowers": "Total followers";
953
1015
  readonly "collectionButton.follow": "Follow";
954
1016
  readonly "collectionButton.tooltip": "By following a collection, you will get notified when ever a new post is added to the collection";
955
1017
  readonly "collectionButton.unfollow": "Unfollow";
956
- readonly "tagButton.edit": "Edit";
957
1018
  readonly "tagButton.delete": "Delete";
958
1019
  readonly "tagButton.follow": "Follow";
1020
+ readonly "tagButton.edit": "Edit";
959
1021
  readonly "tagButton.tooltip": "By following a tag, you will get notified when ever a new post with that tag is posted";
960
1022
  readonly "tagButton.unfollow": "Unfollow";
961
1023
  readonly "entityButton.follow": "Follow";
@@ -1001,4 +1063,4 @@ type QetaOverrides = Overrides & {
1001
1063
  [Name in keyof QetaComponentsNameToClassKey]?: Partial<StyleRules<QetaComponentsNameToClassKey[Name]>>;
1002
1064
  };
1003
1065
 
1004
- export { AIAnswerCard, AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, ButtonContainer, CollectionCard, CollectionFollowButton, CollectionForm, CollectionsGrid, CreateCollectionButton, DeleteModal, DeletedBanner, DraftBanner, EntitiesGrid, EntityFollowButton, FilterPanel, FollowedCollectionsList, FollowedEntitiesList, FollowedTagsList, FollowedUsersList, ImpactCard, LeftMenu, LeftMenuButton, MarkdownRenderer, PostForm, type PostGridProps, PostHighlightList, PostList, PostListItem, PostsCard, PostsContainer, type PostsContainerProps, PostsGrid, PostsTable, type QetaOverrides, QuestionCard, QuestionsTable, RelativeTimeWithTooltip, SelectTemplateList, StatsChart, StatusChip, SuggestionsCard, SummaryStatsGrid, TagFollowButton, TagsGrid, TemplateList, TopRankingUsers, TrophyIcon, UpdatedByLink, UserFollowButton, UserLink, UsersGrid, ViewToggle, type ViewType, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, moderatorRouteRef, qetaApiRef, qetaRouteRef, qetaTranslationRef, qetaTranslations, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
1066
+ export { AIAnswerCard, AddToCollectionButton, AnswerCard, AnswerForm, AnswerList, AnswerListItem, AnswersContainer, ArticleContent, AskQuestionButton, AuthorLink, ButtonContainer, CollectionCard, CollectionFollowButton, CollectionForm, CollectionsGrid, CreateCollectionButton, CreateLinkButton, DeleteModal, DeletedBanner, DraftBanner, EntitiesGrid, EntityFollowButton, FaviconItem, FilterPanel, FollowedCollectionsList, FollowedEntitiesList, FollowedTagsList, FollowedUsersList, ImpactCard, LeftMenu, LeftMenuButton, LinkCard, MarkdownRenderer, OpenLinkButton, PostForm, type PostGridProps, PostHighlightList, PostHighlightListContainer, PostList, PostListItem, PostsCard, PostsContainer, type PostsContainerProps, PostsGrid, PostsTable, type QetaOverrides, QuestionCard, QuestionsTable, RelativeTimeWithTooltip, SelectTemplateList, StatsChart, StatusChip, SuggestionsCard, SummaryStatsGrid, TagFollowButton, TagsGrid, TemplateList, TopRankingUsers, TrophyIcon, UpdatedByLink, UserFollowButton, UserLink, UsersGrid, ViewToggle, type ViewType, WriteArticleButton, articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, createLinkRouteRef, editArticleRouteRef, editLinkRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, linkRouteRef, linksRouteRef, moderatorRouteRef, qetaApiRef, qetaRouteRef, qetaTranslationRef, qetaTranslations, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, useAI, useCollectionsFollow, useEntityAuthor, useEntityFollow, useIdentityApi, useIsModerator, useQetaApi, useTagsFollow, useUserFollow, useUserInfo, userRouteRef, usersRouteRef, writeRouteRef };
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- export { articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, moderatorRouteRef, qetaRouteRef, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef, usersRouteRef, writeRouteRef } from './routes.esm.js';
1
+ export { articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, createLinkRouteRef, editArticleRouteRef, editLinkRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, linkRouteRef, linksRouteRef, moderatorRouteRef, qetaRouteRef, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef, usersRouteRef, writeRouteRef } from './routes.esm.js';
2
2
  export { qetaApiRef } from './api.esm.js';
3
3
  export { PostForm } from './components/PostForm/PostForm.esm.js';
4
4
  export { PostsContainer } from './components/PostsContainer/PostsContainer.esm.js';
@@ -12,12 +12,15 @@ export { AskQuestionButton } from './components/Buttons/AskQuestionButton.esm.js
12
12
  export { EntityFollowButton } from './components/Buttons/EntityFollowButton.esm.js';
13
13
  export { TagFollowButton } from './components/Buttons/TagFollowButton.esm.js';
14
14
  export { WriteArticleButton } from './components/Buttons/WriteArticleButton.esm.js';
15
+ export { CreateLinkButton } from './components/Buttons/CreateLinkButton.esm.js';
16
+ export { OpenLinkButton } from './components/Buttons/OpenLinkButton.esm.js';
15
17
  export { CreateCollectionButton } from './components/Buttons/CreateCollectionButton.esm.js';
16
18
  export { AddToCollectionButton } from './components/Buttons/AddToCollectionButton.esm.js';
17
19
  export { UserFollowButton } from './components/Buttons/UserFollowButton.esm.js';
18
20
  export { CollectionFollowButton } from './components/Buttons/CollectionFollowButton.esm.js';
19
21
  export { ButtonContainer } from './components/Buttons/ButtonContainer.esm.js';
20
22
  export { PostHighlightList } from './components/PostHighlightList/PostHighlightList.esm.js';
23
+ export { PostHighlightListContainer } from './components/PostHighlightList/PostHighlightListContainer.esm.js';
21
24
  export { MarkdownRenderer } from './components/MarkdownRenderer/MarkdownRenderer.esm.js';
22
25
  export { DeleteModal } from './components/DeleteModal/DeleteModal.esm.js';
23
26
  export { AnswerCard } from './components/AnswerCard/AnswerCard.esm.js';
@@ -50,6 +53,8 @@ export { TemplateList } from './components/TemplateList/TemplateList.esm.js';
50
53
  export { SelectTemplateList } from './components/SelectTemplateList/SelectTemplateList.esm.js';
51
54
  export { AIAnswerCard } from './components/AIAnswerCard/AIAnswerCard.esm.js';
52
55
  export { SuggestionsCard } from './components/SuggestionsCard/SuggestionsCard.esm.js';
56
+ export { LinkCard } from './components/LinkCard/LinkCard.esm.js';
57
+ export { FaviconItem } from './components/FaviconItem/FaviconItem.esm.js';
53
58
  export { DeletedBanner } from './components/Utility/DeletedBanner.esm.js';
54
59
  export { DraftBanner } from './components/Utility/DraftBanner.esm.js';
55
60
  export { StatusChip } from './components/Utility/StatusChip.esm.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -63,6 +63,21 @@ const articleRouteRef = createSubRouteRef({
63
63
  parent: qetaRouteRef,
64
64
  path: "/articles/:id"
65
65
  });
66
+ const linksRouteRef = createSubRouteRef({
67
+ id: "qeta.links",
68
+ parent: qetaRouteRef,
69
+ path: "/links"
70
+ });
71
+ const createLinkRouteRef = createSubRouteRef({
72
+ id: "qeta.createLink",
73
+ parent: qetaRouteRef,
74
+ path: "/links/create"
75
+ });
76
+ const linkRouteRef = createSubRouteRef({
77
+ id: "qeta.link",
78
+ parent: qetaRouteRef,
79
+ path: "/links/:id"
80
+ });
66
81
  const usersRouteRef = createSubRouteRef({
67
82
  id: "qeta.users",
68
83
  parent: qetaRouteRef,
@@ -83,6 +98,11 @@ const editArticleRouteRef = createSubRouteRef({
83
98
  parent: qetaRouteRef,
84
99
  path: "/articles/:id/edit"
85
100
  });
101
+ const editLinkRouteRef = createSubRouteRef({
102
+ id: "qeta.editLink",
103
+ parent: qetaRouteRef,
104
+ path: "/links/:id/edit"
105
+ });
86
106
  const tagsRouteRef = createSubRouteRef({
87
107
  id: "qeta.tags",
88
108
  parent: qetaRouteRef,
@@ -109,5 +129,5 @@ const moderatorRouteRef = createSubRouteRef({
109
129
  path: "/moderate"
110
130
  });
111
131
 
112
- export { articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, editArticleRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, moderatorRouteRef, qetaRouteRef, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef, usersRouteRef, writeRouteRef };
132
+ export { articleRouteRef, articlesRouteRef, askRouteRef, collectionCreateRouteRef, collectionEditRouteRef, collectionRouteRef, collectionsRouteRef, createLinkRouteRef, editArticleRouteRef, editLinkRouteRef, editQuestionRouteRef, entitiesRouteRef, entityRouteRef, favoriteQuestionsRouteRef, linkRouteRef, linksRouteRef, moderatorRouteRef, qetaRouteRef, questionRouteRef, questionsRouteRef, statisticsRouteRef, tagRouteRef, tagsRouteRef, userRouteRef, usersRouteRef, writeRouteRef };
113
133
  //# sourceMappingURL=routes.esm.js.map
@@ -1 +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: '/questions/ask',\n});\n\nexport const favoriteQuestionsRouteRef = createSubRouteRef({\n id: 'qeta.favoriteQuestions',\n parent: qetaRouteRef,\n path: '/favorites',\n});\n\nexport const statisticsRouteRef = createSubRouteRef({\n id: 'qeta.statistics',\n parent: qetaRouteRef,\n path: '/statistics',\n});\n\nexport const questionsRouteRef = createSubRouteRef({\n id: 'qeta.questions',\n parent: qetaRouteRef,\n path: '/questions',\n});\n\nexport const questionRouteRef = createSubRouteRef({\n id: 'qeta.question',\n parent: qetaRouteRef,\n path: '/questions/:id',\n});\n\nexport const collectionsRouteRef = createSubRouteRef({\n id: 'qeta.collections',\n parent: qetaRouteRef,\n path: '/collections',\n});\n\nexport const collectionRouteRef = createSubRouteRef({\n id: 'qeta.collection',\n parent: qetaRouteRef,\n path: '/collections/:id',\n});\n\nexport const collectionCreateRouteRef = createSubRouteRef({\n id: 'qeta.collection.create',\n parent: qetaRouteRef,\n path: '/collections/create',\n});\n\nexport const collectionEditRouteRef = createSubRouteRef({\n id: 'qeta.collection.edit',\n parent: qetaRouteRef,\n path: '/collections/:id/edit',\n});\n\nexport const writeRouteRef = createSubRouteRef({\n id: 'qeta.write',\n parent: qetaRouteRef,\n path: '/articles/write',\n});\n\nexport const articlesRouteRef = createSubRouteRef({\n id: 'qeta.articles',\n parent: qetaRouteRef,\n path: '/articles',\n});\n\nexport const articleRouteRef = createSubRouteRef({\n id: 'qeta.article',\n parent: qetaRouteRef,\n path: '/articles/:id',\n});\n\nexport const usersRouteRef = createSubRouteRef({\n id: 'qeta.users',\n parent: qetaRouteRef,\n path: '/users',\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 editArticleRouteRef = createSubRouteRef({\n id: 'qeta.editArticle',\n parent: qetaRouteRef,\n path: '/articles/: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\nexport const entitiesRouteRef = createSubRouteRef({\n id: 'qeta.entities',\n parent: qetaRouteRef,\n path: '/entities',\n});\n\nexport const entityRouteRef = createSubRouteRef({\n id: 'qeta.entity',\n parent: qetaRouteRef,\n path: '/entities/:entityRef',\n});\n\nexport const moderatorRouteRef = createSubRouteRef({\n id: 'qeta.moderator',\n parent: qetaRouteRef,\n path: '/moderate',\n});\n"],"names":[],"mappings":";;AAEO,MAAM,eAAe,cAAe,CAAA;AAAA,EACzC,EAAI,EAAA;AACN,CAAC;AAEM,MAAM,cAAc,iBAAkB,CAAA;AAAA,EAC3C,EAAI,EAAA,UAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,4BAA4B,iBAAkB,CAAA;AAAA,EACzD,EAAI,EAAA,wBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,qBAAqB,iBAAkB,CAAA;AAAA,EAClD,EAAI,EAAA,iBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,oBAAoB,iBAAkB,CAAA;AAAA,EACjD,EAAI,EAAA,gBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,mBAAmB,iBAAkB,CAAA;AAAA,EAChD,EAAI,EAAA,eAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,sBAAsB,iBAAkB,CAAA;AAAA,EACnD,EAAI,EAAA,kBAAA;AAAA,EACJ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AAEM,MAAM,sBAAsB,iBAAkB,CAAA;AAAA,EACnD,EAAI,EAAA,kBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,eAAe,iBAAkB,CAAA;AAAA,EAC5C,EAAI,EAAA,WAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,cAAc,iBAAkB,CAAA;AAAA,EAC3C,EAAI,EAAA,UAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,mBAAmB,iBAAkB,CAAA;AAAA,EAChD,EAAI,EAAA,eAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,iBAAiB,iBAAkB,CAAA;AAAA,EAC9C,EAAI,EAAA,aAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,oBAAoB,iBAAkB,CAAA;AAAA,EACjD,EAAI,EAAA,gBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;;;;"}
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: '/questions/ask',\n});\n\nexport const favoriteQuestionsRouteRef = createSubRouteRef({\n id: 'qeta.favoriteQuestions',\n parent: qetaRouteRef,\n path: '/favorites',\n});\n\nexport const statisticsRouteRef = createSubRouteRef({\n id: 'qeta.statistics',\n parent: qetaRouteRef,\n path: '/statistics',\n});\n\nexport const questionsRouteRef = createSubRouteRef({\n id: 'qeta.questions',\n parent: qetaRouteRef,\n path: '/questions',\n});\n\nexport const questionRouteRef = createSubRouteRef({\n id: 'qeta.question',\n parent: qetaRouteRef,\n path: '/questions/:id',\n});\n\nexport const collectionsRouteRef = createSubRouteRef({\n id: 'qeta.collections',\n parent: qetaRouteRef,\n path: '/collections',\n});\n\nexport const collectionRouteRef = createSubRouteRef({\n id: 'qeta.collection',\n parent: qetaRouteRef,\n path: '/collections/:id',\n});\n\nexport const collectionCreateRouteRef = createSubRouteRef({\n id: 'qeta.collection.create',\n parent: qetaRouteRef,\n path: '/collections/create',\n});\n\nexport const collectionEditRouteRef = createSubRouteRef({\n id: 'qeta.collection.edit',\n parent: qetaRouteRef,\n path: '/collections/:id/edit',\n});\n\nexport const writeRouteRef = createSubRouteRef({\n id: 'qeta.write',\n parent: qetaRouteRef,\n path: '/articles/write',\n});\n\nexport const articlesRouteRef = createSubRouteRef({\n id: 'qeta.articles',\n parent: qetaRouteRef,\n path: '/articles',\n});\n\nexport const articleRouteRef = createSubRouteRef({\n id: 'qeta.article',\n parent: qetaRouteRef,\n path: '/articles/:id',\n});\n\nexport const linksRouteRef = createSubRouteRef({\n id: 'qeta.links',\n parent: qetaRouteRef,\n path: '/links',\n});\n\nexport const createLinkRouteRef = createSubRouteRef({\n id: 'qeta.createLink',\n parent: qetaRouteRef,\n path: '/links/create',\n});\n\nexport const linkRouteRef = createSubRouteRef({\n id: 'qeta.link',\n parent: qetaRouteRef,\n path: '/links/:id',\n});\n\nexport const usersRouteRef = createSubRouteRef({\n id: 'qeta.users',\n parent: qetaRouteRef,\n path: '/users',\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 editArticleRouteRef = createSubRouteRef({\n id: 'qeta.editArticle',\n parent: qetaRouteRef,\n path: '/articles/:id/edit',\n});\n\nexport const editLinkRouteRef = createSubRouteRef({\n id: 'qeta.editLink',\n parent: qetaRouteRef,\n path: '/links/: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\nexport const entitiesRouteRef = createSubRouteRef({\n id: 'qeta.entities',\n parent: qetaRouteRef,\n path: '/entities',\n});\n\nexport const entityRouteRef = createSubRouteRef({\n id: 'qeta.entity',\n parent: qetaRouteRef,\n path: '/entities/:entityRef',\n});\n\nexport const moderatorRouteRef = createSubRouteRef({\n id: 'qeta.moderator',\n parent: qetaRouteRef,\n path: '/moderate',\n});\n"],"names":[],"mappings":";;AAEO,MAAM,eAAe,cAAe,CAAA;AAAA,EACzC,EAAI,EAAA;AACN,CAAC;AAEM,MAAM,cAAc,iBAAkB,CAAA;AAAA,EAC3C,EAAI,EAAA,UAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,4BAA4B,iBAAkB,CAAA;AAAA,EACzD,EAAI,EAAA,wBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,qBAAqB,iBAAkB,CAAA;AAAA,EAClD,EAAI,EAAA,iBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,oBAAoB,iBAAkB,CAAA;AAAA,EACjD,EAAI,EAAA,gBAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,mBAAmB,iBAAkB,CAAA;AAAA,EAChD,EAAI,EAAA,eAAA;AAAA,EACJ,MAAQ,EAAA,YAAA;AAAA,EACR,IAAM,EAAA;AACR,CAAC;AAEM,MAAM,sBAAsB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