@experteam-mx/ngx-services
Version:
Angular common services for Experteam apps
35 lines (34 loc) • 879 B
TypeScript
import { Notification, NotificationConfiguration, NotificationType } from './api-notifications.interfaces';
export type NotificationsOut = {
notifications: Notification[];
total: number;
};
export type NotificationIn = {
name: string;
notificationTypeId: number;
userId?: string;
content: string;
url: string;
image: string;
starDate: string;
endDate: string;
isActive: boolean;
};
export type NotificationOut = {
notification: Notification;
};
export type NotificationConfigurationIn = {
modelId: number[];
modelType: string;
notificationId: number;
extraFields: {
[key: string]: string;
};
};
export type NotificationConfigurationOut = {
notificationConfiguration: NotificationConfiguration;
};
export type NotificationsTypeOut = {
notificationTypes: NotificationType[];
total: number;
};