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