feat: manage preistraeger index via payload

This commit is contained in:
syntaxbullet
2026-06-22 11:04:34 +02:00
parent 9282d28cfa
commit aecdb65a14
8 changed files with 409 additions and 59 deletions

View File

@@ -1179,6 +1179,69 @@ export interface Page {
}[]
| null;
};
/**
* Edit the Preisträger listing page chrome. Individual winner cards are managed through the Preisträger collection.
*/
preistraegerIndex?: {
/**
* Large image above the filters. Upload an image or keep the migrated URL fallback.
*/
hero?: {
image?: (number | null) | Media;
imageUrl?: string | null;
imageAlt?: string | null;
};
/**
* Small page label below the image.
*/
breadcrumb?: {
label?: string | null;
};
/**
* Filter placeholders, toggle label, and reset label.
*/
filters?: {
categoryPlaceholder?: string | null;
searchPlaceholder?: string | null;
storyHeading?: string | null;
mediaIcon?: string | null;
mediaLabel?: string | null;
resetLabel?: string | null;
};
/**
* Label after the filtered result count.
*/
count?: {
label?: string | null;
};
/**
* Message when filters return no winners.
*/
empty?: {
message?: string | null;
};
/**
* Hover label shown on winner cards.
*/
card?: {
hoverLabel?: string | null;
};
/**
* Bottom application and membership CTA.
*/
cta?: {
text?: string | null;
primaryCta?: {
label?: string | null;
url?: string | null;
};
secondaryPrefix?: string | null;
secondaryCta?: {
label?: string | null;
url?: string | null;
};
};
};
meta?: {
title?: string | null;
/**
@@ -3000,6 +3063,65 @@ export interface PagesSelect<T extends boolean = true> {
items?: T;
};
};
preistraegerIndex?:
| T
| {
hero?:
| T
| {
image?: T;
imageUrl?: T;
imageAlt?: T;
};
breadcrumb?:
| T
| {
label?: T;
};
filters?:
| T
| {
categoryPlaceholder?: T;
searchPlaceholder?: T;
storyHeading?: T;
mediaIcon?: T;
mediaLabel?: T;
resetLabel?: T;
};
count?:
| T
| {
label?: T;
};
empty?:
| T
| {
message?: T;
};
card?:
| T
| {
hoverLabel?: T;
};
cta?:
| T
| {
text?: T;
primaryCta?:
| T
| {
label?: T;
url?: T;
};
secondaryPrefix?: T;
secondaryCta?:
| T
| {
label?: T;
url?: T;
};
};
};
meta?:
| T
| {