Files
ipal-kit/reference/src/payload-types.ts
T

3381 lines
80 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file.
*/
/**
* Supported timezones in IANA format.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "supportedTimezones".
*/
export type SupportedTimezones =
| 'Pacific/Midway'
| 'Pacific/Niue'
| 'Pacific/Honolulu'
| 'Pacific/Rarotonga'
| 'America/Anchorage'
| 'Pacific/Gambier'
| 'America/Los_Angeles'
| 'America/Tijuana'
| 'America/Denver'
| 'America/Phoenix'
| 'America/Chicago'
| 'America/Guatemala'
| 'America/New_York'
| 'America/Bogota'
| 'America/Caracas'
| 'America/Santiago'
| 'America/Buenos_Aires'
| 'America/Sao_Paulo'
| 'Atlantic/South_Georgia'
| 'Atlantic/Azores'
| 'Atlantic/Cape_Verde'
| 'Europe/London'
| 'Europe/Berlin'
| 'Africa/Lagos'
| 'Europe/Athens'
| 'Africa/Cairo'
| 'Europe/Moscow'
| 'Asia/Riyadh'
| 'Asia/Dubai'
| 'Asia/Baku'
| 'Asia/Karachi'
| 'Asia/Tashkent'
| 'Asia/Calcutta'
| 'Asia/Dhaka'
| 'Asia/Almaty'
| 'Asia/Jakarta'
| 'Asia/Bangkok'
| 'Asia/Shanghai'
| 'Asia/Singapore'
| 'Asia/Tokyo'
| 'Asia/Seoul'
| 'Australia/Brisbane'
| 'Australia/Sydney'
| 'Pacific/Guam'
| 'Pacific/Noumea'
| 'Pacific/Auckland'
| 'Pacific/Fiji';
export interface Config {
auth: {
users: UserAuthOperations;
};
blocks: {};
collections: {
pages: Page;
posts: Post;
caseStudies: CaseStudy;
media: Media;
users: User;
forms: Form;
'form-submissions': FormSubmission;
'consent-records': ConsentRecord;
'cookie-review': CookieReview;
'payload-kv': PayloadKv;
'payload-locked-documents': PayloadLockedDocument;
'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration;
};
collectionsJoins: {};
collectionsSelect: {
pages: PagesSelect<false> | PagesSelect<true>;
posts: PostsSelect<false> | PostsSelect<true>;
caseStudies: CaseStudiesSelect<false> | CaseStudiesSelect<true>;
media: MediaSelect<false> | MediaSelect<true>;
users: UsersSelect<false> | UsersSelect<true>;
forms: FormsSelect<false> | FormsSelect<true>;
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
'consent-records': ConsentRecordsSelect<false> | ConsentRecordsSelect<true>;
'cookie-review': CookieReviewSelect<false> | CookieReviewSelect<true>;
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
};
db: {
defaultIDType: string;
};
fallbackLocale: ('false' | 'none' | 'null') | false | null | ('pl' | 'en') | ('pl' | 'en')[];
globals: {
header: Header;
footer: Footer;
company: Company;
'site-settings': SiteSetting;
'site-integrations': SiteIntegration;
'cookie-settings': CookieSetting;
notifications: Notification;
'cookie-crawl': CookieCrawl;
};
globalsSelect: {
header: HeaderSelect<false> | HeaderSelect<true>;
footer: FooterSelect<false> | FooterSelect<true>;
company: CompanySelect<false> | CompanySelect<true>;
'site-settings': SiteSettingsSelect<false> | SiteSettingsSelect<true>;
'site-integrations': SiteIntegrationsSelect<false> | SiteIntegrationsSelect<true>;
'cookie-settings': CookieSettingsSelect<false> | CookieSettingsSelect<true>;
notifications: NotificationsSelect<false> | NotificationsSelect<true>;
'cookie-crawl': CookieCrawlSelect<false> | CookieCrawlSelect<true>;
};
locale: 'pl' | 'en';
widgets: {
collections: CollectionsWidget;
};
user: User;
jobs: {
tasks: unknown;
workflows: unknown;
};
}
export interface UserAuthOperations {
forgotPassword: {
email: string;
password: string;
};
login: {
email: string;
password: string;
};
registerFirstUser: {
email: string;
password: string;
};
unlock: {
email: string;
password: string;
};
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "pages".
*/
export interface Page {
id: string;
title: string;
layout?:
| (
| HeroBlock
| TextMediaBlock
| FeatureGridBlock
| CtaBlock
| RichTextBlock
| FaqBlock
| ContactBlock
| GalleryBlock
| TestimonialsBlock
| StatsBlock
| StepsBlock
| LogosBlock
| TeamBlock
| PricingBlock
| EntryListBlock
)[]
| null;
slugHistory?:
| {
slug?: string | null;
id?: string | null;
}[]
| null;
meta?: {
title?: string | null;
description?: string | null;
/**
* Shown when the page is shared; best under 500 KB.
*/
image?: (string | null) | Media;
/**
* Replaces the whole title, site name included; leave empty to build it automatically.
*/
titleOverride?: string | null;
};
/**
* Leave empty to create it from the title.
*/
slug: string;
/**
* Short summary for AI assistants; leave empty to create it from the page content.
*/
aiSummary?: string | null;
/**
* Leaves the page out of search results, the sitemap and site search.
*/
noindex?: boolean | null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "HeroBlock".
*/
export interface HeroBlock {
header?: SectionHeaderData;
media?: (string | null) | Media;
/**
* Shown before a video starts; not needed for an image.
*/
poster?: (string | null) | Media;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('split' | 'background' | 'centered' | 'page') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'hero';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "SectionHeaderData".
*/
export interface SectionHeaderData {
eyebrow?: string | null;
heading?: string | null;
intro?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "media".
*/
export interface Media {
id: string;
alt: string;
/**
* Used only for an image that is too large: makes it smaller and removes hidden photo data, such as location.
*/
optimizeOnUpload?: boolean | null;
placeholder?: {
blurDataURL?: string | null;
color?: string | null;
};
updatedAt: string;
createdAt: string;
url?: string | null;
thumbnailURL?: string | null;
filename?: string | null;
mimeType?: string | null;
filesize?: number | null;
width?: number | null;
height?: number | null;
focalX?: number | null;
focalY?: number | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CmsLink".
*/
export interface CmsLink {
type?: ('internal' | 'external' | 'file') | null;
/**
* Opens the link in a new browser tab.
*/
newTab?: boolean | null;
page?: (string | null) | Page;
/**
* A full address (https://…), an e-mail (mailto:), a phone (tel:) or #section.
*/
url?: string | null;
/**
* Upload the file here instead of pasting its address.
*/
file?: (string | null) | Media;
label?: string | null;
appearance?: ('primary' | 'secondary' | 'link') | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "SectionSettings".
*/
export interface SectionSettings {
/**
* Lets links jump to this section, e.g. pricing for #pricing.
*/
anchor?: string | null;
background?: ('default' | 'muted' | 'inverted') | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TextMediaBlock".
*/
export interface TextMediaBlock {
header?: SectionHeaderData;
content?: {
root: {
type: string;
children: {
type: any;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
} | null;
media?: (string | null) | Media;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('mediaRight' | 'mediaLeft') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'textMedia';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "FeatureGridBlock".
*/
export interface FeatureGridBlock {
header?: SectionHeaderData;
items?:
| {
media?: (string | null) | Media;
heading: string;
text?: string | null;
link?: CmsLinkPlain;
id?: string | null;
}[]
| null;
columns?: ('two' | 'three' | 'four') | null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('cards' | 'list' | 'numbered') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'featureGrid';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CmsLinkPlain".
*/
export interface CmsLinkPlain {
type?: ('internal' | 'external' | 'file') | null;
/**
* Opens the link in a new browser tab.
*/
newTab?: boolean | null;
page?: (string | null) | Page;
/**
* A full address (https://…), an e-mail (mailto:), a phone (tel:) or #section.
*/
url?: string | null;
/**
* Upload the file here instead of pasting its address.
*/
file?: (string | null) | Media;
label?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CtaBlock".
*/
export interface CtaBlock {
header?: SectionHeaderData;
media?: (string | null) | Media;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('band' | 'card' | 'split') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'cta';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "RichTextBlock".
*/
export interface RichTextBlock {
header?: SectionHeaderData;
content: {
root: {
type: string;
children: {
type: any;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
};
tableOfContents?: TableOfContentsSettings;
variant?: ('narrow' | 'wide') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'richText';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TableOfContentsSettings".
*/
export interface TableOfContentsSettings {
/**
* Lists the section headings with links to them, for long pages.
*/
show?: boolean | null;
/**
* Heading above the list, e.g. "Contents"; leave empty for none.
*/
label?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "FaqBlock".
*/
export interface FaqBlock {
header?: SectionHeaderData;
items?:
| {
question: string;
answer: string;
id?: string | null;
}[]
| null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('single' | 'twoColumn') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'faq';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "ContactBlock".
*/
export interface ContactBlock {
header?: SectionHeaderData;
form: string | Form;
/**
* Shown beside the form, e.g. office hours.
*/
content?: {
root: {
type: string;
children: {
type: any;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
} | null;
variant?: ('formWithDetails' | 'formOnly') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'contact';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "forms".
*/
export interface Form {
id: string;
title: string;
fields?:
| (
| {
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
defaultValue?: boolean | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'checkbox';
}
| {
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
id?: string | null;
blockName?: string | null;
blockType: 'country';
}
| {
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
/**
* Example shown inside the empty field.
*/
placeholder?: string | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'email';
}
| {
message?: {
root: {
type: string;
children: {
type: any;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
} | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'message';
}
| {
name: string;
label?: string | null;
width?: number | null;
defaultValue?: number | null;
required?: boolean | null;
/**
* Example shown inside the empty field.
*/
placeholder?: string | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'number';
}
| {
name: string;
label?: string | null;
width?: number | null;
defaultValue?: string | null;
placeholder?: string | null;
options?:
| {
label: string;
value: string;
id?: string | null;
}[]
| null;
required?: boolean | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'select';
}
| {
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
id?: string | null;
blockName?: string | null;
blockType: 'state';
}
| {
name: string;
label?: string | null;
width?: number | null;
defaultValue?: string | null;
required?: boolean | null;
/**
* Example shown inside the empty field.
*/
placeholder?: string | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'text';
}
| {
name: string;
label?: string | null;
width?: number | null;
defaultValue?: string | null;
required?: boolean | null;
/**
* Example shown inside the empty field.
*/
placeholder?: string | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'textarea';
}
| {
/**
* No spaces, e.g. services.
*/
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
options?:
| {
label: string;
value: string;
id?: string | null;
}[]
| null;
/**
* Leave empty for no minimum.
*/
minSelected?: number | null;
/**
* Leave empty for no limit.
*/
maxSelected?: number | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'checkboxGroup';
}
| {
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
defaultValue?: string | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'date';
}
| {
/**
* No spaces, e.g. attachment.
*/
name: string;
label?: string | null;
/**
* Shown under the field.
*/
help?: string | null;
width?: number | null;
required?: boolean | null;
/**
* The file is sent by e-mail and is not kept on the site.
*/
allowedTypes: ('doc' | 'docx' | 'jpg' | 'odt' | 'pdf' | 'png' | 'rtf' | 'webp' | 'xls' | 'xlsx')[];
maxSizeMB?: number | null;
maxFiles?: number | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'file';
}
| {
name: string;
label?: string | null;
width?: number | null;
defaultValue?: string | null;
options?:
| {
label: string;
value: string;
id?: string | null;
}[]
| null;
required?: boolean | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'radio';
}
| {
/**
* Starts a new step with the fields below it, up to the next step.
*/
title?: string | null;
description?: string | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'step';
}
| {
/**
* No spaces, e.g. services.
*/
name: string;
label?: string | null;
width?: number | null;
required?: boolean | null;
showWhen?: {
/**
* Key of the field it depends on.
*/
field?: string | null;
/**
* Separate with commas; leave empty for any value.
*/
values?: string | null;
};
id?: string | null;
blockName?: string | null;
blockType: 'time';
}
)[]
| null;
submitButtonLabel?: string | null;
/**
* Show a message or go to another page after the form is sent.
*/
confirmationType?: ('message' | 'redirect') | null;
confirmationMessage?: {
root: {
type: string;
children: {
type: any;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
} | null;
redirect?: {
type?: ('reference' | 'custom') | null;
reference?: {
relationTo: 'pages';
value: string | Page;
} | null;
url?: string | null;
};
/**
* Sent after each submission; use {{email}} for a field value and {{*:table}} for all values.
*/
emails?:
| {
emailTo?: string | null;
cc?: string | null;
bcc?: string | null;
replyTo?: string | null;
emailFrom?: string | null;
subject: string;
/**
* Text of the e-mail.
*/
message?: {
root: {
type: string;
children: {
type: any;
version: number;
[k: string]: unknown;
}[];
direction: ('ltr' | 'rtl') | null;
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
indent: number;
version: number;
};
[k: string]: unknown;
} | null;
id?: string | null;
}[]
| null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "GalleryBlock".
*/
export interface GalleryBlock {
header?: SectionHeaderData;
items?:
| {
media: string | Media;
caption?: string | null;
id?: string | null;
}[]
| null;
columns?: ('two' | 'three' | 'four') | null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('grid' | 'masonry') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'gallery';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TestimonialsBlock".
*/
export interface TestimonialsBlock {
header?: SectionHeaderData;
items?:
| {
quote: string;
heading: string;
text?: string | null;
media?: (string | null) | Media;
rating?: number | null;
id?: string | null;
}[]
| null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('grid' | 'single') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'testimonials';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "StatsBlock".
*/
export interface StatsBlock {
header?: SectionHeaderData;
items?:
| {
value: string;
heading: string;
text?: string | null;
id?: string | null;
}[]
| null;
variant?: ('row' | 'cards') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'stats';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "StepsBlock".
*/
export interface StepsBlock {
header?: SectionHeaderData;
items?:
| {
heading: string;
text?: string | null;
media?: (string | null) | Media;
id?: string | null;
}[]
| null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('numbered' | 'timeline') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'steps';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "LogosBlock".
*/
export interface LogosBlock {
header?: SectionHeaderData;
items?:
| {
media: string | Media;
heading: string;
link?: CmsLinkPlainNoLabel;
id?: string | null;
}[]
| null;
variant?: ('row' | 'grid') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'logos';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CmsLinkPlainNoLabel".
*/
export interface CmsLinkPlainNoLabel {
type?: ('internal' | 'external' | 'file') | null;
/**
* Opens the link in a new browser tab.
*/
newTab?: boolean | null;
page?: (string | null) | Page;
/**
* A full address (https://…), an e-mail (mailto:), a phone (tel:) or #section.
*/
url?: string | null;
/**
* Upload the file here instead of pasting its address.
*/
file?: (string | null) | Media;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TeamBlock".
*/
export interface TeamBlock {
header?: SectionHeaderData;
items?:
| {
media?: (string | null) | Media;
heading: string;
text?: string | null;
bio?: string | null;
link?: CmsLinkPlain;
id?: string | null;
}[]
| null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('grid' | 'list') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'team';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "PricingBlock".
*/
export interface PricingBlock {
header?: SectionHeaderData;
items?:
| {
heading: string;
price: string;
period?: string | null;
text?: string | null;
features?:
| {
text: string;
id?: string | null;
}[]
| null;
/**
* Marks this plan with the highlight label.
*/
highlighted?: boolean | null;
link?: CmsLink;
id?: string | null;
}[]
| null;
highlightLabel?: string | null;
/**
* Shown under the plans, e.g. prices without VAT.
*/
note?: string | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'pricing';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "EntryListBlock".
*/
export interface EntryListBlock {
header?: SectionHeaderData;
entryCollection: 'posts' | 'caseStudies';
mode?: ('latest' | 'selected') | null;
limit?: number | null;
entries?:
| (
| {
relationTo: 'posts';
value: string | Post;
}
| {
relationTo: 'caseStudies';
value: string | CaseStudy;
}
)[]
| null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
variant?: ('cards' | 'list') | null;
settings?: SectionSettings;
id?: string | null;
blockName?: string | null;
blockType: 'entryList';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "posts".
*/
export interface Post {
id: string;
title: string;
/**
* One or two sentences on the card in lists.
*/
excerpt?: string | null;
/**
* Card and share image.
*/
media?: (string | null) | Media;
layout?:
| (
| HeroBlock
| TextMediaBlock
| FeatureGridBlock
| CtaBlock
| RichTextBlock
| FaqBlock
| ContactBlock
| GalleryBlock
| TestimonialsBlock
| StatsBlock
| StepsBlock
| LogosBlock
| TeamBlock
| PricingBlock
| EntryListBlock
)[]
| null;
meta?: {
title?: string | null;
description?: string | null;
/**
* Shown when the page is shared; best under 500 KB.
*/
image?: (string | null) | Media;
/**
* Replaces the whole title, site name included; leave empty to build it automatically.
*/
titleOverride?: string | null;
};
/**
* Leave empty to create it from the title.
*/
slug: string;
publishedAt?: string | null;
/**
* Short summary for AI assistants; leave empty to create it from the page content.
*/
aiSummary?: string | null;
/**
* Leaves the page out of search results, the sitemap and site search.
*/
noindex?: boolean | null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "caseStudies".
*/
export interface CaseStudy {
id: string;
title: string;
/**
* One or two sentences on the card in lists.
*/
excerpt?: string | null;
/**
* Card and share image.
*/
media?: (string | null) | Media;
layout?:
| (
| HeroBlock
| TextMediaBlock
| FeatureGridBlock
| CtaBlock
| RichTextBlock
| FaqBlock
| ContactBlock
| GalleryBlock
| TestimonialsBlock
| StatsBlock
| StepsBlock
| LogosBlock
| TeamBlock
| PricingBlock
| EntryListBlock
)[]
| null;
meta?: {
title?: string | null;
description?: string | null;
/**
* Shown when the page is shared; best under 500 KB.
*/
image?: (string | null) | Media;
/**
* Replaces the whole title, site name included; leave empty to build it automatically.
*/
titleOverride?: string | null;
};
/**
* Leave empty to create it from the title.
*/
slug: string;
publishedAt?: string | null;
/**
* Short summary for AI assistants; leave empty to create it from the page content.
*/
aiSummary?: string | null;
/**
* Leaves the page out of search results, the sitemap and site search.
*/
noindex?: boolean | null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "users".
*/
export interface User {
id: string;
totpSecret?: string | null;
hasTotp?: boolean | null;
/**
* Administrators manage everything; editors manage content.
*/
roles: ('user' | 'editor' | 'admin')[];
updatedAt: string;
createdAt: string;
email: string;
resetPasswordToken?: string | null;
resetPasswordExpiration?: string | null;
salt?: string | null;
hash?: string | null;
resetPasswordRequestedAt?: string | null;
loginAttempts?: number | null;
lockUntil?: string | null;
sessions?:
| {
id: string;
createdAt?: string | null;
expiresAt: string;
}[]
| null;
password?: string | null;
collection: 'users';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "form-submissions".
*/
export interface FormSubmission {
id: string;
form: string | Form;
submissionData?:
| {
field: string;
value: string;
id?: string | null;
}[]
| null;
/**
* Sent by e-mail to the form recipients. The files are not kept on the site.
*/
submissionFiles?:
| {
name?: string | null;
type?: string | null;
size?: number | null;
field?: string | null;
id?: string | null;
}[]
| null;
filesDelivery?: ('sent' | 'failed') | null;
/**
* Ask the sender for the file again.
*/
filesDeliveryNote?: string | null;
attemptKey?: string | null;
updatedAt: string;
createdAt: string;
}
/**
* Proof of each cookie banner choice, stored with a random ID and no personal data.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "consent-records".
*/
export interface ConsentRecord {
id: string;
consentId: string;
version: number;
choices?: {
necessary?: boolean | null;
functional?: boolean | null;
analytics?: boolean | null;
marketing?: boolean | null;
};
updatedAt: string;
createdAt: string;
}
/**
* Cookies found by scans; approve them to add them to the cookie banner, your edits are kept.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "cookie-review".
*/
export interface CookieReview {
id: string;
name: string;
storage: 'cookie' | 'localStorage' | 'sessionStorage';
category?: ('necessary' | 'functional' | 'analytics' | 'marketing') | null;
vendor?: string | null;
domain?: string | null;
purpose?: string | null;
retention?: string | null;
/**
* Set before the visitor decides, which only necessary cookies may be.
*/
setBeforeConsent?: boolean | null;
/**
* Accepted cookies are added to the cookie list; rejecting never removes them from it.
*/
status: 'draft' | 'accepted' | 'rejected';
source?: ('integration' | 'project' | 'database' | 'unknown' | 'manual') | null;
sourceDetail?: string | null;
/**
* Already in the cookie list of the cookie banner.
*/
listed?: boolean | null;
/**
* What the latest scan found; approving clears it.
*/
change?: ('new' | 'changed' | 'gone') | null;
/**
* Write the purpose so visitors know what this cookie does.
*/
needsDescription?: boolean | null;
lastScannedAt?: string | null;
/**
* Not necessary, yet seen before consent in the latest site check.
*/
violation?: boolean | null;
violationDetail?: string | null;
seenBeforeConsent?: boolean | null;
key?: string | null;
suggested?:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-kv".
*/
export interface PayloadKv {
id: string;
key: string;
data:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-locked-documents".
*/
export interface PayloadLockedDocument {
id: string;
document?:
| ({
relationTo: 'pages';
value: string | Page;
} | null)
| ({
relationTo: 'posts';
value: string | Post;
} | null)
| ({
relationTo: 'caseStudies';
value: string | CaseStudy;
} | null)
| ({
relationTo: 'media';
value: string | Media;
} | null)
| ({
relationTo: 'users';
value: string | User;
} | null)
| ({
relationTo: 'forms';
value: string | Form;
} | null)
| ({
relationTo: 'form-submissions';
value: string | FormSubmission;
} | null)
| ({
relationTo: 'consent-records';
value: string | ConsentRecord;
} | null)
| ({
relationTo: 'cookie-review';
value: string | CookieReview;
} | null);
globalSlug?: string | null;
user: {
relationTo: 'users';
value: string | User;
};
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-preferences".
*/
export interface PayloadPreference {
id: string;
user: {
relationTo: 'users';
value: string | User;
};
key?: string | null;
value?:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-migrations".
*/
export interface PayloadMigration {
id: string;
name?: string | null;
batch?: number | null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "pages_select".
*/
export interface PagesSelect<T extends boolean = true> {
title?: T;
layout?:
| T
| {
hero?: T | HeroBlockSelect<T>;
textMedia?: T | TextMediaBlockSelect<T>;
featureGrid?: T | FeatureGridBlockSelect<T>;
cta?: T | CtaBlockSelect<T>;
richText?: T | RichTextBlockSelect<T>;
faq?: T | FaqBlockSelect<T>;
contact?: T | ContactBlockSelect<T>;
gallery?: T | GalleryBlockSelect<T>;
testimonials?: T | TestimonialsBlockSelect<T>;
stats?: T | StatsBlockSelect<T>;
steps?: T | StepsBlockSelect<T>;
logos?: T | LogosBlockSelect<T>;
team?: T | TeamBlockSelect<T>;
pricing?: T | PricingBlockSelect<T>;
entryList?: T | EntryListBlockSelect<T>;
};
slugHistory?:
| T
| {
slug?: T;
id?: T;
};
meta?:
| T
| {
title?: T;
description?: T;
image?: T;
titleOverride?: T;
};
slug?: T;
aiSummary?: T;
noindex?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "HeroBlock_select".
*/
export interface HeroBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
media?: T;
poster?: T;
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "SectionHeaderData_select".
*/
export interface SectionHeaderDataSelect<T extends boolean = true> {
eyebrow?: T;
heading?: T;
intro?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CmsLink_select".
*/
export interface CmsLinkSelect<T extends boolean = true> {
type?: T;
newTab?: T;
page?: T;
url?: T;
file?: T;
label?: T;
appearance?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "SectionSettings_select".
*/
export interface SectionSettingsSelect<T extends boolean = true> {
anchor?: T;
background?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TextMediaBlock_select".
*/
export interface TextMediaBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
content?: T;
media?: T;
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "FeatureGridBlock_select".
*/
export interface FeatureGridBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
media?: T;
heading?: T;
text?: T;
link?: T | CmsLinkPlainSelect<T>;
id?: T;
};
columns?: T;
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CmsLinkPlain_select".
*/
export interface CmsLinkPlainSelect<T extends boolean = true> {
type?: T;
newTab?: T;
page?: T;
url?: T;
file?: T;
label?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CtaBlock_select".
*/
export interface CtaBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
media?: T;
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "RichTextBlock_select".
*/
export interface RichTextBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
content?: T;
tableOfContents?: T | TableOfContentsSettingsSelect<T>;
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TableOfContentsSettings_select".
*/
export interface TableOfContentsSettingsSelect<T extends boolean = true> {
show?: T;
label?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "FaqBlock_select".
*/
export interface FaqBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
question?: T;
answer?: T;
id?: T;
};
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "ContactBlock_select".
*/
export interface ContactBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
form?: T;
content?: T;
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "GalleryBlock_select".
*/
export interface GalleryBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
media?: T;
caption?: T;
id?: T;
};
columns?: T;
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TestimonialsBlock_select".
*/
export interface TestimonialsBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
quote?: T;
heading?: T;
text?: T;
media?: T;
rating?: T;
id?: T;
};
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "StatsBlock_select".
*/
export interface StatsBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
value?: T;
heading?: T;
text?: T;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "StepsBlock_select".
*/
export interface StepsBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
heading?: T;
text?: T;
media?: T;
id?: T;
};
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "LogosBlock_select".
*/
export interface LogosBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
media?: T;
heading?: T;
link?: T | CmsLinkPlainNoLabelSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "CmsLinkPlainNoLabel_select".
*/
export interface CmsLinkPlainNoLabelSelect<T extends boolean = true> {
type?: T;
newTab?: T;
page?: T;
url?: T;
file?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "TeamBlock_select".
*/
export interface TeamBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
media?: T;
heading?: T;
text?: T;
bio?: T;
link?: T | CmsLinkPlainSelect<T>;
id?: T;
};
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "PricingBlock_select".
*/
export interface PricingBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
items?:
| T
| {
heading?: T;
price?: T;
period?: T;
text?: T;
features?:
| T
| {
text?: T;
id?: T;
};
highlighted?: T;
link?: T | CmsLinkSelect<T>;
id?: T;
};
highlightLabel?: T;
note?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "EntryListBlock_select".
*/
export interface EntryListBlockSelect<T extends boolean = true> {
header?: T | SectionHeaderDataSelect<T>;
entryCollection?: T;
mode?: T;
limit?: T;
entries?: T;
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
variant?: T;
settings?: T | SectionSettingsSelect<T>;
id?: T;
blockName?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "posts_select".
*/
export interface PostsSelect<T extends boolean = true> {
title?: T;
excerpt?: T;
media?: T;
layout?:
| T
| {
hero?: T | HeroBlockSelect<T>;
textMedia?: T | TextMediaBlockSelect<T>;
featureGrid?: T | FeatureGridBlockSelect<T>;
cta?: T | CtaBlockSelect<T>;
richText?: T | RichTextBlockSelect<T>;
faq?: T | FaqBlockSelect<T>;
contact?: T | ContactBlockSelect<T>;
gallery?: T | GalleryBlockSelect<T>;
testimonials?: T | TestimonialsBlockSelect<T>;
stats?: T | StatsBlockSelect<T>;
steps?: T | StepsBlockSelect<T>;
logos?: T | LogosBlockSelect<T>;
team?: T | TeamBlockSelect<T>;
pricing?: T | PricingBlockSelect<T>;
entryList?: T | EntryListBlockSelect<T>;
};
meta?:
| T
| {
title?: T;
description?: T;
image?: T;
titleOverride?: T;
};
slug?: T;
publishedAt?: T;
aiSummary?: T;
noindex?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "caseStudies_select".
*/
export interface CaseStudiesSelect<T extends boolean = true> {
title?: T;
excerpt?: T;
media?: T;
layout?:
| T
| {
hero?: T | HeroBlockSelect<T>;
textMedia?: T | TextMediaBlockSelect<T>;
featureGrid?: T | FeatureGridBlockSelect<T>;
cta?: T | CtaBlockSelect<T>;
richText?: T | RichTextBlockSelect<T>;
faq?: T | FaqBlockSelect<T>;
contact?: T | ContactBlockSelect<T>;
gallery?: T | GalleryBlockSelect<T>;
testimonials?: T | TestimonialsBlockSelect<T>;
stats?: T | StatsBlockSelect<T>;
steps?: T | StepsBlockSelect<T>;
logos?: T | LogosBlockSelect<T>;
team?: T | TeamBlockSelect<T>;
pricing?: T | PricingBlockSelect<T>;
entryList?: T | EntryListBlockSelect<T>;
};
meta?:
| T
| {
title?: T;
description?: T;
image?: T;
titleOverride?: T;
};
slug?: T;
publishedAt?: T;
aiSummary?: T;
noindex?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "media_select".
*/
export interface MediaSelect<T extends boolean = true> {
alt?: T;
optimizeOnUpload?: T;
placeholder?:
| T
| {
blurDataURL?: T;
color?: T;
};
updatedAt?: T;
createdAt?: T;
url?: T;
thumbnailURL?: T;
filename?: T;
mimeType?: T;
filesize?: T;
width?: T;
height?: T;
focalX?: T;
focalY?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "users_select".
*/
export interface UsersSelect<T extends boolean = true> {
totpSecret?: T;
hasTotp?: T;
roles?: T;
updatedAt?: T;
createdAt?: T;
email?: T;
resetPasswordToken?: T;
resetPasswordExpiration?: T;
salt?: T;
hash?: T;
resetPasswordRequestedAt?: T;
loginAttempts?: T;
lockUntil?: T;
sessions?:
| T
| {
id?: T;
createdAt?: T;
expiresAt?: T;
};
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "forms_select".
*/
export interface FormsSelect<T extends boolean = true> {
title?: T;
fields?:
| T
| {
checkbox?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
defaultValue?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
country?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
id?: T;
blockName?: T;
};
email?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
placeholder?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
message?:
| T
| {
message?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
number?:
| T
| {
name?: T;
label?: T;
width?: T;
defaultValue?: T;
required?: T;
placeholder?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
select?:
| T
| {
name?: T;
label?: T;
width?: T;
defaultValue?: T;
placeholder?: T;
options?:
| T
| {
label?: T;
value?: T;
id?: T;
};
required?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
state?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
id?: T;
blockName?: T;
};
text?:
| T
| {
name?: T;
label?: T;
width?: T;
defaultValue?: T;
required?: T;
placeholder?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
textarea?:
| T
| {
name?: T;
label?: T;
width?: T;
defaultValue?: T;
required?: T;
placeholder?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
checkboxGroup?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
options?:
| T
| {
label?: T;
value?: T;
id?: T;
};
minSelected?: T;
maxSelected?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
date?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
defaultValue?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
file?:
| T
| {
name?: T;
label?: T;
help?: T;
width?: T;
required?: T;
allowedTypes?: T;
maxSizeMB?: T;
maxFiles?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
radio?:
| T
| {
name?: T;
label?: T;
width?: T;
defaultValue?: T;
options?:
| T
| {
label?: T;
value?: T;
id?: T;
};
required?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
step?:
| T
| {
title?: T;
description?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
time?:
| T
| {
name?: T;
label?: T;
width?: T;
required?: T;
showWhen?:
| T
| {
field?: T;
values?: T;
};
id?: T;
blockName?: T;
};
};
submitButtonLabel?: T;
confirmationType?: T;
confirmationMessage?: T;
redirect?:
| T
| {
type?: T;
reference?: T;
url?: T;
};
emails?:
| T
| {
emailTo?: T;
cc?: T;
bcc?: T;
replyTo?: T;
emailFrom?: T;
subject?: T;
message?: T;
id?: T;
};
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "form-submissions_select".
*/
export interface FormSubmissionsSelect<T extends boolean = true> {
form?: T;
submissionData?:
| T
| {
field?: T;
value?: T;
id?: T;
};
submissionFiles?:
| T
| {
name?: T;
type?: T;
size?: T;
field?: T;
id?: T;
};
filesDelivery?: T;
filesDeliveryNote?: T;
attemptKey?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "consent-records_select".
*/
export interface ConsentRecordsSelect<T extends boolean = true> {
consentId?: T;
version?: T;
choices?:
| T
| {
necessary?: T;
functional?: T;
analytics?: T;
marketing?: T;
};
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "cookie-review_select".
*/
export interface CookieReviewSelect<T extends boolean = true> {
name?: T;
storage?: T;
category?: T;
vendor?: T;
domain?: T;
purpose?: T;
retention?: T;
setBeforeConsent?: T;
status?: T;
source?: T;
sourceDetail?: T;
listed?: T;
change?: T;
needsDescription?: T;
lastScannedAt?: T;
violation?: T;
violationDetail?: T;
seenBeforeConsent?: T;
key?: T;
suggested?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-kv_select".
*/
export interface PayloadKvSelect<T extends boolean = true> {
key?: T;
data?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-locked-documents_select".
*/
export interface PayloadLockedDocumentsSelect<T extends boolean = true> {
document?: T;
globalSlug?: T;
user?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-preferences_select".
*/
export interface PayloadPreferencesSelect<T extends boolean = true> {
user?: T;
key?: T;
value?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "payload-migrations_select".
*/
export interface PayloadMigrationsSelect<T extends boolean = true> {
name?: T;
batch?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "header".
*/
export interface Header {
id: string;
navItems?:
| {
link?: CmsLinkPlain;
subItems?:
| {
link?: CmsLinkPlain;
id?: string | null;
}[]
| null;
id?: string | null;
}[]
| null;
links?:
| {
link?: CmsLink;
id?: string | null;
}[]
| null;
/**
* Accessible label of the mobile menu button, e.g. "Menu".
*/
menuLabel?: string | null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "footer".
*/
export interface Footer {
id: string;
columns?:
| {
heading?: string | null;
items?:
| {
link?: CmsLinkPlain;
id?: string | null;
}[]
| null;
id?: string | null;
}[]
| null;
note?: string | null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "company".
*/
export interface Company {
id: string;
name: string;
legalName?: string | null;
taxId?: string | null;
/**
* Shown before the tax ID in the footer.
*/
taxIdLabel?: string | null;
address?: {
street?: string | null;
postalCode?: string | null;
city?: string | null;
country?: string | null;
};
phone?: string | null;
email?: string | null;
/**
* Shown next to the contact form, e.g. "Mon–Fri 9:00–17:00".
*/
hours?: string | null;
socials?:
| {
label: string;
url: string;
id?: string | null;
}[]
| null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "site-settings".
*/
export interface SiteSetting {
id: string;
/**
* Shown in page titles and when a link is shared.
*/
siteName: string;
/**
* Shown in search results for pages without their own description.
*/
siteDescription?: string | null;
logo?: (string | null) | Media;
/**
* Square PNG or SVG, at least 48×48 px, shown in browser tabs and search results.
*/
favicon?: (string | null) | Media;
/**
* Shown when a link to a page without its own image is shared.
*/
defaultShareImage?: (string | null) | Media;
/**
* Your business on Google, LinkedIn, Facebook and similar, so search engines and AI assistants recognise you.
*/
sameAs?:
| {
url: string;
id?: string | null;
}[]
| null;
/**
* Order of the page name and the site name in the browser tab.
*/
titleOrder?: ('page-first' | 'site-first') | null;
titleSeparator?: ('pipe' | 'endash' | 'hyphen' | 'middot' | 'slash') | null;
/**
* Used on a visitor’s first visit.
*/
defaultTheme: 'light' | 'dark' | 'system';
allowThemeToggle?: boolean | null;
/**
* Read aloud by screen readers.
*/
themeToggleLabel?: string | null;
/**
* Shown at the main address of each language, e.g. /en.
*/
homepage?: (string | null) | Page;
/**
* Shown for addresses that do not exist; leave empty to use the default.
*/
notFound?: (string | null) | Page;
/**
* Linked from the cookie banner and with the other legal pages.
*/
privacyPolicy?: (string | null) | Page;
/**
* Linked with the other legal pages, e.g. in the footer.
*/
cookiePolicy?: (string | null) | Page;
termsOfService?: (string | null) | Page;
/**
* Page that lists the entries; its address (URL) starts the address of each entry.
*/
postsArchive?: (string | null) | Page;
/**
* Page that lists the entries; its address (URL) starts the address of each entry.
*/
caseStudiesArchive?: (string | null) | Page;
/**
* Key facts AI assistants may quote: what you do, where, for whom and since when.
*/
llmsIntro?: string | null;
/**
* Paste the code or the whole meta tag from each tool; leave empty if you verify by DNS.
*/
searchVerification?: {
/**
* Find it under Settings, Ownership verification, HTML tag.
*/
google?: string | null;
/**
* Find it under Add site, HTML Meta Tag; Bing also feeds ChatGPT Search and Copilot.
*/
bing?: string | null;
/**
* Find it under Site verification, Meta tag.
*/
yandex?: string | null;
};
/**
* Which AI services may read the site; blocking assistants removes it from AI answers.
*/
aiCrawlers?: {
policy?: ('default' | 'allow' | 'block-training' | 'disallow') | null;
/**
* Exceptions for single bots by name, e.g. GPTBot; they override the setting above.
*/
rules?:
| {
userAgent: string;
access: 'allow' | 'disallow';
id?: string | null;
}[]
| null;
};
email?: {
/**
* PNG or JPG on a light background, as many e-mail apps do not show SVG; leave empty to show the site name.
*/
logo?: (string | null) | Media;
/**
* Used for the top bar and section titles.
*/
accentColor?: string | null;
/**
* E.g. company name and address.
*/
footer?: string | null;
};
construction?: {
/**
* Visitors can open only the homepage and the pages below; other links show a notice.
*/
enabled?: boolean | null;
/**
* The homepage is always available.
*/
allowedPages?: (string | Page)[] | null;
title?: string | null;
message?: string | null;
/**
* Leave empty to show a × sign.
*/
buttonLabel?: string | null;
};
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "site-integrations".
*/
export interface SiteIntegration {
id: string;
/**
* Follows the visitor's choice in the cookie banner (Google Consent Mode).
*/
ga4MeasurementId?: string | null;
/**
* Follows the visitor's choice in the cookie banner (Google Consent Mode).
*/
gtmContainerId?: string | null;
/**
* Loads after the visitor accepts marketing cookies.
*/
metaPixelId?: string | null;
/**
* Loads after the visitor accepts analytics cookies.
*/
clarityProjectId?: string | null;
/**
* Loads after the visitor accepts marketing cookies.
*/
linkedInPartnerId?: string | null;
/**
* Loads after the visitor accepts marketing cookies.
*/
tiktokPixelId?: string | null;
/**
* Public key of the Cloudflare Turnstile widget.
*/
turnstileSiteKey?: string | null;
/**
* Private key of the same widget; fill in both keys to turn spam protection on.
*/
turnstileSecretKey?: string | null;
turnstileStatus?: {
state?: ('ok' | 'degraded') | null;
code?: string | null;
message?: string | null;
since?: string | null;
checkedAt?: string | null;
};
/**
* Microsoft Graph works only when your administrator has set it up on the server.
*/
emailTransport?: ('smtp' | 'graph') | null;
/**
* E-mails are sent from this address; with Microsoft Graph, replies go to it.
*/
smtpFromAddress?: string | null;
/**
* The name recipients see, e.g. the company name.
*/
smtpFromName?: string | null;
smtpHost?: string | null;
/**
* Usually 587, or 465.
*/
smtpPort?: number | null;
smtpUser?: string | null;
smtpPassword?: string | null;
emailStatus?: {
state?: ('ok' | 'degraded') | null;
code?: string | null;
message?: string | null;
since?: string | null;
checkedAt?: string | null;
};
/**
* Created automatically; lets Bing and AI assistants learn about new pages right away.
*/
indexNowKey?: string | null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "cookie-settings".
*/
export interface CookieSetting {
id: string;
/**
* Raise by 1 after adding a tool or changing the cookie policy, and every visitor is asked for consent again.
*/
policyVersion: number;
/**
* Leave empty to hide it.
*/
eyebrow?: string | null;
/**
* Leave empty to hide it.
*/
title?: string | null;
/**
* Leave empty to use the default.
*/
message?: string | null;
/**
* Leave empty to use the title of the privacy policy page set in Site settings.
*/
privacyLinkLabel?: string | null;
/**
* Leave empty to use the default.
*/
buttons?: {
acceptAll?: string | null;
reject?: string | null;
settings?: string | null;
savePreferences?: string | null;
back?: string | null;
/**
* Read aloud by screen readers for the ✕ button.
*/
close?: string | null;
};
/**
* Leave empty to use the default.
*/
settingsTitle?: string | null;
/**
* What cookies are for and that the choice can be changed later, or leave empty to hide it.
*/
settingsDescription?: string | null;
/**
* Shown next to necessary cookies; leave empty to show a locked switch instead.
*/
alwaysActiveLabel?: string | null;
/**
* Shown above the cookie list under each category; leave empty to use the default.
*/
detailLabels?: {
/**
* The number of cookies is added after it.
*/
cookies?: string | null;
provider?: string | null;
purpose?: string | null;
duration?: string | null;
/**
* Shown only for entries kept in browser storage.
*/
storage?: string | null;
};
/**
* A category not listed here uses the default title and description.
*/
categories?:
| {
key: 'necessary' | 'functional' | 'analytics' | 'marketing';
title?: string | null;
description?: string | null;
id?: string | null;
}[]
| null;
/**
* Shown on the cookie policy page and in the settings window; fill it from Cookie review.
*/
cookies?:
| {
name: string;
storage?: ('cookie' | 'localStorage' | 'sessionStorage') | null;
category: 'necessary' | 'functional' | 'analytics' | 'marketing';
provider?: string | null;
purpose?: string | null;
duration?: string | null;
id?: string | null;
}[]
| null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "notifications".
*/
export interface Notification {
id: string;
/**
* Shown to visitors after they send a form; leave a field empty to use the default.
*/
form?: {
success?: string | null;
error?: string | null;
/**
* Use {field} for the field label.
*/
validation?: string | null;
/**
* Shown when the privacy policy box is not ticked.
*/
consent?: string | null;
turnstile?: string | null;
rateLimited?: string | null;
notFound?: string | null;
/**
* Use {file} for the file name and {max} for the limit in MB.
*/
fileTooLarge?: string | null;
/**
* Use {file} for the file name and {types} for the accepted types.
*/
fileType?: string | null;
/**
* For a program, an archive, macros or content that does not match; use {file} and {types}.
*/
fileRefused?: string | null;
/**
* Use {field} for the field label and {max} for the limit.
*/
fileCount?: string | null;
/**
* Shown when the file could not be sent by e-mail; use {file} for the file name.
*/
fileNotSent?: string | null;
/**
* Added to a file message when the file field is not required.
*/
fileOptional?: string | null;
/**
* Use {file} for the file name.
*/
fileRemove?: string | null;
next?: string | null;
back?: string | null;
/**
* Use {current} and {total} for the numbers.
*/
stepOf?: string | null;
};
/**
* Read by screen readers in the enlarged image view; leave a field empty to use the default.
*/
lightbox?: {
/**
* The image description is added after it.
*/
open?: string | null;
dialog?: string | null;
previous?: string | null;
next?: string | null;
close?: string | null;
/**
* Use {current} and {total} for the numbers.
*/
counter?: string | null;
};
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* Result of the latest site check, started in Cookie review.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "cookie-crawl".
*/
export interface CookieCrawl {
id: string;
/**
* Comma-separated addresses that get a warning when a check finds problems; leave empty for none.
*/
notifyEmails?: string | null;
status?: ('idle' | 'running' | 'done' | 'failed') | null;
startedAt?: string | null;
finishedAt?: string | null;
startedBy?: string | null;
error?: string | null;
summary?: {
pages?: number | null;
violations?: number | null;
newUnknown?: number | null;
created?: number | null;
updated?: number | null;
};
violations?:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
requests?:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
pages?:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
jobId?: string | null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "header_select".
*/
export interface HeaderSelect<T extends boolean = true> {
navItems?:
| T
| {
link?: T | CmsLinkPlainSelect<T>;
subItems?:
| T
| {
link?: T | CmsLinkPlainSelect<T>;
id?: T;
};
id?: T;
};
links?:
| T
| {
link?: T | CmsLinkSelect<T>;
id?: T;
};
menuLabel?: T;
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "footer_select".
*/
export interface FooterSelect<T extends boolean = true> {
columns?:
| T
| {
heading?: T;
items?:
| T
| {
link?: T | CmsLinkPlainSelect<T>;
id?: T;
};
id?: T;
};
note?: T;
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "company_select".
*/
export interface CompanySelect<T extends boolean = true> {
name?: T;
legalName?: T;
taxId?: T;
taxIdLabel?: T;
address?:
| T
| {
street?: T;
postalCode?: T;
city?: T;
country?: T;
};
phone?: T;
email?: T;
hours?: T;
socials?:
| T
| {
label?: T;
url?: T;
id?: T;
};
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "site-settings_select".
*/
export interface SiteSettingsSelect<T extends boolean = true> {
siteName?: T;
siteDescription?: T;
logo?: T;
favicon?: T;
defaultShareImage?: T;
sameAs?:
| T
| {
url?: T;
id?: T;
};
titleOrder?: T;
titleSeparator?: T;
defaultTheme?: T;
allowThemeToggle?: T;
themeToggleLabel?: T;
homepage?: T;
notFound?: T;
privacyPolicy?: T;
cookiePolicy?: T;
termsOfService?: T;
postsArchive?: T;
caseStudiesArchive?: T;
llmsIntro?: T;
searchVerification?:
| T
| {
google?: T;
bing?: T;
yandex?: T;
};
aiCrawlers?:
| T
| {
policy?: T;
rules?:
| T
| {
userAgent?: T;
access?: T;
id?: T;
};
};
email?:
| T
| {
logo?: T;
accentColor?: T;
footer?: T;
};
construction?:
| T
| {
enabled?: T;
allowedPages?: T;
title?: T;
message?: T;
buttonLabel?: T;
};
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "site-integrations_select".
*/
export interface SiteIntegrationsSelect<T extends boolean = true> {
ga4MeasurementId?: T;
gtmContainerId?: T;
metaPixelId?: T;
clarityProjectId?: T;
linkedInPartnerId?: T;
tiktokPixelId?: T;
turnstileSiteKey?: T;
turnstileSecretKey?: T;
turnstileStatus?:
| T
| {
state?: T;
code?: T;
message?: T;
since?: T;
checkedAt?: T;
};
emailTransport?: T;
smtpFromAddress?: T;
smtpFromName?: T;
smtpHost?: T;
smtpPort?: T;
smtpUser?: T;
smtpPassword?: T;
emailStatus?:
| T
| {
state?: T;
code?: T;
message?: T;
since?: T;
checkedAt?: T;
};
indexNowKey?: T;
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "cookie-settings_select".
*/
export interface CookieSettingsSelect<T extends boolean = true> {
policyVersion?: T;
eyebrow?: T;
title?: T;
message?: T;
privacyLinkLabel?: T;
buttons?:
| T
| {
acceptAll?: T;
reject?: T;
settings?: T;
savePreferences?: T;
back?: T;
close?: T;
};
settingsTitle?: T;
settingsDescription?: T;
alwaysActiveLabel?: T;
detailLabels?:
| T
| {
cookies?: T;
provider?: T;
purpose?: T;
duration?: T;
storage?: T;
};
categories?:
| T
| {
key?: T;
title?: T;
description?: T;
id?: T;
};
cookies?:
| T
| {
name?: T;
storage?: T;
category?: T;
provider?: T;
purpose?: T;
duration?: T;
id?: T;
};
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "notifications_select".
*/
export interface NotificationsSelect<T extends boolean = true> {
form?:
| T
| {
success?: T;
error?: T;
validation?: T;
consent?: T;
turnstile?: T;
rateLimited?: T;
notFound?: T;
fileTooLarge?: T;
fileType?: T;
fileRefused?: T;
fileCount?: T;
fileNotSent?: T;
fileOptional?: T;
fileRemove?: T;
next?: T;
back?: T;
stepOf?: T;
};
lightbox?:
| T
| {
open?: T;
dialog?: T;
previous?: T;
next?: T;
close?: T;
counter?: T;
};
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "cookie-crawl_select".
*/
export interface CookieCrawlSelect<T extends boolean = true> {
notifyEmails?: T;
status?: T;
startedAt?: T;
finishedAt?: T;
startedBy?: T;
error?: T;
summary?:
| T
| {
pages?: T;
violations?: T;
newUnknown?: T;
created?: T;
updated?: T;
};
violations?: T;
requests?: T;
pages?: T;
jobId?: T;
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "collections_widget".
*/
export interface CollectionsWidget {
data?: {
[k: string]: unknown;
};
width: 'full';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "auth".
*/
export interface Auth {
[k: string]: unknown;
}
declare module 'payload' {
export interface GeneratedTypes extends Config {}
}