import { Slug, URL, UUID } from "../common"; import { Article } from "./article"; import { Page } from "./page"; export type Link = { url: URL | null; }; export type ArticleLink = { articleId: UUID; article: Article; }; export type Anchor = { value: string | null; }; export type PageLink = { linkPageId: number | null; page: Page | null; }; export type TopicLink = { topic: Slug; }; export type CustomLink = { url: URL | null; text: string | null; };