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
18 lines
787 B
Plaintext
18 lines
787 B
Plaintext
import type { JsonObject, PayloadRequest, PopulateType, SelectType } from '../../types/index.js';
|
|
import type { Collection, TypeWithID } from '../config/types.js';
|
|
import type { FindOptions } from './local/find.js';
|
|
export type Arguments = {
|
|
collection: Collection;
|
|
currentDepth?: number;
|
|
depth?: number;
|
|
disableErrors?: boolean;
|
|
disableTransaction?: boolean;
|
|
draft?: boolean;
|
|
id: number | string;
|
|
overrideAccess?: boolean;
|
|
populate?: PopulateType;
|
|
req: PayloadRequest;
|
|
showHiddenFields?: boolean;
|
|
} & Pick<FindOptions<string, SelectType>, 'select'>;
|
|
export declare const restoreVersionOperation: <TData extends JsonObject & TypeWithID = JsonObject & TypeWithID>(args: Arguments) => Promise<TData>;
|
|
//# sourceMappingURL=restoreVersion.d.ts.map |