Update Selector.js

This commit is contained in:
Mr Swift
2024-04-27 20:13:19 +03:30
parent 5a419b924c
commit c647f11ae3
+2 -15
View File
@@ -1,21 +1,8 @@
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'
}
}