Files
klz-cables.com/.pnpm-store/v10/files/87/e0e3979298ec195baacf5fe520fb4c8d0dcd3ec7ea41242375914a67ebef203fa1082221d6c5c9421a06ba596a742e09c4e295df96aec16f4b0a1500ca9b7b
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.cjs";
import { ApplyQueryFields } from "../../../types/output.cjs";
import { Query } from "../../../types/query.cjs";
import { RestCommand } from "../../types.cjs";
//#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.cts.map