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