feat: manage press index via payload
This commit is contained in:
@@ -1242,6 +1242,95 @@ export interface Page {
|
||||
};
|
||||
};
|
||||
};
|
||||
/**
|
||||
* Edit the Presse listing page chrome. Event and news records are managed through Events and Presse collections; fallback cards remain editable here.
|
||||
*/
|
||||
pressIndex?: {
|
||||
/**
|
||||
* Hero image, eyebrow, heading, and intro copy.
|
||||
*/
|
||||
hero?: {
|
||||
/**
|
||||
* Current frontend image: /images/gala-dinner.jpg
|
||||
*/
|
||||
image?: (number | null) | Media;
|
||||
imageAlt?: string | null;
|
||||
eyebrow?: string | null;
|
||||
heading?: string | null;
|
||||
description?: string | null;
|
||||
};
|
||||
/**
|
||||
* Section header, labels, and fallback event rows.
|
||||
*/
|
||||
events?: {
|
||||
eyebrow?: string | null;
|
||||
heading?: string | null;
|
||||
description?: string | null;
|
||||
detailLabel?: string | null;
|
||||
openStatusLabel?: string | null;
|
||||
fallbackItems?:
|
||||
| {
|
||||
title?: string | null;
|
||||
date?: string | null;
|
||||
location?: string | null;
|
||||
cat?: string | null;
|
||||
status?: string | null;
|
||||
img?: string | null;
|
||||
desc?: string | null;
|
||||
slug?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
};
|
||||
/**
|
||||
* Section header, read-more label, and fallback news cards.
|
||||
*/
|
||||
news?: {
|
||||
eyebrow?: string | null;
|
||||
heading?: string | null;
|
||||
description?: string | null;
|
||||
readMoreLabel?: string | null;
|
||||
fallbackItems?:
|
||||
| {
|
||||
title?: string | null;
|
||||
excerpt?: string | null;
|
||||
cat?: string | null;
|
||||
img?: string | null;
|
||||
slug?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
};
|
||||
/**
|
||||
* Download button and press contact block.
|
||||
*/
|
||||
downloads?: {
|
||||
eyebrow?: string | null;
|
||||
heading?: string | null;
|
||||
description?: string | null;
|
||||
kitLabel?: string | null;
|
||||
kitMeta?: string | null;
|
||||
kitUrl?: string | null;
|
||||
kitDownloadName?: string | null;
|
||||
contactEyebrow?: string | null;
|
||||
contactName?: string | null;
|
||||
contactLines?: string | null;
|
||||
};
|
||||
/**
|
||||
* Labels and success state for the press accreditation form.
|
||||
*/
|
||||
accreditation?: {
|
||||
eyebrow?: string | null;
|
||||
heading?: string | null;
|
||||
description?: string | null;
|
||||
mediumLabel?: string | null;
|
||||
nameLabel?: string | null;
|
||||
emailLabel?: string | null;
|
||||
submitLabel?: string | null;
|
||||
successHeading?: string | null;
|
||||
successMessage?: string | null;
|
||||
};
|
||||
};
|
||||
meta?: {
|
||||
title?: string | null;
|
||||
/**
|
||||
@@ -3122,6 +3211,86 @@ export interface PagesSelect<T extends boolean = true> {
|
||||
};
|
||||
};
|
||||
};
|
||||
pressIndex?:
|
||||
| T
|
||||
| {
|
||||
hero?:
|
||||
| T
|
||||
| {
|
||||
image?: T;
|
||||
imageAlt?: T;
|
||||
eyebrow?: T;
|
||||
heading?: T;
|
||||
description?: T;
|
||||
};
|
||||
events?:
|
||||
| T
|
||||
| {
|
||||
eyebrow?: T;
|
||||
heading?: T;
|
||||
description?: T;
|
||||
detailLabel?: T;
|
||||
openStatusLabel?: T;
|
||||
fallbackItems?:
|
||||
| T
|
||||
| {
|
||||
title?: T;
|
||||
date?: T;
|
||||
location?: T;
|
||||
cat?: T;
|
||||
status?: T;
|
||||
img?: T;
|
||||
desc?: T;
|
||||
slug?: T;
|
||||
id?: T;
|
||||
};
|
||||
};
|
||||
news?:
|
||||
| T
|
||||
| {
|
||||
eyebrow?: T;
|
||||
heading?: T;
|
||||
description?: T;
|
||||
readMoreLabel?: T;
|
||||
fallbackItems?:
|
||||
| T
|
||||
| {
|
||||
title?: T;
|
||||
excerpt?: T;
|
||||
cat?: T;
|
||||
img?: T;
|
||||
slug?: T;
|
||||
id?: T;
|
||||
};
|
||||
};
|
||||
downloads?:
|
||||
| T
|
||||
| {
|
||||
eyebrow?: T;
|
||||
heading?: T;
|
||||
description?: T;
|
||||
kitLabel?: T;
|
||||
kitMeta?: T;
|
||||
kitUrl?: T;
|
||||
kitDownloadName?: T;
|
||||
contactEyebrow?: T;
|
||||
contactName?: T;
|
||||
contactLines?: T;
|
||||
};
|
||||
accreditation?:
|
||||
| T
|
||||
| {
|
||||
eyebrow?: T;
|
||||
heading?: T;
|
||||
description?: T;
|
||||
mediumLabel?: T;
|
||||
nameLabel?: T;
|
||||
emailLabel?: T;
|
||||
submitLabel?: T;
|
||||
successHeading?: T;
|
||||
successMessage?: T;
|
||||
};
|
||||
};
|
||||
meta?:
|
||||
| T
|
||||
| {
|
||||
|
||||
Reference in New Issue
Block a user