payload
Version:
Node, React, Headless CMS and Application Framework built on Next.js
13 lines • 472 B
TypeScript
import type { PayloadHandler } from '../../types.js';
/**
* Resolves the target key when the client sends the temporary `pending` marker.
*/
export declare function resolvePendingTargetKey(args: {
collectionSlug: string;
orderableFieldName: string;
req: Parameters<PayloadHandler>[0];
targetDoc: null | Record<string, unknown>;
targetID: string;
targetKey: string;
}): Promise<null | string>;
//# sourceMappingURL=resolvePendingTargetKey.d.ts.map