RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
15
@types/Contentful_Navigation.ts
Normal file
15
@types/Contentful_Navigation.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { EntrySkeletonType } from "contentful";
|
||||
import type { CF_Link } from "src/lib/contentful";
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
import type { CF_Page } from "./Contentful_Page";
|
||||
|
||||
export interface CF_Navigation {
|
||||
name: string,
|
||||
internal: string,
|
||||
links: EntrySkeletonType<CF_Link, CF_Page>[]
|
||||
}
|
||||
|
||||
export type CF_NavigationSkeleton = {
|
||||
contentTypeId: CF_ContentType.navigation
|
||||
fields: CF_Navigation
|
||||
}
|
||||
Reference in New Issue
Block a user