refactor(dto): group request and response models
Docker Image / Build and Push Docker Image (push) Successful in 2m50s

This commit is contained in:
2026-07-07 16:43:08 +08:00
parent b5bf81de59
commit 9cb9534459
38 changed files with 51 additions and 71 deletions
@@ -1,6 +1,6 @@
import { describe, expect, it } from "vitest";
import { ChatSendResponse } from "@/data/dto/chat/chat_send_response";
import { ChatSendResponse } from "@/data/dto/chat";
import type { ChatState } from "@/stores/chat/chat-state";
import {
applyHttpSendOutput,
+1 -2
View File
@@ -1,5 +1,4 @@
import type { UiMessage } from "@/data/dto/chat";
import { ChatSendResponse } from "@/data/dto/chat/chat_send_response";
import { type ChatSendResponse, type UiMessage } from "@/data/dto/chat";
import { todayString } from "@/utils";
/**
+1 -2
View File
@@ -1,5 +1,4 @@
import type { UiMessage } from "@/data/dto/chat";
import { ChatSendResponse } from "@/data/dto/chat/chat_send_response";
import { type ChatSendResponse, type UiMessage } from "@/data/dto/chat";
import type { ChatState, ChatUpgradeReason } from "./chat-state";