RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
14
@types/Contentful_TextFragment.ts
Normal file
14
@types/Contentful_TextFragment.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
||||
import type { CF_TagSkeleton } from "./Contentful_Tag";
|
||||
|
||||
export interface CF_TextFragment {
|
||||
id: string;
|
||||
tags?: CF_TagSkeleton[];
|
||||
title: string;
|
||||
text: string;
|
||||
}
|
||||
|
||||
export interface CF_TextFragmentSkeleton {
|
||||
contentTypeId: CF_ContentType.textFragment;
|
||||
fields: CF_TextFragment;
|
||||
}
|
||||
Reference in New Issue
Block a user