Files
klz-cables.com/.pnpm-store/v10/files/7c/bfdab2f32720108912c867063a33c7caa0775c4249d58134ffa76ec515bf041c9ed5a4aeea86d91c65aed043439efa3f4f2e48eac913643d134f3c3caec2f8
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.4 KiB
Plaintext

import { DirectusOperation } from "../../../schema/operation.cjs";
import { ApplyQueryFields } from "../../../types/output.cjs";
import { Query } from "../../../types/query.cjs";
import { RestCommand } from "../../types.cjs";
//#region src/rest/commands/read/operations.d.ts
type ReadOperationOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusOperation<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* List all operations that exist in Directus.
* @param query The query parameters
* @returns An array of up to limit operation objects. If no items are available, data will be an empty array.
*/
declare const readOperations: <Schema, const TQuery extends Query<Schema, DirectusOperation<Schema>>>(query?: TQuery) => RestCommand<ReadOperationOutput<Schema, TQuery>[], Schema>;
/**
* List all Operations that exist in Directus.
* @param key The primary key of the dashboard
* @param query The query parameters
* @returns Returns a Operation object if a valid primary key was provided.
* @throws Will throw if key is empty
*/
declare const readOperation: <Schema, const TQuery extends Query<Schema, DirectusOperation<Schema>>>(key: DirectusOperation<Schema>["id"], query?: TQuery) => RestCommand<ReadOperationOutput<Schema, TQuery>, Schema>;
//#endregion
export { ReadOperationOutput, readOperation, readOperations };
//# sourceMappingURL=operations.d.cts.map