/* 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: { mediaBlock: MediaBlock; }; collections: { users: User; pages: Page; posts: Post; ssr: Ssr; 'ssr-autosave': SsrAutosave; tenants: Tenant; categories: Category; media: Media; 'collection-level-config': CollectionLevelConfig; 'static-url': StaticUrl; 'payload-locked-documents': PayloadLockedDocument; 'payload-preferences': PayloadPreference; 'payload-migrations': PayloadMigration; }; collectionsJoins: {}; collectionsSelect: { users: UsersSelect | UsersSelect; pages: PagesSelect | PagesSelect; posts: PostsSelect | PostsSelect; ssr: SsrSelect | SsrSelect; 'ssr-autosave': SsrAutosaveSelect | SsrAutosaveSelect; tenants: TenantsSelect | TenantsSelect; categories: CategoriesSelect | CategoriesSelect; media: MediaSelect | MediaSelect; 'collection-level-config': CollectionLevelConfigSelect | CollectionLevelConfigSelect; 'static-url': StaticUrlSelect | StaticUrlSelect; 'payload-locked-documents': PayloadLockedDocumentsSelect | PayloadLockedDocumentsSelect; 'payload-preferences': PayloadPreferencesSelect | PayloadPreferencesSelect; 'payload-migrations': PayloadMigrationsSelect | PayloadMigrationsSelect; }; db: { defaultIDType: string; }; globals: { header: Header; footer: Footer; }; globalsSelect: { header: HeaderSelect | HeaderSelect; footer: FooterSelect | FooterSelect; }; locale: 'en' | 'es'; 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` "mediaBlock". */ export interface MediaBlock { invertBackground?: boolean | null; position?: ('default' | 'fullscreen') | null; media: string | Media; id?: string | null; blockName?: string | null; blockType: 'mediaBlock'; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "media". */ export interface Media { id: string; 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` "users". */ export interface User { id: string; 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` "pages". */ export interface Page { id: string; slug: string; tenant?: (string | null) | Tenant; title: string; hero: { type: 'none' | 'highImpact' | 'lowImpact'; richText?: | { [k: string]: unknown; }[] | null; media?: (string | null) | Media; }; layout?: | ( | { invertBackground?: boolean | null; richText?: | { [k: string]: unknown; }[] | null; links?: | { link: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'cta'; } | { invertBackground?: boolean | null; columns?: | { size?: ('oneThird' | 'half' | 'twoThirds' | 'full') | null; richText?: | { [k: string]: unknown; }[] | null; enableLink?: boolean | null; link?: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('default' | 'primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'content'; } | { invertBackground?: boolean | null; position?: ('default' | 'fullscreen') | null; media: string | Media; id?: string | null; blockName?: string | null; blockType: 'mediaBlock'; } | { introContent?: | { [k: string]: unknown; }[] | null; populateBy?: ('collection' | 'selection') | null; relationTo?: 'posts' | null; categories?: (string | Category)[] | null; limit?: number | null; selectedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocsTotal?: number | null; id?: string | null; blockName?: string | null; blockType: 'archive'; } )[] | null; localizedTitle?: string | null; relationToLocalized?: (string | null) | Post; richTextSlate?: | { [k: string]: unknown; }[] | null; richTextLexical?: { 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; richTextLexicalLocalized?: { 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; relationshipAsUpload?: (string | null) | Media; relationshipMonoHasOne?: (string | null) | Post; relationshipMonoHasMany?: (string | Post)[] | null; relationshipPolyHasOne?: { relationTo: 'posts'; value: string | Post; } | null; relationshipPolyHasMany?: | { relationTo: 'posts'; value: string | Post; }[] | null; arrayOfRelationships?: | { uploadInArray?: (string | null) | Media; richTextInArray?: { 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; relationshipInArrayMonoHasOne?: (string | null) | Post; relationshipInArrayMonoHasMany?: (string | Post)[] | null; relationshipInArrayPolyHasOne?: { relationTo: 'posts'; value: string | Post; } | null; relationshipInArrayPolyHasMany?: | { relationTo: 'posts'; value: string | Post; }[] | null; id?: string | null; }[] | null; tab?: { relationshipInTab?: (string | null) | Post; }; meta?: { title?: string | null; description?: string | null; image?: (string | null) | Media; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "tenants". */ export interface Tenant { id: string; title: string; clientURL: string; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "posts". */ export interface Post { id: string; slug: string; tenant?: (string | null) | Tenant; title: string; hero: { type: 'none' | 'highImpact' | 'lowImpact'; richText?: | { [k: string]: unknown; }[] | null; media?: (string | null) | Media; }; layout?: | ( | { invertBackground?: boolean | null; richText?: | { [k: string]: unknown; }[] | null; links?: | { link: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'cta'; } | { invertBackground?: boolean | null; columns?: | { size?: ('oneThird' | 'half' | 'twoThirds' | 'full') | null; richText?: | { [k: string]: unknown; }[] | null; enableLink?: boolean | null; link?: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('default' | 'primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'content'; } | { invertBackground?: boolean | null; position?: ('default' | 'fullscreen') | null; media: string | Media; id?: string | null; blockName?: string | null; blockType: 'mediaBlock'; } | { introContent?: | { [k: string]: unknown; }[] | null; populateBy?: ('collection' | 'selection') | null; relationTo?: 'posts' | null; categories?: (string | Category)[] | null; limit?: number | null; selectedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocsTotal?: number | null; id?: string | null; blockName?: string | null; blockType: 'archive'; } )[] | null; relatedPosts?: (string | Post)[] | null; localizedTitle?: string | null; meta?: { title?: string | null; description?: string | null; image?: (string | null) | Media; }; updatedAt: string; createdAt: string; deletedAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories". */ export interface Category { id: string; title?: string | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "ssr". */ export interface Ssr { id: string; slug: string; tenant?: (string | null) | Tenant; title: string; hero: { type: 'none' | 'highImpact' | 'lowImpact'; richText?: | { [k: string]: unknown; }[] | null; media?: (string | null) | Media; }; layout?: | ( | { invertBackground?: boolean | null; richText?: | { [k: string]: unknown; }[] | null; links?: | { link: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'cta'; } | { invertBackground?: boolean | null; columns?: | { size?: ('oneThird' | 'half' | 'twoThirds' | 'full') | null; richText?: | { [k: string]: unknown; }[] | null; enableLink?: boolean | null; link?: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('default' | 'primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'content'; } | { invertBackground?: boolean | null; position?: ('default' | 'fullscreen') | null; media: string | Media; id?: string | null; blockName?: string | null; blockType: 'mediaBlock'; } | { introContent?: | { [k: string]: unknown; }[] | null; populateBy?: ('collection' | 'selection') | null; relationTo?: 'posts' | null; categories?: (string | Category)[] | null; limit?: number | null; selectedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocsTotal?: number | null; id?: string | null; blockName?: string | null; blockType: 'archive'; } )[] | null; meta?: { title?: string | null; description?: string | null; image?: (string | null) | Media; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "ssr-autosave". */ export interface SsrAutosave { id: string; slug: string; tenant?: (string | null) | Tenant; title: string; hero: { type: 'none' | 'highImpact' | 'lowImpact'; richText?: | { [k: string]: unknown; }[] | null; media?: (string | null) | Media; }; layout?: | ( | { invertBackground?: boolean | null; richText?: | { [k: string]: unknown; }[] | null; links?: | { link: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'cta'; } | { invertBackground?: boolean | null; columns?: | { size?: ('oneThird' | 'half' | 'twoThirds' | 'full') | null; richText?: | { [k: string]: unknown; }[] | null; enableLink?: boolean | null; link?: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('default' | 'primary' | 'secondary') | null; }; id?: string | null; }[] | null; id?: string | null; blockName?: string | null; blockType: 'content'; } | { invertBackground?: boolean | null; position?: ('default' | 'fullscreen') | null; media: string | Media; id?: string | null; blockName?: string | null; blockType: 'mediaBlock'; } | { introContent?: | { [k: string]: unknown; }[] | null; populateBy?: ('collection' | 'selection') | null; relationTo?: 'posts' | null; categories?: (string | Category)[] | null; limit?: number | null; selectedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocs?: | { relationTo: 'posts'; value: string | Post; }[] | null; /** * This field is auto-populated after-read */ populatedDocsTotal?: number | null; id?: string | null; blockName?: string | null; blockType: 'archive'; } )[] | null; meta?: { title?: string | null; description?: string | null; image?: (string | null) | Media; }; updatedAt: string; createdAt: string; _status?: ('draft' | 'published') | null; } /** * Live Preview is enabled on this collection's own config, not the root config. * * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "collection-level-config". */ export interface CollectionLevelConfig { id: string; title?: string | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "static-url". */ export interface StaticUrl { id: string; title?: string | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-locked-documents". */ export interface PayloadLockedDocument { id: string; document?: | ({ relationTo: 'users'; value: string | User; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null) | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'ssr'; value: string | Ssr; } | null) | ({ relationTo: 'ssr-autosave'; value: string | SsrAutosave; } | null) | ({ relationTo: 'tenants'; value: string | Tenant; } | null) | ({ relationTo: 'categories'; value: string | Category; } | null) | ({ relationTo: 'media'; value: string | Media; } | null) | ({ relationTo: 'collection-level-config'; value: string | CollectionLevelConfig; } | null) | ({ relationTo: 'static-url'; value: string | StaticUrl; } | 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` "users_select". */ export interface UsersSelect { 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` "pages_select". */ export interface PagesSelect { slug?: T; tenant?: T; title?: T; hero?: | T | { type?: T; richText?: T; media?: T; }; layout?: | T | { cta?: | T | { invertBackground?: T; richText?: T; links?: | T | { link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; content?: | T | { invertBackground?: T; columns?: | T | { size?: T; richText?: T; enableLink?: T; link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; mediaBlock?: | T | { invertBackground?: T; position?: T; media?: T; id?: T; blockName?: T; }; archive?: | T | { introContent?: T; populateBy?: T; relationTo?: T; categories?: T; limit?: T; selectedDocs?: T; populatedDocs?: T; populatedDocsTotal?: T; id?: T; blockName?: T; }; }; localizedTitle?: T; relationToLocalized?: T; richTextSlate?: T; richTextLexical?: T; richTextLexicalLocalized?: T; relationshipAsUpload?: T; relationshipMonoHasOne?: T; relationshipMonoHasMany?: T; relationshipPolyHasOne?: T; relationshipPolyHasMany?: T; arrayOfRelationships?: | T | { uploadInArray?: T; richTextInArray?: T; relationshipInArrayMonoHasOne?: T; relationshipInArrayMonoHasMany?: T; relationshipInArrayPolyHasOne?: T; relationshipInArrayPolyHasMany?: T; id?: T; }; tab?: | T | { relationshipInTab?: T; }; meta?: | T | { title?: T; description?: T; image?: T; }; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "posts_select". */ export interface PostsSelect { slug?: T; tenant?: T; title?: T; hero?: | T | { type?: T; richText?: T; media?: T; }; layout?: | T | { cta?: | T | { invertBackground?: T; richText?: T; links?: | T | { link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; content?: | T | { invertBackground?: T; columns?: | T | { size?: T; richText?: T; enableLink?: T; link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; mediaBlock?: | T | { invertBackground?: T; position?: T; media?: T; id?: T; blockName?: T; }; archive?: | T | { introContent?: T; populateBy?: T; relationTo?: T; categories?: T; limit?: T; selectedDocs?: T; populatedDocs?: T; populatedDocsTotal?: T; id?: T; blockName?: T; }; }; relatedPosts?: T; localizedTitle?: T; meta?: | T | { title?: T; description?: T; image?: T; }; updatedAt?: T; createdAt?: T; deletedAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "ssr_select". */ export interface SsrSelect { slug?: T; tenant?: T; title?: T; hero?: | T | { type?: T; richText?: T; media?: T; }; layout?: | T | { cta?: | T | { invertBackground?: T; richText?: T; links?: | T | { link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; content?: | T | { invertBackground?: T; columns?: | T | { size?: T; richText?: T; enableLink?: T; link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; mediaBlock?: | T | { invertBackground?: T; position?: T; media?: T; id?: T; blockName?: T; }; archive?: | T | { introContent?: T; populateBy?: T; relationTo?: T; categories?: T; limit?: T; selectedDocs?: T; populatedDocs?: T; populatedDocsTotal?: T; id?: T; blockName?: T; }; }; meta?: | T | { title?: T; description?: T; image?: T; }; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "ssr-autosave_select". */ export interface SsrAutosaveSelect { slug?: T; tenant?: T; title?: T; hero?: | T | { type?: T; richText?: T; media?: T; }; layout?: | T | { cta?: | T | { invertBackground?: T; richText?: T; links?: | T | { link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; content?: | T | { invertBackground?: T; columns?: | T | { size?: T; richText?: T; enableLink?: T; link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: T; }; id?: T; }; id?: T; blockName?: T; }; mediaBlock?: | T | { invertBackground?: T; position?: T; media?: T; id?: T; blockName?: T; }; archive?: | T | { introContent?: T; populateBy?: T; relationTo?: T; categories?: T; limit?: T; selectedDocs?: T; populatedDocs?: T; populatedDocsTotal?: T; id?: T; blockName?: T; }; }; meta?: | T | { title?: T; description?: T; image?: T; }; updatedAt?: T; createdAt?: T; _status?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "tenants_select". */ export interface TenantsSelect { title?: T; clientURL?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories_select". */ export interface CategoriesSelect { title?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "media_select". */ export interface MediaSelect { 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` "collection-level-config_select". */ export interface CollectionLevelConfigSelect { title?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "static-url_select". */ export interface StaticUrlSelect { title?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "payload-locked-documents_select". */ export interface PayloadLockedDocumentsSelect { 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 { 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 { 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: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('default' | 'primary' | 'secondary') | 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: string; navItems?: | { link: { type?: ('reference' | 'custom') | null; newTab?: boolean | null; reference?: | ({ relationTo: 'posts'; value: string | Post; } | null) | ({ relationTo: 'pages'; value: string | Page; } | null); url?: string | null; label: string; /** * Choose how the link should be rendered. */ appearance?: ('default' | 'primary' | 'secondary') | null; }; id?: string | null; }[] | null; updatedAt?: string | null; createdAt?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "header_select". */ export interface HeaderSelect { navItems?: | T | { link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: 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 { navItems?: | T | { link?: | T | { type?: T; newTab?: T; reference?: T; url?: T; label?: T; appearance?: 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' { // @ts-ignore export interface GeneratedTypes extends Config {} }