Richieste d'Amicizia: aggiunto data di richiesta e di amicizia

This commit is contained in:
paoloar77
2022-01-15 12:25:36 +01:00
parent bf74eb2a03
commit 42e7037100
7 changed files with 20 additions and 17 deletions

View File

@@ -7,6 +7,11 @@ const enum ESexType {
Female = 2,
}
export interface IFriends {
username?: string
date?: Date
}
export interface IUserProfile {
img?: string
nationality?: string
@@ -44,8 +49,8 @@ export interface IUserProfile {
socioresidente?: boolean
consiglio?: boolean
myshares: IShareWithUs[]
friends: any[]
req_friends: string[]
friends: IFriends[]
req_friends: IFriends[]
// in memory
asked_friends: any[]
@@ -69,6 +74,7 @@ export interface IUserFields {
perm?: number
verified_email?: boolean
verified_by_aportador?: boolean
trust_modified?: Date
aportador_solidario?: string
made_gift?: boolean