From 2872856a4a337ca451afd19fdf75e4e83895c175 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Thu, 3 Jul 2025 14:09:11 +0800 Subject: [PATCH] refacor(*): normalize naming --- .../src/composables/{use-audio-input.ts => audio-input.ts} | 0 .../src/composables/{use-audio-record.ts => audio-record.ts} | 0 .../composables/{useIconAnimation.ts => icon-animation.ts} | 0 apps/stage-web/src/pages/devtools/audio-record.vue | 4 ++-- apps/stage-web/src/pages/settings/models/index.vue | 2 +- apps/stage-web/src/pages/settings/modules/index.vue | 2 +- apps/stage-web/src/pages/settings/providers/index.vue | 2 +- apps/stage-web/src/pages/settings/scene/index.vue | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename apps/stage-web/src/composables/{use-audio-input.ts => audio-input.ts} (100%) rename apps/stage-web/src/composables/{use-audio-record.ts => audio-record.ts} (100%) rename apps/stage-web/src/composables/{useIconAnimation.ts => icon-animation.ts} (100%) diff --git a/apps/stage-web/src/composables/use-audio-input.ts b/apps/stage-web/src/composables/audio-input.ts similarity index 100% rename from apps/stage-web/src/composables/use-audio-input.ts rename to apps/stage-web/src/composables/audio-input.ts diff --git a/apps/stage-web/src/composables/use-audio-record.ts b/apps/stage-web/src/composables/audio-record.ts similarity index 100% rename from apps/stage-web/src/composables/use-audio-record.ts rename to apps/stage-web/src/composables/audio-record.ts diff --git a/apps/stage-web/src/composables/useIconAnimation.ts b/apps/stage-web/src/composables/icon-animation.ts similarity index 100% rename from apps/stage-web/src/composables/useIconAnimation.ts rename to apps/stage-web/src/composables/icon-animation.ts diff --git a/apps/stage-web/src/pages/devtools/audio-record.vue b/apps/stage-web/src/pages/devtools/audio-record.vue index 4f5796b63..95c960047 100644 --- a/apps/stage-web/src/pages/devtools/audio-record.vue +++ b/apps/stage-web/src/pages/devtools/audio-record.vue @@ -3,8 +3,8 @@ import { Button } from '@proj-airi/stage-ui/components' import { Option, Select } from '@proj-airi/ui' import { onMounted, onUnmounted } from 'vue' -import { useAudioInput } from '../../composables/use-audio-input' -import { useAudioRecord } from '../../composables/use-audio-record' +import { useAudioInput } from '../../composables/audio-input' +import { useAudioRecord } from '../../composables/audio-record' const { audioInputs, selectedAudioInputId, start, stop, media, request } = useAudioInput() const { startRecord, stopRecord } = useAudioRecord(media.stream, start) diff --git a/apps/stage-web/src/pages/settings/models/index.vue b/apps/stage-web/src/pages/settings/models/index.vue index d0a196a38..b3c5768ee 100644 --- a/apps/stage-web/src/pages/settings/models/index.vue +++ b/apps/stage-web/src/pages/settings/models/index.vue @@ -7,7 +7,7 @@ import { ref } from 'vue' import IconAnimation from '../../../components/IconAnimation.vue' import Live2DSettings from '../../../components/Widgets/Live2DSettings.vue' -import { useIconAnimation } from '../../../composables/useIconAnimation' +import { useIconAnimation } from '../../../composables/icon-animation' const live2dContainerRef = ref() const live2dCanvasRef = ref>() diff --git a/apps/stage-web/src/pages/settings/modules/index.vue b/apps/stage-web/src/pages/settings/modules/index.vue index 92b83c1fd..2bdf6cb76 100644 --- a/apps/stage-web/src/pages/settings/modules/index.vue +++ b/apps/stage-web/src/pages/settings/modules/index.vue @@ -5,7 +5,7 @@ import { useI18n } from 'vue-i18n' import IconAnimation from '../../../components/IconAnimation.vue' -import { useIconAnimation } from '../../../composables/useIconAnimation' +import { useIconAnimation } from '../../../composables/icon-animation' const { t } = useI18n() diff --git a/apps/stage-web/src/pages/settings/providers/index.vue b/apps/stage-web/src/pages/settings/providers/index.vue index e5e8eecd7..10f06839c 100644 --- a/apps/stage-web/src/pages/settings/providers/index.vue +++ b/apps/stage-web/src/pages/settings/providers/index.vue @@ -6,7 +6,7 @@ import { useI18n } from 'vue-i18n' import IconAnimation from '../../../components/IconAnimation.vue' -import { useIconAnimation } from '../../../composables/useIconAnimation' +import { useIconAnimation } from '../../../composables/icon-animation' const { t } = useI18n() diff --git a/apps/stage-web/src/pages/settings/scene/index.vue b/apps/stage-web/src/pages/settings/scene/index.vue index 1f1f87ca8..d98ea7d59 100644 --- a/apps/stage-web/src/pages/settings/scene/index.vue +++ b/apps/stage-web/src/pages/settings/scene/index.vue @@ -1,7 +1,7 @@