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