File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
stage-tamagotchi/src/renderer
composables/vueuse/use-versioned-local-storage
packages/stage-ui/src/composables Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1- import type { IfAny , MaybeRefOrGetter , UseStorageOptions } from '@vueuse/core'
2- import type { Ref , UnwrapRef } from 'vue'
1+ import type { IfAny , UseStorageOptions } from '@vueuse/core'
2+ import type { MaybeRefOrGetter , Ref , UnwrapRef } from 'vue'
33
44import { useLocalStorage } from '@vueuse/core'
55import { ref , toValue , watch } from 'vue'
Original file line number Diff line number Diff line change 11import type { Plugin } from 'vue'
2+ import type { RouteRecordRaw } from 'vue-router'
23
34import Tres from '@tresjs/core'
45
@@ -35,7 +36,8 @@ const pinia = createPinia()
3536
3637const router = createRouter ( {
3738 history : createWebHashHistory ( ) ,
38- routes : setupLayouts ( routes ) ,
39+ // TODO: vite-plugin-vue-layouts is long deprecated, replace with another layout solution
40+ routes : setupLayouts ( routes as RouteRecordRaw [ ] ) ,
3941} )
4042
4143createApp ( App )
Original file line number Diff line number Diff line change 11import type { Plugin } from 'vue'
2- import type { Router } from 'vue-router'
2+ import type { Router , RouteRecordRaw } from 'vue-router'
33
44import Tres from '@tresjs/core'
55import NProgress from 'nprogress'
@@ -23,7 +23,8 @@ import './styles/main.css'
2323import 'uno.css'
2424
2525const pinia = createPinia ( )
26- const routeRecords = setupLayouts ( routes )
26+ // TODO: vite-plugin-vue-layouts is long deprecated, replace with another layout solution
27+ const routeRecords = setupLayouts ( routes as RouteRecordRaw [ ] )
2728
2829let router : Router
2930if ( import . meta. env . VITE_APP_TARGET_HUGGINGFACE_SPACE )
Original file line number Diff line number Diff line change 1- import type { MaybeRefOrGetter } from '@vueuse/core'
2- import type { Ref } from 'vue'
1+ import type { MaybeRefOrGetter , Ref } from 'vue'
32
43import { toRef , unrefElement , useElementBounding } from '@vueuse/core'
54import { computed } from 'vue'
Original file line number Diff line number Diff line change 11import type { RealTimeVADOptions } from '@ricky0123/vad-web'
2- import type { MaybeRef } from '@vueuse/shared '
2+ import type { MaybeRef } from 'vue '
33
44import { merge } from '@moeru/std'
55import { getDefaultRealTimeVADOptions , MicVAD } from '@ricky0123/vad-web'
You can’t perform that action at this time.
0 commit comments