Pannello Utente
Aggiornamento Yarn
This commit is contained in:
@@ -490,6 +490,7 @@ export interface IFunctionality {
|
||||
SHOW_NEWSLETTER?: boolean
|
||||
SHOW_ONLY_POLICY?: boolean
|
||||
SHOW_MESSAGES?: boolean
|
||||
SHOW_NOTIF?: boolean
|
||||
BOOKING_EVENTS?: boolean
|
||||
ENABLE_REG_AYNI?: boolean
|
||||
ENABLE_REG_CNM?: boolean
|
||||
@@ -575,6 +576,7 @@ export interface IColGridTable {
|
||||
isadvanced_field?: boolean
|
||||
showWhen?: number
|
||||
maxlength?: number
|
||||
minlength?: number
|
||||
allowchar?: number
|
||||
filter_table?: string
|
||||
filter_field?: string
|
||||
|
||||
@@ -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[]
|
||||
}
|
||||
|
||||
@@ -120,6 +120,14 @@ export interface IUserFields {
|
||||
calcstat?: ICalcStat|null
|
||||
}
|
||||
|
||||
export interface IUserExport {
|
||||
_id: string
|
||||
email?: string
|
||||
username: string
|
||||
username_telegram: string
|
||||
firstname_telegram: string
|
||||
lastname_telegram: string
|
||||
}
|
||||
/*
|
||||
password?: string
|
||||
lang
|
||||
|
||||
Reference in New Issue
Block a user