refactor: rewrite and expand mock data into modular files

This commit is contained in:
zetaloop
2026-02-21 00:24:03 +08:00
parent 44669d5606
commit 7ed7bad975
47 changed files with 1891 additions and 767 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import { z } from "zod"
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
import { currentUser } from "@/lib/mock-data"
import { currentUser } from "@/lib/mock"
import { useAuthStore } from "@/store/auth"
const loginSchema = z.object({
+1 -1
View File
@@ -9,7 +9,7 @@ import { z } from "zod"
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
import { Label } from "@/components/ui/label"
import { currentUser } from "@/lib/mock-data"
import { currentUser } from "@/lib/mock"
import { useAuthStore } from "@/store/auth"
const registerSchema = z