UNPKG

@r1tsu/payload

Version:

21 lines 871 B
import type { DeepPartial } from 'ts-essentials'; import type { GeneratedTypes } from '../../index.js'; import type { PayloadRequestWithData } from '../../types/index.js'; import type { Collection } from '../config/types.js'; export type Arguments<T extends { [field: number | string | symbol]: unknown; }> = { autosave?: boolean; collection: Collection; data: DeepPartial<T>; depth?: number; disableVerificationEmail?: boolean; draft?: boolean; id: number | string; overrideAccess?: boolean; overwriteExistingFiles?: boolean; req: PayloadRequestWithData; showHiddenFields?: boolean; }; export declare const updateByIDOperation: <TSlug extends string | number | symbol>(incomingArgs: Arguments<GeneratedTypes['collections'][TSlug]>) => Promise<GeneratedTypes['collections'][TSlug]>; //# sourceMappingURL=updateByID.d.ts.map