RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24
@types/Contentful_Campaign.ts
Normal file
24
@types/Contentful_Campaign.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import type { CF_ContentType } from "./Contentful_ContentType.enum";
|
||||
import type { Asset } from "contentful";
|
||||
|
||||
export interface CF_Campaign {
|
||||
campaignName: string;
|
||||
urlPatter: string;
|
||||
selector: string;
|
||||
insertHtml:
|
||||
| "afterbegin"
|
||||
| "beforeend"
|
||||
| "afterend"
|
||||
| "beforebegin"
|
||||
| "replace";
|
||||
timeUntil?: string;
|
||||
javascript?: string;
|
||||
medias?: Asset[];
|
||||
html?: string;
|
||||
css?: string;
|
||||
}
|
||||
|
||||
export interface CF_CampaignSkeleton {
|
||||
contentTypeId: CF_ContentType.campaign;
|
||||
fields: CF_Campaign;
|
||||
}
|
||||
Reference in New Issue
Block a user