chore: fix type

This commit is contained in:
Hakadao
2024-10-21 00:27:34 +08:00
parent a7d4af60c9
commit 08a5ca0328
4 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
import type { Ref } from 'vue'
import { useBewlyApp } from '~/composables/useAppProvider'
import type { GridLayout } from '~/logic'
import type { GridLayoutType } from '~/logic'
import type { DataItem as MomentItem, MomentResult } from '~/models/moment/moment'
import api from '~/utils/api'
@@ -13,7 +13,7 @@ interface VideoElement {
}
const props = defineProps<{
gridLayout: GridLayout
gridLayout: GridLayoutType
}>()
const emit = defineEmits<{

View File

@@ -5,7 +5,7 @@ import type { Ref } from 'vue'
import { useBewlyApp } from '~/composables/useAppProvider'
import { FilterType, useFilter } from '~/composables/useFilter'
import { LanguageType } from '~/enums/appEnums'
import type { GridLayout } from '~/logic'
import type { GridLayoutType } from '~/logic'
import { accessKey, settings } from '~/logic'
import type { AppForYouResult, Item as AppVideoItem } from '~/models/video/appForYou'
import { Type as ThreePointV2Type } from '~/models/video/appForYou'
@@ -15,7 +15,7 @@ import { TVAppKey } from '~/utils/authProvider'
import { isVerticalVideo } from '~/utils/uriParse'
const props = defineProps<{
gridLayout: GridLayout
gridLayout: GridLayoutType
}>()
const emit = defineEmits<{

View File

@@ -2,7 +2,7 @@
import type { Ref } from 'vue'
import { useBewlyApp } from '~/composables/useAppProvider'
import type { GridLayout } from '~/logic'
import type { GridLayoutType } from '~/logic'
import type { DataItem as MomentItem, MomentResult } from '~/models/moment/moment'
import api from '~/utils/api'
@@ -13,7 +13,7 @@ interface VideoElement {
}
const props = defineProps<{
gridLayout: GridLayout
gridLayout: GridLayoutType
}>()
const emit = defineEmits<{

View File

@@ -2,7 +2,7 @@
import type { Ref } from 'vue'
import { useBewlyApp } from '~/composables/useAppProvider'
import type { GridLayout } from '~/logic'
import type { GridLayoutType } from '~/logic'
import type { List as VideoItem, TrendingResult } from '~/models/video/trending'
import api from '~/utils/api'
@@ -13,7 +13,7 @@ interface VideoElement {
}
const props = defineProps<{
gridLayout: GridLayout
gridLayout: GridLayoutType
}>()
const emit = defineEmits<{