21 lines
1.0 KiB
JavaScript
21 lines
1.0 KiB
JavaScript
module.exports = {
|
|
populate: {
|
|
productPopAdmin: 'comments shopID sub brandID'
|
|
},
|
|
select: {
|
|
userCustom: 'firstName lastName phoneNumber cellNumber',
|
|
user: 'firstName lastName',
|
|
auther: 'firstName lastName',
|
|
comment: 'firstName lastName',
|
|
productCard: 'title price specialPrice specialSell category coverImage coverPath stars orderRange uid',
|
|
productCard2: 'title category coverImage coverPath uid',
|
|
blogCard: 'link title coverImage content',
|
|
shop: 'shopName active rate desc',
|
|
brand: 'title link description logo',
|
|
category: 'main ordering link name',
|
|
shopProduct: 'title uid link price category specialPrice stockQuantity coverImage order confirmToShow createdAt updatedAt',
|
|
userMinus: '-password -token -createdAt -updatedAt -otp -otpTime -attempOtp -lastAttemp',
|
|
userProfile: 'favoriteProducts notifications',
|
|
productCart: 'title uid price specialPrice category coverImage shopID itemInBox boxSeller localSend warranty orderRange'
|
|
}
|
|
} |