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:
Paolo Arena
2019-10-26 02:21:14 +02:00
parent 33a239698c
commit 878ae96813
31 changed files with 802 additions and 115 deletions

View File

@@ -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

View File

@@ -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[]
}

View File

@@ -1,4 +1,5 @@
export * from './UserStore'
export * from './MessageStore'
export * from './GlobalStore'
export * from './signin-option'
export * from './signup-option'