Update Selector.js
This commit is contained in:
+2
-15
@@ -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'
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user