import { z } from "zod"

import {
  extendedPageLinkSchema,
  pageLinkSchema,
} from "@/server/routers/contentstack/schemas/pageLinks"

import type { EmbedEnum } from "./embeds"
import type { TypenameInterface } from "./typename"

export interface PageLink extends z.output<typeof pageLinkSchema> {}

export interface PageLinkWithOriginalUrl
  extends z.output<typeof extendedPageLinkSchema> {}

export interface PageLinkType
  extends TypenameInterface<EmbedEnum.CurrentBlocksPage>,
    PageLink {}
