Files
nrwl--nx/nx-dev/data-access-documents/src/lib/blog.model.ts
T
2026-07-13 12:38:36 +08:00

33 lines
698 B
TypeScript

export type BlogPostDataEntry = {
title: string;
content: string;
description: string;
authors: BlogAuthor[];
date: string;
cover_image: string | null;
tags: string[];
reposts: string[];
updated?: string;
pinned?: boolean;
filePath: string;
slug: string;
youtubeUrl?: string;
podcastYoutubeId?: string;
podcastSpotifyId?: string;
podcastAmazonUrl?: string;
podcastAppleUrl?: string;
podcastIHeartUrl?: string;
published?: boolean;
ogImage?: string;
ogImageType?: string;
metrics?: Array<{ value: string; label: string }>;
hideCoverImage?: boolean;
};
export type BlogAuthor = {
name: string;
image: string;
twitter: string;
github: string;
};