@salla.sa/twilight
Version:
Salla Theme Toolkit, Webcomponents, Events, Requests, Utils
16 lines (11 loc) • 360 B
TypeScript
import {SuccessResponse} from "../common";
export interface FetchNotificationsResponse extends SuccessResponse {
data: any[]
}
export interface NotificationsPayload {
'per_page': number | null,
'page': number | null
}
export default interface NotificationsApi {
fetch: (data: NotificationsPayload) => Promise<FetchNotificationsResponse>;
}