Step 1: Creating page Messages: userlist last messages + a page for all the messages received and sent.
- Added CMyEditor and CMySelect to the git committ.
This commit is contained in:
@@ -41,29 +41,6 @@ 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
|
||||
@@ -101,11 +78,6 @@ export interface IBookedEventPage {
|
||||
state: EState
|
||||
}
|
||||
|
||||
export interface IMessagePage {
|
||||
show: boolean
|
||||
msg: IMessage
|
||||
state: EState
|
||||
}
|
||||
|
||||
export interface ICalendarState {
|
||||
editable: boolean
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { IToken } from 'model/other'
|
||||
import { IMessage } from '@src/model/Calendar'
|
||||
|
||||
export const DefaultUser: IUserFields = {
|
||||
email: '',
|
||||
username: '',
|
||||
name: '',
|
||||
surname: '',
|
||||
password: '',
|
||||
password: ''
|
||||
}
|
||||
|
||||
export interface IUserFields {
|
||||
@@ -45,5 +44,4 @@ export interface IUserState {
|
||||
isManager?: boolean
|
||||
usersList?: IUserFields[]
|
||||
countusers?: number
|
||||
msgs?: IMessage[]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
export * from './UserStore'
|
||||
export * from './MessageStore'
|
||||
export * from './GlobalStore'
|
||||
export * from './signin-option'
|
||||
export * from './signup-option'
|
||||
|
||||
Reference in New Issue
Block a user