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 { PaymentPlan } from "@/data/dto/payment";
import { PaymentPlan } from "@/data/schemas/payment";
import { behaviorAnalytics } from "@/lib/analytics";
import { usePaymentPlanAnalytics } from "../use-payment-plan-analytics";
+1 -1
View File
@@ -2,7 +2,7 @@
import { useEffect, useRef } from "react";
import type { PaymentPlan } from "@/data/dto/payment";
import type { PaymentPlan } from "@/data/schemas/payment";
import {
behaviorAnalytics,
type PaymentAnalyticsContext,
+1 -1
View File
@@ -2,7 +2,7 @@
import { type Dispatch, useEffect, useRef } from "react";
import type { PayChannel } from "@/data/dto/payment";
import type { PayChannel } from "@/data/schemas/payment";
import type { PendingPaymentSubscriptionType } from "@/lib/payment/pending_payment_order";
import {
usePaymentDispatch,