@atproto/pds 0.4.33 → 0.4.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/account-manager/db/migrations/004-oauth.d.ts +4 -0
  3. package/dist/account-manager/db/migrations/004-oauth.d.ts.map +1 -0
  4. package/dist/account-manager/db/migrations/004-oauth.js +106 -0
  5. package/dist/account-manager/db/migrations/004-oauth.js.map +1 -0
  6. package/dist/account-manager/db/migrations/index.d.ts +2 -0
  7. package/dist/account-manager/db/migrations/index.d.ts.map +1 -1
  8. package/dist/account-manager/db/migrations/index.js +2 -0
  9. package/dist/account-manager/db/migrations/index.js.map +1 -1
  10. package/dist/account-manager/db/schema/authorization-request.d.ts +19 -0
  11. package/dist/account-manager/db/schema/authorization-request.d.ts.map +1 -0
  12. package/dist/account-manager/db/schema/authorization-request.js +5 -0
  13. package/dist/account-manager/db/schema/authorization-request.js.map +1 -0
  14. package/dist/account-manager/db/schema/device-account.d.ts +14 -0
  15. package/dist/account-manager/db/schema/device-account.d.ts.map +1 -0
  16. package/dist/account-manager/db/schema/device-account.js +5 -0
  17. package/dist/account-manager/db/schema/device-account.js.map +1 -0
  18. package/dist/account-manager/db/schema/device.d.ts +16 -0
  19. package/dist/account-manager/db/schema/device.d.ts.map +1 -0
  20. package/dist/account-manager/db/schema/device.js +5 -0
  21. package/dist/account-manager/db/schema/device.js.map +1 -0
  22. package/dist/account-manager/db/schema/index.d.ts +11 -1
  23. package/dist/account-manager/db/schema/index.d.ts.map +1 -1
  24. package/dist/account-manager/db/schema/token.d.ts +24 -0
  25. package/dist/account-manager/db/schema/token.d.ts.map +1 -0
  26. package/dist/account-manager/db/schema/token.js +5 -0
  27. package/dist/account-manager/db/schema/token.js.map +1 -0
  28. package/dist/account-manager/db/schema/used-refresh-token.d.ts +12 -0
  29. package/dist/account-manager/db/schema/used-refresh-token.d.ts.map +1 -0
  30. package/dist/account-manager/db/schema/used-refresh-token.js +5 -0
  31. package/dist/account-manager/db/schema/used-refresh-token.js.map +1 -0
  32. package/dist/account-manager/helpers/account.d.ts +27 -5
  33. package/dist/account-manager/helpers/account.d.ts.map +1 -1
  34. package/dist/account-manager/helpers/account.js +15 -14
  35. package/dist/account-manager/helpers/account.js.map +1 -1
  36. package/dist/account-manager/helpers/authorization-request.d.ts +12 -0
  37. package/dist/account-manager/helpers/authorization-request.d.ts.map +1 -0
  38. package/dist/account-manager/helpers/authorization-request.js +59 -0
  39. package/dist/account-manager/helpers/authorization-request.js.map +1 -0
  40. package/dist/account-manager/helpers/device-account.d.ts +108 -0
  41. package/dist/account-manager/helpers/device-account.d.ts.map +1 -0
  42. package/dist/account-manager/helpers/device-account.js +82 -0
  43. package/dist/account-manager/helpers/device-account.js.map +1 -0
  44. package/dist/account-manager/helpers/device.d.ts +9 -0
  45. package/dist/account-manager/helpers/device.d.ts.map +1 -0
  46. package/dist/account-manager/helpers/device.js +32 -0
  47. package/dist/account-manager/helpers/device.js.map +1 -0
  48. package/dist/account-manager/helpers/token.d.ts +485 -0
  49. package/dist/account-manager/helpers/token.d.ts.map +1 -0
  50. package/dist/account-manager/helpers/token.js +123 -0
  51. package/dist/account-manager/helpers/token.js.map +1 -0
  52. package/dist/account-manager/helpers/used-refresh-token.d.ts +10 -0
  53. package/dist/account-manager/helpers/used-refresh-token.d.ts.map +1 -0
  54. package/dist/account-manager/helpers/used-refresh-token.js +25 -0
  55. package/dist/account-manager/helpers/used-refresh-token.js.map +1 -0
  56. package/dist/account-manager/index.d.ts +36 -6
  57. package/dist/account-manager/index.d.ts.map +1 -1
  58. package/dist/account-manager/index.js +223 -22
  59. package/dist/account-manager/index.js.map +1 -1
  60. package/dist/actor-store/preference/reader.d.ts +2 -1
  61. package/dist/actor-store/preference/reader.d.ts.map +1 -1
  62. package/dist/actor-store/preference/reader.js +3 -1
  63. package/dist/actor-store/preference/reader.js.map +1 -1
  64. package/dist/actor-store/preference/transactor.d.ts +2 -1
  65. package/dist/actor-store/preference/transactor.d.ts.map +1 -1
  66. package/dist/actor-store/preference/transactor.js +7 -1
  67. package/dist/actor-store/preference/transactor.js.map +1 -1
  68. package/dist/actor-store/preference/util.d.ts +3 -0
  69. package/dist/actor-store/preference/util.d.ts.map +1 -0
  70. package/dist/actor-store/preference/util.js +12 -0
  71. package/dist/actor-store/preference/util.js.map +1 -0
  72. package/dist/actor-store/record/reader.d.ts +1 -1
  73. package/dist/api/app/bsky/actor/getPreferences.d.ts.map +1 -1
  74. package/dist/api/app/bsky/actor/getPreferences.js +1 -6
  75. package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
  76. package/dist/api/app/bsky/actor/putPreferences.d.ts.map +1 -1
  77. package/dist/api/app/bsky/actor/putPreferences.js +1 -1
  78. package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
  79. package/dist/api/app/bsky/util/resolver.d.ts +1 -1
  80. package/dist/api/com/atproto/server/createSession.d.ts.map +1 -1
  81. package/dist/api/com/atproto/server/createSession.js +7 -31
  82. package/dist/api/com/atproto/server/createSession.js.map +1 -1
  83. package/dist/api/com/atproto/server/deleteSession.d.ts.map +1 -1
  84. package/dist/api/com/atproto/server/deleteSession.js +14 -13
  85. package/dist/api/com/atproto/server/deleteSession.js.map +1 -1
  86. package/dist/api/com/atproto/server/getSession.d.ts.map +1 -1
  87. package/dist/api/com/atproto/server/getSession.js +4 -2
  88. package/dist/api/com/atproto/server/getSession.js.map +1 -1
  89. package/dist/api/com/atproto/server/refreshSession.d.ts.map +1 -1
  90. package/dist/api/com/atproto/server/refreshSession.js +4 -2
  91. package/dist/api/com/atproto/server/refreshSession.js.map +1 -1
  92. package/dist/api/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
  93. package/dist/api/com/atproto/sync/getRepoStatus.js +2 -1
  94. package/dist/api/com/atproto/sync/getRepoStatus.js.map +1 -1
  95. package/dist/api/com/atproto/sync/listRepos.js +2 -2
  96. package/dist/api/com/atproto/sync/listRepos.js.map +1 -1
  97. package/dist/api/proxy.d.ts.map +1 -1
  98. package/dist/api/proxy.js +15 -2
  99. package/dist/api/proxy.js.map +1 -1
  100. package/dist/auth-routes.d.ts +4 -0
  101. package/dist/auth-routes.d.ts.map +1 -0
  102. package/dist/auth-routes.js +24 -0
  103. package/dist/auth-routes.js.map +1 -0
  104. package/dist/auth-verifier.d.ts +32 -11
  105. package/dist/auth-verifier.d.ts.map +1 -1
  106. package/dist/auth-verifier.js +238 -79
  107. package/dist/auth-verifier.js.map +1 -1
  108. package/dist/config/config.d.ts +12 -0
  109. package/dist/config/config.d.ts.map +1 -1
  110. package/dist/config/config.js +45 -0
  111. package/dist/config/config.js.map +1 -1
  112. package/dist/config/env.d.ts +8 -0
  113. package/dist/config/env.d.ts.map +1 -1
  114. package/dist/config/env.js +10 -0
  115. package/dist/config/env.js.map +1 -1
  116. package/dist/config/secrets.d.ts +1 -0
  117. package/dist/config/secrets.d.ts.map +1 -1
  118. package/dist/config/secrets.js +1 -0
  119. package/dist/config/secrets.js.map +1 -1
  120. package/dist/context.d.ts +6 -0
  121. package/dist/context.d.ts.map +1 -1
  122. package/dist/context.js +71 -13
  123. package/dist/context.js.map +1 -1
  124. package/dist/db/cast.d.ts +15 -0
  125. package/dist/db/cast.d.ts.map +1 -0
  126. package/dist/db/cast.js +66 -0
  127. package/dist/db/cast.js.map +1 -0
  128. package/dist/db/db.d.ts +2 -2
  129. package/dist/db/db.d.ts.map +1 -1
  130. package/dist/db/db.js +9 -7
  131. package/dist/db/db.js.map +1 -1
  132. package/dist/db/index.d.ts +1 -0
  133. package/dist/db/index.d.ts.map +1 -1
  134. package/dist/db/index.js +1 -0
  135. package/dist/db/index.js.map +1 -1
  136. package/dist/error.d.ts.map +1 -1
  137. package/dist/error.js +5 -0
  138. package/dist/error.js.map +1 -1
  139. package/dist/index.d.ts.map +1 -1
  140. package/dist/index.js +2 -0
  141. package/dist/index.js.map +1 -1
  142. package/dist/lexicon/index.d.ts +4 -0
  143. package/dist/lexicon/index.d.ts.map +1 -1
  144. package/dist/lexicon/index.js +8 -0
  145. package/dist/lexicon/index.js.map +1 -1
  146. package/dist/lexicon/lexicons.d.ts +51 -0
  147. package/dist/lexicon/lexicons.d.ts.map +1 -1
  148. package/dist/lexicon/lexicons.js +51 -0
  149. package/dist/lexicon/lexicons.js.map +1 -1
  150. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +1 -0
  151. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  152. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  153. package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts +29 -0
  154. package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts.map +1 -0
  155. package/dist/lexicon/types/app/bsky/graph/muteThread.js +3 -0
  156. package/dist/lexicon/types/app/bsky/graph/muteThread.js.map +1 -0
  157. package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts +29 -0
  158. package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts.map +1 -0
  159. package/dist/lexicon/types/app/bsky/graph/unmuteThread.js +3 -0
  160. package/dist/lexicon/types/app/bsky/graph/unmuteThread.js.map +1 -0
  161. package/dist/logger.d.ts +13 -11
  162. package/dist/logger.d.ts.map +1 -1
  163. package/dist/logger.js +80 -64
  164. package/dist/logger.js.map +1 -1
  165. package/dist/oauth/detailed-account-store.d.ts +27 -0
  166. package/dist/oauth/detailed-account-store.d.ts.map +1 -0
  167. package/dist/oauth/detailed-account-store.js +76 -0
  168. package/dist/oauth/detailed-account-store.js.map +1 -0
  169. package/dist/oauth/provider.d.ts +16 -0
  170. package/dist/oauth/provider.d.ts.map +1 -0
  171. package/dist/oauth/provider.js +45 -0
  172. package/dist/oauth/provider.js.map +1 -0
  173. package/dist/pipethrough.d.ts.map +1 -1
  174. package/dist/pipethrough.js.map +1 -1
  175. package/dist/sequencer/events.d.ts +2 -2
  176. package/example.env +21 -3
  177. package/package.json +9 -7
  178. package/src/account-manager/db/migrations/004-oauth.ts +122 -0
  179. package/src/account-manager/db/migrations/index.ts +2 -0
  180. package/src/account-manager/db/schema/authorization-request.ts +26 -0
  181. package/src/account-manager/db/schema/device-account.ts +15 -0
  182. package/src/account-manager/db/schema/device.ts +18 -0
  183. package/src/account-manager/db/schema/index.ts +15 -0
  184. package/src/account-manager/db/schema/token.ts +34 -0
  185. package/src/account-manager/db/schema/used-refresh-token.ts +13 -0
  186. package/src/account-manager/helpers/account.ts +16 -21
  187. package/src/account-manager/helpers/authorization-request.ts +82 -0
  188. package/src/account-manager/helpers/device-account.ts +135 -0
  189. package/src/account-manager/helpers/device.ts +45 -0
  190. package/src/account-manager/helpers/token.ts +185 -0
  191. package/src/account-manager/helpers/used-refresh-token.ts +30 -0
  192. package/src/account-manager/index.ts +325 -20
  193. package/src/actor-store/preference/reader.ts +8 -2
  194. package/src/actor-store/preference/transactor.ts +10 -0
  195. package/src/actor-store/preference/util.ts +8 -0
  196. package/src/api/app/bsky/actor/getPreferences.ts +2 -9
  197. package/src/api/app/bsky/actor/putPreferences.ts +5 -1
  198. package/src/api/com/atproto/server/createSession.ts +8 -44
  199. package/src/api/com/atproto/server/deleteSession.ts +14 -20
  200. package/src/api/com/atproto/server/getSession.ts +7 -2
  201. package/src/api/com/atproto/server/refreshSession.ts +6 -2
  202. package/src/api/com/atproto/sync/getRepoStatus.ts +3 -1
  203. package/src/api/com/atproto/sync/listRepos.ts +1 -1
  204. package/src/api/proxy.ts +18 -2
  205. package/src/auth-routes.ts +27 -0
  206. package/src/auth-verifier.ts +312 -92
  207. package/src/config/config.ts +66 -0
  208. package/src/config/env.ts +24 -0
  209. package/src/config/secrets.ts +2 -0
  210. package/src/context.ts +80 -14
  211. package/src/db/cast.ts +59 -0
  212. package/src/db/db.ts +15 -12
  213. package/src/db/index.ts +1 -0
  214. package/src/error.ts +7 -0
  215. package/src/index.ts +2 -0
  216. package/src/lexicon/index.ts +24 -0
  217. package/src/lexicon/lexicons.ts +52 -0
  218. package/src/lexicon/types/app/bsky/feed/defs.ts +1 -0
  219. package/src/lexicon/types/app/bsky/graph/muteThread.ts +38 -0
  220. package/src/lexicon/types/app/bsky/graph/unmuteThread.ts +38 -0
  221. package/src/logger.ts +83 -38
  222. package/src/oauth/detailed-account-store.ts +96 -0
  223. package/src/oauth/provider.ts +77 -0
  224. package/src/pipethrough.ts +3 -2
  225. package/tests/preferences.test.ts +67 -1
  226. package/tests/proxied/__snapshots__/feedgen.test.ts.snap +4 -1
  227. package/tests/proxied/__snapshots__/views.test.ts.snap +116 -38
@@ -446,7 +446,9 @@ Object {
446
446
  "replyCount": 1,
447
447
  "repostCount": 0,
448
448
  "uri": "record(0)",
449
- "viewer": Object {},
449
+ "viewer": Object {
450
+ "threadMuted": false,
451
+ },
450
452
  },
451
453
  "reply": Object {
452
454
  "parent": Object {
@@ -489,7 +491,9 @@ Object {
489
491
  "replyCount": 2,
490
492
  "repostCount": 1,
491
493
  "uri": "record(3)",
492
- "viewer": Object {},
494
+ "viewer": Object {
495
+ "threadMuted": false,
496
+ },
493
497
  },
494
498
  "root": Object {
495
499
  "$type": "app.bsky.feed.defs#postView",
@@ -531,7 +535,9 @@ Object {
531
535
  "replyCount": 2,
532
536
  "repostCount": 1,
533
537
  "uri": "record(3)",
534
- "viewer": Object {},
538
+ "viewer": Object {
539
+ "threadMuted": false,
540
+ },
535
541
  },
536
542
  },
537
543
  },
@@ -562,7 +568,9 @@ Object {
562
568
  "replyCount": 0,
563
569
  "repostCount": 0,
564
570
  "uri": "record(5)",
565
- "viewer": Object {},
571
+ "viewer": Object {
572
+ "threadMuted": false,
573
+ },
566
574
  },
567
575
  },
568
576
  Object {
@@ -596,7 +604,9 @@ Object {
596
604
  "replyCount": 0,
597
605
  "repostCount": 0,
598
606
  "uri": "record(6)",
599
- "viewer": Object {},
607
+ "viewer": Object {
608
+ "threadMuted": false,
609
+ },
600
610
  },
601
611
  },
602
612
  ],
@@ -807,7 +817,9 @@ Object {
807
817
  "replyCount": 0,
808
818
  "repostCount": 1,
809
819
  "uri": "record(0)",
810
- "viewer": Object {},
820
+ "viewer": Object {
821
+ "threadMuted": false,
822
+ },
811
823
  },
812
824
  "reply": Object {
813
825
  "grandparentAuthor": Object {
@@ -899,7 +911,9 @@ Object {
899
911
  "replyCount": 1,
900
912
  "repostCount": 0,
901
913
  "uri": "record(3)",
902
- "viewer": Object {},
914
+ "viewer": Object {
915
+ "threadMuted": false,
916
+ },
903
917
  },
904
918
  "root": Object {
905
919
  "$type": "app.bsky.feed.defs#postView",
@@ -941,7 +955,9 @@ Object {
941
955
  "replyCount": 2,
942
956
  "repostCount": 1,
943
957
  "uri": "record(2)",
944
- "viewer": Object {},
958
+ "viewer": Object {
959
+ "threadMuted": false,
960
+ },
945
961
  },
946
962
  },
947
963
  },
@@ -1008,7 +1024,9 @@ Object {
1008
1024
  "replyCount": 1,
1009
1025
  "repostCount": 0,
1010
1026
  "uri": "record(3)",
1011
- "viewer": Object {},
1027
+ "viewer": Object {
1028
+ "threadMuted": false,
1029
+ },
1012
1030
  },
1013
1031
  "reply": Object {
1014
1032
  "parent": Object {
@@ -1051,7 +1069,9 @@ Object {
1051
1069
  "replyCount": 2,
1052
1070
  "repostCount": 1,
1053
1071
  "uri": "record(2)",
1054
- "viewer": Object {},
1072
+ "viewer": Object {
1073
+ "threadMuted": false,
1074
+ },
1055
1075
  },
1056
1076
  "root": Object {
1057
1077
  "$type": "app.bsky.feed.defs#postView",
@@ -1093,7 +1113,9 @@ Object {
1093
1113
  "replyCount": 2,
1094
1114
  "repostCount": 1,
1095
1115
  "uri": "record(2)",
1096
- "viewer": Object {},
1116
+ "viewer": Object {
1117
+ "threadMuted": false,
1118
+ },
1097
1119
  },
1098
1120
  },
1099
1121
  },
@@ -1267,7 +1289,9 @@ Object {
1267
1289
  "replyCount": 0,
1268
1290
  "repostCount": 0,
1269
1291
  "uri": "record(6)",
1270
- "viewer": Object {},
1292
+ "viewer": Object {
1293
+ "threadMuted": false,
1294
+ },
1271
1295
  },
1272
1296
  },
1273
1297
  Object {
@@ -1297,7 +1321,9 @@ Object {
1297
1321
  "replyCount": 0,
1298
1322
  "repostCount": 0,
1299
1323
  "uri": "record(13)",
1300
- "viewer": Object {},
1324
+ "viewer": Object {
1325
+ "threadMuted": false,
1326
+ },
1301
1327
  },
1302
1328
  },
1303
1329
  Object {
@@ -1340,7 +1366,9 @@ Object {
1340
1366
  "replyCount": 2,
1341
1367
  "repostCount": 1,
1342
1368
  "uri": "record(2)",
1343
- "viewer": Object {},
1369
+ "viewer": Object {
1370
+ "threadMuted": false,
1371
+ },
1344
1372
  },
1345
1373
  },
1346
1374
  Object {
@@ -1374,7 +1402,9 @@ Object {
1374
1402
  "replyCount": 0,
1375
1403
  "repostCount": 0,
1376
1404
  "uri": "record(12)",
1377
- "viewer": Object {},
1405
+ "viewer": Object {
1406
+ "threadMuted": false,
1407
+ },
1378
1408
  },
1379
1409
  },
1380
1410
  Object {
@@ -1433,7 +1463,9 @@ Object {
1433
1463
  "replyCount": 0,
1434
1464
  "repostCount": 0,
1435
1465
  "uri": "record(14)",
1436
- "viewer": Object {},
1466
+ "viewer": Object {
1467
+ "threadMuted": false,
1468
+ },
1437
1469
  },
1438
1470
  },
1439
1471
  ],
@@ -1473,7 +1505,9 @@ Object {
1473
1505
  "replyCount": 0,
1474
1506
  "repostCount": 0,
1475
1507
  "uri": "record(0)",
1476
- "viewer": Object {},
1508
+ "viewer": Object {
1509
+ "threadMuted": false,
1510
+ },
1477
1511
  },
1478
1512
  Object {
1479
1513
  "author": Object {
@@ -1590,6 +1624,7 @@ Object {
1590
1624
  "uri": "record(3)",
1591
1625
  "viewer": Object {
1592
1626
  "like": "record(6)",
1627
+ "threadMuted": false,
1593
1628
  },
1594
1629
  },
1595
1630
  ],
@@ -1670,7 +1705,9 @@ Object {
1670
1705
  "replyCount": 0,
1671
1706
  "repostCount": 1,
1672
1707
  "uri": "record(0)",
1673
- "viewer": Object {},
1708
+ "viewer": Object {
1709
+ "threadMuted": false,
1710
+ },
1674
1711
  },
1675
1712
  "reason": Object {
1676
1713
  "$type": "app.bsky.feed.defs#reasonRepost",
@@ -1783,7 +1820,9 @@ Object {
1783
1820
  "replyCount": 1,
1784
1821
  "repostCount": 0,
1785
1822
  "uri": "record(3)",
1786
- "viewer": Object {},
1823
+ "viewer": Object {
1824
+ "threadMuted": false,
1825
+ },
1787
1826
  },
1788
1827
  "root": Object {
1789
1828
  "$type": "app.bsky.feed.defs#postView",
@@ -1825,7 +1864,9 @@ Object {
1825
1864
  "replyCount": 2,
1826
1865
  "repostCount": 1,
1827
1866
  "uri": "record(2)",
1828
- "viewer": Object {},
1867
+ "viewer": Object {
1868
+ "threadMuted": false,
1869
+ },
1829
1870
  },
1830
1871
  },
1831
1872
  },
@@ -1869,7 +1910,9 @@ Object {
1869
1910
  "replyCount": 2,
1870
1911
  "repostCount": 1,
1871
1912
  "uri": "record(2)",
1872
- "viewer": Object {},
1913
+ "viewer": Object {
1914
+ "threadMuted": false,
1915
+ },
1873
1916
  },
1874
1917
  "reason": Object {
1875
1918
  "$type": "app.bsky.feed.defs#reasonRepost",
@@ -2064,7 +2107,9 @@ Object {
2064
2107
  "replyCount": 0,
2065
2108
  "repostCount": 1,
2066
2109
  "uri": "record(7)",
2067
- "viewer": Object {},
2110
+ "viewer": Object {
2111
+ "threadMuted": false,
2112
+ },
2068
2113
  },
2069
2114
  "reason": Object {
2070
2115
  "$type": "app.bsky.feed.defs#reasonRepost",
@@ -2132,7 +2177,9 @@ Object {
2132
2177
  "replyCount": 0,
2133
2178
  "repostCount": 1,
2134
2179
  "uri": "record(0)",
2135
- "viewer": Object {},
2180
+ "viewer": Object {
2181
+ "threadMuted": false,
2182
+ },
2136
2183
  },
2137
2184
  "reply": Object {
2138
2185
  "grandparentAuthor": Object {
@@ -2224,7 +2271,9 @@ Object {
2224
2271
  "replyCount": 1,
2225
2272
  "repostCount": 0,
2226
2273
  "uri": "record(3)",
2227
- "viewer": Object {},
2274
+ "viewer": Object {
2275
+ "threadMuted": false,
2276
+ },
2228
2277
  },
2229
2278
  "root": Object {
2230
2279
  "$type": "app.bsky.feed.defs#postView",
@@ -2266,7 +2315,9 @@ Object {
2266
2315
  "replyCount": 2,
2267
2316
  "repostCount": 1,
2268
2317
  "uri": "record(2)",
2269
- "viewer": Object {},
2318
+ "viewer": Object {
2319
+ "threadMuted": false,
2320
+ },
2270
2321
  },
2271
2322
  },
2272
2323
  },
@@ -2305,7 +2356,9 @@ Object {
2305
2356
  "replyCount": 0,
2306
2357
  "repostCount": 0,
2307
2358
  "uri": "record(12)",
2308
- "viewer": Object {},
2359
+ "viewer": Object {
2360
+ "threadMuted": false,
2361
+ },
2309
2362
  },
2310
2363
  "reply": Object {
2311
2364
  "parent": Object {
@@ -2348,7 +2401,9 @@ Object {
2348
2401
  "replyCount": 2,
2349
2402
  "repostCount": 1,
2350
2403
  "uri": "record(2)",
2351
- "viewer": Object {},
2404
+ "viewer": Object {
2405
+ "threadMuted": false,
2406
+ },
2352
2407
  },
2353
2408
  "root": Object {
2354
2409
  "$type": "app.bsky.feed.defs#postView",
@@ -2390,7 +2445,9 @@ Object {
2390
2445
  "replyCount": 2,
2391
2446
  "repostCount": 1,
2392
2447
  "uri": "record(2)",
2393
- "viewer": Object {},
2448
+ "viewer": Object {
2449
+ "threadMuted": false,
2450
+ },
2394
2451
  },
2395
2452
  },
2396
2453
  },
@@ -2457,7 +2514,9 @@ Object {
2457
2514
  "replyCount": 1,
2458
2515
  "repostCount": 0,
2459
2516
  "uri": "record(3)",
2460
- "viewer": Object {},
2517
+ "viewer": Object {
2518
+ "threadMuted": false,
2519
+ },
2461
2520
  },
2462
2521
  "reply": Object {
2463
2522
  "parent": Object {
@@ -2500,7 +2559,9 @@ Object {
2500
2559
  "replyCount": 2,
2501
2560
  "repostCount": 1,
2502
2561
  "uri": "record(2)",
2503
- "viewer": Object {},
2562
+ "viewer": Object {
2563
+ "threadMuted": false,
2564
+ },
2504
2565
  },
2505
2566
  "root": Object {
2506
2567
  "$type": "app.bsky.feed.defs#postView",
@@ -2542,7 +2603,9 @@ Object {
2542
2603
  "replyCount": 2,
2543
2604
  "repostCount": 1,
2544
2605
  "uri": "record(2)",
2545
- "viewer": Object {},
2606
+ "viewer": Object {
2607
+ "threadMuted": false,
2608
+ },
2546
2609
  },
2547
2610
  },
2548
2611
  },
@@ -2716,7 +2779,9 @@ Object {
2716
2779
  "replyCount": 0,
2717
2780
  "repostCount": 0,
2718
2781
  "uri": "record(13)",
2719
- "viewer": Object {},
2782
+ "viewer": Object {
2783
+ "threadMuted": false,
2784
+ },
2720
2785
  },
2721
2786
  },
2722
2787
  Object {
@@ -2746,7 +2811,9 @@ Object {
2746
2811
  "replyCount": 0,
2747
2812
  "repostCount": 0,
2748
2813
  "uri": "record(14)",
2749
- "viewer": Object {},
2814
+ "viewer": Object {
2815
+ "threadMuted": false,
2816
+ },
2750
2817
  },
2751
2818
  },
2752
2819
  Object {
@@ -2789,7 +2856,9 @@ Object {
2789
2856
  "replyCount": 2,
2790
2857
  "repostCount": 1,
2791
2858
  "uri": "record(2)",
2792
- "viewer": Object {},
2859
+ "viewer": Object {
2860
+ "threadMuted": false,
2861
+ },
2793
2862
  },
2794
2863
  },
2795
2864
  Object {
@@ -2963,7 +3032,9 @@ Object {
2963
3032
  "replyCount": 0,
2964
3033
  "repostCount": 1,
2965
3034
  "uri": "record(7)",
2966
- "viewer": Object {},
3035
+ "viewer": Object {
3036
+ "threadMuted": false,
3037
+ },
2967
3038
  },
2968
3039
  },
2969
3040
  Object {
@@ -2997,7 +3068,9 @@ Object {
2997
3068
  "replyCount": 0,
2998
3069
  "repostCount": 0,
2999
3070
  "uri": "record(15)",
3000
- "viewer": Object {},
3071
+ "viewer": Object {
3072
+ "threadMuted": false,
3073
+ },
3001
3074
  },
3002
3075
  },
3003
3076
  Object {
@@ -3116,6 +3189,7 @@ Object {
3116
3189
  "uri": "record(8)",
3117
3190
  "viewer": Object {
3118
3191
  "like": "record(16)",
3192
+ "threadMuted": false,
3119
3193
  },
3120
3194
  },
3121
3195
  },
@@ -3150,7 +3224,9 @@ Object {
3150
3224
  "replyCount": 0,
3151
3225
  "repostCount": 0,
3152
3226
  "uri": "record(11)",
3153
- "viewer": Object {},
3227
+ "viewer": Object {
3228
+ "threadMuted": false,
3229
+ },
3154
3230
  },
3155
3231
  },
3156
3232
  Object {
@@ -3209,7 +3285,9 @@ Object {
3209
3285
  "replyCount": 0,
3210
3286
  "repostCount": 0,
3211
3287
  "uri": "record(17)",
3212
- "viewer": Object {},
3288
+ "viewer": Object {
3289
+ "threadMuted": false,
3290
+ },
3213
3291
  },
3214
3292
  },
3215
3293
  ],