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
17 lines
884 B
Plaintext
17 lines
884 B
Plaintext
import type { CollectionSlug, FindOptions } from '../../index.js';
|
|
import type { PayloadRequest, PopulateType, SelectType, TransformCollectionWithSelect } from '../../types/index.js';
|
|
import type { Collection } from '../config/types.js';
|
|
export type Arguments<TSlug extends CollectionSlug, TSelect extends SelectType> = {
|
|
collection: Collection;
|
|
depth?: number;
|
|
disableTransaction?: boolean;
|
|
id: number | string;
|
|
overrideAccess?: boolean;
|
|
overrideLock?: boolean;
|
|
populate?: PopulateType;
|
|
req: PayloadRequest;
|
|
showHiddenFields?: boolean;
|
|
trash?: boolean;
|
|
} & Pick<FindOptions<TSlug, TSelect>, 'select'>;
|
|
export declare const deleteByIDOperation: <TSlug extends CollectionSlug, TSelect extends SelectType>(incomingArgs: Arguments<TSlug, TSelect>) => Promise<TransformCollectionWithSelect<TSlug, TSelect>>;
|
|
//# sourceMappingURL=deleteByID.d.ts.map |