- other committ
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
export interface IEvents {
|
||||
_id?: any
|
||||
time?: string
|
||||
duration?: number
|
||||
duration2?: number
|
||||
@@ -18,9 +19,23 @@ export interface IEvents {
|
||||
avatar2?: string
|
||||
infoextra?: string
|
||||
linkpdf?: string
|
||||
nobookable?: boolean
|
||||
}
|
||||
|
||||
export interface IBookedEvent {
|
||||
id_bookedevent?: any
|
||||
numpeople: number
|
||||
infoevent: string
|
||||
msgbooking: string
|
||||
datebooked?: Date
|
||||
booked: boolean
|
||||
}
|
||||
|
||||
export interface ICalendarState {
|
||||
editable: boolean
|
||||
eventlist: IEvents[]
|
||||
bookedevent: IBookedEvent[]
|
||||
// ---------------
|
||||
titlebarHeight: number
|
||||
locale: string,
|
||||
maxDays: number,
|
||||
|
||||
@@ -82,12 +82,17 @@ export interface IListRoutes {
|
||||
solotitle?: boolean
|
||||
infooter?: boolean
|
||||
submenu?: boolean
|
||||
onlyAdmin?: boolean
|
||||
meta?: any
|
||||
idelem?: string
|
||||
urlroute?: string
|
||||
// ------------------------
|
||||
faIcon?: string
|
||||
text?: string
|
||||
routes2?: IListRoutes[]
|
||||
level_parent?: number
|
||||
level_child?: number
|
||||
separator?: boolean
|
||||
}
|
||||
|
||||
export interface IPerson {
|
||||
@@ -139,6 +144,7 @@ export interface ITimeLineEntry {
|
||||
image2?: string
|
||||
image3?: string
|
||||
image4?: string
|
||||
video?: string
|
||||
side: string
|
||||
link_url?: string
|
||||
link_url_lang?: IAllLang
|
||||
@@ -166,6 +172,7 @@ export interface IColl {
|
||||
date: string
|
||||
subtitle?: IAllLang
|
||||
img: string
|
||||
img2?: string
|
||||
linkagg?: string
|
||||
linkagg_type?: number
|
||||
width?: number
|
||||
@@ -176,3 +183,20 @@ export interface ICollaborations {
|
||||
withwhom_title: IAllLang
|
||||
list: IColl[]
|
||||
}
|
||||
|
||||
export interface IParamDialog {
|
||||
param1?: any
|
||||
param2?: any
|
||||
param3?: any
|
||||
}
|
||||
|
||||
export interface IFunctionality {
|
||||
PWA?: boolean
|
||||
SHOW_USER_MENU?: boolean
|
||||
SHOW_IF_IS_SERVER_CONNECTION?: boolean
|
||||
ENABLE_TODOS_LOADING?: boolean
|
||||
ENABLE_PROJECTS_LOADING?: boolean
|
||||
SHOW_NEWSLETTER?: boolean
|
||||
SHOW_ONLY_POLICY?: boolean
|
||||
BOOKING_EVENTS?: boolean
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ import { IToken } from 'model/other'
|
||||
export const DefaultUser = <IUserState>{
|
||||
email: '',
|
||||
username: '',
|
||||
name: '',
|
||||
surname: '',
|
||||
password: '',
|
||||
lang: 'it'
|
||||
}
|
||||
@@ -11,6 +13,8 @@ export interface IUserState {
|
||||
userId?: string
|
||||
email?: string
|
||||
username?: string
|
||||
name?: string
|
||||
surname?: string
|
||||
password?: string
|
||||
lang?: string
|
||||
repeatPassword?: string
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { IBookingState } from '@src/model/BookingStore'
|
||||
|
||||
export * from './UserStore'
|
||||
export * from './GlobalStore'
|
||||
export * from './signin-option'
|
||||
@@ -11,3 +13,4 @@ export * from './Projects'
|
||||
|
||||
export * from './Calendar'
|
||||
export * from './Estimate'
|
||||
export * from './BookingStore'
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
export interface ISignupOptions {
|
||||
email?: string
|
||||
username: string
|
||||
name?: string
|
||||
surname?: string
|
||||
password?: string
|
||||
lang?: string
|
||||
repeatPassword?: string
|
||||
|
||||
Reference in New Issue
Block a user