Skip to content

Commit

Permalink
clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Oct 13, 2024
1 parent b38739c commit c108289
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions AiServer/wwwroot/mjs/components/Chat.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { useFormatters, useClient } from "@servicestack/vue"
import { useClient } from "@servicestack/vue"
import { marked } from "../markdown.mjs"
import { addCopyButtonToCodeBlocks } from "../dom.mjs"
import {useUiLayout, UiLayout, ThreadStorage, HistoryTitle, HistoryGroups } from "../utils.mjs"
import { useUiLayout, UiLayout, ThreadStorage, HistoryTitle, HistoryGroups } from "../utils.mjs"
import { QueryPrompts, ActiveAiModels, OpenAiChatCompletion } from "dtos"

export default {
Expand Down
4 changes: 2 additions & 2 deletions AiServer/wwwroot/mjs/components/FileUpload.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { computed, inject, onUnmounted, ref, nextTick } from 'vue'
import { errorResponse, humanize, lastLeftPart, lastRightPart, omit, toPascalCase } from '@servicestack/client'
import { computed, inject, onUnmounted, ref } from 'vue'
import { errorResponse, humanize, toPascalCase } from '@servicestack/client'
import { useConfig, useFiles } from '@servicestack/vue'
import { wordList } from "../utils.mjs"

Expand Down
2 changes: 1 addition & 1 deletion AiServer/wwwroot/mjs/components/ImageToImage.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { ref, computed, onMounted, inject, watch } from "vue"
import { useClient } from "@servicestack/vue"
import { createErrorStatus } from "@servicestack/client"
import { ImageToImage } from "dtos"
Expand Down
4 changes: 2 additions & 2 deletions AiServer/wwwroot/mjs/components/ImageToText.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { ref, onMounted, inject, watch } from "vue"
import { useClient, useFiles } from "@servicestack/vue"
import { createErrorStatus } from "@servicestack/client"
import { ImageToText, ActiveMediaModels } from "dtos"
import { ImageToText } from "dtos"
import { UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, Img, acceptedImages } from "../utils.mjs"
import FileUpload from "./FileUpload.mjs"

Expand Down
2 changes: 1 addition & 1 deletion AiServer/wwwroot/mjs/components/ImageUpscale.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { ref, onMounted, inject, watch } from "vue"
import { useClient, useFiles } from "@servicestack/vue"
import { createErrorStatus } from "@servicestack/client"
import { ImageUpscale } from "dtos"
Expand Down
2 changes: 1 addition & 1 deletion AiServer/wwwroot/mjs/components/SpeechToText.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { ref, onMounted, inject, watch } from "vue"
import { useClient, useFiles } from "@servicestack/vue"
import { createErrorStatus } from "@servicestack/client"
import { SpeechToText } from "dtos"
Expand Down
4 changes: 2 additions & 2 deletions AiServer/wwwroot/mjs/components/TextToImage.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { ref, computed, onMounted, inject, watch } from "vue"
import { useClient } from "@servicestack/vue"
import { createErrorStatus } from "@servicestack/client"
import { TextToImage, ActiveMediaModels } from "dtos"
import {UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, toArtifacts } from "../utils.mjs"
import { UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, toArtifacts } from "../utils.mjs"
import { ArtifactGallery } from "./Artifacts.mjs"
import PromptGenerator from "./PromptGenerator.mjs"

Expand Down
8 changes: 6 additions & 2 deletions AiServer/wwwroot/mjs/components/TextToSpeech.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { ref, computed, onMounted, inject, watch, nextTick } from "vue"
import { useClient, useFiles } from "@servicestack/vue"
/*
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.
*/

import { ref, onMounted, inject, watch } from "vue"
import { useClient } from "@servicestack/vue"
import { createErrorStatus } from "@servicestack/client"
import { TextToSpeech } from "dtos"
import { UiLayout, ThreadStorage, HistoryTitle, HistoryGroups, useUiLayout, icons, toArtifacts, acceptedImages } from "../utils.mjs"
Expand Down

0 comments on commit c108289

Please sign in to comment.