From 3676ada52014ffd588366fd6e5354ed1f184c603 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:14:18 +0900 Subject: [PATCH] wip --- packages/frontend/src/components/MkChannelList.vue | 2 +- packages/frontend/src/components/MkDonation.vue | 2 +- packages/frontend/src/components/MkFeaturedPhotos.vue | 2 +- packages/frontend/src/components/MkForgotPassword.vue | 2 +- packages/frontend/src/components/MkFormDialog.vue | 2 +- packages/frontend/src/components/MkLink.vue | 2 +- packages/frontend/src/components/MkNote.vue | 2 +- packages/frontend/src/components/MkNoteDetailed.vue | 2 +- packages/frontend/src/components/MkNotes.vue | 2 +- packages/frontend/src/components/MkNotification.vue | 2 +- packages/frontend/src/components/MkNotifications.vue | 2 +- packages/frontend/src/components/MkPagination.vue | 2 +- packages/frontend/src/components/MkPostForm.vue | 2 +- .../frontend/src/components/MkPushNotificationAllowButton.vue | 2 +- packages/frontend/src/components/MkSignupDialog.form.vue | 2 +- packages/frontend/src/components/MkSignupDialog.rules.vue | 2 +- packages/frontend/src/components/MkSourceCodeAvailablePopup.vue | 2 +- packages/frontend/src/components/MkTimeline.vue | 2 +- packages/frontend/src/components/MkTutorialDialog.vue | 2 +- packages/frontend/src/components/MkUserList.vue | 2 +- packages/frontend/src/components/MkUserPopup.vue | 2 +- packages/frontend/src/components/MkUserSetupDialog.vue | 2 +- packages/frontend/src/components/MkVisitorDashboard.vue | 2 +- packages/frontend/src/components/global/MkAd.vue | 2 +- packages/frontend/src/components/global/MkError.vue | 2 +- packages/frontend/src/components/global/MkUrl.vue | 2 +- packages/frontend/src/components/page/page.text.vue | 2 +- packages/frontend/src/pages/_error_.vue | 2 +- packages/frontend/src/pages/about-misskey.vue | 2 +- packages/frontend/src/pages/about.overview.vue | 2 +- packages/frontend/src/pages/admin/branding.vue | 2 +- packages/frontend/src/pages/admin/index.vue | 2 +- packages/frontend/src/pages/admin/roles.editor.vue | 2 +- packages/frontend/src/pages/admin/roles.role.vue | 2 +- packages/frontend/src/pages/admin/roles.vue | 2 +- packages/frontend/src/pages/admin/server-rules.vue | 2 +- packages/frontend/src/pages/admin/settings.vue | 2 +- packages/frontend/src/pages/ads.vue | 2 +- packages/frontend/src/pages/contact.vue | 2 +- packages/frontend/src/pages/drive.file.info.vue | 2 +- packages/frontend/src/pages/favorites.vue | 2 +- packages/frontend/src/pages/follow-requests.vue | 2 +- packages/frontend/src/pages/invite.vue | 2 +- packages/frontend/src/pages/list.vue | 2 +- packages/frontend/src/pages/my-antennas/index.vue | 2 +- packages/frontend/src/pages/my-lists/index.vue | 2 +- packages/frontend/src/pages/not-found.vue | 2 +- packages/frontend/src/pages/page.vue | 2 +- packages/frontend/src/pages/role.vue | 2 +- packages/frontend/src/pages/search.note.vue | 2 +- packages/frontend/src/pages/search.vue | 2 +- packages/frontend/src/pages/settings/apps.vue | 2 +- packages/frontend/src/pages/settings/email.vue | 2 +- packages/frontend/src/pages/settings/index.vue | 2 +- packages/frontend/src/pages/settings/mute-block.vue | 2 +- packages/frontend/src/pages/settings/theme.vue | 2 +- packages/frontend/src/pages/timeline.vue | 2 +- packages/frontend/src/pages/user/home.vue | 2 +- packages/frontend/src/pages/welcome.entrance.a.vue | 2 +- packages/frontend/src/ui/_common_/navbar-for-mobile.vue | 2 +- packages/frontend/src/ui/_common_/navbar.vue | 2 +- packages/frontend/src/ui/classic.header.vue | 2 +- packages/frontend/src/ui/classic.sidebar.vue | 2 +- packages/frontend/src/ui/deck/tl-column.vue | 2 +- packages/frontend/src/ui/visitor.vue | 2 +- packages/frontend/src/widgets/WidgetBirthdayFollowings.vue | 2 +- packages/frontend/src/widgets/WidgetInstanceInfo.vue | 2 +- packages/frontend/src/widgets/WidgetRss.vue | 2 +- packages/frontend/src/widgets/WidgetTimeline.vue | 2 +- 69 files changed, 69 insertions(+), 69 deletions(-) diff --git a/packages/frontend/src/components/MkChannelList.vue b/packages/frontend/src/components/MkChannelList.vue index a8ef17d4fd..bbfc87e623 100644 --- a/packages/frontend/src/components/MkChannelList.vue +++ b/packages/frontend/src/components/MkChannelList.vue @@ -26,7 +26,7 @@ import { i18n } from '@/i18n.js'; import { DI } from '@/di.js'; -const serverMetadata = inject(DI.serverMetadata); +const serverMetadata = inject(DI.serverMetadata)!; const props = withDefaults(defineProps<{ pagination: Paging; diff --git a/packages/frontend/src/components/MkDonation.vue b/packages/frontend/src/components/MkDonation.vue index d30d5fd109..87278ce0b7 100644 --- a/packages/frontend/src/components/MkDonation.vue +++ b/packages/frontend/src/components/MkDonation.vue @@ -46,7 +46,7 @@ import { miLocalStorage } from '@/local-storage.js'; import { DI } from '@/di.js'; -const serverMetadata = inject(DI.serverMetadata); +const serverMetadata = inject(DI.serverMetadata)!; const emit = defineEmits<{ (ev: 'closed'): void; diff --git a/packages/frontend/src/components/MkFeaturedPhotos.vue b/packages/frontend/src/components/MkFeaturedPhotos.vue index 995c89a972..01d4190000 100644 --- a/packages/frontend/src/components/MkFeaturedPhotos.vue +++ b/packages/frontend/src/components/MkFeaturedPhotos.vue @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only import { inject } from 'vue'; import { DI } from '@/di.js'; -const serverMetadata = inject(DI.serverMetadata); +const serverMetadata = inject(DI.serverMetadata)!;