Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
16 lines
665 B
Plaintext
16 lines
665 B
Plaintext
import type { SanitizedCollectionConfig } from '../collections/config/types.js';
|
|
import type { JsonObject, PayloadRequest } from '../types/index.js';
|
|
type GetDuplicateDocumentArgs = {
|
|
collectionConfig: SanitizedCollectionConfig;
|
|
draftArg?: boolean;
|
|
id: number | string;
|
|
overrideAccess?: boolean;
|
|
req: PayloadRequest;
|
|
selectedLocales?: string[];
|
|
};
|
|
export declare const getDuplicateDocumentData: ({ id, collectionConfig, draftArg, overrideAccess, req, selectedLocales, }: GetDuplicateDocumentArgs) => Promise<{
|
|
duplicatedFromDoc: JsonObject;
|
|
duplicatedFromDocWithLocales: JsonObject;
|
|
}>;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |