1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 14:46:08 +09:00

chore: unify script setup lang order (#2943)

This commit is contained in:
Shinigami 2024-09-07 09:38:18 +02:00 committed by GitHub
parent b2102732cf
commit 3054667050
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
25 changed files with 25 additions and 25 deletions

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { mastodon } from 'masto'
defineOptions({

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { ResolvedCommand } from '~/composables/command'
const {

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
const emit = defineEmits<{
(event: 'close'): void
}>()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { Boundaries } from 'vue-advanced-cropper'
import { Cropper } from 'vue-advanced-cropper'
import 'vue-advanced-cropper/dist/style.css'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { fileOpen } from 'browser-fs-access'
import type { FileWithHandle } from 'browser-fs-access'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { mastodon } from 'masto'
const {

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { mastodon } from 'masto'
import sparkline from '@fnando/sparkline'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
const { userId } = defineProps<{
userId: string
}>()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap'
export interface Props {

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { invoke } from '@vueuse/core'
const modelValue = defineModel<boolean>({ required: true })

View File

@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
const { busy, oauth, singleInstanceServer } = useSignIn()
</script>

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { DEFAULT_FONT_SIZE } from '~/constants'
import type { FontSize } from '~/composables/settings'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
const props = defineProps<{
text?: string
content?: string

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { ComputedRef } from 'vue'
import type { LocaleObject } from '@nuxtjs/i18n'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import ISO6391 from 'iso-639-1'
const supportedTranslationLanguages = ISO6391.getLanguages([...supportedTranslationCodes])

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { usePreferences } from '~/composables/settings'
const route = useRoute()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { STORAGE_KEY_HIDE_EXPLORE_POSTS_TIPS, STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~~/constants'
const { t } = useI18n()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { STORAGE_KEY_HIDE_EXPLORE_NEWS_TIPS, STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~~/constants'
const { t } = useI18n()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { STORAGE_KEY_HIDE_EXPLORE_TAGS_TIPS, STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~~/constants'
const { t } = useI18n()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~/constants'
const { t } = useI18n()

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { mastodon } from 'masto'
definePageMeta({

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
definePageMeta({
wideLayout: true,
})

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import type { mastodon } from 'masto'
import { useForm } from 'slimeform'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
/* eslint-disable no-alert */
import { fileOpen } from 'browser-fs-access'
import type { UserLogin } from '~/types'

View File

@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
definePageMeta({
middleware: () => {
if (!useAppConfig().pwaEnabled)