1430 lines
34 KiB
TypeScript
1430 lines
34 KiB
TypeScript
/* 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;
|
||
'payload-mcp-api-keys': PayloadMcpApiKeyAuthOperations;
|
||
};
|
||
blocks: {};
|
||
collections: {
|
||
users: User;
|
||
media: Media;
|
||
pages: Page;
|
||
'payload-mcp-api-keys': PayloadMcpApiKey;
|
||
'payload-kv': PayloadKv;
|
||
'payload-locked-documents': PayloadLockedDocument;
|
||
'payload-preferences': PayloadPreference;
|
||
'payload-migrations': PayloadMigration;
|
||
};
|
||
collectionsJoins: {};
|
||
collectionsSelect: {
|
||
users: UsersSelect<false> | UsersSelect<true>;
|
||
media: MediaSelect<false> | MediaSelect<true>;
|
||
pages: PagesSelect<false> | PagesSelect<true>;
|
||
'payload-mcp-api-keys': PayloadMcpApiKeysSelect<false> | PayloadMcpApiKeysSelect<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: number;
|
||
};
|
||
fallbackLocale: ('false' | 'none' | 'null') | false | null | ('pl' | 'de') | ('pl' | 'de')[];
|
||
globals: {
|
||
company: Company;
|
||
header: Header;
|
||
footer: Footer;
|
||
'site-settings': SiteSetting;
|
||
'site-integrations': SiteIntegration;
|
||
'cookie-settings': CookieSetting;
|
||
notifications: Notification;
|
||
};
|
||
globalsSelect: {
|
||
company: CompanySelect<false> | CompanySelect<true>;
|
||
header: HeaderSelect<false> | HeaderSelect<true>;
|
||
footer: FooterSelect<false> | FooterSelect<true>;
|
||
'site-settings': SiteSettingsSelect<false> | SiteSettingsSelect<true>;
|
||
'site-integrations': SiteIntegrationsSelect<false> | SiteIntegrationsSelect<true>;
|
||
'cookie-settings': CookieSettingsSelect<false> | CookieSettingsSelect<true>;
|
||
notifications: NotificationsSelect<false> | NotificationsSelect<true>;
|
||
};
|
||
locale: 'pl' | 'de';
|
||
widgets: {
|
||
collections: CollectionsWidget;
|
||
};
|
||
user: User | PayloadMcpApiKey;
|
||
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;
|
||
};
|
||
}
|
||
export interface PayloadMcpApiKeyAuthOperations {
|
||
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` "users".
|
||
*/
|
||
export interface User {
|
||
id: number;
|
||
updatedAt: string;
|
||
createdAt: string;
|
||
email: string;
|
||
resetPasswordToken?: string | null;
|
||
resetPasswordExpiration?: string | null;
|
||
salt?: string | null;
|
||
hash?: 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` "media".
|
||
*/
|
||
export interface Media {
|
||
id: number;
|
||
alt: string;
|
||
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` "pages".
|
||
*/
|
||
export interface Page {
|
||
id: number;
|
||
title: string;
|
||
/**
|
||
* Auto-generated from the title when left empty. You can override it.
|
||
*/
|
||
slug: string;
|
||
layout?:
|
||
| (
|
||
| {
|
||
title: string;
|
||
subtitle?: string | null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'pageHeader';
|
||
}
|
||
| {
|
||
address?: string | null;
|
||
phone?: string | null;
|
||
email?: string | null;
|
||
hours?: string | null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'contactInfo';
|
||
}
|
||
| {
|
||
title: string;
|
||
paragraphs: {
|
||
text: string;
|
||
id?: string | null;
|
||
}[];
|
||
credentials?:
|
||
| {
|
||
text: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
image?: (number | null) | Media;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'bio';
|
||
}
|
||
| {
|
||
members?:
|
||
| {
|
||
name: string;
|
||
role: string;
|
||
description?: string | null;
|
||
photo?: (number | null) | Media;
|
||
bookingUrl?: string | null;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'team';
|
||
}
|
||
| {
|
||
title: string;
|
||
subtitle?: string | null;
|
||
services: {
|
||
title: string;
|
||
description: string;
|
||
icon?: ('fileText' | 'calculator' | 'shieldCheck' | 'scale' | 'helpCircle' | 'users' | 'coins') | null;
|
||
id?: string | null;
|
||
}[];
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'servicesDetailed';
|
||
}
|
||
| {
|
||
title: string;
|
||
subtitle?: string | null;
|
||
eligibleTitle: string;
|
||
eligibleItems: {
|
||
text: string;
|
||
id?: string | null;
|
||
}[];
|
||
limitationsTitle: string;
|
||
limitationsText: string;
|
||
excludedTitle: string;
|
||
excludedItems: {
|
||
text: string;
|
||
id?: string | null;
|
||
}[];
|
||
legalNotice?: string | null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'eligibility';
|
||
}
|
||
| {
|
||
title: string;
|
||
titleAccent: string;
|
||
subtitle: string;
|
||
primaryCta: string;
|
||
secondaryCta?: {
|
||
text?: string | null;
|
||
url?: string | null;
|
||
};
|
||
floatingStat?: {
|
||
value?: string | null;
|
||
label?: string | null;
|
||
};
|
||
image?: (number | null) | Media;
|
||
imageSecondary?: (number | null) | Media;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'hero';
|
||
}
|
||
| {
|
||
title?: string | null;
|
||
subtitle?: string | null;
|
||
items: {
|
||
stat: string;
|
||
label: string;
|
||
description?: string | null;
|
||
id?: string | null;
|
||
}[];
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'stats';
|
||
}
|
||
| {
|
||
items?:
|
||
| {
|
||
text: string;
|
||
icon?: ('shield' | 'check' | 'message' | 'star') | null;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'trustBar';
|
||
}
|
||
| {
|
||
eyebrow?: string | null;
|
||
title: string;
|
||
description: string;
|
||
image?: (number | null) | Media;
|
||
features?:
|
||
| {
|
||
text: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'uniqueValue';
|
||
}
|
||
| {
|
||
eyebrow?: string | null;
|
||
title: string;
|
||
services?:
|
||
| {
|
||
title: string;
|
||
description: string;
|
||
linkText?: string | null;
|
||
linkUrl?: string | null;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'servicesList';
|
||
}
|
||
| {
|
||
eyebrow?: string | null;
|
||
title: string;
|
||
subtitle?: string | null;
|
||
steps?:
|
||
| {
|
||
title: string;
|
||
description: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
ctaText?: string | null;
|
||
ctaUrl?: string | null;
|
||
image?: (number | null) | Media;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'process';
|
||
}
|
||
| {
|
||
eyebrow?: string | null;
|
||
title: string;
|
||
description: string;
|
||
logo?: (number | null) | Media;
|
||
trustPoints?:
|
||
| {
|
||
icon: 'shield' | 'scale' | 'landmark';
|
||
title: string;
|
||
description: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
linkText?: string | null;
|
||
linkUrl?: string | null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'affiliation';
|
||
}
|
||
| {
|
||
title: string;
|
||
testimonials?:
|
||
| {
|
||
quote: string;
|
||
author: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'testimonials';
|
||
}
|
||
| {
|
||
items: {
|
||
quote: string;
|
||
authorName: string;
|
||
authorRole?: string | null;
|
||
id?: string | null;
|
||
}[];
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'testimonialsGrid';
|
||
}
|
||
| {
|
||
title: string;
|
||
questions?:
|
||
| {
|
||
category?: string | null;
|
||
question: string;
|
||
answer: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
ctaText?: string | null;
|
||
ctaUrl?: string | null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'faqTeaser';
|
||
}
|
||
| {
|
||
title: string;
|
||
subtitle?: string | null;
|
||
questions?:
|
||
| {
|
||
category: string;
|
||
/**
|
||
* Zaznacz, jeśli treść nie jest jeszcze gotowa do publikacji (pytanie nie pojawi się na stronie ani w SEO)
|
||
*/
|
||
isDraft?: boolean | null;
|
||
question: string;
|
||
answer: string;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
ctaText?: string | null;
|
||
ctaUrl?: string | null;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'faqFull';
|
||
}
|
||
| {
|
||
eyebrow?: string | null;
|
||
title: string;
|
||
subtitle?: string | null;
|
||
buttonText: string;
|
||
id?: string | null;
|
||
blockName?: string | null;
|
||
blockType: 'finalCta';
|
||
}
|
||
| {
|
||
text?: {
|
||
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;
|
||
blockName?: string | null;
|
||
blockType: 'TextSection';
|
||
}
|
||
)[]
|
||
| null;
|
||
updatedAt: string;
|
||
createdAt: string;
|
||
}
|
||
/**
|
||
* API keys control which collections, resources, tools, and prompts MCP clients can access
|
||
*
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "payload-mcp-api-keys".
|
||
*/
|
||
export interface PayloadMcpApiKey {
|
||
id: number;
|
||
/**
|
||
* The user that the API key is associated with.
|
||
*/
|
||
user: number | User;
|
||
/**
|
||
* A useful label for the API key.
|
||
*/
|
||
label?: string | null;
|
||
/**
|
||
* The purpose of the API key.
|
||
*/
|
||
description?: string | null;
|
||
updatedAt: string;
|
||
createdAt: string;
|
||
enableAPIKey?: boolean | null;
|
||
apiKey?: string | null;
|
||
apiKeyIndex?: string | null;
|
||
collection: 'payload-mcp-api-keys';
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "payload-kv".
|
||
*/
|
||
export interface PayloadKv {
|
||
id: number;
|
||
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: number;
|
||
document?:
|
||
| ({
|
||
relationTo: 'users';
|
||
value: number | User;
|
||
} | null)
|
||
| ({
|
||
relationTo: 'media';
|
||
value: number | Media;
|
||
} | null)
|
||
| ({
|
||
relationTo: 'pages';
|
||
value: number | Page;
|
||
} | null)
|
||
| ({
|
||
relationTo: 'payload-mcp-api-keys';
|
||
value: number | PayloadMcpApiKey;
|
||
} | null);
|
||
globalSlug?: string | null;
|
||
user:
|
||
| {
|
||
relationTo: 'users';
|
||
value: number | User;
|
||
}
|
||
| {
|
||
relationTo: 'payload-mcp-api-keys';
|
||
value: number | PayloadMcpApiKey;
|
||
};
|
||
updatedAt: string;
|
||
createdAt: string;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "payload-preferences".
|
||
*/
|
||
export interface PayloadPreference {
|
||
id: number;
|
||
user:
|
||
| {
|
||
relationTo: 'users';
|
||
value: number | User;
|
||
}
|
||
| {
|
||
relationTo: 'payload-mcp-api-keys';
|
||
value: number | PayloadMcpApiKey;
|
||
};
|
||
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: number;
|
||
name?: string | null;
|
||
batch?: number | null;
|
||
updatedAt: string;
|
||
createdAt: string;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "users_select".
|
||
*/
|
||
export interface UsersSelect<T extends boolean = true> {
|
||
updatedAt?: T;
|
||
createdAt?: T;
|
||
email?: T;
|
||
resetPasswordToken?: T;
|
||
resetPasswordExpiration?: T;
|
||
salt?: T;
|
||
hash?: 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` "media_select".
|
||
*/
|
||
export interface MediaSelect<T extends boolean = true> {
|
||
alt?: 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` "pages_select".
|
||
*/
|
||
export interface PagesSelect<T extends boolean = true> {
|
||
title?: T;
|
||
slug?: T;
|
||
layout?:
|
||
| T
|
||
| {
|
||
pageHeader?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
subtitle?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
contactInfo?:
|
||
| T
|
||
| {
|
||
address?: T;
|
||
phone?: T;
|
||
email?: T;
|
||
hours?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
bio?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
paragraphs?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
id?: T;
|
||
};
|
||
credentials?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
id?: T;
|
||
};
|
||
image?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
team?:
|
||
| T
|
||
| {
|
||
members?:
|
||
| T
|
||
| {
|
||
name?: T;
|
||
role?: T;
|
||
description?: T;
|
||
photo?: T;
|
||
bookingUrl?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
servicesDetailed?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
subtitle?: T;
|
||
services?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
description?: T;
|
||
icon?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
eligibility?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
subtitle?: T;
|
||
eligibleTitle?: T;
|
||
eligibleItems?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
id?: T;
|
||
};
|
||
limitationsTitle?: T;
|
||
limitationsText?: T;
|
||
excludedTitle?: T;
|
||
excludedItems?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
id?: T;
|
||
};
|
||
legalNotice?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
hero?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
titleAccent?: T;
|
||
subtitle?: T;
|
||
primaryCta?: T;
|
||
secondaryCta?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
url?: T;
|
||
};
|
||
floatingStat?:
|
||
| T
|
||
| {
|
||
value?: T;
|
||
label?: T;
|
||
};
|
||
image?: T;
|
||
imageSecondary?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
stats?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
subtitle?: T;
|
||
items?:
|
||
| T
|
||
| {
|
||
stat?: T;
|
||
label?: T;
|
||
description?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
trustBar?:
|
||
| T
|
||
| {
|
||
items?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
icon?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
uniqueValue?:
|
||
| T
|
||
| {
|
||
eyebrow?: T;
|
||
title?: T;
|
||
description?: T;
|
||
image?: T;
|
||
features?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
servicesList?:
|
||
| T
|
||
| {
|
||
eyebrow?: T;
|
||
title?: T;
|
||
services?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
description?: T;
|
||
linkText?: T;
|
||
linkUrl?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
process?:
|
||
| T
|
||
| {
|
||
eyebrow?: T;
|
||
title?: T;
|
||
subtitle?: T;
|
||
steps?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
description?: T;
|
||
id?: T;
|
||
};
|
||
ctaText?: T;
|
||
ctaUrl?: T;
|
||
image?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
affiliation?:
|
||
| T
|
||
| {
|
||
eyebrow?: T;
|
||
title?: T;
|
||
description?: T;
|
||
logo?: T;
|
||
trustPoints?:
|
||
| T
|
||
| {
|
||
icon?: T;
|
||
title?: T;
|
||
description?: T;
|
||
id?: T;
|
||
};
|
||
linkText?: T;
|
||
linkUrl?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
testimonials?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
testimonials?:
|
||
| T
|
||
| {
|
||
quote?: T;
|
||
author?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
testimonialsGrid?:
|
||
| T
|
||
| {
|
||
items?:
|
||
| T
|
||
| {
|
||
quote?: T;
|
||
authorName?: T;
|
||
authorRole?: T;
|
||
id?: T;
|
||
};
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
faqTeaser?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
questions?:
|
||
| T
|
||
| {
|
||
category?: T;
|
||
question?: T;
|
||
answer?: T;
|
||
id?: T;
|
||
};
|
||
ctaText?: T;
|
||
ctaUrl?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
faqFull?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
subtitle?: T;
|
||
questions?:
|
||
| T
|
||
| {
|
||
category?: T;
|
||
isDraft?: T;
|
||
question?: T;
|
||
answer?: T;
|
||
id?: T;
|
||
};
|
||
ctaText?: T;
|
||
ctaUrl?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
finalCta?:
|
||
| T
|
||
| {
|
||
eyebrow?: T;
|
||
title?: T;
|
||
subtitle?: T;
|
||
buttonText?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
TextSection?:
|
||
| T
|
||
| {
|
||
text?: T;
|
||
id?: T;
|
||
blockName?: T;
|
||
};
|
||
};
|
||
updatedAt?: T;
|
||
createdAt?: T;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "payload-mcp-api-keys_select".
|
||
*/
|
||
export interface PayloadMcpApiKeysSelect<T extends boolean = true> {
|
||
user?: T;
|
||
label?: T;
|
||
description?: T;
|
||
updatedAt?: T;
|
||
createdAt?: T;
|
||
enableAPIKey?: T;
|
||
apiKey?: T;
|
||
apiKeyIndex?: 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` "company".
|
||
*/
|
||
export interface Company {
|
||
id: number;
|
||
address?: string | null;
|
||
phone?: string | null;
|
||
email?: string | null;
|
||
hours?: string | null;
|
||
/**
|
||
* Numer WhatsApp do kontaktu. Wpisz z numerem kierunkowym bez + (np. 48123456789).
|
||
*/
|
||
whatsappNumber?: string | null;
|
||
updatedAt?: string | null;
|
||
createdAt?: string | null;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "header".
|
||
*/
|
||
export interface Header {
|
||
id: number;
|
||
navigation?:
|
||
| {
|
||
page?: (number | null) | Page;
|
||
anchor?: string | null;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
updatedAt?: string | null;
|
||
createdAt?: string | null;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "footer".
|
||
*/
|
||
export interface Footer {
|
||
id: number;
|
||
navigation?:
|
||
| {
|
||
page: number | Page;
|
||
id?: string | null;
|
||
}[]
|
||
| null;
|
||
association?: {
|
||
title?: string | null;
|
||
logo?: (number | null) | Media;
|
||
link?: string | null;
|
||
};
|
||
copyright: string;
|
||
creator: {
|
||
label?: string | null;
|
||
name: string;
|
||
url: string;
|
||
};
|
||
updatedAt?: string | null;
|
||
createdAt?: string | null;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "site-settings".
|
||
*/
|
||
export interface SiteSetting {
|
||
id: number;
|
||
/**
|
||
* Used in page titles and Open Graph metadata.
|
||
*/
|
||
siteName: string;
|
||
/**
|
||
* Which comes first in browser tabs.
|
||
*/
|
||
titleOrder?: ('page-first' | 'site-first') | null;
|
||
/**
|
||
* Separates the page title from the site name in browser tabs.
|
||
*/
|
||
titleSeparator?: ('|' | '–' | '-' | '·' | '/') | null;
|
||
/**
|
||
* Primary site logo. Also used for Organization structured data (buildOrganizationJsonLd).
|
||
*/
|
||
logo?: (number | null) | Media;
|
||
/**
|
||
* Fallback Open Graph image when a page has none.
|
||
*/
|
||
defaultShareImage?: (number | null) | Media;
|
||
/**
|
||
* Square icon, PNG or SVG, min. 48×48px (Google requires this to show it in search). Rendered via buildIconsMetadata.
|
||
*/
|
||
favicon?: (number | null) | Media;
|
||
/**
|
||
* Theme applied on a visitor’s first visit.
|
||
*/
|
||
defaultTheme: 'light' | 'dark';
|
||
/**
|
||
* Show a light/dark switch on the site.
|
||
*/
|
||
allowThemeToggle?: boolean | null;
|
||
/**
|
||
* Page served at the locale root (e.g. /pl, /en).
|
||
*/
|
||
homepage?: (number | null) | Page;
|
||
/**
|
||
* Page linked as the privacy policy.
|
||
*/
|
||
privacyPolicy?: (number | null) | Page;
|
||
/**
|
||
* Page linked from the cookie consent banner.
|
||
*/
|
||
cookiePolicy?: (number | null) | Page;
|
||
/**
|
||
* Page linked as the terms of service / site regulations.
|
||
*/
|
||
termsOfService?: (number | null) | Page;
|
||
updatedAt?: string | null;
|
||
createdAt?: string | null;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "site-integrations".
|
||
*/
|
||
export interface SiteIntegration {
|
||
id: number;
|
||
/**
|
||
* Google Analytics 4 Measurement ID.
|
||
*/
|
||
ga4MeasurementId?: string | null;
|
||
/**
|
||
* Google Tag Manager container ID.
|
||
*/
|
||
gtmContainerId?: string | null;
|
||
/**
|
||
* Public site key rendered in the Turnstile widget.
|
||
*/
|
||
turnstileSiteKey?: string | null;
|
||
/**
|
||
* Secret key used for server-side verification.
|
||
*/
|
||
turnstileSecretKey?: string | null;
|
||
/**
|
||
* How outbound email is sent. "Microsoft Graph" is only available when configured by the administrator (Intecion).
|
||
*/
|
||
emailTransport?: ('smtp' | 'graph') | null;
|
||
smtpHost?: string | null;
|
||
smtpPort?: number | null;
|
||
/**
|
||
* SMTP account username.
|
||
*/
|
||
smtpUser?: string | null;
|
||
/**
|
||
* SMTP account password.
|
||
*/
|
||
smtpPassword?: string | null;
|
||
/**
|
||
* Default "from" address for outgoing mail.
|
||
*/
|
||
smtpFromAddress?: string | null;
|
||
/**
|
||
* Default "from" display name.
|
||
*/
|
||
smtpFromName?: 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: number;
|
||
/**
|
||
* Main consent message shown in the banner.
|
||
*/
|
||
message?: string | null;
|
||
/**
|
||
* Heading for the detailed settings panel.
|
||
*/
|
||
settingsTitle?: string | null;
|
||
/**
|
||
* Button labels.
|
||
*/
|
||
buttons?: {
|
||
acceptAll?: string | null;
|
||
reject?: string | null;
|
||
settings?: string | null;
|
||
save?: string | null;
|
||
back?: string | null;
|
||
};
|
||
/**
|
||
* Per-category titles and descriptions.
|
||
*/
|
||
categories?:
|
||
| {
|
||
key: 'necessary' | 'functional' | 'analytics' | 'marketing';
|
||
title?: string | null;
|
||
description?: 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: number;
|
||
/**
|
||
* Messages shown after a form is submitted. Leave a field empty to use the built-in default.
|
||
*/
|
||
form?: {
|
||
success?: string | null;
|
||
error?: string | null;
|
||
rateLimited?: string | null;
|
||
turnstile?: string | null;
|
||
/**
|
||
* Shown on a validation error. Use {field} to insert the offending field name.
|
||
*/
|
||
validation?: string | null;
|
||
/**
|
||
* Shown when the GDPR consent checkbox is left unchecked.
|
||
*/
|
||
consent?: string | null;
|
||
notFound?: string | null;
|
||
};
|
||
updatedAt?: string | null;
|
||
createdAt?: string | null;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "company_select".
|
||
*/
|
||
export interface CompanySelect<T extends boolean = true> {
|
||
address?: T;
|
||
phone?: T;
|
||
email?: T;
|
||
hours?: T;
|
||
whatsappNumber?: T;
|
||
updatedAt?: T;
|
||
createdAt?: T;
|
||
globalType?: T;
|
||
}
|
||
/**
|
||
* This interface was referenced by `Config`'s JSON-Schema
|
||
* via the `definition` "header_select".
|
||
*/
|
||
export interface HeaderSelect<T extends boolean = true> {
|
||
navigation?:
|
||
| T
|
||
| {
|
||
page?: T;
|
||
anchor?: T;
|
||
id?: 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> {
|
||
navigation?:
|
||
| T
|
||
| {
|
||
page?: T;
|
||
id?: T;
|
||
};
|
||
association?:
|
||
| T
|
||
| {
|
||
title?: T;
|
||
logo?: T;
|
||
link?: T;
|
||
};
|
||
copyright?: T;
|
||
creator?:
|
||
| T
|
||
| {
|
||
label?: T;
|
||
name?: T;
|
||
url?: 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;
|
||
titleOrder?: T;
|
||
titleSeparator?: T;
|
||
logo?: T;
|
||
defaultShareImage?: T;
|
||
favicon?: T;
|
||
defaultTheme?: T;
|
||
allowThemeToggle?: T;
|
||
homepage?: T;
|
||
privacyPolicy?: T;
|
||
cookiePolicy?: T;
|
||
termsOfService?: 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;
|
||
turnstileSiteKey?: T;
|
||
turnstileSecretKey?: T;
|
||
emailTransport?: T;
|
||
smtpHost?: T;
|
||
smtpPort?: T;
|
||
smtpUser?: T;
|
||
smtpPassword?: T;
|
||
smtpFromAddress?: T;
|
||
smtpFromName?: 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> {
|
||
message?: T;
|
||
settingsTitle?: T;
|
||
buttons?:
|
||
| T
|
||
| {
|
||
acceptAll?: T;
|
||
reject?: T;
|
||
settings?: T;
|
||
save?: T;
|
||
back?: T;
|
||
};
|
||
categories?:
|
||
| T
|
||
| {
|
||
key?: T;
|
||
title?: T;
|
||
description?: 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;
|
||
rateLimited?: T;
|
||
turnstile?: T;
|
||
validation?: T;
|
||
consent?: T;
|
||
notFound?: 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 {}
|
||
} |