feat: enhance stays with api data
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import { UUID } from "crypto"
|
||||
|
||||
export type Stay = {
|
||||
uid: UUID
|
||||
dateArrive: Date
|
||||
dateDepart: Date
|
||||
guests: number
|
||||
hotel: string
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Stay } from "../myPage/stay"
|
||||
import { Stay } from "@/server/routers/user/output"
|
||||
|
||||
export type Page = {
|
||||
data: Stay[]
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Lang } from "@/constants/languages"
|
||||
import type { Stay } from "../myPage/stay"
|
||||
import type { Stay } from "@/server/routers/user/output"
|
||||
|
||||
export type StayCardProps = {
|
||||
lang: Lang
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { Lang } from "@/constants/languages"
|
||||
import type { Stay } from "../myPage/stay"
|
||||
import type { Stay } from "@/server/routers/user/output"
|
||||
|
||||
export type StayListProps = {
|
||||
stays: Stay[]
|
||||
Reference in New Issue
Block a user