Pannello Utente
Aggiornamento Yarn
This commit is contained in:
@@ -50,6 +50,19 @@ export const MsgDefault: IMessage = {
|
||||
status: StatusMessage.None,
|
||||
}
|
||||
|
||||
export const NotifDefault: INotif = {
|
||||
_id: '',
|
||||
idapp: '',
|
||||
type: 0,
|
||||
sender: '',
|
||||
dest: '',
|
||||
descr: '',
|
||||
datenotif: new Date(),
|
||||
read: false,
|
||||
deleted: false,
|
||||
status: StatusMessage.None,
|
||||
}
|
||||
|
||||
export interface IMessage {
|
||||
_id?: any
|
||||
idapp?: string
|
||||
@@ -64,6 +77,19 @@ export interface IMessage {
|
||||
options?: number
|
||||
}
|
||||
|
||||
export interface INotif {
|
||||
_id?: any
|
||||
idapp?: string
|
||||
type: number
|
||||
sender: string,
|
||||
dest: string,
|
||||
descr: string
|
||||
datenotif?: Date
|
||||
status?: StatusMessage
|
||||
read?: boolean
|
||||
deleted?: boolean
|
||||
}
|
||||
|
||||
export interface IChat {
|
||||
username: string
|
||||
lasttimeActive?: Date
|
||||
@@ -79,3 +105,7 @@ export interface IMessageState {
|
||||
last_msgs: IMessage[]
|
||||
users_msg: IMsgUsers[]
|
||||
}
|
||||
|
||||
export interface INotifState {
|
||||
last_notifs: INotif[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user