church-website/src/payload-types.ts

2140 lines
No EOL
49 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;
};
blocks: {};
collections: {
parish: Parish;
church: Church;
worship: Worship;
popePrayerIntentions: PopePrayerIntention;
announcement: Announcement;
calendar: Calendar;
blog: Blog;
highlight: Highlight;
event: Event;
classifieds: Classified;
contactPerson: ContactPerson;
locations: Location;
group: Group;
'donation-form': DonationForm;
pages: Page;
prayers: Prayer;
magazine: Magazine;
documents: Document;
media: Media;
users: User;
'payload-kv': PayloadKv;
'payload-locked-documents': PayloadLockedDocument;
'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration;
};
collectionsJoins: {};
collectionsSelect: {
parish: ParishSelect<false> | ParishSelect<true>;
church: ChurchSelect<false> | ChurchSelect<true>;
worship: WorshipSelect<false> | WorshipSelect<true>;
popePrayerIntentions: PopePrayerIntentionsSelect<false> | PopePrayerIntentionsSelect<true>;
announcement: AnnouncementSelect<false> | AnnouncementSelect<true>;
calendar: CalendarSelect<false> | CalendarSelect<true>;
blog: BlogSelect<false> | BlogSelect<true>;
highlight: HighlightSelect<false> | HighlightSelect<true>;
event: EventSelect<false> | EventSelect<true>;
classifieds: ClassifiedsSelect<false> | ClassifiedsSelect<true>;
contactPerson: ContactPersonSelect<false> | ContactPersonSelect<true>;
locations: LocationsSelect<false> | LocationsSelect<true>;
group: GroupSelect<false> | GroupSelect<true>;
'donation-form': DonationFormSelect<false> | DonationFormSelect<true>;
pages: PagesSelect<false> | PagesSelect<true>;
prayers: PrayersSelect<false> | PrayersSelect<true>;
magazine: MagazineSelect<false> | MagazineSelect<true>;
documents: DocumentsSelect<false> | DocumentsSelect<true>;
media: MediaSelect<false> | MediaSelect<true>;
users: UsersSelect<false> | UsersSelect<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: null;
globals: {
menu: Menu;
footer: Footer;
design: Design;
'site-config': SiteConfig;
};
globalsSelect: {
menu: MenuSelect<false> | MenuSelect<true>;
footer: FooterSelect<false> | FooterSelect<true>;
design: DesignSelect<false> | DesignSelect<true>;
'site-config': SiteConfigSelect<false> | SiteConfigSelect<true>;
};
locale: null;
user: User & {
collection: 'users';
};
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` "parish".
*/
export interface Parish {
id: string;
name: string;
slug: string;
churches: (string | Church)[];
contactPersons?:
| {
title: string;
description: string;
id?: string | null;
}[]
| null;
description: string;
history: string;
content?:
| (
| {
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;
};
width: '1/2' | '3/4';
id?: string | null;
blockName?: string | null;
blockType: 'text';
}
| {
file: string | Document;
button: string;
id?: string | null;
blockName?: string | null;
blockType: 'document';
}
| {
id?: string | null;
blockName?: string | null;
blockType: 'donation';
}
| {
youtube_id: string;
id?: string | null;
blockName?: string | null;
blockType: 'youtube';
}
| {
id?: string | null;
blockName?: string | null;
blockType: 'donationAppeal';
}
)[]
| null;
contact: string;
photo: string | Media;
gallery?:
| {
photo: string | Media;
id?: string | null;
}[]
| null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "church".
*/
export interface Church {
id: string;
name: string;
address: string;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "documents".
*/
export interface Document {
id: string;
prefix?: 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` "media".
*/
export interface Media {
id: string;
alt: string;
search?: string | null;
copyrights: {
source: string;
publicWithoutName: boolean;
consent: boolean;
};
prefix?: 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;
sizes?: {
thumbnail?: {
url?: string | null;
width?: number | null;
height?: number | null;
mimeType?: string | null;
filesize?: number | null;
filename?: string | null;
};
banner?: {
url?: string | null;
width?: number | null;
height?: number | null;
mimeType?: string | null;
filesize?: number | null;
filename?: string | null;
};
gallery?: {
url?: string | null;
width?: number | null;
height?: number | null;
mimeType?: string | null;
filesize?: number | null;
filename?: string | null;
};
tablet?: {
url?: string | null;
width?: number | null;
height?: number | null;
mimeType?: string | null;
filesize?: number | null;
filename?: string | null;
};
};
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "worship".
*/
export interface Worship {
id: string;
date: string;
location: string | Church;
type: 'MASS' | 'FAMILY' | 'WORD';
title?: string | null;
cancelled: boolean;
liturgicalDay?: string | null;
celebrant?: string | null;
description?: string | null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "popePrayerIntentions".
*/
export interface PopePrayerIntention {
id: string;
year: number;
month: '01' | '02' | '03' | '04' | '05' | '06' | '07' | '08' | '09' | '10' | '11' | '12';
title: string;
prayer: string;
updatedAt: string;
createdAt: string;
}
/**
* Die Vermeldungen werden jeden Samstag automatisch veröffentlicht.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "announcement".
*/
export interface Announcement {
id: string;
date: string;
parish: (string | Parish)[];
document: string | Document;
updatedAt: string;
createdAt: string;
}
/**
* Der Kalender wird jeden Samstag automatisch veröffentlicht.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "calendar".
*/
export interface Calendar {
id: string;
date: string;
parish: (string | Parish)[];
document: string | Document;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "blog".
*/
export interface Blog {
id: string;
photo?: (string | null) | Media;
title: string;
content: {
excerpt: string;
content: (
| {
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;
};
width: '1/2' | '3/4';
id?: string | null;
blockName?: string | null;
blockType: 'text';
}
| {
file: string | Document;
button: string;
id?: string | null;
blockName?: string | null;
blockType: 'document';
}
| {
id?: string | null;
blockName?: string | null;
blockType: 'donation';
}
| {
title: string;
description: string;
email: string;
id?: string | null;
blockName?: string | null;
blockType: 'contactform';
}
| {
items: {
photo: string | Media;
id?: string | null;
}[];
id?: string | null;
blockName?: string | null;
blockType: 'gallery';
}
| {
youtube_id: string;
id?: string | null;
blockName?: string | null;
blockType: 'youtube';
}
| {
text: string;
url: string;
id?: string | null;
blockName?: string | null;
blockType: 'button';
}
)[];
};
configuration: {
showOnFrontpage: boolean;
displayFromDate?: string | null;
displayTillDate?: string | null;
parish?: (string | Parish)[] | null;
};
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "highlight".
*/
export interface Highlight {
id: string;
from: string;
until: string;
date: string;
link?:
| ({
relationTo: 'event';
value: string | Event;
} | null)
| ({
relationTo: 'blog';
value: string | Blog;
} | null)
| ({
relationTo: 'worship';
value: string | Worship;
} | null);
text: string;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "event".
*/
export interface Event {
id: string;
title: string;
date: string;
location: string | Location;
parish?: (string | Parish)[] | null;
group?: (string | Group)[] | null;
contact?: (string | null) | ContactPerson;
shortDescription: string;
description: string;
rsvpLink?: string | null;
photo?: (string | null) | Media;
flyer?: (string | null) | Document;
cancelled: boolean;
isRecurring: boolean;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "locations".
*/
export interface Location {
id: string;
name: string;
address?: string | null;
/**
* @minItems 2
* @maxItems 2
*/
coordinates?: [number, number] | null;
notes?: string | null;
barrierFree?: boolean | null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "group".
*/
export interface Group {
id: string;
photo?: (string | null) | Media;
name: string;
slug: string;
shortDescription: string;
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;
content?:
| (
| {
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;
};
width: '1/2' | '3/4';
id?: string | null;
blockName?: string | null;
blockType: 'text';
}
| {
items: {
photo: string | Media;
id?: string | null;
}[];
id?: string | null;
blockName?: string | null;
blockType: 'gallery';
}
| {
file: string | Document;
button: string;
id?: string | null;
blockName?: string | null;
blockType: 'document';
}
| {
id?: string | null;
blockName?: string | null;
blockType: 'donation';
}
| {
youtube_id: string;
id?: string | null;
blockName?: string | null;
blockType: 'youtube';
}
| {
title: string;
description: string;
email: string;
id?: string | null;
blockName?: string | null;
blockType: 'contactform';
}
| {
text: string;
url: string;
id?: string | null;
blockName?: string | null;
blockType: 'button';
}
)[]
| null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "contactPerson".
*/
export interface ContactPerson {
id: string;
photo?: (string | null) | Media;
name: string;
email?: string | null;
telephone?: string | null;
updatedAt: string;
createdAt: string;
}
/**
* Dieser Bereich des Dashboards ermöglicht die umfassende Verwaltung aller veröffentlichten Kleinanzeigen für freiwillige Tätigkeiten. Hier können Administratoren Inserate einsehen, bearbeiten, veröffentlichen und entfernen, um die Qualität und Relevanz der angebotenen Möglichkeiten sicherzustellen.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "classifieds".
*/
export interface Classified {
id: string;
until: string;
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;
};
email: string;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "donation-form".
*/
export interface DonationForm {
id: string;
photo: string | Media;
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;
};
url: string;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "pages".
*/
export interface Page {
id: string;
title: string;
description?: string | null;
/**
* URL-Pfad der Seite (z.B. "meine-seite" → /meine-seite)
*/
slug: string;
content?:
| (
| {
title: string;
description: string;
image?: (string | null) | Media;
id?: string | null;
blockName?: string | null;
blockType: 'pageHeader';
}
| {
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;
};
width: '1/2' | '3/4';
id?: string | null;
blockName?: string | null;
blockType: 'text';
}
| {
title: string;
subtitle?: string | null;
size?: ('xl' | 'lg' | 'md' | 'sm') | null;
align?: ('left' | 'center') | null;
id?: string | null;
blockName?: string | null;
blockType: 'title';
}
| {
backgroundColor?: ('none' | 'soft' | 'off-white') | null;
padding?: ('small' | 'medium' | 'large') | null;
id?: string | null;
blockName?: string | null;
blockType: 'section';
}
| {
items: {
photo: string | Media;
id?: string | null;
}[];
id?: string | null;
blockName?: string | null;
blockType: 'gallery';
}
| {
file: string | Document;
button: string;
id?: string | null;
blockName?: string | null;
blockType: 'document';
}
| {
youtube_id: string;
id?: string | null;
blockName?: string | null;
blockType: 'youtube';
}
| {
text: string;
url: string;
id?: string | null;
blockName?: string | null;
blockType: 'button';
}
| {
title: string;
description: string;
email: string;
id?: string | null;
blockName?: string | null;
blockType: 'contactform';
}
| {
id?: string | null;
blockName?: string | null;
blockType: 'donation';
}
| {
textLine1?: string | null;
textLine2?: string | null;
textLine3?: string | null;
backgroundColor?: string | null;
backgroundImage?: (string | null) | Media;
backgroundPosition?:
| (
| 'center center'
| 'top center'
| 'bottom center'
| 'center left'
| 'center right'
| 'top left'
| 'top right'
| 'bottom left'
| 'bottom right'
)
| null;
backgroundSize?: ('cover' | 'contain' | 'auto') | null;
id?: string | null;
blockName?: string | null;
blockType: 'banner';
}
| {
text: string;
id?: string | null;
blockName?: string | null;
blockType: 'mainText';
}
| {
color: 'base' | 'shade1' | 'shade2' | 'shade3' | 'contrast' | 'contrastShade1';
id?: string | null;
blockName?: string | null;
blockType: 'horizontalRule';
}
| {
title?: string | null;
id?: string | null;
blockName?: string | null;
blockType: 'blogSlider';
}
| {
title?: string | null;
subtitle?: string | null;
id?: string | null;
blockName?: string | null;
blockType: 'massTimes';
}
| {
title: string;
text: string;
image: string | Media;
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;
};
backgroundColor?: ('none' | 'soft' | 'off-white') | null;
schema?: ('base' | 'contrast') | null;
id?: string | null;
blockName?: string | null;
blockType: 'collapsibleImageWithText';
}
| {
title?: string | null;
itemsPerPage?: number | null;
id?: string | null;
blockName?: string | null;
blockType: 'events';
}
| {
id?: string | null;
blockName?: string | null;
blockType: 'publicationAndNewsletter';
}
)[]
| null;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "prayers".
*/
export interface Prayer {
id: string;
text: string;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "magazine".
*/
export interface Magazine {
id: string;
cover: string | Media;
document: string | Document;
date: string;
updatedAt: string;
createdAt: string;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "users".
*/
export interface User {
id: string;
name: string;
roles: 'user' | 'employee' | 'admin';
groups?: (string | Group)[] | null;
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;
}
/**
* 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: 'parish';
value: string | Parish;
} | null)
| ({
relationTo: 'church';
value: string | Church;
} | null)
| ({
relationTo: 'worship';
value: string | Worship;
} | null)
| ({
relationTo: 'popePrayerIntentions';
value: string | PopePrayerIntention;
} | null)
| ({
relationTo: 'announcement';
value: string | Announcement;
} | null)
| ({
relationTo: 'calendar';
value: string | Calendar;
} | null)
| ({
relationTo: 'blog';
value: string | Blog;
} | null)
| ({
relationTo: 'highlight';
value: string | Highlight;
} | null)
| ({
relationTo: 'event';
value: string | Event;
} | null)
| ({
relationTo: 'classifieds';
value: string | Classified;
} | null)
| ({
relationTo: 'contactPerson';
value: string | ContactPerson;
} | null)
| ({
relationTo: 'locations';
value: string | Location;
} | null)
| ({
relationTo: 'group';
value: string | Group;
} | null)
| ({
relationTo: 'donation-form';
value: string | DonationForm;
} | null)
| ({
relationTo: 'pages';
value: string | Page;
} | null)
| ({
relationTo: 'prayers';
value: string | Prayer;
} | null)
| ({
relationTo: 'magazine';
value: string | Magazine;
} | null)
| ({
relationTo: 'documents';
value: string | Document;
} | null)
| ({
relationTo: 'media';
value: string | Media;
} | null)
| ({
relationTo: 'users';
value: string | User;
} | 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` "parish_select".
*/
export interface ParishSelect<T extends boolean = true> {
name?: T;
slug?: T;
churches?: T;
contactPersons?:
| T
| {
title?: T;
description?: T;
id?: T;
};
description?: T;
history?: T;
content?:
| T
| {
text?:
| T
| {
content?: T;
width?: T;
id?: T;
blockName?: T;
};
document?:
| T
| {
file?: T;
button?: T;
id?: T;
blockName?: T;
};
donation?:
| T
| {
id?: T;
blockName?: T;
};
youtube?:
| T
| {
youtube_id?: T;
id?: T;
blockName?: T;
};
donationAppeal?:
| T
| {
id?: T;
blockName?: T;
};
};
contact?: T;
photo?: T;
gallery?:
| T
| {
photo?: T;
id?: T;
};
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "church_select".
*/
export interface ChurchSelect<T extends boolean = true> {
name?: T;
address?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "worship_select".
*/
export interface WorshipSelect<T extends boolean = true> {
date?: T;
location?: T;
type?: T;
title?: T;
cancelled?: T;
liturgicalDay?: T;
celebrant?: T;
description?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "popePrayerIntentions_select".
*/
export interface PopePrayerIntentionsSelect<T extends boolean = true> {
year?: T;
month?: T;
title?: T;
prayer?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "announcement_select".
*/
export interface AnnouncementSelect<T extends boolean = true> {
date?: T;
parish?: T;
document?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "calendar_select".
*/
export interface CalendarSelect<T extends boolean = true> {
date?: T;
parish?: T;
document?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "blog_select".
*/
export interface BlogSelect<T extends boolean = true> {
photo?: T;
title?: T;
content?:
| T
| {
excerpt?: T;
content?:
| T
| {
text?:
| T
| {
content?: T;
width?: T;
id?: T;
blockName?: T;
};
document?:
| T
| {
file?: T;
button?: T;
id?: T;
blockName?: T;
};
donation?:
| T
| {
id?: T;
blockName?: T;
};
contactform?:
| T
| {
title?: T;
description?: T;
email?: T;
id?: T;
blockName?: T;
};
gallery?:
| T
| {
items?:
| T
| {
photo?: T;
id?: T;
};
id?: T;
blockName?: T;
};
youtube?:
| T
| {
youtube_id?: T;
id?: T;
blockName?: T;
};
button?:
| T
| {
text?: T;
url?: T;
id?: T;
blockName?: T;
};
};
};
configuration?:
| T
| {
showOnFrontpage?: T;
displayFromDate?: T;
displayTillDate?: T;
parish?: T;
};
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "highlight_select".
*/
export interface HighlightSelect<T extends boolean = true> {
from?: T;
until?: T;
date?: T;
link?: T;
text?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "event_select".
*/
export interface EventSelect<T extends boolean = true> {
title?: T;
date?: T;
location?: T;
parish?: T;
group?: T;
contact?: T;
shortDescription?: T;
description?: T;
rsvpLink?: T;
photo?: T;
flyer?: T;
cancelled?: T;
isRecurring?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "classifieds_select".
*/
export interface ClassifiedsSelect<T extends boolean = true> {
until?: T;
text?: T;
email?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "contactPerson_select".
*/
export interface ContactPersonSelect<T extends boolean = true> {
photo?: T;
name?: T;
email?: T;
telephone?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "locations_select".
*/
export interface LocationsSelect<T extends boolean = true> {
name?: T;
address?: T;
coordinates?: T;
notes?: T;
barrierFree?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "group_select".
*/
export interface GroupSelect<T extends boolean = true> {
photo?: T;
name?: T;
slug?: T;
shortDescription?: T;
text?: T;
content?:
| T
| {
text?:
| T
| {
content?: T;
width?: T;
id?: T;
blockName?: T;
};
gallery?:
| T
| {
items?:
| T
| {
photo?: T;
id?: T;
};
id?: T;
blockName?: T;
};
document?:
| T
| {
file?: T;
button?: T;
id?: T;
blockName?: T;
};
donation?:
| T
| {
id?: T;
blockName?: T;
};
youtube?:
| T
| {
youtube_id?: T;
id?: T;
blockName?: T;
};
contactform?:
| T
| {
title?: T;
description?: T;
email?: T;
id?: T;
blockName?: T;
};
button?:
| T
| {
text?: T;
url?: T;
id?: T;
blockName?: T;
};
};
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "donation-form_select".
*/
export interface DonationFormSelect<T extends boolean = true> {
photo?: T;
text?: T;
url?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "pages_select".
*/
export interface PagesSelect<T extends boolean = true> {
title?: T;
description?: T;
slug?: T;
content?:
| T
| {
pageHeader?:
| T
| {
title?: T;
description?: T;
image?: T;
id?: T;
blockName?: T;
};
text?:
| T
| {
content?: T;
width?: T;
id?: T;
blockName?: T;
};
title?:
| T
| {
title?: T;
subtitle?: T;
size?: T;
align?: T;
id?: T;
blockName?: T;
};
section?:
| T
| {
backgroundColor?: T;
padding?: T;
id?: T;
blockName?: T;
};
gallery?:
| T
| {
items?:
| T
| {
photo?: T;
id?: T;
};
id?: T;
blockName?: T;
};
document?:
| T
| {
file?: T;
button?: T;
id?: T;
blockName?: T;
};
youtube?:
| T
| {
youtube_id?: T;
id?: T;
blockName?: T;
};
button?:
| T
| {
text?: T;
url?: T;
id?: T;
blockName?: T;
};
contactform?:
| T
| {
title?: T;
description?: T;
email?: T;
id?: T;
blockName?: T;
};
donation?:
| T
| {
id?: T;
blockName?: T;
};
banner?:
| T
| {
textLine1?: T;
textLine2?: T;
textLine3?: T;
backgroundColor?: T;
backgroundImage?: T;
backgroundPosition?: T;
backgroundSize?: T;
id?: T;
blockName?: T;
};
mainText?:
| T
| {
text?: T;
id?: T;
blockName?: T;
};
horizontalRule?:
| T
| {
color?: T;
id?: T;
blockName?: T;
};
blogSlider?:
| T
| {
title?: T;
id?: T;
blockName?: T;
};
massTimes?:
| T
| {
title?: T;
subtitle?: T;
id?: T;
blockName?: T;
};
collapsibleImageWithText?:
| T
| {
title?: T;
text?: T;
image?: T;
content?: T;
backgroundColor?: T;
schema?: T;
id?: T;
blockName?: T;
};
events?:
| T
| {
title?: T;
itemsPerPage?: T;
id?: T;
blockName?: T;
};
publicationAndNewsletter?:
| T
| {
id?: T;
blockName?: T;
};
};
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "prayers_select".
*/
export interface PrayersSelect<T extends boolean = true> {
text?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "magazine_select".
*/
export interface MagazineSelect<T extends boolean = true> {
cover?: T;
document?: T;
date?: T;
updatedAt?: T;
createdAt?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "documents_select".
*/
export interface DocumentsSelect<T extends boolean = true> {
prefix?: 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` "media_select".
*/
export interface MediaSelect<T extends boolean = true> {
alt?: T;
search?: T;
copyrights?:
| T
| {
source?: T;
publicWithoutName?: T;
consent?: T;
};
prefix?: T;
updatedAt?: T;
createdAt?: T;
url?: T;
thumbnailURL?: T;
filename?: T;
mimeType?: T;
filesize?: T;
width?: T;
height?: T;
focalX?: T;
focalY?: T;
sizes?:
| T
| {
thumbnail?:
| T
| {
url?: T;
width?: T;
height?: T;
mimeType?: T;
filesize?: T;
filename?: T;
};
banner?:
| T
| {
url?: T;
width?: T;
height?: T;
mimeType?: T;
filesize?: T;
filename?: T;
};
gallery?:
| T
| {
url?: T;
width?: T;
height?: T;
mimeType?: T;
filesize?: T;
filename?: T;
};
tablet?:
| T
| {
url?: T;
width?: T;
height?: T;
mimeType?: T;
filesize?: T;
filename?: T;
};
};
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "users_select".
*/
export interface UsersSelect<T extends boolean = true> {
name?: T;
roles?: T;
groups?: T;
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` "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;
}
/**
* Hier können Sie die Einträge und die Reihenfolge der Hauptnavigation festlegen.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "menu".
*/
export interface Menu {
id: string;
leftItems: (
| {
text: string;
href: string;
type: 'default' | 'button';
id?: string | null;
blockName?: string | null;
blockType: 'simple-item';
}
| {
text: string;
quote: string;
source: string;
groups: {
title: string;
items: {
title: string;
description: string;
href: string;
id?: string | null;
}[];
id?: string | null;
}[];
id?: string | null;
blockName?: string | null;
blockType: 'mega-menu';
}
)[];
rightItems: (
| {
text: string;
href: string;
type: 'default' | 'button';
id?: string | null;
blockName?: string | null;
blockType: 'simple-item';
}
| {
text: string;
quote: string;
source: string;
groups: {
title: string;
items: {
title: string;
description: string;
href: string;
id?: string | null;
}[];
id?: string | null;
}[];
id?: string | null;
blockName?: string | null;
blockType: 'mega-menu';
}
)[];
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* Hier können Sie die Linkgruppen im Fußzeile konfigurieren.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "footer".
*/
export interface Footer {
id: string;
groups?:
| {
title: string;
links?:
| {
label: string;
href: string;
id?: string | null;
}[]
| null;
id?: string | null;
}[]
| null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* Hier können Sie die Farben und das Erscheinungsbild der Website konfigurieren.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "design".
*/
export interface Design {
id: string;
baseColor?: string | null;
shade1?: string | null;
shade2?: string | null;
shade3?: string | null;
contrastColor?: string | null;
contrastShade1?: string | null;
/**
* Die Hauptschrift für den gesamten Text der Website.
*/
defaultFont?:
| (
| 'cairo'
| 'roboto'
| 'openSans'
| 'lato'
| 'nunito'
| 'raleway'
| 'faustina'
| 'merriweather'
| 'sourceSans3'
| 'playfairDisplay'
| 'lora'
| 'crimsonText'
| 'ebGaramond'
)
| null;
/**
* Die Schrift für Überschriften und hervorgehobenen Text.
*/
headerFont?:
| (
| 'cairo'
| 'roboto'
| 'openSans'
| 'lato'
| 'nunito'
| 'raleway'
| 'faustina'
| 'merriweather'
| 'sourceSans3'
| 'playfairDisplay'
| 'lora'
| 'crimsonText'
| 'ebGaramond'
)
| null;
borderRadius?: string | null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* Hier können Sie den Namen, die Beschreibung und andere allgemeine Einstellungen der Website konfigurieren.
*
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "site-config".
*/
export interface SiteConfig {
id: string;
name: string;
/**
* Wird im Browser-Tab als Suffix verwendet (z.B. "Seite | Hl. Drei Könige").
*/
shortName: string;
/**
* Meta-Beschreibung für Suchmaschinen.
*/
description: string;
url: string;
/**
* Pfad zum Vorschaubild für soziale Medien.
*/
ogImage?: string | null;
/**
* Standard-E-Mail-Adresse für Kontaktformulare.
*/
email: string;
/**
* SEO-Schlüsselwörter für Suchmaschinen.
*/
keywords?:
| {
keyword: string;
id?: string | null;
}[]
| null;
updatedAt?: string | null;
createdAt?: string | null;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "menu_select".
*/
export interface MenuSelect<T extends boolean = true> {
leftItems?:
| T
| {
'simple-item'?:
| T
| {
text?: T;
href?: T;
type?: T;
id?: T;
blockName?: T;
};
'mega-menu'?:
| T
| {
text?: T;
quote?: T;
source?: T;
groups?:
| T
| {
title?: T;
items?:
| T
| {
title?: T;
description?: T;
href?: T;
id?: T;
};
id?: T;
};
id?: T;
blockName?: T;
};
};
rightItems?:
| T
| {
'simple-item'?:
| T
| {
text?: T;
href?: T;
type?: T;
id?: T;
blockName?: T;
};
'mega-menu'?:
| T
| {
text?: T;
quote?: T;
source?: T;
groups?:
| T
| {
title?: T;
items?:
| T
| {
title?: T;
description?: T;
href?: T;
id?: T;
};
id?: T;
};
id?: T;
blockName?: 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> {
groups?:
| T
| {
title?: T;
links?:
| T
| {
label?: T;
href?: T;
id?: T;
};
id?: T;
};
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "design_select".
*/
export interface DesignSelect<T extends boolean = true> {
baseColor?: T;
shade1?: T;
shade2?: T;
shade3?: T;
contrastColor?: T;
contrastShade1?: T;
defaultFont?: T;
headerFont?: T;
borderRadius?: T;
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "site-config_select".
*/
export interface SiteConfigSelect<T extends boolean = true> {
name?: T;
shortName?: T;
description?: T;
url?: T;
ogImage?: T;
email?: T;
keywords?:
| T
| {
keyword?: T;
id?: T;
};
updatedAt?: T;
createdAt?: T;
globalType?: T;
}
/**
* 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 {}
}