refactor(data): merge DTO models into schemas

This commit is contained in:
2026-07-17 12:47:18 +08:00
parent 2796010971
commit eac3d8f0a7
274 changed files with 1466 additions and 1956 deletions
@@ -2,7 +2,7 @@ import { act } from "react";
import { createRoot, type Root } from "react-dom/client";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import type { UiMessage } from "@/data/dto/chat";
import type { UiMessage } from "@/stores/chat/ui-message";
import { ChatArea } from "../chat-area";
+1 -1
View File
@@ -23,7 +23,7 @@ import {
} from "react";
import { LoaderCircle } from "lucide-react";
import type { UiMessage } from "@/data/dto/chat";
import type { UiMessage } from "@/stores/chat/ui-message";
import { DEFAULT_CHARACTER_ID } from "@/data/constants/character";
import { usePullToRefresh } from "@/hooks/use-pull-to-refresh";