project setup with core files including configuration, package management, and basic structure. Added .gitignore, README, and various TypeScript types for CMS components. Implemented initial components and layouts for the application.
This commit is contained in:
14
middlelayer/__cms/Contentful_Navigation.ts
Normal file
14
middlelayer/__cms/Contentful_Navigation.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { CF_Link } from "./Contentful_Link";
|
||||
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
||||
import type { CF_Page } from "./Contentful_Page";
|
||||
|
||||
export interface CF_Navigation {
|
||||
name: string;
|
||||
internal: string;
|
||||
links: Array<{ fields: CF_Link | CF_Page }>;
|
||||
}
|
||||
|
||||
export type CF_NavigationSkeleton = {
|
||||
contentTypeId: CF_ContentType.navigation;
|
||||
fields: CF_Navigation;
|
||||
};
|
||||
Reference in New Issue
Block a user