add order form page models, reorder landing models (#8)

This commit is contained in:
RustamRu
2024-12-08 09:55:13 +03:00
parent 440e87ef76
commit b79c957779
8 changed files with 53 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
import { Car, Customer, Washing } from ".";
export type Id = string;
export type Create = {
customer: {
phone: Customer.PhoneNumber,
};
car: {
number: Car.RegistrationNumber,
body: Car.BodyStyle,
color: Car.Color,
},
washing: {
location: Washing.Location
begin: Washing.AvailableBeginDateTime,
end: Washing.AvailableEndDateTime,
}
};
export type View = {
id: Id;
};