UNPKG

@r1tsu/payload

Version:

15 lines 624 B
import type { PayloadRequestWithData } from '../../types/index.js'; import type { TypeWithVersion } from '../../versions/types.js'; import type { SanitizedGlobalConfig } from '../config/types.js'; export type Arguments = { currentDepth?: number; depth?: number; disableErrors?: boolean; globalConfig: SanitizedGlobalConfig; id: number | string; overrideAccess?: boolean; req: PayloadRequestWithData; showHiddenFields?: boolean; }; export declare const findVersionByIDOperation: <T extends TypeWithVersion<T> = any>(args: Arguments) => Promise<T>; //# sourceMappingURL=findVersionByID.d.ts.map