mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-10 20:36:55 +08:00
update cn url
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
EventDataTypes,
|
||||
EventModel,
|
||||
FunctionTypes,
|
||||
OpenLiveInfo,
|
||||
QueueSortType,
|
||||
Setting_LiveRequest,
|
||||
SongRequestFrom,
|
||||
@@ -15,7 +16,6 @@ import {
|
||||
import { QueryGetAPI, QueryPostAPI, QueryPostAPIWithParams } from '@/api/query'
|
||||
import SongPlayer from '@/components/SongPlayer.vue'
|
||||
import { CURRENT_HOST, SONG_REQUEST_API_URL } from '@/data/constants'
|
||||
import { RoomAuthInfo } from '@/data/DanmakuClients/OpenLiveClient'
|
||||
import { useDanmakuClient } from '@/store/useDanmakuClient'
|
||||
import {
|
||||
Checkmark12Regular,
|
||||
@@ -129,7 +129,7 @@ const settings = computed({
|
||||
const selectedSong = ref<SongsInfo>()
|
||||
|
||||
const props = defineProps<{
|
||||
roomInfo?: RoomAuthInfo
|
||||
roomInfo?: OpenLiveInfo
|
||||
code?: string | undefined
|
||||
isOpenLive?: boolean
|
||||
}>()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { DownloadConfig, UploadConfig, useAccount } from '@/api/account'
|
||||
import { DanmakuUserInfo, EventModel, SongFrom, SongsInfo } from '@/api/api-models'
|
||||
import { DanmakuUserInfo, EventModel, OpenLiveInfo, SongFrom, SongsInfo } from '@/api/api-models'
|
||||
import { QueryGetAPI, QueryPostAPI } from '@/api/query'
|
||||
import { CURRENT_HOST, MUSIC_REQUEST_API_URL, SONG_API_URL } from '@/data/constants'
|
||||
import { useDanmakuClient } from '@/store/useDanmakuClient'
|
||||
@@ -43,7 +43,6 @@ import { computed, onMounted, onUnmounted, ref } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { clearInterval, setInterval } from 'worker-timers'
|
||||
import MusicRequestOBS from '../obs/MusicRequestOBS.vue'
|
||||
import { RoomAuthInfo } from '@/data/DanmakuClients/OpenLiveClient'
|
||||
|
||||
type Music = {
|
||||
id: number
|
||||
@@ -68,7 +67,7 @@ const musicRquestStore = useMusicRequestProvider()
|
||||
const client = await useDanmakuClient().initClient()
|
||||
|
||||
const props = defineProps<{
|
||||
roomInfo?: RoomAuthInfo
|
||||
roomInfo?: OpenLiveInfo
|
||||
code?: string | undefined
|
||||
isOpenLive?: boolean
|
||||
}>()
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { useAccount } from '@/api/account';
|
||||
import { RoomAuthInfo } from '@/data/DanmakuClients/OpenLiveClient';
|
||||
import { OpenLiveInfo } from '@/api/api-models';
|
||||
import { NAlert, NButton, NCard, NDivider, NSpace } from 'naive-ui';
|
||||
|
||||
const props = defineProps<{
|
||||
roomInfo?: RoomAuthInfo
|
||||
roomInfo?: OpenLiveInfo
|
||||
code?: string | undefined
|
||||
}>()
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { useAccount } from '@/api/account'
|
||||
import { OpenLiveLotteryType, OpenLiveLotteryUserInfo, UpdateLiveLotteryUsersModel } from '@/api/api-models'
|
||||
import { OpenLiveInfo, OpenLiveLotteryType, OpenLiveLotteryUserInfo, UpdateLiveLotteryUsersModel } from '@/api/api-models'
|
||||
import { QueryGetAPI, QueryPostAPI } from '@/api/query'
|
||||
import { CURRENT_HOST, LOTTERY_API_URL } from '@/data/constants'
|
||||
import { useDanmakuClient } from '@/store/useDanmakuClient'
|
||||
@@ -44,7 +44,7 @@ import {
|
||||
import { h, onMounted, onUnmounted, ref } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import LiveLotteryOBS from '../obs/LiveLotteryOBS.vue'
|
||||
import { DanmakuInfo, GiftInfo, RoomAuthInfo } from '@/data/DanmakuClients/OpenLiveClient'
|
||||
import { DanmakuInfo, GiftInfo } from '@/data/DanmakuClients/OpenLiveClient'
|
||||
|
||||
interface LotteryOption {
|
||||
resultCount: number
|
||||
@@ -96,7 +96,7 @@ const showModal = ref(false)
|
||||
const showOBSModal = ref(false)
|
||||
|
||||
const props = defineProps<{
|
||||
roomInfo?: RoomAuthInfo
|
||||
roomInfo?: OpenLiveInfo
|
||||
code?: string | undefined
|
||||
}>()
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import {
|
||||
EventModel,
|
||||
FunctionTypes,
|
||||
KeywordMatchType,
|
||||
OpenLiveInfo,
|
||||
QueueFrom,
|
||||
QueueGiftFilterType,
|
||||
QueueSortType,
|
||||
@@ -69,7 +70,6 @@ import {
|
||||
import { computed, h, onActivated, onDeactivated, onMounted, onUnmounted, ref } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import QueueOBS from '../obs/QueueOBS.vue'
|
||||
import { RoomAuthInfo } from '@/data/DanmakuClients/OpenLiveClient'
|
||||
|
||||
const defaultSettings = {
|
||||
keyword: '排队',
|
||||
@@ -140,7 +140,7 @@ const settings = computed({
|
||||
})
|
||||
|
||||
const props = defineProps<{
|
||||
roomInfo?: RoomAuthInfo
|
||||
roomInfo?: OpenLiveInfo
|
||||
code?: string | undefined
|
||||
isOpenLive?: boolean
|
||||
}>()
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
import { copyToClipboard } from '@/Utils'
|
||||
import { useAccount } from '@/api/account'
|
||||
import { EventDataTypes, EventModel } from '@/api/api-models'
|
||||
import { EventDataTypes, EventModel, OpenLiveInfo } from '@/api/api-models'
|
||||
import { QueryGetAPI, QueryPostAPI } from '@/api/query'
|
||||
import { RoomAuthInfo } from '@/data/DanmakuClients/OpenLiveClient'
|
||||
import { FETCH_API, VTSURU_API_URL } from '@/data/constants'
|
||||
import { useDanmakuClient } from '@/store/useDanmakuClient'
|
||||
import { Info24Filled, Mic24Filled } from '@vicons/fluent'
|
||||
@@ -45,7 +44,7 @@ import { useRoute } from 'vue-router'
|
||||
import { clearInterval, setInterval } from 'worker-timers'
|
||||
|
||||
const props = defineProps<{
|
||||
roomInfo?: RoomAuthInfo
|
||||
roomInfo?: OpenLiveInfo
|
||||
code?: string | undefined
|
||||
isOpenLive?: boolean
|
||||
}>()
|
||||
|
||||
Reference in New Issue
Block a user