mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-04-22 01:24:21 +01:00
17 lines
545 B
TypeScript
17 lines
545 B
TypeScript
import Q from "q";
|
|
import * as DataModels from "../../Contracts/DataModels";
|
|
import { NotificationsClientBase } from "../../Common/NotificationsClientBase";
|
|
|
|
export class NotificationsClient extends NotificationsClientBase {
|
|
private static readonly _notificationsApiSuffix: string = "/api/notifications";
|
|
|
|
public constructor() {
|
|
super(NotificationsClient._notificationsApiSuffix);
|
|
}
|
|
|
|
public fetchNotifications(): Q.Promise<DataModels.Notification[]> {
|
|
// no notifications for the emulator
|
|
return Q([]);
|
|
}
|
|
}
|