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

24 lines
1.3 KiB
Plaintext

import { DirectusFlow } from "../../../schema/flow.js";
import { ApplyQueryFields } from "../../../types/output.js";
import { Query } from "../../../types/query.js";
import { RestCommand } from "../../types.js";
//#region src/rest/commands/read/flows.d.ts
type ReadFlowOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusFlow<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* List all flows that exist in Directus.
* @param query The query parameters
* @returns An array of up to limit flow objects. If no items are available, data will be an empty array.
*/
declare const readFlows: <Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(query?: TQuery) => RestCommand<ReadFlowOutput<Schema, TQuery>[], Schema>;
/**
* List an existing flow by primary key.
* @param key The primary key of the dashboard
* @param query The query parameters
* @returns Returns the requested flow object.
* @throws Will throw if key is empty
*/
declare const readFlow: <Schema, const TQuery extends Query<Schema, DirectusFlow<Schema>>>(key: DirectusFlow<Schema>["id"], query?: TQuery) => RestCommand<ReadFlowOutput<Schema, TQuery>, Schema>;
//#endregion
export { ReadFlowOutput, readFlow, readFlows };
//# sourceMappingURL=flows.d.ts.map