UNPKG

@r1tsu/payload

Version:

15 lines 549 B
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; draft?: boolean; id: number | string; overrideAccess?: boolean; req: PayloadRequestWithData; showHiddenFields?: boolean; }; export declare const findByIDOperation: <T extends TypeWithID>(incomingArgs: Arguments) => Promise<T>; //# sourceMappingURL=findByID.d.ts.map