Files
klz-cables.com/.pnpm-store/v10/files/88/87f88957b6acba7c83f40dd32b3ded48b9c607c861a6e5ca718d454f8bb262d5454a331382be16b04fba8fbaaad894ebdc1cf1e946d71bcf6ab2c6faf53089
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
1.8 KiB
Plaintext

import { DirectusFlow } from "../../../schema/flow.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/flows.d.ts
type UpdateFlowOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusFlow<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Update multiple existing flows.
* @param keys
* @param item
* @param query
* @returns Returns the flow objects for the updated flows.
* @throws Will throw if keys is empty
*/
declare const updateFlows: <Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(keys: DirectusFlow<Schema>["id"][], item: NestedPartial<DirectusFlow<Schema>>, query?: TQuery) => RestCommand<UpdateFlowOutput<Schema, TQuery>[], Schema>;
/**
* Update multiple flows as batch.
* @param items
* @param query
* @returns Returns the flow objects for the updated flows.
*/
declare const updateFlowsBatch: <Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(items: NestedPartial<DirectusFlow<Schema>>[], query?: TQuery) => RestCommand<UpdateFlowOutput<Schema, TQuery>[], Schema>;
/**
* Update an existing flow.
* @param key
* @param item
* @param query
* @returns Returns the flow object for the updated flow.
* @throws Will throw if key is empty
*/
declare const updateFlow: <Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(key: DirectusFlow<Schema>["id"], item: NestedPartial<DirectusFlow<Schema>>, query?: TQuery) => RestCommand<UpdateFlowOutput<Schema, TQuery>, Schema>;
//#endregion
export { UpdateFlowOutput, updateFlow, updateFlows, updateFlowsBatch };
//# sourceMappingURL=flows.d.ts.map