Notifiche - Tutti - non letti

This commit is contained in:
Paolo Arena
2022-07-21 00:20:48 +02:00
parent 7006d62cae
commit 6ae82f14cc
41 changed files with 640 additions and 135 deletions

View File

@@ -540,6 +540,13 @@ export interface IParamsQuery {
extrapar?: string
}
export interface ISpecialField {
findsubkey?: any
paramtosetsubkey?: any
paramdef?: any
defaultnewrec?: object
}
export interface IColGridTable {
name: string
subfield?: string

View File

@@ -86,6 +86,7 @@ export interface INotif {
descr: string
datenotif?: Date
status?: StatusMessage
link?: string
read?: boolean
deleted?: boolean
}
@@ -108,4 +109,5 @@ export interface IMessageState {
export interface INotifState {
last_notifs: INotif[]
show_all: boolean
}

View File

@@ -35,6 +35,13 @@ export interface ICalcStat {
numByTab: {}
}
export interface IUserNotifType {
_id: number
dir: number
value: number
}
export interface IUserProfile {
img?: string
nationality?: string
@@ -78,7 +85,7 @@ export interface IUserProfile {
req_friends: IFriends[]
mygroups: IMyGroup[]
manage_mygroups: IMyGroup[]
notifs: number
notifs: IUserNotifType[]
// in memory
asked_friends: any[]