UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

22 lines (20 loc) 732 B
import { DirectusNotification } from "../../../schema/notification.cjs"; import { RestCommand } from "../../types.cjs"; //#region src/rest/commands/delete/notifications.d.ts /** * Delete multiple existing notifications. * @param keys * @returns * @throws Will throw if keys is empty */ declare const deleteNotifications: <Schema>(keys: DirectusNotification<Schema>["id"][]) => RestCommand<void, Schema>; /** * Delete an existing notification. * @param key * @returns * @throws Will throw if key is empty */ declare const deleteNotification: <Schema>(key: DirectusNotification<Schema>["id"]) => RestCommand<void, Schema>; //#endregion export { deleteNotification, deleteNotifications }; //# sourceMappingURL=notifications.d.cts.map