Files
klz-cables.com/.pnpm-store/v10/files/38/0e058cf820a285e06c893dc893c3dd51378e3b3834f50bcd9aed3ad036e30a1b9aed3800f5e947d979dce497df2850b8872af277380867c4a97ec6c60415d5
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.js";
import { NestedPartial } from "../../../types/utils.js";
import { ApplyQueryFields } from "../../../types/output.js";
import { Query } from "../../../types/query.js";
import { RestCommand } from "../../types.js";
//#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.ts.map