Files
klz-cables.com/.pnpm-store/v10/files/26/d707389fb6672b723eb9fc3bee34c010fbead3c71425d9df5dbe5241f5ff5050a8d47a2d3512af522a156e371f534a3e01edd0e71b5f9393879f23d970e47d
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

33 lines
1.5 KiB
Plaintext

import type { DeepPartial } from 'ts-essentials';
import type { PayloadRequest, PopulateType, SelectType, Sort, Where } from '../../types/index.js';
import type { BulkOperationResult, Collection, RequiredDataFromCollectionSlug, SelectFromCollectionSlug } from '../config/types.js';
import { type CollectionSlug, type FindOptions } from '../../index.js';
export type Arguments<TSlug extends CollectionSlug> = {
autosave?: boolean;
collection: Collection;
data: DeepPartial<RequiredDataFromCollectionSlug<TSlug>>;
depth?: number;
disableTransaction?: boolean;
disableVerificationEmail?: boolean;
draft?: boolean;
limit?: number;
overrideAccess?: boolean;
overrideLock?: boolean;
overwriteExistingFiles?: boolean;
populate?: PopulateType;
publishAllLocales?: boolean;
publishSpecificLocale?: string;
req: PayloadRequest;
showHiddenFields?: boolean;
/**
* Sort the documents, can be a string or an array of strings
* @example '-createdAt' // Sort DESC by createdAt
* @example ['group', '-createdAt'] // sort by 2 fields, ASC group and DESC createdAt
*/
sort?: Sort;
trash?: boolean;
unpublishAllLocales?: boolean;
where: Where;
} & Pick<FindOptions<TSlug, SelectType>, 'select'>;
export declare const updateOperation: <TSlug extends CollectionSlug, TSelect extends SelectFromCollectionSlug<TSlug>>(incomingArgs: Arguments<TSlug>) => Promise<BulkOperationResult<TSlug, TSelect>>;
//# sourceMappingURL=update.d.ts.map