26 lines
717 B
TypeScript
26 lines
717 B
TypeScript
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
|
import type { CF_ComponentImgSkeleton } from "./Contentful_Img";
|
|
import type { CF_Content } from "./Contentful_Content";
|
|
import type { CF_SEO } from "./Contentful_SEO";
|
|
import type { CF_TagSkeleton } from "./Contentful_Tag";
|
|
|
|
export interface CF_Post extends CF_Content, CF_SEO {
|
|
postImage: CF_ComponentImgSkeleton;
|
|
postTag: CF_TagSkeleton[];
|
|
slug: string;
|
|
linkName: string;
|
|
icon?: string;
|
|
headline: string;
|
|
important: boolean;
|
|
created: string;
|
|
date?: string;
|
|
subheadline: string;
|
|
excerpt: string;
|
|
content: string;
|
|
}
|
|
|
|
export type CF_PostEntrySkeleton = {
|
|
contentTypeId: CF_ContentType.post;
|
|
fields: CF_Post;
|
|
};
|