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