- Gruppi (2)

This commit is contained in:
paoloar77
2022-02-04 23:48:53 +01:00
parent 45a771fab2
commit 498c28773f
26 changed files with 332 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
import { IAction } from '@src/model/Projects'
import { IPaymentType } from '@src/model/UserStore'
import { IMyGroup, IPaymentType } from '@src/model/UserStore'
import {
IDepartment, IProducer, IShareWithUs, IStorehouse,
} from '@src/model/Products'
@@ -261,6 +261,7 @@ export interface IGlobalState {
subSkills: ISubSkill[],
statusSkills: IStatusSkill[],
sectors: ISector[],
catgrps: ICatGrp[],
cities: ICity[],
}
@@ -484,6 +485,9 @@ export interface IColGridTable {
required?: boolean
label?: string
label_trans?: string
visibleif?: number
visib_field?: string
visib_value?: any
align?: string
field?: string
sortable?: boolean
@@ -495,6 +499,7 @@ export interface IColGridTable {
askaction?: string
foredit?: boolean
fieldtype?: number
field_outtype?: number
noshowlabel?: boolean
tipovisu?: number
link?: string
@@ -506,6 +511,7 @@ export interface IColGridTable {
notsave?: boolean
showWhen?: number
maxlength?: number
allowchar?: number
filter_table?: string
filter_field?: string
remote_table?: string
@@ -633,6 +639,16 @@ export interface ISector {
theme: string
}
export interface ICatGrp {
_id: number
descr: string
idCatGrp?: number
icon?: string
img?: string
color: string
theme: string
}
export interface ILevel {
_id: number
descr: string

View File

@@ -1,6 +1,6 @@
import { IToken } from '@model/other'
import { ICart, IOrderCart, IShareWithUs } from '@src/model/Products'
import { IGallery } from '@model/GlobalStore'
import { IGallery, IImgGallery } from '@model/GlobalStore'
const enum ESexType {
None = 0,
@@ -17,7 +17,7 @@ export interface IMyGroup {
groupname: string
title?: string
descr?: string
photos: IGallery[]
photos: IImgGallery[]
visibility?: number
date_created?: Date
admins?: IFriends[]
@@ -69,7 +69,7 @@ export interface IUserProfile {
myshares: IShareWithUs[]
friends: IFriends[]
req_friends: IFriends[]
groups: IMyGroup[]
mygroups: IMyGroup[]
// in memory
asked_friends: any[]