RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
23
@types/Contentful_Link.ts
Normal file
23
@types/Contentful_Link.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import type { CF_ContentType } from "src/@types/Contentful_ContentType.enum";
|
||||
|
||||
export interface CF_Link {
|
||||
name: string;
|
||||
internal: string;
|
||||
linkName: string;
|
||||
icon?: string;
|
||||
color?: string;
|
||||
url: string;
|
||||
newTab?: boolean;
|
||||
external?: boolean;
|
||||
description?: string;
|
||||
alt?: string;
|
||||
showText?: boolean;
|
||||
author: string;
|
||||
date: string;
|
||||
source: string;
|
||||
}
|
||||
|
||||
export interface CF_LinkSkeleton {
|
||||
contentTypeId: CF_ContentType.link;
|
||||
fields: CF_Link;
|
||||
}
|
||||
Reference in New Issue
Block a user