ver 0.5.51

This commit is contained in:
Surya Paolo
2023-01-03 16:51:45 +01:00
parent 3f9f608d4e
commit ce4bf65fc4
49 changed files with 1610 additions and 440 deletions

View File

@@ -1,6 +1,6 @@
import { IToken } from '@model/other'
import { ICart, IOrderCart, IShareWithUs } from '@src/model/Products'
import { IAccount, ICircuit, ICircuitList, IGallery, IImgGallery, IMyCircuit } from '@model/GlobalStore'
import { IAccount, ICircuit, IGallery, IImgGallery, IMyCircuit } from '@model/GlobalStore'
const enum ESexType {
None = 0,
@@ -12,6 +12,16 @@ export interface IFriends {
username: string
date?: Date
}
export interface IGroupShort {
groupname: string
date?: Date
}
export interface IUserAdmins {
username: string
perm?: number
date?: Date
}
export interface IMyGroup {
_id: string
@@ -30,7 +40,7 @@ export interface IMyGroup {
username_who_block?: string
date_blocked?: Date
createdBy?: string
circuits_list?: ICircuitList[]
mycircuits?: IMyCircuit[]
}
export interface ICalcStat {
@@ -98,8 +108,8 @@ export interface IUserProfile {
// in memory
asked_friends: any[]
asked_groups: any[]
refused_groups: any[]
asked_groups: IGroupShort[]
refused_groups: IGroupShort[]
list_usersgroup?: IFriends[]
asked_circuits: any[]