a.... LOT of Refactoring ~ 30% done???
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
import { z } from "zod";
|
||||
import { CustomerInfoModel, customerInfoModel } from "../../customerinfo/data";
|
||||
import { CheckoutStep } from "../../order/data/enums";
|
||||
import {
|
||||
CustomerInfo,
|
||||
customerInfoModel,
|
||||
} from "../../passengerinfo/data/entities";
|
||||
import {
|
||||
PaymentInfoPayload,
|
||||
paymentInfoPayloadModel,
|
||||
@@ -77,7 +74,7 @@ export const flowInfoModel = z.object({
|
||||
paymentInfoLastSyncedAt: z.string().datetime().optional(),
|
||||
|
||||
pendingActions: pendingActionsModel.default([]),
|
||||
personalInfo: z.custom<CustomerInfo>().optional(),
|
||||
personalInfo: z.custom<CustomerInfoModel>().optional(),
|
||||
paymentInfo: z.custom<PaymentInfoPayload>().optional(),
|
||||
refOids: z.array(z.number()).optional(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user