Files
klz-cables.com/.pnpm-store/v10/files/1e/368616561d616ed39a187fa9c7914f9a0d9587ef604a560155560b813ec7fd3de027bc4391b828e009f758a277bec405722dabb9b53f77d704098fc354355e
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

29 lines
1.3 KiB
Plaintext

import { DirectusPanel } from "../../../schema/panel.js";
import { NestedPartial } from "../../../types/utils.js";
import { ApplyQueryFields } from "../../../types/output.js";
import { Query } from "../../../types/query.js";
import { RestCommand } from "../../types.js";
//#region src/rest/commands/create/panels.d.ts
type CreatePanelOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusPanel<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Create multiple new panels.
*
* @param items The panel to create
* @param query Optional return data query
*
* @returns Returns the panel object for the created panel.
*/
declare const createPanels: <Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(items: NestedPartial<DirectusPanel<Schema>>[], query?: TQuery) => RestCommand<CreatePanelOutput<Schema, TQuery>[], Schema>;
/**
* Create a new panel.
*
* @param item The panel to create
* @param query Optional return data query
*
* @returns Returns the panel object for the created panel.
*/
declare const createPanel: <Schema, const TQuery extends Query<Schema, DirectusPanel<Schema>>>(item: NestedPartial<DirectusPanel<Schema>>, query?: TQuery) => RestCommand<CreatePanelOutput<Schema, TQuery>, Schema>;
//#endregion
export { CreatePanelOutput, createPanel, createPanels };
//# sourceMappingURL=panels.d.ts.map