Fixed: le reactions devono stare in una tabella a parte (reactions).
- cambiata la gestione dei seen, fav, book, attend
This commit is contained in:
@@ -77,6 +77,16 @@ export interface IAttend {
|
||||
tab: number
|
||||
num: number
|
||||
}
|
||||
export interface IReaction {
|
||||
id: string
|
||||
idrec: string
|
||||
username: string
|
||||
tab: number
|
||||
seen?: boolean
|
||||
fav?: boolean
|
||||
book?: boolean
|
||||
attend?: boolean
|
||||
}
|
||||
|
||||
export interface IFavBook {
|
||||
username: string
|
||||
@@ -141,16 +151,14 @@ export interface IUserProfile {
|
||||
noNameSurname: boolean
|
||||
noCircuit: boolean
|
||||
noFoto: boolean
|
||||
bookmark: IBookmark[]
|
||||
favorite: IFavorite[]
|
||||
seen: ISeen[]
|
||||
attend: IAttend[]
|
||||
reaction: IReaction[]
|
||||
// bookmark: IBookmark[]
|
||||
// favorite: IFavorite[]
|
||||
// seen: ISeen[]
|
||||
// attend: IAttend[]
|
||||
|
||||
// Query
|
||||
myfav: IFavBook[]
|
||||
mybook: IFavBook[]
|
||||
myseen: IFavBook[]
|
||||
myattend: IFavBook[]
|
||||
myreaction: IReaction[]
|
||||
mybookings: IBookedEvent[]
|
||||
|
||||
// in memory
|
||||
|
||||
Reference in New Issue
Block a user