Merged in feat/SW-1453-city-listing-on-country-page (pull request #1222)
feat(SW-1453): added city listing component * feat(SW-1453): added city listing component Approved-by: Christian Andolf Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -1,16 +1,27 @@
|
||||
import type { z } from "zod"
|
||||
|
||||
import type {
|
||||
destinationCityListDataSchema,
|
||||
destinationCityPageRefsSchema,
|
||||
destinationCityPageSchema,
|
||||
} from "@/server/routers/contentstack/destinationCityPage/output"
|
||||
|
||||
export interface GetDestinationCityPageData
|
||||
extends z.input<typeof destinationCityPageSchema> {}
|
||||
interface DestinationCityPage
|
||||
export interface DestinationCityPage
|
||||
extends z.output<typeof destinationCityPageSchema> {}
|
||||
export type DestinationCityPageData = DestinationCityPage["destinationCityPage"]
|
||||
|
||||
export interface GetDestinationCityListDataResponse
|
||||
extends z.input<typeof destinationCityListDataSchema> {}
|
||||
|
||||
export interface DestinationCityListData
|
||||
extends z.output<typeof destinationCityListDataSchema> {}
|
||||
|
||||
export interface DestinationCityListItem extends DestinationCityListData {
|
||||
cityName: string
|
||||
}
|
||||
|
||||
export interface GetDestinationCityPageRefsSchema
|
||||
extends z.input<typeof destinationCityPageRefsSchema> {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user