- Delete Event with ask confirmation
- Fix dateStart only 1 view if is the same day - Sending a message from the Event Page: to a user or to a "Event" - Add button "Ask Info" - Starting view msg into the messagepopup component
This commit is contained in:
@@ -41,6 +41,29 @@ export interface IBookedEvent {
|
||||
booked: boolean
|
||||
}
|
||||
|
||||
export interface IOrigin {
|
||||
userId?: string
|
||||
page?: string
|
||||
event_id?: string
|
||||
infoevent?: string
|
||||
}
|
||||
|
||||
export interface IDest {
|
||||
idapp?: string
|
||||
username?: string
|
||||
}
|
||||
|
||||
export interface IMessage {
|
||||
_id?: any
|
||||
idapp?: string
|
||||
origin?: IOrigin
|
||||
dest?: IDest
|
||||
message: string
|
||||
datemsg?: Date
|
||||
read?: boolean
|
||||
deleted?: boolean
|
||||
}
|
||||
|
||||
export interface IOperators {
|
||||
username: string
|
||||
name: string
|
||||
@@ -78,6 +101,12 @@ export interface IBookedEventPage {
|
||||
state: EState
|
||||
}
|
||||
|
||||
export interface IMessagePage {
|
||||
show: boolean
|
||||
msg: IMessage
|
||||
state: EState
|
||||
}
|
||||
|
||||
export interface ICalendarState {
|
||||
editable: boolean
|
||||
eventlist: IEvents[]
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { IToken } from 'model/other'
|
||||
import { IMessage } from '@src/model/Calendar'
|
||||
|
||||
export const DefaultUser = <IUserState>{
|
||||
email: '',
|
||||
@@ -36,6 +37,7 @@ export interface IUserState {
|
||||
isManager?: boolean
|
||||
usersList?: IUserList[]
|
||||
countusers?: number
|
||||
msgs?: IMessage[]
|
||||
}
|
||||
|
||||
export interface IUserList {
|
||||
|
||||
Reference in New Issue
Block a user