refactor: migrate to nuxt compatibilityVersion: 4 (#3298)

pull/3300/head
Daniel Roe 2025-05-20 15:05:01 +01:00 zatwierdzone przez GitHub
rodzic 46e4433e1c
commit a3fbc056a9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
342 zmienionych plików z 1200 dodań i 2932 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
<script setup lang="ts">
import type { mastodon } from 'masto'
import { toggleFollowAccount, useRelationship } from '~~/composables/masto/relationship'
import { toggleFollowAccount, useRelationship } from '~/composables/masto/relationship'
const { account, context, command, ...props } = defineProps<{
account: mastodon.v1.Account

Wyświetl plik

@ -1,6 +1,6 @@
<script setup lang="ts">
import type { mastodon } from 'masto'
import { toggleBlockAccount, toggleBlockDomain, toggleMuteAccount } from '~~/composables/masto/relationship'
import { toggleBlockAccount, toggleBlockDomain, toggleMuteAccount } from '~/composables/masto/relationship'
const { account } = defineProps<{
account: mastodon.v1.Account

Wyświetl plik

@ -1,5 +1,5 @@
<script setup lang="ts">
import type { CommonRouteTabOption } from '~/types'
import type { CommonRouteTabOption } from '#shared/types'
const { t } = useI18n()
const route = useRoute()

Wyświetl plik

@ -1,5 +1,5 @@
<script setup lang="ts">
import type { CommonRouteTabMoreOption, CommonRouteTabOption } from '~/types'
import type { CommonRouteTabMoreOption, CommonRouteTabOption } from '#shared/types'
const { options, command, preventScrollTop = false } = defineProps<{
options: CommonRouteTabOption[]

Wyświetl plik

@ -1,5 +1,5 @@
<script setup lang="ts">
import type { ConfirmDialogChoice, ConfirmDialogOptions } from '~/types'
import type { ConfirmDialogChoice, ConfirmDialogOptions } from '#shared/types'
const { extraOptionType } = defineProps<ConfirmDialogOptions>()

Wyświetl plik

@ -1,6 +1,6 @@
<script setup lang="ts">
import type { ConfirmDialogChoice } from '#shared/types'
import type { mastodon } from 'masto'
import type { ConfirmDialogChoice } from '~/types'
import {
isCommandPanelOpen,
isConfirmDialogOpen,

Wyświetl plik

@ -1,5 +1,5 @@
<script setup lang="ts">
import type { ErrorDialogData } from '~/types'
import type { ErrorDialogData } from '#shared/types'
defineProps<ErrorDialogData>()
</script>

Wyświetl plik

@ -1,5 +1,5 @@
<script setup lang="ts">
import type { GroupedNotifications } from '~/types'
import type { GroupedNotifications } from '#shared/types'
const { items } = defineProps<{
items: GroupedNotifications

Wyświetl plik

@ -1,5 +1,5 @@
<script setup lang="ts">
import type { GroupedLikeNotifications } from '~/types'
import type { GroupedLikeNotifications } from '#shared/types'
const { group } = defineProps<{
group: GroupedLikeNotifications

Wyświetl plik

@ -1,6 +1,6 @@
<script setup lang="ts">
import type { GroupedAccountLike, NotificationSlot } from '#shared/types'
import type { mastodon } from 'masto'
import type { GroupedAccountLike, NotificationSlot } from '~/types'
// @ts-expect-error missing types
import { DynamicScrollerItem } from 'vue-virtual-scroller'

Some files were not shown because too many files have changed in this diff Show More