UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

14 lines (13 loc) 796 B
import { NotificationsFilter } from '../models/Filters'; import { Notification } from '../models/Notification'; import { NotificationCreate } from '../models/NotificationCreate'; import { NotificationUpdate } from '../models/NotificationUpdate'; import { WorkspaceApi } from '../services/WorkspaceApi'; export declare class WorkspaceNotificationsApi extends WorkspaceApi { protected routePrefix: string; getNotification(notificationId: string): Promise<Notification>; createNotification(notification: NotificationCreate): Promise<Notification>; getNotifications(filter?: NotificationsFilter): Promise<Notification[]>; updateNotification(notificationId: string, notification: NotificationUpdate): Promise<void>; deleteNotification(notificationId: string): Promise<void>; }