Files
klz-cables.com/.pnpm-store/v10/files/90/eb465de05593aa7e74dfbc62d1f65f0e6438bec5c8793fbc75dc392401819442307d2153bc76ed5f064124cf502cf2cbf800cd0f2a461173be9527cdc326b2
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

29 lines
1.3 KiB
Plaintext

import { DirectusFlow } from "../../../schema/flow.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/create/flows.d.ts
type CreateFlowOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusFlow<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Create multiple new flows.
*
* @param items The flows to create
* @param query Optional return data query
*
* @returns Returns the flow object for the created flow.
*/
declare const createFlows: <Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(items: NestedPartial<DirectusFlow<Schema>>[], query?: TQuery) => RestCommand<CreateFlowOutput<Schema, TQuery>[], Schema>;
/**
* Create a new flow.
*
* @param item The flow to create
* @param query Optional return data query
*
* @returns Returns the flow object for the created flow.
*/
declare const createFlow: <Schema, TQuery extends Query<Schema, DirectusFlow<Schema>>>(item: NestedPartial<DirectusFlow<Schema>>, query?: TQuery) => RestCommand<CreateFlowOutput<Schema, TQuery>, Schema>;
//#endregion
export { CreateFlowOutput, createFlow, createFlows };
//# sourceMappingURL=flows.d.cts.map