RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
19
@types/Contentful_Page.ts
Normal file
19
@types/Contentful_Page.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
import type { CF_FullwidthBannerSkeleton } from "src/@types/Contentful_FullwidthBanner";
|
||||
import type { CF_Content } from "./Contentful_Content";
|
||||
import type { CF_SEO } from "./Contentful_SEO";
|
||||
|
||||
export interface CF_Page extends CF_Content, CF_SEO {
|
||||
slug: string;
|
||||
name: string;
|
||||
linkName: string;
|
||||
icon?: string;
|
||||
headline: string;
|
||||
subheadline: string;
|
||||
topFullwidthBanner: CF_FullwidthBannerSkeleton;
|
||||
}
|
||||
|
||||
export type CF_PageSkeleton = {
|
||||
contentTypeId: CF_ContentType.page;
|
||||
fields: CF_Page;
|
||||
};
|
||||
Reference in New Issue
Block a user