@r1tsu/payload
Version:
14 lines • 538 B
TypeScript
import type { PayloadRequestWithData } from '../../types/index.js';
import type { Collection, TypeWithID } from '../config/types.js';
export type Arguments = {
collection: Collection;
currentDepth?: number;
depth?: number;
disableErrors?: boolean;
id: number | string;
overrideAccess?: boolean;
req: PayloadRequestWithData;
showHiddenFields?: boolean;
};
export declare const restoreVersionOperation: <T extends TypeWithID = any>(args: Arguments) => Promise<T>;
//# sourceMappingURL=restoreVersion.d.ts.map