Notifications

Settings Notifications
User Panel
This commit is contained in:
Paolo Arena
2022-07-23 17:44:44 +02:00
parent 6ae82f14cc
commit e2006e683b
18 changed files with 328 additions and 69 deletions

View File

@@ -53,7 +53,8 @@ export const MsgDefault: IMessage = {
export const NotifDefault: INotif = {
_id: '',
idapp: '',
type: 0,
typedir: 0,
typeid: 0,
sender: '',
dest: '',
descr: '',
@@ -80,14 +81,17 @@ export interface IMessage {
export interface INotif {
_id?: any
idapp?: string
type: number
typedir: number
typeid: number
sender: string,
dest: string,
descr: string
datenotif?: Date
status?: StatusMessage
link?: string
openUrl?: string
read?: boolean
tablerec?: string
idrec?: string
deleted?: boolean
}

View File

@@ -86,6 +86,11 @@ export interface IUserProfile {
mygroups: IMyGroup[]
manage_mygroups: IMyGroup[]
notifs: IUserNotifType[]
notif_idCities: number[]
notif_provinces: string[]
notif_regions: string[]
notif_sectors: number[]
notif_sector_goods: number[]
// in memory
asked_friends: any[]