- Finish to fix IOperators
- Fixit Date not change correctly
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { IOperators } from '@src/model/GlobalStore'
|
||||
|
||||
export interface IEvents {
|
||||
_id?: any
|
||||
@@ -41,18 +42,6 @@ export interface IBookedEvent {
|
||||
booked: boolean
|
||||
}
|
||||
|
||||
export interface IOperators {
|
||||
username: string
|
||||
cell: string
|
||||
webpage?: string
|
||||
img: string
|
||||
skype?: string
|
||||
days_working?: string
|
||||
facebook?: string
|
||||
disciplines?: string
|
||||
offers?: string
|
||||
}
|
||||
|
||||
export interface IWheres {
|
||||
code: string
|
||||
placename: string
|
||||
@@ -75,7 +64,6 @@ export interface IBookedEventPage {
|
||||
state: EState
|
||||
}
|
||||
|
||||
|
||||
export interface ICalendarState {
|
||||
editable: boolean
|
||||
eventlist: IEvents[]
|
||||
|
||||
@@ -98,21 +98,22 @@ export interface IListRoutes {
|
||||
separator?: boolean
|
||||
}
|
||||
|
||||
export interface IPerson {
|
||||
index?: number
|
||||
tab?: string
|
||||
export interface IOperators {
|
||||
username: string
|
||||
name: string
|
||||
sub1: string
|
||||
sub2?: string
|
||||
sub3?: string
|
||||
img: string
|
||||
cell?: string
|
||||
surname: string
|
||||
email?: string
|
||||
qualification?: string
|
||||
disciplines?: string
|
||||
certifications?: string
|
||||
img?: string
|
||||
cell?: string
|
||||
paginaweb?: string
|
||||
paginafb?: string
|
||||
intro?: string
|
||||
info?: string
|
||||
vario?: string
|
||||
tab?: string
|
||||
}
|
||||
|
||||
export interface IPreloadImages {
|
||||
|
||||
@@ -5,7 +5,23 @@ export const DefaultUser: IUserFields = {
|
||||
username: '',
|
||||
name: '',
|
||||
surname: '',
|
||||
password: ''
|
||||
password: '',
|
||||
profile: {
|
||||
img: ''
|
||||
}
|
||||
}
|
||||
|
||||
const enum ESexType {
|
||||
None = 0,
|
||||
Male = 1,
|
||||
Female = 2
|
||||
}
|
||||
|
||||
export interface IUserProfile {
|
||||
img?: string
|
||||
cell?: string
|
||||
dateofbirth?: Date
|
||||
sex?: ESexType
|
||||
}
|
||||
|
||||
export interface IUserFields {
|
||||
@@ -17,10 +33,10 @@ export interface IUserFields {
|
||||
password?: string
|
||||
ipaddr?: string
|
||||
perm?: number
|
||||
img?: string
|
||||
verified_email?: boolean
|
||||
tokens?: IToken[]
|
||||
lasttimeonline?: Date
|
||||
profile?: IUserProfile
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user