Skip to content

Commit c108289

Browse files
committed
clean up imports
1 parent b38739c commit c108289

File tree

8 files changed

+17
-13
lines changed

8 files changed

+17
-13
lines changed

AiServer/wwwroot/mjs/components/Chat.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
2-
import { useFormatters, useClient } from "@servicestack/vue"
2+
import { useClient } from "@servicestack/vue"
33
import { marked } from "../markdown.mjs"
44
import { addCopyButtonToCodeBlocks } from "../dom.mjs"
5-
import {useUiLayout, UiLayout, ThreadStorage, HistoryTitle, HistoryGroups } from "../utils.mjs"
5+
import { useUiLayout, UiLayout, ThreadStorage, HistoryTitle, HistoryGroups } from "../utils.mjs"
66
import { QueryPrompts, ActiveAiModels, OpenAiChatCompletion } from "dtos"
77

88
export default {

AiServer/wwwroot/mjs/components/FileUpload.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { computed, inject, onUnmounted, ref, nextTick } from 'vue'
2-
import { errorResponse, humanize, lastLeftPart, lastRightPart, omit, toPascalCase } from '@servicestack/client'
1+
import { computed, inject, onUnmounted, ref } from 'vue'
2+
import { errorResponse, humanize, toPascalCase } from '@servicestack/client'
33
import { useConfig, useFiles } from '@servicestack/vue'
44
import { wordList } from "../utils.mjs"
55

AiServer/wwwroot/mjs/components/ImageToImage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
1+
import { ref, computed, onMounted, inject, watch } from "vue"
22
import { useClient } from "@servicestack/vue"
33
import { createErrorStatus } from "@servicestack/client"
44
import { ImageToImage } from "dtos"

AiServer/wwwroot/mjs/components/ImageToText.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
1+
import { ref, onMounted, inject, watch } from "vue"
22
import { useClient, useFiles } from "@servicestack/vue"
33
import { createErrorStatus } from "@servicestack/client"
4-
import { ImageToText, ActiveMediaModels } from "dtos"
4+
import { ImageToText } from "dtos"
55
import { UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, Img, acceptedImages } from "../utils.mjs"
66
import FileUpload from "./FileUpload.mjs"
77

AiServer/wwwroot/mjs/components/ImageUpscale.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
1+
import { ref, onMounted, inject, watch } from "vue"
22
import { useClient, useFiles } from "@servicestack/vue"
33
import { createErrorStatus } from "@servicestack/client"
44
import { ImageUpscale } from "dtos"

AiServer/wwwroot/mjs/components/SpeechToText.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
1+
import { ref, onMounted, inject, watch } from "vue"
22
import { useClient, useFiles } from "@servicestack/vue"
33
import { createErrorStatus } from "@servicestack/client"
44
import { SpeechToText } from "dtos"

AiServer/wwwroot/mjs/components/TextToImage.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
1+
import { ref, computed, onMounted, inject, watch } from "vue"
22
import { useClient } from "@servicestack/vue"
33
import { createErrorStatus } from "@servicestack/client"
44
import { TextToImage, ActiveMediaModels } from "dtos"
5-
import {UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, toArtifacts } from "../utils.mjs"
5+
import { UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, toArtifacts } from "../utils.mjs"
66
import { ArtifactGallery } from "./Artifacts.mjs"
77
import PromptGenerator from "./PromptGenerator.mjs"
88

AiServer/wwwroot/mjs/components/TextToSpeech.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
2-
import { useClient, useFiles } from "@servicestack/vue"
1+
/*
2+
In the ancient land of Eldoria, where the skies were painted with shades of mystic hues and the forests whispered secrets of old, there existed a dragon named Zephyros. Unlike the fearsome tales of dragons that plagued human hearts with terror, Zephyros was a creature of wonder and wisdom, revered by all who knew of his existence.
3+
*/
4+
5+
import { ref, onMounted, inject, watch } from "vue"
6+
import { useClient } from "@servicestack/vue"
37
import { createErrorStatus } from "@servicestack/client"
48
import { TextToSpeech } from "dtos"
59
import { UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, toArtifacts, acceptedImages } from "../utils.mjs"

0 commit comments

Comments
 (0)