Files
klz-cables.com/.pnpm-store/v10/files/b2/fed84d8d991bb4d2f45aedbbe1e1650f91647ea3b9d1d6d8cc28ff859e26040b097490ed0ebeea680d9d8690b9b904341f998a0f1f318f3513662056dd8e70
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

36 lines
2.0 KiB
Plaintext

import { DirectusNotification } from "../../../schema/notification.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/update/notifications.d.ts
type UpdateNotificationOutput<Schema, TQuery extends Query<Schema, Item>, Item extends object = DirectusNotification<Schema>> = ApplyQueryFields<Schema, Item, TQuery['fields']>;
/**
* Update multiple existing notifications.
* @param keys
* @param item
* @param query
* @returns Returns the notification objects for the updated notifications.
* @throws Will throw if keys is empty
*/
declare const updateNotifications: <Schema, const TQuery extends Query<Schema, DirectusNotification<Schema>>>(keys: DirectusNotification<Schema>["id"][], item: NestedPartial<DirectusNotification<Schema>>, query?: TQuery) => RestCommand<UpdateNotificationOutput<Schema, TQuery>[], Schema>;
/**
* Update multiple notifications as batch.
* @param items
* @param query
* @returns Returns the notification objects for the updated notifications.
*/
declare const updateNotificationsBatch: <Schema, const TQuery extends Query<Schema, DirectusNotification<Schema>>>(items: NestedPartial<DirectusNotification<Schema>>[], query?: TQuery) => RestCommand<UpdateNotificationOutput<Schema, TQuery>[], Schema>;
/**
* Update an existing notification.
* @param key
* @param item
* @param query
* @returns Returns the notification object for the updated notification.
* @throws Will throw if key is empty
*/
declare const updateNotification: <Schema, const TQuery extends Query<Schema, DirectusNotification<Schema>>>(key: DirectusNotification<Schema>["id"], item: NestedPartial<DirectusNotification<Schema>>, query?: TQuery) => RestCommand<UpdateNotificationOutput<Schema, TQuery>, Schema>;
//#endregion
export { UpdateNotificationOutput, updateNotification, updateNotifications, updateNotificationsBatch };
//# sourceMappingURL=notifications.d.ts.map