@sparkdreamnft/sparkdreamjs 0.0.48 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/akash/bundle.d.ts +134 -134
  2. package/akash/bundle.js +150 -150
  3. package/amino-schema.d.ts +94 -0
  4. package/amino-schema.js +1 -1
  5. package/cosmos/bundle.d.ts +160 -160
  6. package/cosmos/bundle.js +182 -182
  7. package/esm/akash/bundle.js +150 -150
  8. package/esm/amino-schema.js +1 -1
  9. package/esm/cosmos/bundle.js +182 -182
  10. package/esm/ibc/bundle.js +116 -116
  11. package/esm/sparkdream/artifact/v1/types.js +25 -1
  12. package/esm/sparkdream/blog/v1/genesis.js +97 -1
  13. package/esm/sparkdream/bundle.js +447 -439
  14. package/esm/sparkdream/collect/v1/genesis.js +308 -3
  15. package/esm/sparkdream/collect/v1/tx.js +170 -0
  16. package/esm/sparkdream/collect/v1/tx.registry.js +20 -2
  17. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +10 -1
  18. package/esm/sparkdream/collect/v1/types.js +51 -3
  19. package/esm/sparkdream/commons/v1/genesis.js +756 -27
  20. package/esm/sparkdream/commons/v1/group.js +130 -2
  21. package/esm/sparkdream/commons/v1/poll.js +281 -0
  22. package/esm/sparkdream/commons/v1/poll_vote.js +107 -0
  23. package/esm/sparkdream/commons/v1/query.js +759 -0
  24. package/esm/sparkdream/commons/v1/query.lcd.js +46 -0
  25. package/esm/sparkdream/commons/v1/query.rpc.Query.js +49 -1
  26. package/esm/sparkdream/commons/v1/tx.js +730 -4
  27. package/esm/sparkdream/commons/v1/tx.registry.js +74 -2
  28. package/esm/sparkdream/commons/v1/tx.rpc.msg.js +25 -1
  29. package/esm/sparkdream/commons/v1/voter_tree.js +208 -0
  30. package/esm/sparkdream/federation/v1/genesis.js +212 -2
  31. package/esm/sparkdream/federation/v1/tx.js +365 -0
  32. package/esm/sparkdream/federation/v1/tx.registry.js +38 -2
  33. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +14 -1
  34. package/esm/sparkdream/federation/v1/types.js +194 -2
  35. package/esm/sparkdream/forum/v1/archive_metadata.js +13 -1
  36. package/esm/sparkdream/forum/v1/genesis.js +428 -1
  37. package/esm/sparkdream/forum/v1/params.js +182 -254
  38. package/esm/sparkdream/forum/v1/query.js +112 -7
  39. package/esm/sparkdream/forum/v1/user_reaction_limit.js +62 -1
  40. package/esm/sparkdream/futarchy/v1/market.js +37 -1
  41. package/esm/sparkdream/futarchy/v1/tx.js +13 -1
  42. package/esm/sparkdream/name/v1/dispute.js +13 -1
  43. package/esm/sparkdream/rep/v1/genesis.js +272 -2
  44. package/esm/sparkdream/rep/v1/initiative_review.js +13 -1
  45. package/esm/sparkdream/rep/v1/invitation.js +25 -1
  46. package/esm/sparkdream/rep/v1/member_report.js +335 -1
  47. package/esm/sparkdream/rep/v1/migration.js +27 -2
  48. package/esm/sparkdream/rep/v1/params.js +13 -1
  49. package/esm/sparkdream/rep/v1/stake.js +10 -0
  50. package/esm/sparkdream/rep/v1/tx.js +372 -14
  51. package/esm/sparkdream/rep/v1/tx.registry.js +38 -2
  52. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -2
  53. package/esm/sparkdream/reveal/v1/types.js +9 -21
  54. package/esm/sparkdream/season/v1/display_name_moderation.js +40 -1
  55. package/esm/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
  56. package/esm/sparkdream/season/v1/genesis.js +125 -1
  57. package/esm/sparkdream/season/v1/guild_invite.js +13 -1
  58. package/esm/sparkdream/season/v1/guild_membership.js +13 -1
  59. package/esm/sparkdream/season/v1/member_profile.js +13 -1
  60. package/esm/sparkdream/season/v1/member_quest_progress.js +13 -1
  61. package/esm/sparkdream/season/v1/member_season_snapshot.js +16 -1
  62. package/esm/sparkdream/season/v1/nomination.js +37 -1
  63. package/esm/sparkdream/season/v1/query.js +26 -35
  64. package/esm/sparkdream/season/v1/query.lcd.js +1 -1
  65. package/esm/sparkdream/season/v1/quest.js +13 -1
  66. package/esm/sparkdream/season/v1/season.js +13 -1
  67. package/esm/sparkdream/season/v1/season_stats_counters.js +121 -0
  68. package/esm/sparkdream/season/v1/season_title_eligibility.js +4 -1
  69. package/esm/sparkdream/service/v1/genesis.js +126 -1
  70. package/esm/sparkdream/service/v1/refile_cooldown.js +20 -7
  71. package/esm/sparkdream/session/v1/genesis.js +303 -1
  72. package/esm/sparkdream/session/v1/params.js +24 -0
  73. package/esm/sparkdream/shield/v1/genesis.js +56 -2
  74. package/esm/sparkdream/shield/v1/params.js +13 -1
  75. package/esm/sparkdream/shield/v1/types.js +202 -1
  76. package/esm/sparkdream/vault/v1/genesis.js +25 -1
  77. package/esm/sparkdream/vault/v1/query.js +15 -2
  78. package/esm/sparkdream/vault/v1/query.lcd.js +3 -0
  79. package/esm/sparkdream/vault/v1/tx.js +301 -0
  80. package/esm/sparkdream/vault/v1/tx.registry.js +38 -2
  81. package/esm/sparkdream/vault/v1/tx.rpc.msg.js +13 -1
  82. package/esm/sparkdream/vault/v1/vault_signer.js +15 -2
  83. package/esm/tendermint/bundle.js +20 -20
  84. package/ibc/bundle.d.ts +99 -99
  85. package/ibc/bundle.js +116 -116
  86. package/package.json +1 -1
  87. package/sparkdream/artifact/v1/types.d.ts +14 -0
  88. package/sparkdream/artifact/v1/types.js +25 -1
  89. package/sparkdream/blog/v1/genesis.d.ts +60 -0
  90. package/sparkdream/blog/v1/genesis.js +98 -2
  91. package/sparkdream/bundle.d.ts +17133 -16171
  92. package/sparkdream/bundle.js +447 -439
  93. package/sparkdream/collect/v1/genesis.d.ts +186 -0
  94. package/sparkdream/collect/v1/genesis.js +309 -4
  95. package/sparkdream/collect/v1/tx.d.ts +100 -0
  96. package/sparkdream/collect/v1/tx.js +171 -1
  97. package/sparkdream/collect/v1/tx.registry.d.ts +13 -1
  98. package/sparkdream/collect/v1/tx.registry.js +19 -1
  99. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +9 -1
  100. package/sparkdream/collect/v1/tx.rpc.msg.js +9 -0
  101. package/sparkdream/collect/v1/types.d.ts +52 -0
  102. package/sparkdream/collect/v1/types.js +51 -3
  103. package/sparkdream/commons/v1/genesis.d.ts +443 -22
  104. package/sparkdream/commons/v1/genesis.js +756 -27
  105. package/sparkdream/commons/v1/group.d.ts +75 -0
  106. package/sparkdream/commons/v1/group.js +133 -3
  107. package/sparkdream/commons/v1/poll.d.ts +135 -0
  108. package/sparkdream/commons/v1/poll.js +286 -0
  109. package/sparkdream/commons/v1/poll_vote.d.ts +58 -0
  110. package/sparkdream/commons/v1/poll_vote.js +110 -0
  111. package/sparkdream/commons/v1/query.d.ts +465 -0
  112. package/sparkdream/commons/v1/query.js +760 -1
  113. package/sparkdream/commons/v1/query.lcd.d.ts +6 -1
  114. package/sparkdream/commons/v1/query.lcd.js +46 -0
  115. package/sparkdream/commons/v1/query.rpc.Query.d.ts +30 -1
  116. package/sparkdream/commons/v1/query.rpc.Query.js +48 -0
  117. package/sparkdream/commons/v1/tx.d.ts +475 -1
  118. package/sparkdream/commons/v1/tx.js +731 -4
  119. package/sparkdream/commons/v1/tx.registry.d.ts +49 -1
  120. package/sparkdream/commons/v1/tx.registry.js +73 -1
  121. package/sparkdream/commons/v1/tx.rpc.msg.d.ts +13 -1
  122. package/sparkdream/commons/v1/tx.rpc.msg.js +24 -0
  123. package/sparkdream/commons/v1/voter_tree.d.ts +132 -0
  124. package/sparkdream/commons/v1/voter_tree.js +211 -0
  125. package/sparkdream/federation/v1/genesis.d.ts +136 -1
  126. package/sparkdream/federation/v1/genesis.js +212 -2
  127. package/sparkdream/federation/v1/tx.d.ts +235 -0
  128. package/sparkdream/federation/v1/tx.js +367 -1
  129. package/sparkdream/federation/v1/tx.registry.d.ts +25 -1
  130. package/sparkdream/federation/v1/tx.registry.js +37 -1
  131. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +9 -1
  132. package/sparkdream/federation/v1/tx.rpc.msg.js +13 -0
  133. package/sparkdream/federation/v1/types.d.ts +166 -0
  134. package/sparkdream/federation/v1/types.js +197 -3
  135. package/sparkdream/forum/v1/archive_metadata.d.ts +12 -0
  136. package/sparkdream/forum/v1/archive_metadata.js +13 -1
  137. package/sparkdream/forum/v1/genesis.d.ts +256 -0
  138. package/sparkdream/forum/v1/genesis.js +429 -2
  139. package/sparkdream/forum/v1/params.d.ts +0 -30
  140. package/sparkdream/forum/v1/params.js +182 -254
  141. package/sparkdream/forum/v1/query.d.ts +70 -0
  142. package/sparkdream/forum/v1/query.js +112 -7
  143. package/sparkdream/forum/v1/user_reaction_limit.d.ts +25 -0
  144. package/sparkdream/forum/v1/user_reaction_limit.js +65 -2
  145. package/sparkdream/futarchy/v1/market.d.ts +32 -0
  146. package/sparkdream/futarchy/v1/market.js +37 -1
  147. package/sparkdream/futarchy/v1/tx.d.ts +10 -0
  148. package/sparkdream/futarchy/v1/tx.js +13 -1
  149. package/sparkdream/name/v1/dispute.d.ts +14 -0
  150. package/sparkdream/name/v1/dispute.js +13 -1
  151. package/sparkdream/rep/v1/genesis.d.ts +151 -1
  152. package/sparkdream/rep/v1/genesis.js +272 -2
  153. package/sparkdream/rep/v1/initiative_review.d.ts +14 -0
  154. package/sparkdream/rep/v1/initiative_review.js +13 -1
  155. package/sparkdream/rep/v1/invitation.d.ts +32 -0
  156. package/sparkdream/rep/v1/invitation.js +25 -1
  157. package/sparkdream/rep/v1/member_report.d.ts +215 -0
  158. package/sparkdream/rep/v1/member_report.js +336 -2
  159. package/sparkdream/rep/v1/migration.d.ts +34 -1
  160. package/sparkdream/rep/v1/migration.js +27 -2
  161. package/sparkdream/rep/v1/params.d.ts +18 -0
  162. package/sparkdream/rep/v1/params.js +13 -1
  163. package/sparkdream/rep/v1/stake.d.ts +5 -0
  164. package/sparkdream/rep/v1/stake.js +10 -0
  165. package/sparkdream/rep/v1/tx.d.ts +340 -39
  166. package/sparkdream/rep/v1/tx.js +375 -17
  167. package/sparkdream/rep/v1/tx.registry.d.ts +25 -1
  168. package/sparkdream/rep/v1/tx.registry.js +37 -1
  169. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +12 -2
  170. package/sparkdream/rep/v1/tx.rpc.msg.js +15 -1
  171. package/sparkdream/reveal/v1/types.d.ts +0 -8
  172. package/sparkdream/reveal/v1/types.js +9 -21
  173. package/sparkdream/rpc.query.d.ts +5 -0
  174. package/sparkdream/season/v1/display_name_moderation.d.ts +28 -0
  175. package/sparkdream/season/v1/display_name_moderation.js +40 -1
  176. package/sparkdream/season/v1/epoch_xp_tracker.d.ts +10 -0
  177. package/sparkdream/season/v1/epoch_xp_tracker.js +13 -1
  178. package/sparkdream/season/v1/genesis.d.ts +75 -0
  179. package/sparkdream/season/v1/genesis.js +126 -2
  180. package/sparkdream/season/v1/guild_invite.d.ts +10 -0
  181. package/sparkdream/season/v1/guild_invite.js +13 -1
  182. package/sparkdream/season/v1/guild_membership.d.ts +12 -0
  183. package/sparkdream/season/v1/guild_membership.js +13 -1
  184. package/sparkdream/season/v1/member_profile.d.ts +12 -0
  185. package/sparkdream/season/v1/member_profile.js +13 -1
  186. package/sparkdream/season/v1/member_quest_progress.d.ts +8 -0
  187. package/sparkdream/season/v1/member_quest_progress.js +13 -1
  188. package/sparkdream/season/v1/member_season_snapshot.d.ts +14 -0
  189. package/sparkdream/season/v1/member_season_snapshot.js +16 -1
  190. package/sparkdream/season/v1/nomination.d.ts +32 -0
  191. package/sparkdream/season/v1/nomination.js +37 -1
  192. package/sparkdream/season/v1/query.d.ts +10 -6
  193. package/sparkdream/season/v1/query.js +26 -35
  194. package/sparkdream/season/v1/query.lcd.js +1 -1
  195. package/sparkdream/season/v1/quest.d.ts +12 -0
  196. package/sparkdream/season/v1/quest.js +13 -1
  197. package/sparkdream/season/v1/season.d.ts +12 -0
  198. package/sparkdream/season/v1/season.js +13 -1
  199. package/sparkdream/season/v1/season_stats_counters.d.ts +86 -0
  200. package/sparkdream/season/v1/season_stats_counters.js +124 -0
  201. package/sparkdream/season/v1/season_title_eligibility.d.ts +12 -3
  202. package/sparkdream/season/v1/season_title_eligibility.js +4 -1
  203. package/sparkdream/service/v1/genesis.d.ts +71 -0
  204. package/sparkdream/service/v1/genesis.js +127 -2
  205. package/sparkdream/service/v1/refile_cooldown.d.ts +35 -22
  206. package/sparkdream/service/v1/refile_cooldown.js +20 -7
  207. package/sparkdream/session/v1/genesis.d.ts +190 -0
  208. package/sparkdream/session/v1/genesis.js +304 -2
  209. package/sparkdream/session/v1/params.d.ts +18 -0
  210. package/sparkdream/session/v1/params.js +24 -0
  211. package/sparkdream/shield/v1/genesis.d.ts +37 -1
  212. package/sparkdream/shield/v1/genesis.js +55 -1
  213. package/sparkdream/shield/v1/params.d.ts +26 -2
  214. package/sparkdream/shield/v1/params.js +13 -1
  215. package/sparkdream/shield/v1/types.d.ts +122 -0
  216. package/sparkdream/shield/v1/types.js +203 -2
  217. package/sparkdream/vault/v1/genesis.d.ts +14 -0
  218. package/sparkdream/vault/v1/genesis.js +25 -1
  219. package/sparkdream/vault/v1/query.d.ts +16 -3
  220. package/sparkdream/vault/v1/query.js +15 -2
  221. package/sparkdream/vault/v1/query.lcd.js +3 -0
  222. package/sparkdream/vault/v1/tx.d.ts +219 -0
  223. package/sparkdream/vault/v1/tx.js +302 -1
  224. package/sparkdream/vault/v1/tx.registry.d.ts +25 -1
  225. package/sparkdream/vault/v1/tx.registry.js +37 -1
  226. package/sparkdream/vault/v1/tx.rpc.msg.d.ts +7 -1
  227. package/sparkdream/vault/v1/tx.rpc.msg.js +12 -0
  228. package/sparkdream/vault/v1/vault_signer.d.ts +22 -3
  229. package/sparkdream/vault/v1/vault_signer.js +15 -2
  230. package/tendermint/bundle.d.ts +844 -844
  231. package/tendermint/bundle.js +20 -20
@@ -1818,10 +1818,15 @@ export interface QueryPinnedPostsRequestAminoMsg {
1818
1818
  * @see proto type: sparkdream.forum.v1.QueryPinnedPostsResponse
1819
1819
  */
1820
1820
  export interface QueryPinnedPostsResponse {
1821
+ /**
1822
+ * post_id / priority / pinned_by describe the first pinned post of the page
1823
+ * (kept for older clients); posts carries the whole page.
1824
+ */
1821
1825
  postId: bigint;
1822
1826
  priority: bigint;
1823
1827
  pinnedBy: string;
1824
1828
  pagination?: PageResponse;
1829
+ posts: Post[];
1825
1830
  }
1826
1831
  export interface QueryPinnedPostsResponseProtoMsg {
1827
1832
  typeUrl: "/sparkdream.forum.v1.QueryPinnedPostsResponse";
@@ -1834,10 +1839,15 @@ export interface QueryPinnedPostsResponseProtoMsg {
1834
1839
  * @see proto type: sparkdream.forum.v1.QueryPinnedPostsResponse
1835
1840
  */
1836
1841
  export interface QueryPinnedPostsResponseAmino {
1842
+ /**
1843
+ * post_id / priority / pinned_by describe the first pinned post of the page
1844
+ * (kept for older clients); posts carries the whole page.
1845
+ */
1837
1846
  post_id?: string;
1838
1847
  priority?: string;
1839
1848
  pinned_by?: string;
1840
1849
  pagination?: PageResponseAmino;
1850
+ posts?: PostAmino[];
1841
1851
  }
1842
1852
  export interface QueryPinnedPostsResponseAminoMsg {
1843
1853
  type: "/sparkdream.forum.v1.QueryPinnedPostsResponse";
@@ -1876,10 +1886,15 @@ export interface QueryLockedThreadsRequestAminoMsg {
1876
1886
  * @see proto type: sparkdream.forum.v1.QueryLockedThreadsResponse
1877
1887
  */
1878
1888
  export interface QueryLockedThreadsResponse {
1889
+ /**
1890
+ * root_id / locked_by / locked_at describe the first locked thread of the
1891
+ * page (kept for older clients); posts carries the whole page.
1892
+ */
1879
1893
  rootId: bigint;
1880
1894
  lockedBy: string;
1881
1895
  lockedAt: bigint;
1882
1896
  pagination?: PageResponse;
1897
+ posts: Post[];
1883
1898
  }
1884
1899
  export interface QueryLockedThreadsResponseProtoMsg {
1885
1900
  typeUrl: "/sparkdream.forum.v1.QueryLockedThreadsResponse";
@@ -1892,10 +1907,15 @@ export interface QueryLockedThreadsResponseProtoMsg {
1892
1907
  * @see proto type: sparkdream.forum.v1.QueryLockedThreadsResponse
1893
1908
  */
1894
1909
  export interface QueryLockedThreadsResponseAmino {
1910
+ /**
1911
+ * root_id / locked_by / locked_at describe the first locked thread of the
1912
+ * page (kept for older clients); posts carries the whole page.
1913
+ */
1895
1914
  root_id?: string;
1896
1915
  locked_by?: string;
1897
1916
  locked_at?: string;
1898
1917
  pagination?: PageResponseAmino;
1918
+ posts?: PostAmino[];
1899
1919
  }
1900
1920
  export interface QueryLockedThreadsResponseAminoMsg {
1901
1921
  type: "/sparkdream.forum.v1.QueryLockedThreadsResponse";
@@ -1996,10 +2016,15 @@ export interface QueryTopPostsRequestAminoMsg {
1996
2016
  * @see proto type: sparkdream.forum.v1.QueryTopPostsResponse
1997
2017
  */
1998
2018
  export interface QueryTopPostsResponse {
2019
+ /**
2020
+ * post_id / upvote_count / downvote_count describe the top post of the page
2021
+ * (kept for older clients); posts carries the whole page, highest first.
2022
+ */
1999
2023
  postId: bigint;
2000
2024
  upvoteCount: bigint;
2001
2025
  downvoteCount: bigint;
2002
2026
  pagination?: PageResponse;
2027
+ posts: Post[];
2003
2028
  }
2004
2029
  export interface QueryTopPostsResponseProtoMsg {
2005
2030
  typeUrl: "/sparkdream.forum.v1.QueryTopPostsResponse";
@@ -2012,10 +2037,15 @@ export interface QueryTopPostsResponseProtoMsg {
2012
2037
  * @see proto type: sparkdream.forum.v1.QueryTopPostsResponse
2013
2038
  */
2014
2039
  export interface QueryTopPostsResponseAmino {
2040
+ /**
2041
+ * post_id / upvote_count / downvote_count describe the top post of the page
2042
+ * (kept for older clients); posts carries the whole page, highest first.
2043
+ */
2015
2044
  post_id?: string;
2016
2045
  upvote_count?: string;
2017
2046
  downvote_count?: string;
2018
2047
  pagination?: PageResponseAmino;
2048
+ posts?: PostAmino[];
2019
2049
  }
2020
2050
  export interface QueryTopPostsResponseAminoMsg {
2021
2051
  type: "/sparkdream.forum.v1.QueryTopPostsResponse";
@@ -2284,10 +2314,15 @@ export interface QueryActiveBountiesRequestAminoMsg {
2284
2314
  * @see proto type: sparkdream.forum.v1.QueryActiveBountiesResponse
2285
2315
  */
2286
2316
  export interface QueryActiveBountiesResponse {
2317
+ /**
2318
+ * bounty_id / thread_id / amount describe the first bounty of the page
2319
+ * (kept for older clients); bounties carries the whole page.
2320
+ */
2287
2321
  bountyId: bigint;
2288
2322
  threadId: bigint;
2289
2323
  amount: string;
2290
2324
  pagination?: PageResponse;
2325
+ bounties: Bounty[];
2291
2326
  }
2292
2327
  export interface QueryActiveBountiesResponseProtoMsg {
2293
2328
  typeUrl: "/sparkdream.forum.v1.QueryActiveBountiesResponse";
@@ -2300,10 +2335,15 @@ export interface QueryActiveBountiesResponseProtoMsg {
2300
2335
  * @see proto type: sparkdream.forum.v1.QueryActiveBountiesResponse
2301
2336
  */
2302
2337
  export interface QueryActiveBountiesResponseAmino {
2338
+ /**
2339
+ * bounty_id / thread_id / amount describe the first bounty of the page
2340
+ * (kept for older clients); bounties carries the whole page.
2341
+ */
2303
2342
  bounty_id?: string;
2304
2343
  thread_id?: string;
2305
2344
  amount?: string;
2306
2345
  pagination?: PageResponseAmino;
2346
+ bounties?: BountyAmino[];
2307
2347
  }
2308
2348
  export interface QueryActiveBountiesResponseAminoMsg {
2309
2349
  type: "/sparkdream.forum.v1.QueryActiveBountiesResponse";
@@ -2344,10 +2384,15 @@ export interface QueryUserBountiesRequestAminoMsg {
2344
2384
  * @see proto type: sparkdream.forum.v1.QueryUserBountiesResponse
2345
2385
  */
2346
2386
  export interface QueryUserBountiesResponse {
2387
+ /**
2388
+ * bounty_id / thread_id / status describe the first bounty of the page
2389
+ * (kept for older clients); bounties carries the whole page.
2390
+ */
2347
2391
  bountyId: bigint;
2348
2392
  threadId: bigint;
2349
2393
  status: bigint;
2350
2394
  pagination?: PageResponse;
2395
+ bounties: Bounty[];
2351
2396
  }
2352
2397
  export interface QueryUserBountiesResponseProtoMsg {
2353
2398
  typeUrl: "/sparkdream.forum.v1.QueryUserBountiesResponse";
@@ -2360,10 +2405,15 @@ export interface QueryUserBountiesResponseProtoMsg {
2360
2405
  * @see proto type: sparkdream.forum.v1.QueryUserBountiesResponse
2361
2406
  */
2362
2407
  export interface QueryUserBountiesResponseAmino {
2408
+ /**
2409
+ * bounty_id / thread_id / status describe the first bounty of the page
2410
+ * (kept for older clients); bounties carries the whole page.
2411
+ */
2363
2412
  bounty_id?: string;
2364
2413
  thread_id?: string;
2365
2414
  status?: string;
2366
2415
  pagination?: PageResponseAmino;
2416
+ bounties?: BountyAmino[];
2367
2417
  }
2368
2418
  export interface QueryUserBountiesResponseAminoMsg {
2369
2419
  type: "/sparkdream.forum.v1.QueryUserBountiesResponse";
@@ -2404,10 +2454,15 @@ export interface QueryBountyExpiringSoonRequestAminoMsg {
2404
2454
  * @see proto type: sparkdream.forum.v1.QueryBountyExpiringSoonResponse
2405
2455
  */
2406
2456
  export interface QueryBountyExpiringSoonResponse {
2457
+ /**
2458
+ * bounty_id / thread_id / expires_at describe the first bounty of the page
2459
+ * (kept for older clients); bounties carries the whole page.
2460
+ */
2407
2461
  bountyId: bigint;
2408
2462
  threadId: bigint;
2409
2463
  expiresAt: bigint;
2410
2464
  pagination?: PageResponse;
2465
+ bounties: Bounty[];
2411
2466
  }
2412
2467
  export interface QueryBountyExpiringSoonResponseProtoMsg {
2413
2468
  typeUrl: "/sparkdream.forum.v1.QueryBountyExpiringSoonResponse";
@@ -2420,10 +2475,15 @@ export interface QueryBountyExpiringSoonResponseProtoMsg {
2420
2475
  * @see proto type: sparkdream.forum.v1.QueryBountyExpiringSoonResponse
2421
2476
  */
2422
2477
  export interface QueryBountyExpiringSoonResponseAmino {
2478
+ /**
2479
+ * bounty_id / thread_id / expires_at describe the first bounty of the page
2480
+ * (kept for older clients); bounties carries the whole page.
2481
+ */
2423
2482
  bounty_id?: string;
2424
2483
  thread_id?: string;
2425
2484
  expires_at?: string;
2426
2485
  pagination?: PageResponseAmino;
2486
+ bounties?: BountyAmino[];
2427
2487
  }
2428
2488
  export interface QueryBountyExpiringSoonResponseAminoMsg {
2429
2489
  type: "/sparkdream.forum.v1.QueryBountyExpiringSoonResponse";
@@ -2518,9 +2578,14 @@ export interface QueryFlagReviewQueueRequestAminoMsg {
2518
2578
  * @see proto type: sparkdream.forum.v1.QueryFlagReviewQueueResponse
2519
2579
  */
2520
2580
  export interface QueryFlagReviewQueueResponse {
2581
+ /**
2582
+ * post_id / total_weight describe the first queued post of the page (kept
2583
+ * for older clients); flags carries the whole page.
2584
+ */
2521
2585
  postId: bigint;
2522
2586
  totalWeight: string;
2523
2587
  pagination?: PageResponse;
2588
+ flags: PostFlag[];
2524
2589
  }
2525
2590
  export interface QueryFlagReviewQueueResponseProtoMsg {
2526
2591
  typeUrl: "/sparkdream.forum.v1.QueryFlagReviewQueueResponse";
@@ -2533,9 +2598,14 @@ export interface QueryFlagReviewQueueResponseProtoMsg {
2533
2598
  * @see proto type: sparkdream.forum.v1.QueryFlagReviewQueueResponse
2534
2599
  */
2535
2600
  export interface QueryFlagReviewQueueResponseAmino {
2601
+ /**
2602
+ * post_id / total_weight describe the first queued post of the page (kept
2603
+ * for older clients); flags carries the whole page.
2604
+ */
2536
2605
  post_id?: string;
2537
2606
  total_weight?: string;
2538
2607
  pagination?: PageResponseAmino;
2608
+ flags?: PostFlagAmino[];
2539
2609
  }
2540
2610
  export interface QueryFlagReviewQueueResponseAminoMsg {
2541
2611
  type: "/sparkdream.forum.v1.QueryFlagReviewQueueResponse";
@@ -4971,7 +4971,8 @@ function createBaseQueryPinnedPostsResponse() {
4971
4971
  postId: BigInt(0),
4972
4972
  priority: BigInt(0),
4973
4973
  pinnedBy: "",
4974
- pagination: undefined
4974
+ pagination: undefined,
4975
+ posts: []
4975
4976
  };
4976
4977
  }
4977
4978
  /**
@@ -4995,6 +4996,9 @@ exports.QueryPinnedPostsResponse = {
4995
4996
  if (message.pagination !== undefined) {
4996
4997
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
4997
4998
  }
4999
+ for (const v of message.posts) {
5000
+ post_1.Post.encode(v, writer.uint32(42).fork()).ldelim();
5001
+ }
4998
5002
  return writer;
4999
5003
  },
5000
5004
  decode(input, length) {
@@ -5016,6 +5020,9 @@ exports.QueryPinnedPostsResponse = {
5016
5020
  case 4:
5017
5021
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
5018
5022
  break;
5023
+ case 5:
5024
+ message.posts.push(post_1.Post.decode(reader, reader.uint32()));
5025
+ break;
5019
5026
  default:
5020
5027
  reader.skipType(tag & 7);
5021
5028
  break;
@@ -5029,6 +5036,7 @@ exports.QueryPinnedPostsResponse = {
5029
5036
  message.priority = object.priority !== undefined && object.priority !== null ? BigInt(object.priority.toString()) : BigInt(0);
5030
5037
  message.pinnedBy = object.pinnedBy ?? "";
5031
5038
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
5039
+ message.posts = object.posts?.map(e => post_1.Post.fromPartial(e)) || [];
5032
5040
  return message;
5033
5041
  },
5034
5042
  fromAmino(object) {
@@ -5045,6 +5053,7 @@ exports.QueryPinnedPostsResponse = {
5045
5053
  if (object.pagination !== undefined && object.pagination !== null) {
5046
5054
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
5047
5055
  }
5056
+ message.posts = object.posts?.map(e => post_1.Post.fromAmino(e)) || [];
5048
5057
  return message;
5049
5058
  },
5050
5059
  toAmino(message) {
@@ -5053,6 +5062,12 @@ exports.QueryPinnedPostsResponse = {
5053
5062
  obj.priority = message.priority !== BigInt(0) ? message.priority?.toString() : undefined;
5054
5063
  obj.pinned_by = message.pinnedBy === "" ? undefined : message.pinnedBy;
5055
5064
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
5065
+ if (message.posts) {
5066
+ obj.posts = message.posts.map(e => e ? post_1.Post.toAmino(e) : undefined);
5067
+ }
5068
+ else {
5069
+ obj.posts = message.posts;
5070
+ }
5056
5071
  return obj;
5057
5072
  },
5058
5073
  fromAminoMsg(object) {
@@ -5145,7 +5160,8 @@ function createBaseQueryLockedThreadsResponse() {
5145
5160
  rootId: BigInt(0),
5146
5161
  lockedBy: "",
5147
5162
  lockedAt: BigInt(0),
5148
- pagination: undefined
5163
+ pagination: undefined,
5164
+ posts: []
5149
5165
  };
5150
5166
  }
5151
5167
  /**
@@ -5169,6 +5185,9 @@ exports.QueryLockedThreadsResponse = {
5169
5185
  if (message.pagination !== undefined) {
5170
5186
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
5171
5187
  }
5188
+ for (const v of message.posts) {
5189
+ post_1.Post.encode(v, writer.uint32(42).fork()).ldelim();
5190
+ }
5172
5191
  return writer;
5173
5192
  },
5174
5193
  decode(input, length) {
@@ -5190,6 +5209,9 @@ exports.QueryLockedThreadsResponse = {
5190
5209
  case 4:
5191
5210
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
5192
5211
  break;
5212
+ case 5:
5213
+ message.posts.push(post_1.Post.decode(reader, reader.uint32()));
5214
+ break;
5193
5215
  default:
5194
5216
  reader.skipType(tag & 7);
5195
5217
  break;
@@ -5203,6 +5225,7 @@ exports.QueryLockedThreadsResponse = {
5203
5225
  message.lockedBy = object.lockedBy ?? "";
5204
5226
  message.lockedAt = object.lockedAt !== undefined && object.lockedAt !== null ? BigInt(object.lockedAt.toString()) : BigInt(0);
5205
5227
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
5228
+ message.posts = object.posts?.map(e => post_1.Post.fromPartial(e)) || [];
5206
5229
  return message;
5207
5230
  },
5208
5231
  fromAmino(object) {
@@ -5219,6 +5242,7 @@ exports.QueryLockedThreadsResponse = {
5219
5242
  if (object.pagination !== undefined && object.pagination !== null) {
5220
5243
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
5221
5244
  }
5245
+ message.posts = object.posts?.map(e => post_1.Post.fromAmino(e)) || [];
5222
5246
  return message;
5223
5247
  },
5224
5248
  toAmino(message) {
@@ -5227,6 +5251,12 @@ exports.QueryLockedThreadsResponse = {
5227
5251
  obj.locked_by = message.lockedBy === "" ? undefined : message.lockedBy;
5228
5252
  obj.locked_at = message.lockedAt !== BigInt(0) ? message.lockedAt?.toString() : undefined;
5229
5253
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
5254
+ if (message.posts) {
5255
+ obj.posts = message.posts.map(e => e ? post_1.Post.toAmino(e) : undefined);
5256
+ }
5257
+ else {
5258
+ obj.posts = message.posts;
5259
+ }
5230
5260
  return obj;
5231
5261
  },
5232
5262
  fromAminoMsg(object) {
@@ -5517,7 +5547,8 @@ function createBaseQueryTopPostsResponse() {
5517
5547
  postId: BigInt(0),
5518
5548
  upvoteCount: BigInt(0),
5519
5549
  downvoteCount: BigInt(0),
5520
- pagination: undefined
5550
+ pagination: undefined,
5551
+ posts: []
5521
5552
  };
5522
5553
  }
5523
5554
  /**
@@ -5541,6 +5572,9 @@ exports.QueryTopPostsResponse = {
5541
5572
  if (message.pagination !== undefined) {
5542
5573
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
5543
5574
  }
5575
+ for (const v of message.posts) {
5576
+ post_1.Post.encode(v, writer.uint32(42).fork()).ldelim();
5577
+ }
5544
5578
  return writer;
5545
5579
  },
5546
5580
  decode(input, length) {
@@ -5562,6 +5596,9 @@ exports.QueryTopPostsResponse = {
5562
5596
  case 4:
5563
5597
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
5564
5598
  break;
5599
+ case 5:
5600
+ message.posts.push(post_1.Post.decode(reader, reader.uint32()));
5601
+ break;
5565
5602
  default:
5566
5603
  reader.skipType(tag & 7);
5567
5604
  break;
@@ -5575,6 +5612,7 @@ exports.QueryTopPostsResponse = {
5575
5612
  message.upvoteCount = object.upvoteCount !== undefined && object.upvoteCount !== null ? BigInt(object.upvoteCount.toString()) : BigInt(0);
5576
5613
  message.downvoteCount = object.downvoteCount !== undefined && object.downvoteCount !== null ? BigInt(object.downvoteCount.toString()) : BigInt(0);
5577
5614
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
5615
+ message.posts = object.posts?.map(e => post_1.Post.fromPartial(e)) || [];
5578
5616
  return message;
5579
5617
  },
5580
5618
  fromAmino(object) {
@@ -5591,6 +5629,7 @@ exports.QueryTopPostsResponse = {
5591
5629
  if (object.pagination !== undefined && object.pagination !== null) {
5592
5630
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
5593
5631
  }
5632
+ message.posts = object.posts?.map(e => post_1.Post.fromAmino(e)) || [];
5594
5633
  return message;
5595
5634
  },
5596
5635
  toAmino(message) {
@@ -5599,6 +5638,12 @@ exports.QueryTopPostsResponse = {
5599
5638
  obj.upvote_count = message.upvoteCount !== BigInt(0) ? message.upvoteCount?.toString() : undefined;
5600
5639
  obj.downvote_count = message.downvoteCount !== BigInt(0) ? message.downvoteCount?.toString() : undefined;
5601
5640
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
5641
+ if (message.posts) {
5642
+ obj.posts = message.posts.map(e => e ? post_1.Post.toAmino(e) : undefined);
5643
+ }
5644
+ else {
5645
+ obj.posts = message.posts;
5646
+ }
5602
5647
  return obj;
5603
5648
  },
5604
5649
  fromAminoMsg(object) {
@@ -6375,7 +6420,8 @@ function createBaseQueryActiveBountiesResponse() {
6375
6420
  bountyId: BigInt(0),
6376
6421
  threadId: BigInt(0),
6377
6422
  amount: "",
6378
- pagination: undefined
6423
+ pagination: undefined,
6424
+ bounties: []
6379
6425
  };
6380
6426
  }
6381
6427
  /**
@@ -6399,6 +6445,9 @@ exports.QueryActiveBountiesResponse = {
6399
6445
  if (message.pagination !== undefined) {
6400
6446
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
6401
6447
  }
6448
+ for (const v of message.bounties) {
6449
+ bounty_1.Bounty.encode(v, writer.uint32(42).fork()).ldelim();
6450
+ }
6402
6451
  return writer;
6403
6452
  },
6404
6453
  decode(input, length) {
@@ -6420,6 +6469,9 @@ exports.QueryActiveBountiesResponse = {
6420
6469
  case 4:
6421
6470
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
6422
6471
  break;
6472
+ case 5:
6473
+ message.bounties.push(bounty_1.Bounty.decode(reader, reader.uint32()));
6474
+ break;
6423
6475
  default:
6424
6476
  reader.skipType(tag & 7);
6425
6477
  break;
@@ -6433,6 +6485,7 @@ exports.QueryActiveBountiesResponse = {
6433
6485
  message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
6434
6486
  message.amount = object.amount ?? "";
6435
6487
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
6488
+ message.bounties = object.bounties?.map(e => bounty_1.Bounty.fromPartial(e)) || [];
6436
6489
  return message;
6437
6490
  },
6438
6491
  fromAmino(object) {
@@ -6449,6 +6502,7 @@ exports.QueryActiveBountiesResponse = {
6449
6502
  if (object.pagination !== undefined && object.pagination !== null) {
6450
6503
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
6451
6504
  }
6505
+ message.bounties = object.bounties?.map(e => bounty_1.Bounty.fromAmino(e)) || [];
6452
6506
  return message;
6453
6507
  },
6454
6508
  toAmino(message) {
@@ -6457,6 +6511,12 @@ exports.QueryActiveBountiesResponse = {
6457
6511
  obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
6458
6512
  obj.amount = message.amount === "" ? undefined : message.amount;
6459
6513
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
6514
+ if (message.bounties) {
6515
+ obj.bounties = message.bounties.map(e => e ? bounty_1.Bounty.toAmino(e) : undefined);
6516
+ }
6517
+ else {
6518
+ obj.bounties = message.bounties;
6519
+ }
6460
6520
  return obj;
6461
6521
  },
6462
6522
  fromAminoMsg(object) {
@@ -6561,7 +6621,8 @@ function createBaseQueryUserBountiesResponse() {
6561
6621
  bountyId: BigInt(0),
6562
6622
  threadId: BigInt(0),
6563
6623
  status: BigInt(0),
6564
- pagination: undefined
6624
+ pagination: undefined,
6625
+ bounties: []
6565
6626
  };
6566
6627
  }
6567
6628
  /**
@@ -6585,6 +6646,9 @@ exports.QueryUserBountiesResponse = {
6585
6646
  if (message.pagination !== undefined) {
6586
6647
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
6587
6648
  }
6649
+ for (const v of message.bounties) {
6650
+ bounty_1.Bounty.encode(v, writer.uint32(42).fork()).ldelim();
6651
+ }
6588
6652
  return writer;
6589
6653
  },
6590
6654
  decode(input, length) {
@@ -6606,6 +6670,9 @@ exports.QueryUserBountiesResponse = {
6606
6670
  case 4:
6607
6671
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
6608
6672
  break;
6673
+ case 5:
6674
+ message.bounties.push(bounty_1.Bounty.decode(reader, reader.uint32()));
6675
+ break;
6609
6676
  default:
6610
6677
  reader.skipType(tag & 7);
6611
6678
  break;
@@ -6619,6 +6686,7 @@ exports.QueryUserBountiesResponse = {
6619
6686
  message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
6620
6687
  message.status = object.status !== undefined && object.status !== null ? BigInt(object.status.toString()) : BigInt(0);
6621
6688
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
6689
+ message.bounties = object.bounties?.map(e => bounty_1.Bounty.fromPartial(e)) || [];
6622
6690
  return message;
6623
6691
  },
6624
6692
  fromAmino(object) {
@@ -6635,6 +6703,7 @@ exports.QueryUserBountiesResponse = {
6635
6703
  if (object.pagination !== undefined && object.pagination !== null) {
6636
6704
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
6637
6705
  }
6706
+ message.bounties = object.bounties?.map(e => bounty_1.Bounty.fromAmino(e)) || [];
6638
6707
  return message;
6639
6708
  },
6640
6709
  toAmino(message) {
@@ -6643,6 +6712,12 @@ exports.QueryUserBountiesResponse = {
6643
6712
  obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
6644
6713
  obj.status = message.status !== BigInt(0) ? message.status?.toString() : undefined;
6645
6714
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
6715
+ if (message.bounties) {
6716
+ obj.bounties = message.bounties.map(e => e ? bounty_1.Bounty.toAmino(e) : undefined);
6717
+ }
6718
+ else {
6719
+ obj.bounties = message.bounties;
6720
+ }
6646
6721
  return obj;
6647
6722
  },
6648
6723
  fromAminoMsg(object) {
@@ -6747,7 +6822,8 @@ function createBaseQueryBountyExpiringSoonResponse() {
6747
6822
  bountyId: BigInt(0),
6748
6823
  threadId: BigInt(0),
6749
6824
  expiresAt: BigInt(0),
6750
- pagination: undefined
6825
+ pagination: undefined,
6826
+ bounties: []
6751
6827
  };
6752
6828
  }
6753
6829
  /**
@@ -6771,6 +6847,9 @@ exports.QueryBountyExpiringSoonResponse = {
6771
6847
  if (message.pagination !== undefined) {
6772
6848
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim();
6773
6849
  }
6850
+ for (const v of message.bounties) {
6851
+ bounty_1.Bounty.encode(v, writer.uint32(42).fork()).ldelim();
6852
+ }
6774
6853
  return writer;
6775
6854
  },
6776
6855
  decode(input, length) {
@@ -6792,6 +6871,9 @@ exports.QueryBountyExpiringSoonResponse = {
6792
6871
  case 4:
6793
6872
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
6794
6873
  break;
6874
+ case 5:
6875
+ message.bounties.push(bounty_1.Bounty.decode(reader, reader.uint32()));
6876
+ break;
6795
6877
  default:
6796
6878
  reader.skipType(tag & 7);
6797
6879
  break;
@@ -6805,6 +6887,7 @@ exports.QueryBountyExpiringSoonResponse = {
6805
6887
  message.threadId = object.threadId !== undefined && object.threadId !== null ? BigInt(object.threadId.toString()) : BigInt(0);
6806
6888
  message.expiresAt = object.expiresAt !== undefined && object.expiresAt !== null ? BigInt(object.expiresAt.toString()) : BigInt(0);
6807
6889
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
6890
+ message.bounties = object.bounties?.map(e => bounty_1.Bounty.fromPartial(e)) || [];
6808
6891
  return message;
6809
6892
  },
6810
6893
  fromAmino(object) {
@@ -6821,6 +6904,7 @@ exports.QueryBountyExpiringSoonResponse = {
6821
6904
  if (object.pagination !== undefined && object.pagination !== null) {
6822
6905
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
6823
6906
  }
6907
+ message.bounties = object.bounties?.map(e => bounty_1.Bounty.fromAmino(e)) || [];
6824
6908
  return message;
6825
6909
  },
6826
6910
  toAmino(message) {
@@ -6829,6 +6913,12 @@ exports.QueryBountyExpiringSoonResponse = {
6829
6913
  obj.thread_id = message.threadId !== BigInt(0) ? message.threadId?.toString() : undefined;
6830
6914
  obj.expires_at = message.expiresAt !== BigInt(0) ? message.expiresAt?.toString() : undefined;
6831
6915
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
6916
+ if (message.bounties) {
6917
+ obj.bounties = message.bounties.map(e => e ? bounty_1.Bounty.toAmino(e) : undefined);
6918
+ }
6919
+ else {
6920
+ obj.bounties = message.bounties;
6921
+ }
6832
6922
  return obj;
6833
6923
  },
6834
6924
  fromAminoMsg(object) {
@@ -7082,7 +7172,8 @@ function createBaseQueryFlagReviewQueueResponse() {
7082
7172
  return {
7083
7173
  postId: BigInt(0),
7084
7174
  totalWeight: "",
7085
- pagination: undefined
7175
+ pagination: undefined,
7176
+ flags: []
7086
7177
  };
7087
7178
  }
7088
7179
  /**
@@ -7103,6 +7194,9 @@ exports.QueryFlagReviewQueueResponse = {
7103
7194
  if (message.pagination !== undefined) {
7104
7195
  pagination_1.PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim();
7105
7196
  }
7197
+ for (const v of message.flags) {
7198
+ post_flag_1.PostFlag.encode(v, writer.uint32(34).fork()).ldelim();
7199
+ }
7106
7200
  return writer;
7107
7201
  },
7108
7202
  decode(input, length) {
@@ -7121,6 +7215,9 @@ exports.QueryFlagReviewQueueResponse = {
7121
7215
  case 3:
7122
7216
  message.pagination = pagination_1.PageResponse.decode(reader, reader.uint32());
7123
7217
  break;
7218
+ case 4:
7219
+ message.flags.push(post_flag_1.PostFlag.decode(reader, reader.uint32()));
7220
+ break;
7124
7221
  default:
7125
7222
  reader.skipType(tag & 7);
7126
7223
  break;
@@ -7133,6 +7230,7 @@ exports.QueryFlagReviewQueueResponse = {
7133
7230
  message.postId = object.postId !== undefined && object.postId !== null ? BigInt(object.postId.toString()) : BigInt(0);
7134
7231
  message.totalWeight = object.totalWeight ?? "";
7135
7232
  message.pagination = object.pagination !== undefined && object.pagination !== null ? pagination_1.PageResponse.fromPartial(object.pagination) : undefined;
7233
+ message.flags = object.flags?.map(e => post_flag_1.PostFlag.fromPartial(e)) || [];
7136
7234
  return message;
7137
7235
  },
7138
7236
  fromAmino(object) {
@@ -7146,6 +7244,7 @@ exports.QueryFlagReviewQueueResponse = {
7146
7244
  if (object.pagination !== undefined && object.pagination !== null) {
7147
7245
  message.pagination = pagination_1.PageResponse.fromAmino(object.pagination);
7148
7246
  }
7247
+ message.flags = object.flags?.map(e => post_flag_1.PostFlag.fromAmino(e)) || [];
7149
7248
  return message;
7150
7249
  },
7151
7250
  toAmino(message) {
@@ -7153,6 +7252,12 @@ exports.QueryFlagReviewQueueResponse = {
7153
7252
  obj.post_id = message.postId !== BigInt(0) ? message.postId?.toString() : undefined;
7154
7253
  obj.total_weight = message.totalWeight === "" ? undefined : message.totalWeight;
7155
7254
  obj.pagination = message.pagination ? pagination_1.PageResponse.toAmino(message.pagination) : undefined;
7255
+ if (message.flags) {
7256
+ obj.flags = message.flags.map(e => e ? post_flag_1.PostFlag.toAmino(e) : undefined);
7257
+ }
7258
+ else {
7259
+ obj.flags = message.flags;
7260
+ }
7156
7261
  return obj;
7157
7262
  },
7158
7263
  fromAminoMsg(object) {
@@ -1,5 +1,20 @@
1
1
  import { BinaryReader, BinaryWriter } from "../../../binary";
2
2
  import { DeepPartial } from "../../../helpers";
3
+ /**
4
+ * ReactionLimitKind names the daily budget a UserReactionLimit tracks. Each
5
+ * kind is stored under its own key (see UserReactionLimitKey).
6
+ */
7
+ export declare enum ReactionLimitKind {
8
+ /** REACTION_LIMIT_KIND_REACTION - Upvotes and the shared reaction budget, keyed by the bare address. */
9
+ REACTION_LIMIT_KIND_REACTION = 0,
10
+ REACTION_LIMIT_KIND_FLAG = 1,
11
+ REACTION_LIMIT_KIND_DOWNVOTE = 2,
12
+ REACTION_LIMIT_KIND_FOLLOW = 3,
13
+ UNRECOGNIZED = -1
14
+ }
15
+ export declare const ReactionLimitKindAmino: typeof ReactionLimitKind;
16
+ export declare function reactionLimitKindFromJSON(object: any): ReactionLimitKind;
17
+ export declare function reactionLimitKindToJSON(object: ReactionLimitKind): string;
3
18
  /**
4
19
  * UserReactionLimit defines the UserReactionLimit message.
5
20
  * @name UserReactionLimit
@@ -11,6 +26,11 @@ export interface UserReactionLimit {
11
26
  currentDayCount: bigint;
12
27
  previousDayCount: bigint;
13
28
  currentDayStart: bigint;
29
+ /**
30
+ * kind selects the budget, and with user_address the store key, so a
31
+ * genesis round trip puts each record back under the key it came from.
32
+ */
33
+ kind: ReactionLimitKind;
14
34
  }
15
35
  export interface UserReactionLimitProtoMsg {
16
36
  typeUrl: "/sparkdream.forum.v1.UserReactionLimit";
@@ -27,6 +47,11 @@ export interface UserReactionLimitAmino {
27
47
  current_day_count?: string;
28
48
  previous_day_count?: string;
29
49
  current_day_start?: string;
50
+ /**
51
+ * kind selects the budget, and with user_address the store key, so a
52
+ * genesis round trip puts each record back under the key it came from.
53
+ */
54
+ kind?: ReactionLimitKind;
30
55
  }
31
56
  export interface UserReactionLimitAminoMsg {
32
57
  type: "/sparkdream.forum.v1.UserReactionLimit";