UNPKG

@r1tsu/payload

Version:

15 lines 621 B
import type { PayloadRequestWithData } from '../../types/index.js'; import type { TypeWithVersion } from '../../versions/types.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 findVersionByIDOperation: <T extends TypeWithID = any>(args: Arguments) => Promise<TypeWithVersion<T>>; //# sourceMappingURL=findVersionByID.d.ts.map