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_Post_Component.ts
Normal file
14
middlelayer/__cms/Contentful_Post_Component.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
||||
import type { CF_ComponentLayout } from "./Contentful_Layout";
|
||||
import type { CF_PostEntrySkeleton } from "./Contentful_Post";
|
||||
|
||||
export interface CF_PostComponent {
|
||||
id: string;
|
||||
post: CF_PostEntrySkeleton;
|
||||
layout: CF_ComponentLayout;
|
||||
}
|
||||
|
||||
export interface CF_PostComponentSkeleton {
|
||||
contentTypeId: CF_ContentType.postComponent;
|
||||
fields: CF_PostComponent;
|
||||
}
|
||||
Reference in New Issue
Block a user