From 08a5ca03289463bb8db15c122e1e49e83586af0d Mon Sep 17 00:00:00 2001 From: Hakadao Date: Mon, 21 Oct 2024 00:27:34 +0800 Subject: [PATCH] chore: fix type --- src/contentScripts/views/Home/components/Following.vue | 4 ++-- src/contentScripts/views/Home/components/ForYou.vue | 4 ++-- src/contentScripts/views/Home/components/SubscribedSeries.vue | 4 ++-- src/contentScripts/views/Home/components/Trending.vue | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/contentScripts/views/Home/components/Following.vue b/src/contentScripts/views/Home/components/Following.vue index 64452fe1..b920273d 100644 --- a/src/contentScripts/views/Home/components/Following.vue +++ b/src/contentScripts/views/Home/components/Following.vue @@ -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<{ diff --git a/src/contentScripts/views/Home/components/ForYou.vue b/src/contentScripts/views/Home/components/ForYou.vue index 67ec0c6e..2dbf2b24 100644 --- a/src/contentScripts/views/Home/components/ForYou.vue +++ b/src/contentScripts/views/Home/components/ForYou.vue @@ -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<{ diff --git a/src/contentScripts/views/Home/components/SubscribedSeries.vue b/src/contentScripts/views/Home/components/SubscribedSeries.vue index 80cbcf67..0322364b 100644 --- a/src/contentScripts/views/Home/components/SubscribedSeries.vue +++ b/src/contentScripts/views/Home/components/SubscribedSeries.vue @@ -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<{ diff --git a/src/contentScripts/views/Home/components/Trending.vue b/src/contentScripts/views/Home/components/Trending.vue index 952c7998..2665ca8b 100644 --- a/src/contentScripts/views/Home/components/Trending.vue +++ b/src/contentScripts/views/Home/components/Trending.vue @@ -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<{