PageSourceSearch

https://main.cdn.wish.com/web/ac80df1e8d74/dist/cozy/cozy_data_act…s_FollowActions_tsx.2238c7d2518345f3bfe9.js

js wish.com collected 2026-09-24 07:55:59 UTC 2,423 bytes, 2 lines download raw bytes

1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["cozy_data_actions_FollowActions_tsx"],{
1"./cozy/data/actions/FollowActions.tsx":function(n,t,o){"use strict";o.r(t),o.d(t,{clearFollowData:function(){return l},clearIsInitialData:function(){return _},fetchFollowers:function(){return i},fetchFollowings:function(){return s},followUser:function(){return a},loadFollowInitial:function(){return O},unfollowUser:function(){return u}});var L=o("./cozy/utils/Api.tsx"),r=async(n,t)=>{const{data:o}=await(0,L.ZP)("profile/users/scroll",{set_id:"follower:".concat(n),offset:t,count:10});return o},e=async(n,t)=>{const{data:o}=await(0,L.ZP)("profile/users/scroll",{set_id:"following:".concat(n),offset:t,count:10});return o},c=o("./cozy/data/actions/actionNameConstants/FollowActionNameConstants.tsx");const O=n=>{const t=n.following||n.follower;return{type:n.follower?c.Y:c.gm,payload:{...t,isInitialData:!0}}},_=()=>({type:c.g_}),a=(n,t,o)=>({type:c.zi,payload:async()=>(await(async(n,t)=>(0,L.ZP)("user/follow",{followee_id:n,src:t}))(n,t),{userID:n,ownUserID:o})}),u=(n,t,o)=>({type:c.mv,payload:async()=>(await(async(n,t)=>(0,L.ZP)("user/unfollow",{followee_id:n,src:t}))(n,t),{userID:n,ownUserID:o})}),i=(n,t)=>({type:c.X9,payload:r(n,t)}),s=(n,t)=>({type:c.VD,payload:e(n,t)}),l=()=>({type:c.Xz})},
1"./cozy/data/actions/actionNameConstants/FollowActionNameConstants.tsx":function(n,t,o){"use strict";o.d(t,{g_:function(){return L},zi:function(){return r},pi:function(){return e},TW:function(){return c},mv:function(){return O},k3:function(){return _},VF:function(){return a},X9:function(){return u},Y:function(){return i},Pf:function(){return s},hN:function(){return l},VD:function(){return F},gm:function(){return f},Fl:function(){return E},In:function(){return W},Xz:function(){return D}});const L="FOLLOW_CLEAR_IS_INITIAL_DATA",r="FOLLOW_FOLLOW_USER",e="FOLLOW_FOLLOW_USER_FULFILLED",c="FOLLOW_FOLLOW_USER_REJECTED",O="FOLLOW_UNFOLLOW_USER",_="FOLLOW_UNFOLLOW_USER_FULFILLED",a="FOLLOW_UNFOLLOW_USER_REJECTED",u="FOLLOW_FETCH_FOLLOWERS",i="FOLLOW_FETCH_FOLLOWERS_FULFILLED",s="FOLLOW_FETCH_FOLLOWERS_PENDING",l="FOLLOW_FETCH_FOLLOWERS_REJECTED",F="FOLLOW_FETCH_FOLLOWINGS",f="FOLLOW_FETCH_FOLLOWINGS_FULFILLED",E="FOLLOW_FETCH_FOLLOWINGS_PENDING",W="FOLLOW_FETCH_FOLLOWINGS_REJECTED",D="FOLLOW_CLEAR_FOLLOW"}
1}]);
2//# sourceMappingURL=cozy_data_actions_FollowActions_tsx.2238c7d2518345f3bfe9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.