UNPKG

payload

Version:

Node, React and MongoDB Headless CMS and Application Framework

28 lines 1.27 kB
import type { SanitizedCollectionConfig } from '../../../collections/config/types'; import type { PayloadRequest, RequestContext } from '../../../express/types'; import type { SanitizedGlobalConfig } from '../../../globals/config/types'; import type { Field, TabAsField } from '../../config/types'; type Args = { collection: SanitizedCollectionConfig | null; context: RequestContext; currentDepth: number; depth: number; doc: Record<string, unknown>; fallbackLocale: null | string; field: Field | TabAsField; fieldPromises: Promise<void>[]; findMany: boolean; flattenLocales: boolean; global: SanitizedGlobalConfig | null; locale: null | string; overrideAccess: boolean; populationPromises: Promise<void>[]; req: PayloadRequest; showHiddenFields: boolean; siblingDoc: Record<string, unknown>; triggerAccessControl?: boolean; triggerHooks?: boolean; }; export declare const promise: ({ collection, context, currentDepth, depth, doc, fallbackLocale, field, fieldPromises, findMany, flattenLocales, global, locale, overrideAccess, populationPromises, req, showHiddenFields, siblingDoc, triggerAccessControl, triggerHooks, }: Args) => Promise<void>; export {}; //# sourceMappingURL=promise.d.ts.map