diff --git a/plugins/Selector.js b/plugins/Selector.js index c4b0d10..6de4d45 100644 --- a/plugins/Selector.js +++ b/plugins/Selector.js @@ -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' + } } \ No newline at end of file