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