Files
klz-cables.com/.pnpm-store/v10/files/5b/b1030d4f8e1def462d3b16ff948f3686506b318d87767b630cddd6f592638c91024cbcba505fb59cc765d3f33f88f8ef9e5db9f5cd904576623048a1dcba8e
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 { DirectusPanel } from "../../../schema/panel.js";
import { ApplyQueryFields } from "../../../types/output.js";
import { Query } from "../../../types/query.js";
import { RestCommand } from "../../types.js";
//#region src/rest/commands/read/panels.d.ts
type ReadPanelOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusPanel<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* List all Panels that exist in Directus.
* @param query The query parameters
* @returns An array of up to limit panel objects. If no items are available, data will be an empty array.
*/
declare const readPanels: <Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(query?: TQuery) => RestCommand<ReadPanelOutput<Schema, TQuery>[], Schema>;
/**
* List an existing panel by primary key.
* @param key The primary key of the dashboard
* @param query The query parameters
* @returns Returns the requested panel object.
* @throws Will throw if key is empty
*/
declare const readPanel: <Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(key: DirectusPanel<Schema>["id"], query?: TQuery) => RestCommand<ReadPanelOutput<Schema, TQuery>, Schema>;
//#endregion
export { ReadPanelOutput, readPanel, readPanels };
//# sourceMappingURL=panels.d.ts.map