PCB lista categorie

This commit is contained in:
Surya Paolo
2023-11-28 14:12:45 +01:00
parent b29caade62
commit 2314b07428
14 changed files with 216 additions and 78 deletions

View File

@@ -1,7 +0,0 @@
export interface ICategory {
id?: number,
descr_it?: string
descr_en?: string
descr_es?: string
campo2bool: boolean
}

View File

@@ -1,7 +1,7 @@
import { IAction } from '@src/model/Projects'
import { IFriends, IGroupShort, IMyGroup, IPaymentType } from '@src/model/UserStore'
import {
IDepartment, IProducer, IShareWithUs, IStorehouse,
IDepartment, IProducer, IShareWithUs, IStorehouse, ICategory
} from '@src/model/Products'
import { IUserFields, IUserProfile } from '@src/model/UserStore'
@@ -434,6 +434,7 @@ export interface IGlobalState {
producers: IProducer[],
storehouses: IStorehouse[],
departments: IDepartment[],
categories: ICategory[],
sharewithus: IShareWithUs[],
groups: IGroup[],
resps: IResp[],

View File

@@ -80,6 +80,12 @@ export interface IDepartment {
username?: string,
}
export interface ICategory {
_id?: any
name: string,
img?: string,
}
export interface IStorehouse {
_id?: any
idapp?: string

View File

@@ -6,7 +6,6 @@ export * from './signup-option'
export * from './key-value'
// export * from './payload'
export * from './Categories'
export * from './Todos'
export * from './Projects'