From b5432ad8dea7681b51e1c4665e7b8399cd8d1893 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 11 Mar 2022 14:42:52 -0600 Subject: [PATCH] Refactor some reducers with Immutable.Record --- app/soapbox/reducers/__tests__/admin-test.js | Bin 556 -> 325 bytes app/soapbox/reducers/__tests__/alerts-test.js | Bin 1667 -> 1929 bytes app/soapbox/reducers/__tests__/meta-test.js | Bin 233 -> 333 bytes app/soapbox/reducers/admin.js | Bin 4381 -> 4417 bytes app/soapbox/reducers/admin_log.js | Bin 948 -> 984 bytes app/soapbox/reducers/alerts.js | Bin 765 -> 1055 bytes app/soapbox/reducers/meta.js | Bin 369 -> 417 bytes app/soapbox/reducers/notifications.js | Bin 7171 -> 7127 bytes 8 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/reducers/__tests__/admin-test.js b/app/soapbox/reducers/__tests__/admin-test.js index 807bdd02eb5251d853c9b48931b0832d9a81c893..43018c88005ec55594082081e2055aab1bef28a5 100644 GIT binary patch delta 176 zcmZ3(a+FCqGq)hWs6?S!At*IDzbHi^u~@+~H@CDTF)1e%Dl{>!hd((#ued~^D7CmW zr$oV4Vd6)zLTfGsAV{q!NKG!$K+~g_Sq#yv0nwtVsaKNkl&VouRGO-Zq7fpmmzSEF X0@RX}pI-u1nwFST3{hJP)B(Z(x`aHA literal 556 zcmZ`$L2AP=5WM>pd$SD2y(hHLLl1?PKuRAVTkB*&mQ-n#7J~m?DRHsgrUD5xJDQyx z(cr9SI2Qn~(t!-{JPeU#t1;c{1iw(=6`p}y*m;E>)f=wMGh7!V^xh6o(vN1jEeg7} zOiyEnequDuom2yvOi&m)Pc4e_0>Q*AYY-LOKU~Zbi!vN-)GC!ZdINk!AVW-2Ltx3c z;sfB9!;ZxyCZbW;lR;I(d9132?bAn;S}eyGIhMRU=9I!_6^^KK3VB(FX8(sW2Qf2a zK>x3dPNoCD|DxQIk)JXRY7URid3%z2VeA&Yv!cJ}iZ#GlSk}U|$s(IHGlTZYC39 z!%YBY%lZ1_cJqGq+3()oEjD+H&8FXYyPVI~{-lj1i?G}kPgh|?qR8b{m|{he1GjM@ zEX(vTGiDebBb2mFFfFlChuTvW#&v|1tv3kzu#*^NREZtBj!6a9*YUyi;Py2fxpqOW zBa@;|V>VM={nLhwNl^Bt0gSmAc<6h(#`*3VLFQ8)ny$(~iLs|jq zdfp8uYxtXg`oek~2T4>}1{bLd(l;3R07Q% zM^R>0hEj(2%1()pz@IP&og1vFb8hri)GeM9lsNluh%pFh3RGE^!Hyx*3xSa4fvHuYf_o(Q+S8Q2L6@o;hY_qJ6(2UtFjIdQ zQk1NA-;_XFK5{NNH7Je@QIdE#xw@q~p{$&-cic-GlD20|}#(aa- zBexYRATEC7olC6 fNYjp!e`_;GCiF$elr1dSY literal 1667 zcmb_c?`zvI5dEIN;=b7)AzAk^rGwH1mXT7Z2m4S;P;7P9<{z1LhL+&}eLCqBTTRyn zx)K^i_jGsf-IG+cYg&Xotd&L(8dg=+q1cwvZuIcbHWft5??&g7iE?K?5L{%anp!hV zH)6MK9_PF}7o}`bkIu9*?=smkd^Q^)a;dXcZDky}Q^4403ULA#pJ6`%P#8zLXu2{t zVeHx(u#li?g-Vp5QJ@U)0P=AsGmJS|+|{{!P_@jbuE zurvUt&IajMHMT z8_PIq$vS9Z9tSsR7>ZaQ*<8==*U47mM#xRPWbOZ>CO-E;686&Q6$y-VwO(G{1~z)z zL*(UCu0&`ZI%Tdr-+{4jXrKLml-No`fbm`PiJcu>G)z21II+{ib35rJveLL~`HnZl M2}M)j*Oiuk0h&z9djJ3c diff --git a/app/soapbox/reducers/__tests__/meta-test.js b/app/soapbox/reducers/__tests__/meta-test.js index cfdf882cb4110fde0e2b3c2551e0f905655429a9..92ee4e6ff54a73a915e3fb93b578d6fb94fe1692 100644 GIT binary patch delta 185 zcmaFKc$P^iGq)hWs6?S!At*IDzbHi^u~@+~H@CDTF)1e%A~aE^n?E@}ued~^D7CmW zr$oV4Vd6TmYHKb9AV{q!NKG!$K+~d^Sq#yu0nwtVsaKNkl&VouRGO-Zq7fpmmkBgJ hF)ukaJ}tE*IU_zTF*7GM1*$16F{c=!s}`sigaICxKsx{c delta 103 zcmX@h^pa5~Gq)hWs6?S!!8fr$A+cD&GdH)iBrz!`7092c)a{g7QIMKkqEVEZQktAv rq*0oelA4y8mztuZP+hC3saKNkT3DKxqk*hVLsQe5OF^L)NP;i`si`At diff --git a/app/soapbox/reducers/admin.js b/app/soapbox/reducers/admin.js index 1da0ef7aa10a8fb155226d515872e0726083896b..6a75e2c5ba423ad2e22626625b46ae0e02453b4b 100644 GIT binary patch delta 94 zcmbQMbWmwRkYrG5a(+>YLSnIkXKrq3Nn%n?Dnw|b-wHYLSnIkXKrq3Nn%n?Dnw|aT%UYUYD#HxY7tb8ExMA8$L*Q; NQPgN?P8MQb1ON#%A!Psn delta 58 zcmcb?zJ+~)(nR|%>CC*$lFY=M;F83WR0UfF&)nS7lEkE(RNuscjW6t(c#!2Mn=vl} E0F9{@CjbBd diff --git a/app/soapbox/reducers/alerts.js b/app/soapbox/reducers/alerts.js index 79fad30e6f847dd4f07acc148907b89a3aedc184..31428d4024109baa5060e874bc61a62781c2309f 100644 GIT binary patch literal 1055 zcmaJ=!EW0y488j+c(aWeN_WlR3_)9T!LkmB2kbZ~4&4Zq?ZBe9W`X~GlBhWL2JDoO zdVG9*q*Z-tJAw=Buxz^nNCTU??n&-7aw>zZGBkVei2E!XRG^Ch*4xM3 zw;#o)uivvVde{_SHbrqu+;1P(yDYkL39*nRskSi-sj(yDI7=H6tX&*L=6`EUF1E!h zo|kavxJi-5CB(4{YBWZ^jG@7w*eSBmST$AaA>4B-_o%N`A*GsE&J5|OL^X<()CEaG zm`HK1Bo4M%z!MTQ_(o0??4`j2v<+zKjC6y9pa?a{Wtd$7sl88{;aN(%XEi3}4Euc;d*snEmHX-6;IGH6!rL7o|qo RxkCjA!~Y9%k3%#>e*gvqR80T? delta 320 zcmbQw@t0L5Gq)hWs6?S!!8fr$A+cD&GdH)iBrz!`7092c)IQmmQI3=L#u8r571V33_!X*GE=qhY-cRG=iYBq!BMAu+imGe1uc%!5hgrWO|` zrXwVwe3*1`YFTPgW=SPnGfY6CrbaYLSnIkXKrq3Nn%n?Dnw|acC1QJYD#HxY7tb8ExHnoYAywZ f$@+|Kd-n%At*JaG&!|s^91J8g6uF(hUjcI04ov>yZ`_I delta 83 zcmca^-fXcUmf2WeUm++pIlm}HAuYd1p(G