RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
13
@types/Contentful_Campaigns.ts
Normal file
13
@types/Contentful_Campaigns.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
||||
import type { CF_CampaignSkeleton } from "./Contentful_Campaign";
|
||||
|
||||
export interface CF_Campaigns {
|
||||
id: string;
|
||||
campaigns: CF_CampaignSkeleton[];
|
||||
enable: boolean;
|
||||
}
|
||||
|
||||
export interface CF_CampaignsSkeleton {
|
||||
contentTypeId: CF_ContentType.campaigns;
|
||||
fields: CF_Campaigns;
|
||||
}
|
||||
Reference in New Issue
Block a user