/* 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: { users: User; posts: Post; categories: Category; 'hidden-posts': HiddenPost; uploads: Upload; versions: Version; 'categories-versions': CategoriesVersion; singular: Singular; 'self-joins': SelfJoin; 'localized-posts': LocalizedPost; 'localized-categories': LocalizedCategory; 'restricted-categories': RestrictedCategory; 'categories-join-restricted': CategoriesJoinRestricted; 'restricted-posts': RestrictedPost; 'collection-restricted': CollectionRestricted; 'depth-joins-1': DepthJoins1; 'depth-joins-2': DepthJoins2; 'depth-joins-3': DepthJoins3; 'multiple-collections-parents': MultipleCollectionsParent; 'multiple-collections-1': MultipleCollections1; 'multiple-collections-2': MultipleCollections2; folders: Folder; 'example-pages': ExamplePage; 'example-posts': ExamplePost; 'payload-locked-documents': PayloadLockedDocument; 'payload-preferences': PayloadPreference; 'payload-migrations': PayloadMigration; }; collectionsJoins: { users: { posts: 'posts'; }; categories: { relatedPosts: 'posts'; hasManyPosts: 'posts'; hasManyPostsLocalized: 'posts'; 'group.relatedPosts': 'posts'; 'group.camelCasePosts': 'posts'; arrayPosts: 'posts'; localizedArrayPosts: 'posts'; blocksPosts: 'posts'; polymorphic: 'posts'; polymorphics: 'posts'; localizedPolymorphic: 'posts'; localizedPolymorphics: 'posts'; filtered: 'posts'; inTab: 'posts'; joinWithError: 'posts'; hiddenPosts: 'hidden-posts'; singulars: 'singular'; }; uploads: { relatedPosts: 'posts'; }; 'categories-versions': { relatedVersions: 'versions'; relatedVersionsMany: 'versions'; }; 'self-joins': { joins: 'self-joins'; }; 'localized-categories': { relatedPosts: 'localized-posts'; }; 'restricted-categories': { restrictedPosts: 'posts'; }; 'categories-join-restricted': { collectionRestrictedJoin: 'collection-restricted'; }; 'depth-joins-1': { joins: 'depth-joins-3'; }; 'depth-joins-2': { joins: 'depth-joins-1'; }; 'multiple-collections-parents': { children: 'multiple-collections-1' | 'multiple-collections-2'; }; folders: { children: 'folders' | 'example-pages' | 'example-posts'; }; }; collectionsSelect: { users: UsersSelect | UsersSelect; posts: PostsSelect | PostsSelect; categories: CategoriesSelect | CategoriesSelect; 'hidden-posts': HiddenPostsSelect | HiddenPostsSelect; uploads: UploadsSelect | UploadsSelect; versions: VersionsSelect | VersionsSelect; 'categories-versions': CategoriesVersionsSelect | CategoriesVersionsSelect; singular: SingularSelect | SingularSelect; 'self-joins': SelfJoinsSelect | SelfJoinsSelect; 'localized-posts': LocalizedPostsSelect | LocalizedPostsSelect; 'localized-categories': LocalizedCategoriesSelect | LocalizedCategoriesSelect; 'restricted-categories': RestrictedCategoriesSelect | RestrictedCategoriesSelect; 'categories-join-restricted': CategoriesJoinRestrictedSelect | CategoriesJoinRestrictedSelect; 'restricted-posts': RestrictedPostsSelect | RestrictedPostsSelect; 'collection-restricted': CollectionRestrictedSelect | CollectionRestrictedSelect; 'depth-joins-1': DepthJoins1Select | DepthJoins1Select; 'depth-joins-2': DepthJoins2Select | DepthJoins2Select; 'depth-joins-3': DepthJoins3Select | DepthJoins3Select; 'multiple-collections-parents': MultipleCollectionsParentsSelect | MultipleCollectionsParentsSelect; 'multiple-collections-1': MultipleCollections1Select | MultipleCollections1Select; 'multiple-collections-2': MultipleCollections2Select | MultipleCollections2Select; folders: FoldersSelect | FoldersSelect; 'example-pages': ExamplePagesSelect | ExamplePagesSelect; 'example-posts': ExamplePostsSelect | ExamplePostsSelect; 'payload-locked-documents': PayloadLockedDocumentsSelect | PayloadLockedDocumentsSelect; 'payload-preferences': PayloadPreferencesSelect | PayloadPreferencesSelect; 'payload-migrations': PayloadMigrationsSelect | PayloadMigrationsSelect; }; db: { defaultIDType: string; }; globals: {}; globalsSelect: {}; 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` "users". */ export interface User { id: string; posts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: 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; password?: string | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "posts". */ export interface Post { id: string; title?: string | null; localizedText?: string | null; author?: (string | null) | User; /** * Hides posts for the `filtered` join field in categories */ isFiltered?: boolean | null; restrictedField?: string | null; upload?: (string | null) | Upload; category?: (string | null) | Category; categories?: (string | Category)[] | null; categoriesLocalized?: (string | Category)[] | null; polymorphic?: | ({ relationTo: 'categories'; value: string | Category; } | null) | ({ relationTo: 'users'; value: string | User; } | null); polymorphics?: | ( | { relationTo: 'categories'; value: string | Category; } | { relationTo: 'users'; value: string | User; } )[] | null; localizedPolymorphic?: | ({ relationTo: 'categories'; value: string | Category; } | null) | ({ relationTo: 'users'; value: string | User; } | null); localizedPolymorphics?: | ( | { relationTo: 'categories'; value: string | Category; } | { relationTo: 'users'; value: string | User; } )[] | null; group?: { category?: (string | null) | Category; camelCaseCategory?: (string | null) | Category; }; array?: | { category?: (string | null) | Category; id?: string | null; }[] | null; localizedArray?: | { category?: (string | null) | Category; id?: string | null; }[] | null; blocks?: | { category?: (string | null) | Category; id?: string | null; blockName?: string | null; blockType: 'block'; }[] | null; first?: { tabText?: string | null; }; tab?: { category?: (string | null) | Category; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "uploads". */ export interface Upload { id: string; relatedPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; 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` "categories". */ export interface Category { id: string; name?: string | null; relatedPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; /** * Static Description */ hasManyPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; hasManyPostsLocalized?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; hiddenPosts?: { docs?: (string | HiddenPost)[]; hasNextPage?: boolean; totalDocs?: number; }; group?: { relatedPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; camelCasePosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; }; arrayPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; localizedArrayPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; blocksPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; polymorphic?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; polymorphics?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; localizedPolymorphic?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; localizedPolymorphics?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; singulars?: { docs?: (string | Singular)[]; hasNextPage?: boolean; totalDocs?: number; }; filtered?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; inTab?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; joinWithError?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; enableErrorOnJoin?: boolean | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "hidden-posts". */ export interface HiddenPost { id: string; title?: string | null; category?: (string | null) | Category; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "singular". */ export interface Singular { id: string; category?: (string | null) | Category; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "versions". */ export interface Version { id: string; title: string; category?: (string | null) | Category; categoryVersion?: (string | null) | CategoriesVersion; categoryVersions?: (string | CategoriesVersion)[] | null; updatedAt: string; createdAt: string; _status?: ('draft' | 'published') | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories-versions". */ export interface CategoriesVersion { id: string; relatedVersions?: { docs?: (string | Version)[]; hasNextPage?: boolean; totalDocs?: number; }; relatedVersionsMany?: { docs?: (string | Version)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; _status?: ('draft' | 'published') | null; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "self-joins". */ export interface SelfJoin { id: string; rel?: (string | null) | SelfJoin; joins?: { docs?: (string | SelfJoin)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "localized-posts". */ export interface LocalizedPost { id: string; title?: string | null; category?: (string | null) | LocalizedCategory; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "localized-categories". */ export interface LocalizedCategory { id: string; name?: string | null; relatedPosts?: { docs?: (string | LocalizedPost)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "restricted-categories". */ export interface RestrictedCategory { id: string; name?: string | null; restrictedPosts?: { docs?: (string | Post)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories-join-restricted". */ export interface CategoriesJoinRestricted { id: string; name?: string | null; collectionRestrictedJoin?: { docs?: (string | CollectionRestricted)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "collection-restricted". */ export interface CollectionRestricted { id: string; title?: string | null; canRead?: boolean | null; category?: (string | null) | CategoriesJoinRestricted; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "restricted-posts". */ export interface RestrictedPost { id: string; title?: string | null; restrictedField?: string | null; category?: (string | null) | RestrictedCategory; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "depth-joins-1". */ export interface DepthJoins1 { id: string; rel?: (string | null) | DepthJoins2; joins?: { docs?: (string | DepthJoins3)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "depth-joins-2". */ export interface DepthJoins2 { id: string; joins?: { docs?: (string | DepthJoins1)[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "depth-joins-3". */ export interface DepthJoins3 { id: string; rel?: (string | null) | DepthJoins1; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "multiple-collections-parents". */ export interface MultipleCollectionsParent { id: string; children?: { docs?: ( | { relationTo?: 'multiple-collections-1'; value: string | MultipleCollections1; } | { relationTo?: 'multiple-collections-2'; value: string | MultipleCollections2; } )[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "multiple-collections-1". */ export interface MultipleCollections1 { id: string; parent?: (string | null) | MultipleCollectionsParent; title?: string | null; name?: string | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "multiple-collections-2". */ export interface MultipleCollections2 { id: string; parent?: (string | null) | MultipleCollectionsParent; title?: string | null; description?: string | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "folders". */ export interface Folder { id: string; folder?: (string | null) | Folder; title?: string | null; children?: { docs?: ( | { relationTo?: 'folders'; value: string | Folder; } | { relationTo?: 'example-pages'; value: string | ExamplePage; } | { relationTo?: 'example-posts'; value: string | ExamplePost; } )[]; hasNextPage?: boolean; totalDocs?: number; }; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "example-pages". */ export interface ExamplePage { id: string; folder?: (string | null) | Folder; title?: string | null; name?: string | null; updatedAt: string; createdAt: string; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "example-posts". */ export interface ExamplePost { id: string; folder?: (string | null) | Folder; title?: string | null; description?: 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: 'posts'; value: string | Post; } | null) | ({ relationTo: 'categories'; value: string | Category; } | null) | ({ relationTo: 'hidden-posts'; value: string | HiddenPost; } | null) | ({ relationTo: 'uploads'; value: string | Upload; } | null) | ({ relationTo: 'versions'; value: string | Version; } | null) | ({ relationTo: 'categories-versions'; value: string | CategoriesVersion; } | null) | ({ relationTo: 'singular'; value: string | Singular; } | null) | ({ relationTo: 'self-joins'; value: string | SelfJoin; } | null) | ({ relationTo: 'localized-posts'; value: string | LocalizedPost; } | null) | ({ relationTo: 'localized-categories'; value: string | LocalizedCategory; } | null) | ({ relationTo: 'restricted-categories'; value: string | RestrictedCategory; } | null) | ({ relationTo: 'categories-join-restricted'; value: string | CategoriesJoinRestricted; } | null) | ({ relationTo: 'restricted-posts'; value: string | RestrictedPost; } | null) | ({ relationTo: 'collection-restricted'; value: string | CollectionRestricted; } | null) | ({ relationTo: 'depth-joins-1'; value: string | DepthJoins1; } | null) | ({ relationTo: 'depth-joins-2'; value: string | DepthJoins2; } | null) | ({ relationTo: 'depth-joins-3'; value: string | DepthJoins3; } | null) | ({ relationTo: 'multiple-collections-parents'; value: string | MultipleCollectionsParent; } | null) | ({ relationTo: 'multiple-collections-1'; value: string | MultipleCollections1; } | null) | ({ relationTo: 'multiple-collections-2'; value: string | MultipleCollections2; } | null) | ({ relationTo: 'folders'; value: string | Folder; } | null) | ({ relationTo: 'example-pages'; value: string | ExamplePage; } | null) | ({ relationTo: 'example-posts'; value: string | ExamplePost; } | 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 { posts?: T; updatedAt?: T; createdAt?: T; email?: T; resetPasswordToken?: T; resetPasswordExpiration?: T; salt?: T; hash?: T; loginAttempts?: T; lockUntil?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "posts_select". */ export interface PostsSelect { title?: T; localizedText?: T; author?: T; isFiltered?: T; restrictedField?: T; upload?: T; category?: T; categories?: T; categoriesLocalized?: T; polymorphic?: T; polymorphics?: T; localizedPolymorphic?: T; localizedPolymorphics?: T; group?: | T | { category?: T; camelCaseCategory?: T; }; array?: | T | { category?: T; id?: T; }; localizedArray?: | T | { category?: T; id?: T; }; blocks?: | T | { block?: | T | { category?: T; id?: T; blockName?: T; }; }; first?: | T | { tabText?: T; }; tab?: | T | { category?: T; }; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories_select". */ export interface CategoriesSelect { name?: T; relatedPosts?: T; hasManyPosts?: T; hasManyPostsLocalized?: T; hiddenPosts?: T; group?: | T | { relatedPosts?: T; camelCasePosts?: T; }; arrayPosts?: T; localizedArrayPosts?: T; blocksPosts?: T; polymorphic?: T; polymorphics?: T; localizedPolymorphic?: T; localizedPolymorphics?: T; singulars?: T; filtered?: T; inTab?: T; joinWithError?: T; enableErrorOnJoin?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "hidden-posts_select". */ export interface HiddenPostsSelect { title?: T; category?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "uploads_select". */ export interface UploadsSelect { relatedPosts?: 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` "versions_select". */ export interface VersionsSelect { title?: T; category?: T; categoryVersion?: T; categoryVersions?: T; updatedAt?: T; createdAt?: T; _status?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories-versions_select". */ export interface CategoriesVersionsSelect { relatedVersions?: T; relatedVersionsMany?: T; updatedAt?: T; createdAt?: T; _status?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "singular_select". */ export interface SingularSelect { category?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "self-joins_select". */ export interface SelfJoinsSelect { rel?: T; joins?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "localized-posts_select". */ export interface LocalizedPostsSelect { title?: T; category?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "localized-categories_select". */ export interface LocalizedCategoriesSelect { name?: T; relatedPosts?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "restricted-categories_select". */ export interface RestrictedCategoriesSelect { name?: T; restrictedPosts?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "categories-join-restricted_select". */ export interface CategoriesJoinRestrictedSelect { name?: T; collectionRestrictedJoin?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "restricted-posts_select". */ export interface RestrictedPostsSelect { title?: T; restrictedField?: T; category?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "collection-restricted_select". */ export interface CollectionRestrictedSelect { title?: T; canRead?: T; category?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "depth-joins-1_select". */ export interface DepthJoins1Select { rel?: T; joins?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "depth-joins-2_select". */ export interface DepthJoins2Select { joins?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "depth-joins-3_select". */ export interface DepthJoins3Select { rel?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "multiple-collections-parents_select". */ export interface MultipleCollectionsParentsSelect { children?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "multiple-collections-1_select". */ export interface MultipleCollections1Select { parent?: T; title?: T; name?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "multiple-collections-2_select". */ export interface MultipleCollections2Select { parent?: T; title?: T; description?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "folders_select". */ export interface FoldersSelect { folder?: T; title?: T; children?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "example-pages_select". */ export interface ExamplePagesSelect { folder?: T; title?: T; name?: T; updatedAt?: T; createdAt?: T; } /** * This interface was referenced by `Config`'s JSON-Schema * via the `definition` "example-posts_select". */ export interface ExamplePostsSelect { folder?: T; title?: T; description?: 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` "auth". */ export interface Auth { [k: string]: unknown; } declare module 'payload' { // @ts-ignore export interface GeneratedTypes extends Config {} }