Files
klz-cables.com/.pnpm-store/v10/files/e3/090598c5d174639357077b0b4062ec1ddd670aaa48261371dbba1548da88ac1c59fe9a6264820899897ff902e9aa4c75c920f5d2b4af2f4630d49ed2164f07
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

36 lines
2.0 KiB
Plaintext

import { DirectusVersion } from "../../../schema/version.cjs";
import { NestedPartial } from "../../../types/utils.cjs";
import { ApplyQueryFields } from "../../../types/output.cjs";
import { Query } from "../../../types/query.cjs";
import { RestCommand } from "../../types.cjs";
//#region src/rest/commands/update/versions.d.ts
type UpdateContentVersionOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusVersion<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Update multiple existing Content Versions.
* @param keys
* @param item
* @param query
* @returns Returns the Content Version objects for the updated Content Versions.
* @throws Will throw if keys is empty
*/
declare const updateContentVersions: <Schema, const TQuery extends Query<Schema, DirectusVersion<Schema>>>(keys: DirectusVersion<Schema>["id"][], item: NestedPartial<DirectusVersion<Schema>>, query?: TQuery) => RestCommand<UpdateContentVersionOutput<Schema, TQuery>[], Schema>;
/**
* Update multiple Content Versions as batch.
* @param items
* @param query
* @returns Returns the Content Version objects for the updated Content Versions.
*/
declare const updateContentVersionsBatch: <Schema, const TQuery extends Query<Schema, DirectusVersion<Schema>>>(items: NestedPartial<DirectusVersion<Schema>>[], query?: TQuery) => RestCommand<UpdateContentVersionOutput<Schema, TQuery>[], Schema>;
/**
* Update an existing Content Version.
* @param key
* @param item
* @param query
* @returns Returns the Content Version object for the updated Content Version.
* @throws Will throw if key is empty
*/
declare const updateContentVersion: <Schema, const TQuery extends Query<Schema, DirectusVersion<Schema>>>(key: DirectusVersion<Schema>["id"], item: NestedPartial<DirectusVersion<Schema>>, query?: TQuery) => RestCommand<UpdateContentVersionOutput<Schema, TQuery>, Schema>;
//#endregion
export { UpdateContentVersionOutput, updateContentVersion, updateContentVersions, updateContentVersionsBatch };
//# sourceMappingURL=versions.d.cts.map