payload
Version:
Node, React and MongoDB Headless CMS and Application Framework
8 lines • 358 B
TypeScript
/**
* If there is an incoming row id,
* and it matches the existing sibling doc id,
* this is an existing row, so it should be merged.
* Otherwise, return an empty object.
*/
export declare const getExistingRowDoc: (incomingRow: Record<string, unknown>, existingRows?: unknown) => Record<string, unknown>;
//# sourceMappingURL=getExistingRowDoc.d.ts.map