UNPKG

payload

Version:

Node, React, Headless CMS and Application Framework built on Next.js

19 lines 866 B
import type { PayloadRequest, PopulateType } from '../../../types/index.js'; import type { JoinField, RelationshipField, UploadField } from '../../config/types.js'; type PromiseArgs = { currentDepth: number; depth: number; draft: boolean; fallbackLocale: null | string; field: JoinField | RelationshipField | UploadField; locale: null | string; overrideAccess: boolean; parentIsLocalized: boolean; populate?: PopulateType; req: PayloadRequest; showHiddenFields: boolean; siblingDoc: Record<string, any>; }; export declare const relationshipPopulationPromise: ({ currentDepth, depth, draft, fallbackLocale, field, locale, overrideAccess, parentIsLocalized, populate: populateArg, req, showHiddenFields, siblingDoc, }: PromiseArgs) => Promise<void>; export {}; //# sourceMappingURL=relationshipPopulationPromise.d.ts.map