@devvit/protos 0.10.19-next-2024-04-23-27f06a745.0 → 0.10.20-next-2024-04-24-8b36e13f0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. package/package.json +6 -5
  2. package/types/devvit/actor/automation/v1alpha/automation.d.ts +28 -6
  3. package/types/devvit/actor/automation/v1alpha/automation.d.ts.map +1 -1
  4. package/types/devvit/actor/automation/v1alpha/automation_builder.d.ts +142 -6
  5. package/types/devvit/actor/automation/v1alpha/automation_builder.d.ts.map +1 -1
  6. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +4007 -96
  7. package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts.map +1 -1
  8. package/types/devvit/actor/automation/v1alpha/step.d.ts +79 -16
  9. package/types/devvit/actor/automation/v1alpha/step.d.ts.map +1 -1
  10. package/types/devvit/actor/automation/v1alpha/trigger.d.ts.map +1 -1
  11. package/types/devvit/actor/automation/v2alpha/automation_ui_builder.d.ts +153 -6
  12. package/types/devvit/actor/automation/v2alpha/automation_ui_builder.d.ts.map +1 -1
  13. package/types/devvit/actor/bot/bot.d.ts +51 -6
  14. package/types/devvit/actor/bot/bot.d.ts.map +1 -1
  15. package/types/devvit/actor/gl/glclient.d.ts +75 -6
  16. package/types/devvit/actor/gl/glclient.d.ts.map +1 -1
  17. package/types/devvit/actor/hello/hello.d.ts +27 -6
  18. package/types/devvit/actor/hello/hello.d.ts.map +1 -1
  19. package/types/devvit/actor/permissions/permissions.d.ts.map +1 -1
  20. package/types/devvit/actor/producer/producer.d.ts +27 -6
  21. package/types/devvit/actor/producer/producer.d.ts.map +1 -1
  22. package/types/devvit/actor/reddit/context_action.d.ts +52 -6
  23. package/types/devvit/actor/reddit/context_action.d.ts.map +1 -1
  24. package/types/devvit/actor/reddit/context_type.d.ts.map +1 -1
  25. package/types/devvit/actor/reddit/post_filter.d.ts +27 -6
  26. package/types/devvit/actor/reddit/post_filter.d.ts.map +1 -1
  27. package/types/devvit/actor/scheduler/action.d.ts.map +1 -1
  28. package/types/devvit/actor/scheduler/handler.d.ts +38 -6
  29. package/types/devvit/actor/scheduler/handler.d.ts.map +1 -1
  30. package/types/devvit/actor/settings/v1alpha/app_settings.d.ts +4 -4
  31. package/types/devvit/actor/settings/v1alpha/app_settings.d.ts.map +1 -1
  32. package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts +4 -4
  33. package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts.map +1 -1
  34. package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts +246 -6
  35. package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts.map +1 -1
  36. package/types/devvit/actor/settings/v1alpha/shared.d.ts.map +1 -1
  37. package/types/devvit/actor/test/streams.d.ts +87 -6
  38. package/types/devvit/actor/test/streams.d.ts.map +1 -1
  39. package/types/devvit/actor/test/wrappertypes.d.ts +260 -6
  40. package/types/devvit/actor/test/wrappertypes.d.ts.map +1 -1
  41. package/types/devvit/actor/user_configurable/user_configurable.d.ts +56 -6
  42. package/types/devvit/actor/user_configurable/user_configurable.d.ts.map +1 -1
  43. package/types/devvit/cli/playtest.d.ts.map +1 -1
  44. package/types/devvit/data/api/v1alpha/admin.d.ts +27 -6
  45. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  46. package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -1
  47. package/types/devvit/data/api/v1alpha/intake.d.ts +27 -6
  48. package/types/devvit/data/api/v1alpha/intake.d.ts.map +1 -1
  49. package/types/devvit/data/triggers/v1alpha/triggers.d.ts.map +1 -1
  50. package/types/devvit/debug/v1alpha/debug.d.ts +27 -6
  51. package/types/devvit/debug/v1alpha/debug.d.ts.map +1 -1
  52. package/types/devvit/dev_portal/actor/actor_type.d.ts.map +1 -1
  53. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts +103 -6
  54. package/types/devvit/dev_portal/admin/waitlist_admin.d.ts.map +1 -1
  55. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  56. package/types/devvit/dev_portal/app/categories/categories.d.ts.map +1 -1
  57. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  58. package/types/devvit/dev_portal/app_settings/app_settings.d.ts.map +1 -1
  59. package/types/devvit/dev_portal/app_version/app_version.d.ts.map +1 -1
  60. package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts.map +1 -1
  61. package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts.map +1 -1
  62. package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts.map +1 -1
  63. package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts.map +1 -1
  64. package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts.map +1 -1
  65. package/types/devvit/dev_portal/dev_portal.d.ts +4950 -41
  66. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  67. package/types/devvit/dev_portal/feedback/feedback.d.ts.map +1 -1
  68. package/types/devvit/dev_portal/installation/installation.d.ts.map +1 -1
  69. package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts.map +1 -1
  70. package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts.map +1 -1
  71. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -13
  72. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
  73. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts.map +1 -1
  74. package/types/devvit/dev_portal/internal/media/media.d.ts.map +1 -1
  75. package/types/devvit/dev_portal/nutrition/nutrition.d.ts.map +1 -1
  76. package/types/devvit/dev_portal/reddit/redditor.d.ts.map +1 -1
  77. package/types/devvit/dev_portal/waitlist/waitlist.d.ts +99 -6
  78. package/types/devvit/dev_portal/waitlist/waitlist.d.ts.map +1 -1
  79. package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
  80. package/types/devvit/events/v1alpha/realtime.d.ts +51 -6
  81. package/types/devvit/events/v1alpha/realtime.d.ts.map +1 -1
  82. package/types/devvit/events/v1alpha/wqcleanup.d.ts.map +1 -1
  83. package/types/devvit/gateway/automod.d.ts +27 -6
  84. package/types/devvit/gateway/automod.d.ts.map +1 -1
  85. package/types/devvit/gateway/custom_post_snapshot.d.ts +33 -6
  86. package/types/devvit/gateway/custom_post_snapshot.d.ts.map +1 -1
  87. package/types/devvit/gateway/resolvers.d.ts +171 -6
  88. package/types/devvit/gateway/resolvers.d.ts.map +1 -1
  89. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts +149 -11
  90. package/types/devvit/gateway/utils/v1alpha/utilities.d.ts.map +1 -1
  91. package/types/devvit/gateway/v1alpha/triggers.d.ts +7873 -6
  92. package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
  93. package/types/devvit/gql/snapshot.d.ts.map +1 -1
  94. package/types/devvit/gql/subreddit_metadata.d.ts.map +1 -1
  95. package/types/devvit/options/options.d.ts.map +1 -1
  96. package/types/devvit/plugin/assetresolver/assetresolver.d.ts +53 -6
  97. package/types/devvit/plugin/assetresolver/assetresolver.d.ts.map +1 -1
  98. package/types/devvit/plugin/automodregex/automodregex.d.ts +51 -6
  99. package/types/devvit/plugin/automodregex/automodregex.d.ts.map +1 -1
  100. package/types/devvit/plugin/builder/builder.d.ts +121 -6
  101. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  102. package/types/devvit/plugin/buildpack/buildpack.d.ts +442 -6
  103. package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
  104. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  105. package/types/devvit/plugin/buildpack/filesystem.d.ts.map +1 -1
  106. package/types/devvit/plugin/clock/clock.d.ts +34 -6
  107. package/types/devvit/plugin/clock/clock.d.ts.map +1 -1
  108. package/types/devvit/plugin/devserver/devserver.d.ts +233 -11
  109. package/types/devvit/plugin/devserver/devserver.d.ts.map +1 -1
  110. package/types/devvit/plugin/devserver/testcases.d.ts.map +1 -1
  111. package/types/devvit/plugin/gl/glrenderer.d.ts +27 -6
  112. package/types/devvit/plugin/gl/glrenderer.d.ts.map +1 -1
  113. package/types/devvit/plugin/gl/methods.d.ts.map +1 -1
  114. package/types/devvit/plugin/gl/methodtype.d.ts.map +1 -1
  115. package/types/devvit/plugin/http/http.d.ts +27 -6
  116. package/types/devvit/plugin/http/http.d.ts.map +1 -1
  117. package/types/devvit/plugin/inspector/inspector.d.ts +51 -6
  118. package/types/devvit/plugin/inspector/inspector.d.ts.map +1 -1
  119. package/types/devvit/plugin/kvstore/kvstore.d.ts +99 -6
  120. package/types/devvit/plugin/kvstore/kvstore.d.ts.map +1 -1
  121. package/types/devvit/plugin/linker/linker.d.ts +143 -6
  122. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  123. package/types/devvit/plugin/linker/resolver.d.ts +238 -6
  124. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
  125. package/types/devvit/plugin/logger/logger.d.ts +104 -6
  126. package/types/devvit/plugin/logger/logger.d.ts.map +1 -1
  127. package/types/devvit/plugin/media/media.d.ts +27 -6
  128. package/types/devvit/plugin/media/media.d.ts.map +1 -1
  129. package/types/devvit/plugin/modlog/modlog.d.ts +27 -6
  130. package/types/devvit/plugin/modlog/modlog.d.ts.map +1 -1
  131. package/types/devvit/plugin/redditapi/common/common_msg.d.ts.map +1 -1
  132. package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts.map +1 -1
  133. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +732 -6
  134. package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
  135. package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts.map +1 -1
  136. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +97 -6
  137. package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts.map +1 -1
  138. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts.map +1 -1
  139. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +2305 -6
  140. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
  141. package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts.map +1 -1
  142. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +3016 -6
  143. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
  144. package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts.map +1 -1
  145. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +3162 -6
  146. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
  147. package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts.map +1 -1
  148. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +336 -6
  149. package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
  150. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts.map +1 -1
  151. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +4816 -6
  152. package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
  153. package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.d.ts.map +1 -1
  154. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts +427 -6
  155. package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts.map +1 -1
  156. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts.map +1 -1
  157. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +653 -6
  158. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
  159. package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts.map +1 -1
  160. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +3830 -6
  161. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
  162. package/types/devvit/plugin/redditapi/users/users_msg.d.ts.map +1 -1
  163. package/types/devvit/plugin/redditapi/users/users_svc.d.ts +1399 -6
  164. package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
  165. package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts.map +1 -1
  166. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +1681 -6
  167. package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts.map +1 -1
  168. package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts.map +1 -1
  169. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +3023 -6
  170. package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
  171. package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts +100 -6
  172. package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts.map +1 -1
  173. package/types/devvit/plugin/redis/redisapi.d.ts +967 -6
  174. package/types/devvit/plugin/redis/redisapi.d.ts.map +1 -1
  175. package/types/devvit/plugin/scheduler/scheduler.d.ts +78 -6
  176. package/types/devvit/plugin/scheduler/scheduler.d.ts.map +1 -1
  177. package/types/devvit/plugin/settings/v1alpha/settings.d.ts +28 -6
  178. package/types/devvit/plugin/settings/v1alpha/settings.d.ts.map +1 -1
  179. package/types/devvit/plugin/streambroker/streambroker.d.ts +51 -6
  180. package/types/devvit/plugin/streambroker/streambroker.d.ts.map +1 -1
  181. package/types/devvit/plugin/timer/timer.d.ts +27 -6
  182. package/types/devvit/plugin/timer/timer.d.ts.map +1 -1
  183. package/types/devvit/plugin/v2events/v2events.d.ts +27 -6
  184. package/types/devvit/plugin/v2events/v2events.d.ts.map +1 -1
  185. package/types/devvit/reddit/comment.d.ts.map +1 -1
  186. package/types/devvit/reddit/common.d.ts.map +1 -1
  187. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts +51 -6
  188. package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts.map +1 -1
  189. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +1801 -6
  190. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  191. package/types/devvit/reddit/post.d.ts.map +1 -1
  192. package/types/devvit/reddit/post_guidance/v1alpha/post_guidance.d.ts +27 -6
  193. package/types/devvit/reddit/post_guidance/v1alpha/post_guidance.d.ts.map +1 -1
  194. package/types/devvit/reddit/subreddit.d.ts.map +1 -1
  195. package/types/devvit/reddit/thing_type.d.ts.map +1 -1
  196. package/types/devvit/reddit/user.d.ts.map +1 -1
  197. package/types/devvit/reddit/v2alpha/commentv2.d.ts.map +1 -1
  198. package/types/devvit/reddit/v2alpha/flair.d.ts.map +1 -1
  199. package/types/devvit/reddit/v2alpha/modaction.d.ts.map +1 -1
  200. package/types/devvit/reddit/v2alpha/modmail.d.ts.map +1 -1
  201. package/types/devvit/reddit/v2alpha/postv2.d.ts.map +1 -1
  202. package/types/devvit/reddit/v2alpha/subredditv2.d.ts.map +1 -1
  203. package/types/devvit/reddit/v2alpha/userv2.d.ts.map +1 -1
  204. package/types/devvit/remote_logger/remote_logger.d.ts +77 -11
  205. package/types/devvit/remote_logger/remote_logger.d.ts.map +1 -1
  206. package/types/devvit/runtime/actor/bootstrap.d.ts +117 -6
  207. package/types/devvit/runtime/actor/bootstrap.d.ts.map +1 -1
  208. package/types/devvit/runtime/actor/echo.d.ts +36 -6
  209. package/types/devvit/runtime/actor/echo.d.ts.map +1 -1
  210. package/types/devvit/runtime/actor/runtime.d.ts +115 -6
  211. package/types/devvit/runtime/actor/runtime.d.ts.map +1 -1
  212. package/types/devvit/runtime/actor/supervisor.d.ts +212 -6
  213. package/types/devvit/runtime/actor/supervisor.d.ts.map +1 -1
  214. package/types/devvit/runtime/actor/v1alpha/health.d.ts +27 -6
  215. package/types/devvit/runtime/actor/v1alpha/health.d.ts.map +1 -1
  216. package/types/devvit/runtime/bundle.d.ts.map +1 -1
  217. package/types/devvit/runtime/envelope.d.ts.map +1 -1
  218. package/types/devvit/runtime/runtime_common.d.ts.map +1 -1
  219. package/types/devvit/runtime/serializable.d.ts.map +1 -1
  220. package/types/devvit/service/bundle_service.d.ts +181 -6
  221. package/types/devvit/service/bundle_service.d.ts.map +1 -1
  222. package/types/devvit/service/envelope_service.d.ts +60 -6
  223. package/types/devvit/service/envelope_service.d.ts.map +1 -1
  224. package/types/devvit/ui/block_kit/v1beta/attributes.d.ts.map +1 -1
  225. package/types/devvit/ui/block_kit/v1beta/block.d.ts.map +1 -1
  226. package/types/devvit/ui/block_kit/v1beta/enums.d.ts.map +1 -1
  227. package/types/devvit/ui/block_kit/v1beta/rendering.d.ts.map +1 -1
  228. package/types/devvit/ui/block_kit/v1beta/ui.d.ts.map +1 -1
  229. package/types/devvit/ui/common/v1alpha/common.d.ts.map +1 -1
  230. package/types/devvit/ui/effects/v1alpha/effect.d.ts.map +1 -1
  231. package/types/devvit/ui/effects/v1alpha/interval.d.ts.map +1 -1
  232. package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts.map +1 -1
  233. package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts.map +1 -1
  234. package/types/devvit/ui/effects/v1alpha/reload_part.d.ts.map +1 -1
  235. package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts.map +1 -1
  236. package/types/devvit/ui/effects/v1alpha/send_event.d.ts.map +1 -1
  237. package/types/devvit/ui/effects/v1alpha/show_form.d.ts.map +1 -1
  238. package/types/devvit/ui/effects/v1alpha/show_toast.d.ts.map +1 -1
  239. package/types/devvit/ui/events/v1alpha/event.d.ts.map +1 -1
  240. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts +27 -6
  241. package/types/devvit/ui/events/v1alpha/handle_ui.d.ts.map +1 -1
  242. package/types/devvit/ui/form_builder/v1alpha/field.d.ts.map +1 -1
  243. package/types/devvit/ui/form_builder/v1alpha/form.d.ts.map +1 -1
  244. package/types/devvit/ui/form_builder/v1alpha/type.d.ts.map +1 -1
  245. package/types/devvit/ui/form_builder/v1alpha/value.d.ts.map +1 -1
  246. package/types/devvit/ui/toast/toast.d.ts.map +1 -1
  247. package/types/devvit/uuid.d.ts.map +1 -1
  248. package/types/typeRegistry.d.ts.map +1 -1
@@ -4,7 +4,7 @@
4
4
  * @packageDocumentation
5
5
  */
6
6
  import _m0 from 'protobufjs/minimal.js';
7
- import { Metadata, MethodDefinition } from "../../../../../lib/Types.js";
7
+ import { Metadata } from "../../../../../lib/Types.js";
8
8
  import { BlockRenderRequest, BlockRenderResponse } from '../../../ui/block_kit/v1beta/rendering.js';
9
9
  import { UIRequest, UIResponse } from '../../../ui/block_kit/v1beta/ui.js';
10
10
  import { Effect } from '../../../ui/effects/v1alpha/effect.js';
@@ -122,11 +122,1806 @@ export declare class CustomPostClientImpl implements CustomPost {
122
122
  */
123
123
  export type CustomPostDefinition = typeof CustomPostDefinition;
124
124
  export declare const CustomPostDefinition: {
125
- name: 'CustomPost';
126
- fullName: string;
127
- methods: {
128
- [methodName: string]: MethodDefinition & {
129
- options: {};
125
+ readonly name: "CustomPost";
126
+ readonly fullName: "devvit.reddit.custom_post.v1alpha.CustomPost";
127
+ readonly methods: {
128
+ /**
129
+ * This is deprecated and should be fixed in time to maintain backwards compatability.
130
+ * Please call RenderPostBody instead.
131
+ *
132
+ * @deprecated
133
+ */
134
+ readonly renderPost: {
135
+ readonly name: "RenderPost";
136
+ readonly requestType: {
137
+ $type: "devvit.reddit.custom_post.v1alpha.RenderPostRequest";
138
+ encode(message: RenderPostRequest, writer?: _m0.Writer): _m0.Writer;
139
+ decode(input: _m0.Reader | Uint8Array, length?: number): RenderPostRequest;
140
+ fromJSON(object: any): RenderPostRequest;
141
+ toJSON(message: RenderPostRequest): unknown;
142
+ create(base?: DeepPartial<RenderPostRequest>): RenderPostRequest;
143
+ fromPartial(object: DeepPartial<RenderPostRequest>): RenderPostRequest;
144
+ };
145
+ readonly requestStream: false;
146
+ readonly responseType: {
147
+ $type: "devvit.reddit.custom_post.v1alpha.RenderPostResponse";
148
+ encode(message: RenderPostResponse, writer?: _m0.Writer): _m0.Writer;
149
+ decode(input: _m0.Reader | Uint8Array, length?: number): RenderPostResponse;
150
+ fromJSON(object: any): RenderPostResponse;
151
+ toJSON(message: RenderPostResponse): unknown;
152
+ create(base?: DeepPartial<RenderPostResponse>): RenderPostResponse;
153
+ fromPartial(object: DeepPartial<RenderPostResponse>): RenderPostResponse;
154
+ };
155
+ readonly responseStream: false;
156
+ readonly options: {};
157
+ };
158
+ readonly renderPostContent: {
159
+ readonly name: "RenderPostContent";
160
+ readonly requestType: {
161
+ $type: "devvit.ui.block_kit.v1beta.UIRequest";
162
+ encode(message: UIRequest, writer?: _m0.Writer): _m0.Writer;
163
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UIRequest;
164
+ fromJSON(object: any): UIRequest;
165
+ toJSON(message: UIRequest): unknown;
166
+ create(base?: {
167
+ env?: {
168
+ locale?: string | undefined;
169
+ colorScheme?: string | undefined;
170
+ dimensions?: {
171
+ height?: number;
172
+ width?: number;
173
+ scale?: number;
174
+ } | undefined;
175
+ timezone?: {
176
+ id?: string;
177
+ version?: string;
178
+ } | undefined;
179
+ } | undefined;
180
+ props?: {
181
+ [x: string]: any;
182
+ } | undefined;
183
+ state?: {
184
+ [x: string]: any;
185
+ } | undefined;
186
+ events?: {
187
+ realtimeEvent?: {
188
+ event?: {
189
+ channel?: string;
190
+ data?: any;
191
+ } | undefined;
192
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
193
+ } | undefined;
194
+ formSubmitted?: {
195
+ results?: {
196
+ [x: string]: {
197
+ fieldType?: import("../../../../../index.js").FormFieldType;
198
+ isSecret?: boolean | undefined;
199
+ stringValue?: string | undefined;
200
+ numberValue?: number | undefined;
201
+ boolValue?: boolean | undefined;
202
+ listValue?: {
203
+ itemType?: import("../../../../../index.js").FormFieldType;
204
+ items?: any[];
205
+ } | undefined;
206
+ selectionValue?: {
207
+ values?: string[];
208
+ } | undefined;
209
+ groupValue?: {} | undefined;
210
+ } | undefined;
211
+ };
212
+ formId?: string | undefined;
213
+ } | undefined;
214
+ toastAction?: {} | undefined;
215
+ userAction?: {
216
+ actionId?: string;
217
+ data?: {
218
+ [x: string]: any;
219
+ } | undefined;
220
+ } | undefined;
221
+ asyncRequest?: {
222
+ requestId?: string;
223
+ data?: {
224
+ [x: string]: any;
225
+ } | undefined;
226
+ } | undefined;
227
+ asyncResponse?: {
228
+ requestId?: string;
229
+ data?: {
230
+ [x: string]: any;
231
+ } | undefined;
232
+ error?: {
233
+ message?: string;
234
+ details?: string;
235
+ } | undefined;
236
+ } | undefined;
237
+ timer?: {} | undefined;
238
+ blocking?: {} | undefined;
239
+ resize?: {} | undefined;
240
+ async?: boolean | undefined;
241
+ remoteOnly?: boolean | undefined;
242
+ hook?: string | undefined;
243
+ }[];
244
+ } | undefined): UIRequest;
245
+ fromPartial(object: {
246
+ env?: {
247
+ locale?: string | undefined;
248
+ colorScheme?: string | undefined;
249
+ dimensions?: {
250
+ height?: number;
251
+ width?: number;
252
+ scale?: number;
253
+ } | undefined;
254
+ timezone?: {
255
+ id?: string;
256
+ version?: string;
257
+ } | undefined;
258
+ } | undefined;
259
+ props?: {
260
+ [x: string]: any;
261
+ } | undefined;
262
+ state?: {
263
+ [x: string]: any;
264
+ } | undefined;
265
+ events?: {
266
+ realtimeEvent?: {
267
+ event?: {
268
+ channel?: string;
269
+ data?: any;
270
+ } | undefined;
271
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
272
+ } | undefined;
273
+ formSubmitted?: {
274
+ results?: {
275
+ [x: string]: {
276
+ fieldType?: import("../../../../../index.js").FormFieldType;
277
+ isSecret?: boolean | undefined;
278
+ stringValue?: string | undefined;
279
+ numberValue?: number | undefined;
280
+ boolValue?: boolean | undefined;
281
+ listValue?: {
282
+ itemType?: import("../../../../../index.js").FormFieldType;
283
+ items?: any[];
284
+ } | undefined;
285
+ selectionValue?: {
286
+ values?: string[];
287
+ } | undefined;
288
+ groupValue?: {} | undefined;
289
+ } | undefined;
290
+ };
291
+ formId?: string | undefined;
292
+ } | undefined;
293
+ toastAction?: {} | undefined;
294
+ userAction?: {
295
+ actionId?: string;
296
+ data?: {
297
+ [x: string]: any;
298
+ } | undefined;
299
+ } | undefined;
300
+ asyncRequest?: {
301
+ requestId?: string;
302
+ data?: {
303
+ [x: string]: any;
304
+ } | undefined;
305
+ } | undefined;
306
+ asyncResponse?: {
307
+ requestId?: string;
308
+ data?: {
309
+ [x: string]: any;
310
+ } | undefined;
311
+ error?: {
312
+ message?: string;
313
+ details?: string;
314
+ } | undefined;
315
+ } | undefined;
316
+ timer?: {} | undefined;
317
+ blocking?: {} | undefined;
318
+ resize?: {} | undefined;
319
+ async?: boolean | undefined;
320
+ remoteOnly?: boolean | undefined;
321
+ hook?: string | undefined;
322
+ }[];
323
+ }): UIRequest;
324
+ };
325
+ readonly requestStream: false;
326
+ readonly responseType: {
327
+ $type: "devvit.ui.block_kit.v1beta.UIResponse";
328
+ encode(message: UIResponse, writer?: _m0.Writer): _m0.Writer;
329
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UIResponse;
330
+ fromJSON(object: any): UIResponse;
331
+ toJSON(message: UIResponse): unknown;
332
+ create(base?: {
333
+ state?: {
334
+ [x: string]: any;
335
+ } | undefined;
336
+ effects?: {
337
+ realtimeSubscriptions?: {
338
+ subscriptionIds?: string[];
339
+ } | undefined;
340
+ rerenderUi?: {
341
+ delaySeconds?: number | undefined;
342
+ } | undefined;
343
+ reloadPart?: {
344
+ subreddit?: {
345
+ subredditId?: string;
346
+ } | undefined;
347
+ post?: {
348
+ postId?: string;
349
+ body?: boolean | undefined;
350
+ comments?: boolean | undefined;
351
+ } | undefined;
352
+ comment?: {
353
+ postId?: string;
354
+ commentId?: string;
355
+ replies?: boolean | undefined;
356
+ } | undefined;
357
+ } | undefined;
358
+ showForm?: {
359
+ form?: {
360
+ fields?: {
361
+ fieldId?: string;
362
+ fieldType?: import("../../../../../index.js").FormFieldType;
363
+ label?: string;
364
+ helpText?: string | undefined;
365
+ defaultValue?: {
366
+ fieldType?: import("../../../../../index.js").FormFieldType;
367
+ isSecret?: boolean | undefined;
368
+ stringValue?: string | undefined;
369
+ numberValue?: number | undefined;
370
+ boolValue?: boolean | undefined;
371
+ listValue?: {
372
+ itemType?: import("../../../../../index.js").FormFieldType;
373
+ items?: any[];
374
+ } | undefined;
375
+ selectionValue?: {
376
+ values?: string[];
377
+ } | undefined;
378
+ groupValue?: {} | undefined;
379
+ } | undefined;
380
+ required?: boolean | undefined;
381
+ disabled?: boolean | undefined;
382
+ fieldConfig?: {
383
+ stringConfig?: {
384
+ minLength?: number | undefined;
385
+ maxLength?: number | undefined;
386
+ placeholder?: string | undefined;
387
+ } | undefined;
388
+ paragraphConfig?: {
389
+ maxCharacters?: number | undefined;
390
+ lineHeight?: number | undefined;
391
+ placeholder?: string | undefined;
392
+ } | undefined;
393
+ numberConfig?: {
394
+ step?: number | undefined;
395
+ min?: number | undefined;
396
+ max?: number | undefined;
397
+ } | undefined;
398
+ booleanConfig?: {} | undefined;
399
+ listConfig?: {
400
+ itemType?: import("../../../../../index.js").FormFieldType;
401
+ itemConfig?: any | undefined;
402
+ minEntries?: number | undefined;
403
+ maxEntries?: number | undefined;
404
+ entryLabel?: string | undefined;
405
+ } | undefined;
406
+ selectionConfig?: {
407
+ choices?: {
408
+ label?: string;
409
+ value?: string;
410
+ }[];
411
+ multiSelect?: boolean | undefined;
412
+ minSelections?: number | undefined;
413
+ maxSelections?: number | undefined;
414
+ renderAsList?: boolean | undefined;
415
+ } | undefined;
416
+ groupConfig?: {
417
+ fields?: any[];
418
+ } | undefined;
419
+ } | undefined;
420
+ isSecret?: boolean | undefined;
421
+ }[];
422
+ title?: string | undefined;
423
+ shortDescription?: string | undefined;
424
+ acceptLabel?: string | undefined;
425
+ cancelLabel?: string | undefined;
426
+ id?: string | undefined;
427
+ } | undefined;
428
+ } | undefined;
429
+ showToast?: {
430
+ toast?: {
431
+ text?: string;
432
+ appearance?: import("../../../ui/toast/toast.js").ToastAppearance | undefined;
433
+ leadingElement?: {
434
+ icon?: string | undefined;
435
+ emoji?: string | undefined;
436
+ avatar?: string | undefined;
437
+ } | undefined;
438
+ trailingElement?: {
439
+ label?: string | undefined;
440
+ icon?: string | undefined;
441
+ } | undefined;
442
+ } | undefined;
443
+ } | undefined;
444
+ navigateToUrl?: {
445
+ url?: string;
446
+ target?: string | undefined;
447
+ } | undefined;
448
+ sendEvent?: {
449
+ event?: {
450
+ realtimeEvent?: {
451
+ event?: {
452
+ channel?: string;
453
+ data?: any;
454
+ } | undefined;
455
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
456
+ } | undefined;
457
+ formSubmitted?: {
458
+ results?: {
459
+ [x: string]: {
460
+ fieldType?: import("../../../../../index.js").FormFieldType;
461
+ isSecret?: boolean | undefined;
462
+ stringValue?: string | undefined;
463
+ numberValue?: number | undefined;
464
+ boolValue?: boolean | undefined;
465
+ listValue?: {
466
+ itemType?: import("../../../../../index.js").FormFieldType;
467
+ items?: any[];
468
+ } | undefined;
469
+ selectionValue?: {
470
+ values?: string[];
471
+ } | undefined;
472
+ groupValue?: {} | undefined;
473
+ } | undefined;
474
+ };
475
+ formId?: string | undefined;
476
+ } | undefined;
477
+ toastAction?: {} | undefined;
478
+ userAction?: {
479
+ actionId?: string;
480
+ data?: {
481
+ [x: string]: any;
482
+ } | undefined;
483
+ } | undefined;
484
+ asyncRequest?: {
485
+ requestId?: string;
486
+ data?: {
487
+ [x: string]: any;
488
+ } | undefined;
489
+ } | undefined;
490
+ asyncResponse?: {
491
+ requestId?: string;
492
+ data?: {
493
+ [x: string]: any;
494
+ } | undefined;
495
+ error?: {
496
+ message?: string;
497
+ details?: string;
498
+ } | undefined;
499
+ } | undefined;
500
+ timer?: {} | undefined;
501
+ blocking?: {} | undefined;
502
+ resize?: {} | undefined;
503
+ async?: boolean | undefined;
504
+ remoteOnly?: boolean | undefined;
505
+ hook?: string | undefined;
506
+ } | undefined;
507
+ jumpsQueue?: boolean | undefined;
508
+ } | undefined;
509
+ interval?: {
510
+ intervals?: {
511
+ [x: string]: {
512
+ duration?: {
513
+ seconds?: number;
514
+ nanos?: number;
515
+ } | undefined;
516
+ queue?: string | undefined;
517
+ } | undefined;
518
+ };
519
+ } | undefined;
520
+ type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
521
+ }[];
522
+ blocks?: {
523
+ type?: import("../../../../../index.js").BlockType;
524
+ size?: {
525
+ grow?: boolean | undefined;
526
+ width?: number | undefined;
527
+ widthUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
528
+ height?: number | undefined;
529
+ heightUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
530
+ } | undefined;
531
+ sizes?: {
532
+ grow?: boolean | undefined;
533
+ width?: {
534
+ value?: {
535
+ value?: number;
536
+ unit?: import("../../../../../index.js").BlockSizeUnit;
537
+ } | undefined;
538
+ min?: {
539
+ value?: number;
540
+ unit?: import("../../../../../index.js").BlockSizeUnit;
541
+ } | undefined;
542
+ max?: {
543
+ value?: number;
544
+ unit?: import("../../../../../index.js").BlockSizeUnit;
545
+ } | undefined;
546
+ } | undefined;
547
+ height?: {
548
+ value?: {
549
+ value?: number;
550
+ unit?: import("../../../../../index.js").BlockSizeUnit;
551
+ } | undefined;
552
+ min?: {
553
+ value?: number;
554
+ unit?: import("../../../../../index.js").BlockSizeUnit;
555
+ } | undefined;
556
+ max?: {
557
+ value?: number;
558
+ unit?: import("../../../../../index.js").BlockSizeUnit;
559
+ } | undefined;
560
+ } | undefined;
561
+ } | undefined;
562
+ config?: {
563
+ rootConfig?: {
564
+ children?: any[];
565
+ height?: number;
566
+ } | undefined;
567
+ stackConfig?: {
568
+ direction?: import("../../../../../index.js").BlockStackDirection;
569
+ children?: any[];
570
+ reverse?: boolean | undefined;
571
+ alignment?: {
572
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
573
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
574
+ } | undefined;
575
+ padding?: import("../../../../../index.js").BlockPadding | undefined;
576
+ gap?: import("../../../../../index.js").BlockGap | undefined;
577
+ border?: {
578
+ color?: string | undefined;
579
+ width?: import("../../../../../index.js").BlockBorderWidth | undefined;
580
+ colors?: {
581
+ light?: string | undefined;
582
+ dark?: string | undefined;
583
+ } | undefined;
584
+ } | undefined;
585
+ cornerRadius?: import("../../../../../index.js").BlockRadius | undefined;
586
+ backgroundColor?: string | undefined;
587
+ backgroundColors?: {
588
+ light?: string | undefined;
589
+ dark?: string | undefined;
590
+ } | undefined;
591
+ } | undefined;
592
+ textConfig?: {
593
+ text?: string;
594
+ size?: import("../../../../../index.js").BlockTextSize | undefined;
595
+ weight?: import("../../../../../index.js").BlockTextWeight | undefined;
596
+ color?: string | undefined;
597
+ alignment?: {
598
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
599
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
600
+ } | undefined;
601
+ outline?: import("../../../../../index.js").BlockTextOutline | undefined;
602
+ style?: import("../../../../../index.js").BlockTextStyle | undefined;
603
+ selectable?: boolean | undefined;
604
+ colors?: {
605
+ light?: string | undefined;
606
+ dark?: string | undefined;
607
+ } | undefined;
608
+ wrap?: boolean | undefined;
609
+ overflow?: import("../../../../../index.js").BlockTextOverflow | undefined;
610
+ } | undefined;
611
+ buttonConfig?: {
612
+ text?: string | undefined;
613
+ icon?: string | undefined;
614
+ buttonSize?: import("../../../../../index.js").BlockButtonSize | undefined;
615
+ buttonAppearance?: import("../../../../../index.js").BlockButtonAppearance | undefined;
616
+ textColor?: string | undefined;
617
+ backgroundColor?: string | undefined;
618
+ disabled?: boolean | undefined;
619
+ textColors?: {
620
+ light?: string | undefined;
621
+ dark?: string | undefined;
622
+ } | undefined;
623
+ backgroundColors?: {
624
+ light?: string | undefined;
625
+ dark?: string | undefined;
626
+ } | undefined;
627
+ } | undefined;
628
+ imageConfig?: {
629
+ url?: string;
630
+ width?: number;
631
+ height?: number;
632
+ description?: string | undefined;
633
+ resizeMode?: import("../../../../../index.js").BlockImageResizeMode | undefined;
634
+ } | undefined;
635
+ spacerConfig?: {
636
+ size?: import("../../../../../index.js").BlockSpacerSize | undefined;
637
+ shape?: import("../../../../../index.js").BlockSpacerShape | undefined;
638
+ } | undefined;
639
+ iconConfig?: {
640
+ icon?: string;
641
+ color?: string | undefined;
642
+ size?: import("../../../../../index.js").BlockIconSize | undefined;
643
+ colors?: {
644
+ light?: string | undefined;
645
+ dark?: string | undefined;
646
+ } | undefined;
647
+ } | undefined;
648
+ avatarConfig?: {
649
+ thingId?: string;
650
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
651
+ size?: import("../../../../../index.js").BlockAvatarSize | undefined;
652
+ background?: import("../../../../../index.js").BlockAvatarBackground | undefined;
653
+ } | undefined;
654
+ fullsnooConfig?: {
655
+ userId?: string;
656
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
657
+ size?: import("../../../../../index.js").BlockFullSnooSize | undefined;
658
+ } | undefined;
659
+ animationConfig?: {
660
+ url?: string;
661
+ width?: number;
662
+ height?: number;
663
+ type?: import("../../../../../index.js").BlockAnimationType;
664
+ loop?: boolean | undefined;
665
+ loopMode?: import("../../../../../index.js").BlockAnimationLoopMode | undefined;
666
+ autoplay?: boolean | undefined;
667
+ speed?: number | undefined;
668
+ direction?: import("../../../../../index.js").BlockAnimationDirection | undefined;
669
+ } | undefined;
670
+ webviewConfig?: {
671
+ url?: string;
672
+ } | undefined;
673
+ } | undefined;
674
+ actions?: {
675
+ type?: import("../../../../../index.js").BlockActionType;
676
+ id?: string;
677
+ data?: {
678
+ [x: string]: any;
679
+ } | undefined;
680
+ }[];
681
+ id?: string | undefined;
682
+ key?: string | undefined;
683
+ } | undefined;
684
+ } | undefined): UIResponse;
685
+ fromPartial(object: {
686
+ state?: {
687
+ [x: string]: any;
688
+ } | undefined;
689
+ effects?: {
690
+ realtimeSubscriptions?: {
691
+ subscriptionIds?: string[];
692
+ } | undefined;
693
+ rerenderUi?: {
694
+ delaySeconds?: number | undefined;
695
+ } | undefined;
696
+ reloadPart?: {
697
+ subreddit?: {
698
+ subredditId?: string;
699
+ } | undefined;
700
+ post?: {
701
+ postId?: string;
702
+ body?: boolean | undefined;
703
+ comments?: boolean | undefined;
704
+ } | undefined;
705
+ comment?: {
706
+ postId?: string;
707
+ commentId?: string;
708
+ replies?: boolean | undefined;
709
+ } | undefined;
710
+ } | undefined;
711
+ showForm?: {
712
+ form?: {
713
+ fields?: {
714
+ fieldId?: string;
715
+ fieldType?: import("../../../../../index.js").FormFieldType;
716
+ label?: string;
717
+ helpText?: string | undefined;
718
+ defaultValue?: {
719
+ fieldType?: import("../../../../../index.js").FormFieldType;
720
+ isSecret?: boolean | undefined;
721
+ stringValue?: string | undefined;
722
+ numberValue?: number | undefined;
723
+ boolValue?: boolean | undefined;
724
+ listValue?: {
725
+ itemType?: import("../../../../../index.js").FormFieldType;
726
+ items?: any[];
727
+ } | undefined;
728
+ selectionValue?: {
729
+ values?: string[];
730
+ } | undefined;
731
+ groupValue?: {} | undefined;
732
+ } | undefined;
733
+ required?: boolean | undefined;
734
+ disabled?: boolean | undefined;
735
+ fieldConfig?: {
736
+ stringConfig?: {
737
+ minLength?: number | undefined;
738
+ maxLength?: number | undefined;
739
+ placeholder?: string | undefined;
740
+ } | undefined;
741
+ paragraphConfig?: {
742
+ maxCharacters?: number | undefined;
743
+ lineHeight?: number | undefined;
744
+ placeholder?: string | undefined;
745
+ } | undefined;
746
+ numberConfig?: {
747
+ step?: number | undefined;
748
+ min?: number | undefined;
749
+ max?: number | undefined;
750
+ } | undefined;
751
+ booleanConfig?: {} | undefined;
752
+ listConfig?: {
753
+ itemType?: import("../../../../../index.js").FormFieldType;
754
+ itemConfig?: any | undefined;
755
+ minEntries?: number | undefined;
756
+ maxEntries?: number | undefined;
757
+ entryLabel?: string | undefined;
758
+ } | undefined;
759
+ selectionConfig?: {
760
+ choices?: {
761
+ label?: string;
762
+ value?: string;
763
+ }[];
764
+ multiSelect?: boolean | undefined;
765
+ minSelections?: number | undefined;
766
+ maxSelections?: number | undefined;
767
+ renderAsList?: boolean | undefined;
768
+ } | undefined;
769
+ groupConfig?: {
770
+ fields?: any[];
771
+ } | undefined;
772
+ } | undefined;
773
+ isSecret?: boolean | undefined;
774
+ }[];
775
+ title?: string | undefined;
776
+ shortDescription?: string | undefined;
777
+ acceptLabel?: string | undefined;
778
+ cancelLabel?: string | undefined;
779
+ id?: string | undefined;
780
+ } | undefined;
781
+ } | undefined;
782
+ showToast?: {
783
+ toast?: {
784
+ text?: string;
785
+ appearance?: import("../../../ui/toast/toast.js").ToastAppearance | undefined;
786
+ leadingElement?: {
787
+ icon?: string | undefined;
788
+ emoji?: string | undefined;
789
+ avatar?: string | undefined;
790
+ } | undefined;
791
+ trailingElement?: {
792
+ label?: string | undefined;
793
+ icon?: string | undefined;
794
+ } | undefined;
795
+ } | undefined;
796
+ } | undefined;
797
+ navigateToUrl?: {
798
+ url?: string;
799
+ target?: string | undefined;
800
+ } | undefined;
801
+ sendEvent?: {
802
+ event?: {
803
+ realtimeEvent?: {
804
+ event?: {
805
+ channel?: string;
806
+ data?: any;
807
+ } | undefined;
808
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
809
+ } | undefined;
810
+ formSubmitted?: {
811
+ results?: {
812
+ [x: string]: {
813
+ fieldType?: import("../../../../../index.js").FormFieldType;
814
+ isSecret?: boolean | undefined;
815
+ stringValue?: string | undefined;
816
+ numberValue?: number | undefined;
817
+ boolValue?: boolean | undefined;
818
+ listValue?: {
819
+ itemType?: import("../../../../../index.js").FormFieldType;
820
+ items?: any[];
821
+ } | undefined;
822
+ selectionValue?: {
823
+ values?: string[];
824
+ } | undefined;
825
+ groupValue?: {} | undefined;
826
+ } | undefined;
827
+ };
828
+ formId?: string | undefined;
829
+ } | undefined;
830
+ toastAction?: {} | undefined;
831
+ userAction?: {
832
+ actionId?: string;
833
+ data?: {
834
+ [x: string]: any;
835
+ } | undefined;
836
+ } | undefined;
837
+ asyncRequest?: {
838
+ requestId?: string;
839
+ data?: {
840
+ [x: string]: any;
841
+ } | undefined;
842
+ } | undefined;
843
+ asyncResponse?: {
844
+ requestId?: string;
845
+ data?: {
846
+ [x: string]: any;
847
+ } | undefined;
848
+ error?: {
849
+ message?: string;
850
+ details?: string;
851
+ } | undefined;
852
+ } | undefined;
853
+ timer?: {} | undefined;
854
+ blocking?: {} | undefined;
855
+ resize?: {} | undefined;
856
+ async?: boolean | undefined;
857
+ remoteOnly?: boolean | undefined;
858
+ hook?: string | undefined;
859
+ } | undefined;
860
+ jumpsQueue?: boolean | undefined;
861
+ } | undefined;
862
+ interval?: {
863
+ intervals?: {
864
+ [x: string]: {
865
+ duration?: {
866
+ seconds?: number;
867
+ nanos?: number;
868
+ } | undefined;
869
+ queue?: string | undefined;
870
+ } | undefined;
871
+ };
872
+ } | undefined;
873
+ type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
874
+ }[];
875
+ blocks?: {
876
+ type?: import("../../../../../index.js").BlockType;
877
+ size?: {
878
+ grow?: boolean | undefined;
879
+ width?: number | undefined;
880
+ widthUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
881
+ height?: number | undefined;
882
+ heightUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
883
+ } | undefined;
884
+ sizes?: {
885
+ grow?: boolean | undefined;
886
+ width?: {
887
+ value?: {
888
+ value?: number;
889
+ unit?: import("../../../../../index.js").BlockSizeUnit;
890
+ } | undefined;
891
+ min?: {
892
+ value?: number;
893
+ unit?: import("../../../../../index.js").BlockSizeUnit;
894
+ } | undefined;
895
+ max?: {
896
+ value?: number;
897
+ unit?: import("../../../../../index.js").BlockSizeUnit;
898
+ } | undefined;
899
+ } | undefined;
900
+ height?: {
901
+ value?: {
902
+ value?: number;
903
+ unit?: import("../../../../../index.js").BlockSizeUnit;
904
+ } | undefined;
905
+ min?: {
906
+ value?: number;
907
+ unit?: import("../../../../../index.js").BlockSizeUnit;
908
+ } | undefined;
909
+ max?: {
910
+ value?: number;
911
+ unit?: import("../../../../../index.js").BlockSizeUnit;
912
+ } | undefined;
913
+ } | undefined;
914
+ } | undefined;
915
+ config?: {
916
+ rootConfig?: {
917
+ children?: any[];
918
+ height?: number;
919
+ } | undefined;
920
+ stackConfig?: {
921
+ direction?: import("../../../../../index.js").BlockStackDirection;
922
+ children?: any[];
923
+ reverse?: boolean | undefined;
924
+ alignment?: {
925
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
926
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
927
+ } | undefined;
928
+ padding?: import("../../../../../index.js").BlockPadding | undefined;
929
+ gap?: import("../../../../../index.js").BlockGap | undefined;
930
+ border?: {
931
+ color?: string | undefined;
932
+ width?: import("../../../../../index.js").BlockBorderWidth | undefined;
933
+ colors?: {
934
+ light?: string | undefined;
935
+ dark?: string | undefined;
936
+ } | undefined;
937
+ } | undefined;
938
+ cornerRadius?: import("../../../../../index.js").BlockRadius | undefined;
939
+ backgroundColor?: string | undefined;
940
+ backgroundColors?: {
941
+ light?: string | undefined;
942
+ dark?: string | undefined;
943
+ } | undefined;
944
+ } | undefined;
945
+ textConfig?: {
946
+ text?: string;
947
+ size?: import("../../../../../index.js").BlockTextSize | undefined;
948
+ weight?: import("../../../../../index.js").BlockTextWeight | undefined;
949
+ color?: string | undefined;
950
+ alignment?: {
951
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
952
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
953
+ } | undefined;
954
+ outline?: import("../../../../../index.js").BlockTextOutline | undefined;
955
+ style?: import("../../../../../index.js").BlockTextStyle | undefined;
956
+ selectable?: boolean | undefined;
957
+ colors?: {
958
+ light?: string | undefined;
959
+ dark?: string | undefined;
960
+ } | undefined;
961
+ wrap?: boolean | undefined;
962
+ overflow?: import("../../../../../index.js").BlockTextOverflow | undefined;
963
+ } | undefined;
964
+ buttonConfig?: {
965
+ text?: string | undefined;
966
+ icon?: string | undefined;
967
+ buttonSize?: import("../../../../../index.js").BlockButtonSize | undefined;
968
+ buttonAppearance?: import("../../../../../index.js").BlockButtonAppearance | undefined;
969
+ textColor?: string | undefined;
970
+ backgroundColor?: string | undefined;
971
+ disabled?: boolean | undefined;
972
+ textColors?: {
973
+ light?: string | undefined;
974
+ dark?: string | undefined;
975
+ } | undefined;
976
+ backgroundColors?: {
977
+ light?: string | undefined;
978
+ dark?: string | undefined;
979
+ } | undefined;
980
+ } | undefined;
981
+ imageConfig?: {
982
+ url?: string;
983
+ width?: number;
984
+ height?: number;
985
+ description?: string | undefined;
986
+ resizeMode?: import("../../../../../index.js").BlockImageResizeMode | undefined;
987
+ } | undefined;
988
+ spacerConfig?: {
989
+ size?: import("../../../../../index.js").BlockSpacerSize | undefined;
990
+ shape?: import("../../../../../index.js").BlockSpacerShape | undefined;
991
+ } | undefined;
992
+ iconConfig?: {
993
+ icon?: string;
994
+ color?: string | undefined;
995
+ size?: import("../../../../../index.js").BlockIconSize | undefined;
996
+ colors?: {
997
+ light?: string | undefined;
998
+ dark?: string | undefined;
999
+ } | undefined;
1000
+ } | undefined;
1001
+ avatarConfig?: {
1002
+ thingId?: string;
1003
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
1004
+ size?: import("../../../../../index.js").BlockAvatarSize | undefined;
1005
+ background?: import("../../../../../index.js").BlockAvatarBackground | undefined;
1006
+ } | undefined;
1007
+ fullsnooConfig?: {
1008
+ userId?: string;
1009
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
1010
+ size?: import("../../../../../index.js").BlockFullSnooSize | undefined;
1011
+ } | undefined;
1012
+ animationConfig?: {
1013
+ url?: string;
1014
+ width?: number;
1015
+ height?: number;
1016
+ type?: import("../../../../../index.js").BlockAnimationType;
1017
+ loop?: boolean | undefined;
1018
+ loopMode?: import("../../../../../index.js").BlockAnimationLoopMode | undefined;
1019
+ autoplay?: boolean | undefined;
1020
+ speed?: number | undefined;
1021
+ direction?: import("../../../../../index.js").BlockAnimationDirection | undefined;
1022
+ } | undefined;
1023
+ webviewConfig?: {
1024
+ url?: string;
1025
+ } | undefined;
1026
+ } | undefined;
1027
+ actions?: {
1028
+ type?: import("../../../../../index.js").BlockActionType;
1029
+ id?: string;
1030
+ data?: {
1031
+ [x: string]: any;
1032
+ } | undefined;
1033
+ }[];
1034
+ id?: string | undefined;
1035
+ key?: string | undefined;
1036
+ } | undefined;
1037
+ }): UIResponse;
1038
+ };
1039
+ readonly responseStream: false;
1040
+ readonly options: {};
1041
+ };
1042
+ readonly renderPostComposer: {
1043
+ readonly name: "RenderPostComposer";
1044
+ readonly requestType: {
1045
+ $type: "devvit.ui.block_kit.v1beta.UIRequest";
1046
+ encode(message: UIRequest, writer?: _m0.Writer): _m0.Writer;
1047
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UIRequest;
1048
+ fromJSON(object: any): UIRequest;
1049
+ toJSON(message: UIRequest): unknown;
1050
+ create(base?: {
1051
+ env?: {
1052
+ locale?: string | undefined;
1053
+ colorScheme?: string | undefined;
1054
+ dimensions?: {
1055
+ height?: number;
1056
+ width?: number;
1057
+ scale?: number;
1058
+ } | undefined;
1059
+ timezone?: {
1060
+ id?: string;
1061
+ version?: string;
1062
+ } | undefined;
1063
+ } | undefined;
1064
+ props?: {
1065
+ [x: string]: any;
1066
+ } | undefined;
1067
+ state?: {
1068
+ [x: string]: any;
1069
+ } | undefined;
1070
+ events?: {
1071
+ realtimeEvent?: {
1072
+ event?: {
1073
+ channel?: string;
1074
+ data?: any;
1075
+ } | undefined;
1076
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1077
+ } | undefined;
1078
+ formSubmitted?: {
1079
+ results?: {
1080
+ [x: string]: {
1081
+ fieldType?: import("../../../../../index.js").FormFieldType;
1082
+ isSecret?: boolean | undefined;
1083
+ stringValue?: string | undefined;
1084
+ numberValue?: number | undefined;
1085
+ boolValue?: boolean | undefined;
1086
+ listValue?: {
1087
+ itemType?: import("../../../../../index.js").FormFieldType;
1088
+ items?: any[];
1089
+ } | undefined;
1090
+ selectionValue?: {
1091
+ values?: string[];
1092
+ } | undefined;
1093
+ groupValue?: {} | undefined;
1094
+ } | undefined;
1095
+ };
1096
+ formId?: string | undefined;
1097
+ } | undefined;
1098
+ toastAction?: {} | undefined;
1099
+ userAction?: {
1100
+ actionId?: string;
1101
+ data?: {
1102
+ [x: string]: any;
1103
+ } | undefined;
1104
+ } | undefined;
1105
+ asyncRequest?: {
1106
+ requestId?: string;
1107
+ data?: {
1108
+ [x: string]: any;
1109
+ } | undefined;
1110
+ } | undefined;
1111
+ asyncResponse?: {
1112
+ requestId?: string;
1113
+ data?: {
1114
+ [x: string]: any;
1115
+ } | undefined;
1116
+ error?: {
1117
+ message?: string;
1118
+ details?: string;
1119
+ } | undefined;
1120
+ } | undefined;
1121
+ timer?: {} | undefined;
1122
+ blocking?: {} | undefined;
1123
+ resize?: {} | undefined;
1124
+ async?: boolean | undefined;
1125
+ remoteOnly?: boolean | undefined;
1126
+ hook?: string | undefined;
1127
+ }[];
1128
+ } | undefined): UIRequest;
1129
+ fromPartial(object: {
1130
+ env?: {
1131
+ locale?: string | undefined;
1132
+ colorScheme?: string | undefined;
1133
+ dimensions?: {
1134
+ height?: number;
1135
+ width?: number;
1136
+ scale?: number;
1137
+ } | undefined;
1138
+ timezone?: {
1139
+ id?: string;
1140
+ version?: string;
1141
+ } | undefined;
1142
+ } | undefined;
1143
+ props?: {
1144
+ [x: string]: any;
1145
+ } | undefined;
1146
+ state?: {
1147
+ [x: string]: any;
1148
+ } | undefined;
1149
+ events?: {
1150
+ realtimeEvent?: {
1151
+ event?: {
1152
+ channel?: string;
1153
+ data?: any;
1154
+ } | undefined;
1155
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1156
+ } | undefined;
1157
+ formSubmitted?: {
1158
+ results?: {
1159
+ [x: string]: {
1160
+ fieldType?: import("../../../../../index.js").FormFieldType;
1161
+ isSecret?: boolean | undefined;
1162
+ stringValue?: string | undefined;
1163
+ numberValue?: number | undefined;
1164
+ boolValue?: boolean | undefined;
1165
+ listValue?: {
1166
+ itemType?: import("../../../../../index.js").FormFieldType;
1167
+ items?: any[];
1168
+ } | undefined;
1169
+ selectionValue?: {
1170
+ values?: string[];
1171
+ } | undefined;
1172
+ groupValue?: {} | undefined;
1173
+ } | undefined;
1174
+ };
1175
+ formId?: string | undefined;
1176
+ } | undefined;
1177
+ toastAction?: {} | undefined;
1178
+ userAction?: {
1179
+ actionId?: string;
1180
+ data?: {
1181
+ [x: string]: any;
1182
+ } | undefined;
1183
+ } | undefined;
1184
+ asyncRequest?: {
1185
+ requestId?: string;
1186
+ data?: {
1187
+ [x: string]: any;
1188
+ } | undefined;
1189
+ } | undefined;
1190
+ asyncResponse?: {
1191
+ requestId?: string;
1192
+ data?: {
1193
+ [x: string]: any;
1194
+ } | undefined;
1195
+ error?: {
1196
+ message?: string;
1197
+ details?: string;
1198
+ } | undefined;
1199
+ } | undefined;
1200
+ timer?: {} | undefined;
1201
+ blocking?: {} | undefined;
1202
+ resize?: {} | undefined;
1203
+ async?: boolean | undefined;
1204
+ remoteOnly?: boolean | undefined;
1205
+ hook?: string | undefined;
1206
+ }[];
1207
+ }): UIRequest;
1208
+ };
1209
+ readonly requestStream: false;
1210
+ readonly responseType: {
1211
+ $type: "devvit.ui.block_kit.v1beta.UIResponse";
1212
+ encode(message: UIResponse, writer?: _m0.Writer): _m0.Writer;
1213
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): UIResponse;
1214
+ fromJSON(object: any): UIResponse;
1215
+ toJSON(message: UIResponse): unknown;
1216
+ create(base?: {
1217
+ state?: {
1218
+ [x: string]: any;
1219
+ } | undefined;
1220
+ effects?: {
1221
+ realtimeSubscriptions?: {
1222
+ subscriptionIds?: string[];
1223
+ } | undefined;
1224
+ rerenderUi?: {
1225
+ delaySeconds?: number | undefined;
1226
+ } | undefined;
1227
+ reloadPart?: {
1228
+ subreddit?: {
1229
+ subredditId?: string;
1230
+ } | undefined;
1231
+ post?: {
1232
+ postId?: string;
1233
+ body?: boolean | undefined;
1234
+ comments?: boolean | undefined;
1235
+ } | undefined;
1236
+ comment?: {
1237
+ postId?: string;
1238
+ commentId?: string;
1239
+ replies?: boolean | undefined;
1240
+ } | undefined;
1241
+ } | undefined;
1242
+ showForm?: {
1243
+ form?: {
1244
+ fields?: {
1245
+ fieldId?: string;
1246
+ fieldType?: import("../../../../../index.js").FormFieldType;
1247
+ label?: string;
1248
+ helpText?: string | undefined;
1249
+ defaultValue?: {
1250
+ fieldType?: import("../../../../../index.js").FormFieldType;
1251
+ isSecret?: boolean | undefined;
1252
+ stringValue?: string | undefined;
1253
+ numberValue?: number | undefined;
1254
+ boolValue?: boolean | undefined;
1255
+ listValue?: {
1256
+ itemType?: import("../../../../../index.js").FormFieldType;
1257
+ items?: any[];
1258
+ } | undefined;
1259
+ selectionValue?: {
1260
+ values?: string[];
1261
+ } | undefined;
1262
+ groupValue?: {} | undefined;
1263
+ } | undefined;
1264
+ required?: boolean | undefined;
1265
+ disabled?: boolean | undefined;
1266
+ fieldConfig?: {
1267
+ stringConfig?: {
1268
+ minLength?: number | undefined;
1269
+ maxLength?: number | undefined;
1270
+ placeholder?: string | undefined;
1271
+ } | undefined;
1272
+ paragraphConfig?: {
1273
+ maxCharacters?: number | undefined;
1274
+ lineHeight?: number | undefined;
1275
+ placeholder?: string | undefined;
1276
+ } | undefined;
1277
+ numberConfig?: {
1278
+ step?: number | undefined;
1279
+ min?: number | undefined;
1280
+ max?: number | undefined;
1281
+ } | undefined;
1282
+ booleanConfig?: {} | undefined;
1283
+ listConfig?: {
1284
+ itemType?: import("../../../../../index.js").FormFieldType;
1285
+ itemConfig?: any | undefined;
1286
+ minEntries?: number | undefined;
1287
+ maxEntries?: number | undefined;
1288
+ entryLabel?: string | undefined;
1289
+ } | undefined;
1290
+ selectionConfig?: {
1291
+ choices?: {
1292
+ label?: string;
1293
+ value?: string;
1294
+ }[];
1295
+ multiSelect?: boolean | undefined;
1296
+ minSelections?: number | undefined;
1297
+ maxSelections?: number | undefined;
1298
+ renderAsList?: boolean | undefined;
1299
+ } | undefined;
1300
+ groupConfig?: {
1301
+ fields?: any[];
1302
+ } | undefined;
1303
+ } | undefined;
1304
+ isSecret?: boolean | undefined;
1305
+ }[];
1306
+ title?: string | undefined;
1307
+ shortDescription?: string | undefined;
1308
+ acceptLabel?: string | undefined;
1309
+ cancelLabel?: string | undefined;
1310
+ id?: string | undefined;
1311
+ } | undefined;
1312
+ } | undefined;
1313
+ showToast?: {
1314
+ toast?: {
1315
+ text?: string;
1316
+ appearance?: import("../../../ui/toast/toast.js").ToastAppearance | undefined;
1317
+ leadingElement?: {
1318
+ icon?: string | undefined;
1319
+ emoji?: string | undefined;
1320
+ avatar?: string | undefined;
1321
+ } | undefined;
1322
+ trailingElement?: {
1323
+ label?: string | undefined;
1324
+ icon?: string | undefined;
1325
+ } | undefined;
1326
+ } | undefined;
1327
+ } | undefined;
1328
+ navigateToUrl?: {
1329
+ url?: string;
1330
+ target?: string | undefined;
1331
+ } | undefined;
1332
+ sendEvent?: {
1333
+ event?: {
1334
+ realtimeEvent?: {
1335
+ event?: {
1336
+ channel?: string;
1337
+ data?: any;
1338
+ } | undefined;
1339
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1340
+ } | undefined;
1341
+ formSubmitted?: {
1342
+ results?: {
1343
+ [x: string]: {
1344
+ fieldType?: import("../../../../../index.js").FormFieldType;
1345
+ isSecret?: boolean | undefined;
1346
+ stringValue?: string | undefined;
1347
+ numberValue?: number | undefined;
1348
+ boolValue?: boolean | undefined;
1349
+ listValue?: {
1350
+ itemType?: import("../../../../../index.js").FormFieldType;
1351
+ items?: any[];
1352
+ } | undefined;
1353
+ selectionValue?: {
1354
+ values?: string[];
1355
+ } | undefined;
1356
+ groupValue?: {} | undefined;
1357
+ } | undefined;
1358
+ };
1359
+ formId?: string | undefined;
1360
+ } | undefined;
1361
+ toastAction?: {} | undefined;
1362
+ userAction?: {
1363
+ actionId?: string;
1364
+ data?: {
1365
+ [x: string]: any;
1366
+ } | undefined;
1367
+ } | undefined;
1368
+ asyncRequest?: {
1369
+ requestId?: string;
1370
+ data?: {
1371
+ [x: string]: any;
1372
+ } | undefined;
1373
+ } | undefined;
1374
+ asyncResponse?: {
1375
+ requestId?: string;
1376
+ data?: {
1377
+ [x: string]: any;
1378
+ } | undefined;
1379
+ error?: {
1380
+ message?: string;
1381
+ details?: string;
1382
+ } | undefined;
1383
+ } | undefined;
1384
+ timer?: {} | undefined;
1385
+ blocking?: {} | undefined;
1386
+ resize?: {} | undefined;
1387
+ async?: boolean | undefined;
1388
+ remoteOnly?: boolean | undefined;
1389
+ hook?: string | undefined;
1390
+ } | undefined;
1391
+ jumpsQueue?: boolean | undefined;
1392
+ } | undefined;
1393
+ interval?: {
1394
+ intervals?: {
1395
+ [x: string]: {
1396
+ duration?: {
1397
+ seconds?: number;
1398
+ nanos?: number;
1399
+ } | undefined;
1400
+ queue?: string | undefined;
1401
+ } | undefined;
1402
+ };
1403
+ } | undefined;
1404
+ type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
1405
+ }[];
1406
+ blocks?: {
1407
+ type?: import("../../../../../index.js").BlockType;
1408
+ size?: {
1409
+ grow?: boolean | undefined;
1410
+ width?: number | undefined;
1411
+ widthUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
1412
+ height?: number | undefined;
1413
+ heightUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
1414
+ } | undefined;
1415
+ sizes?: {
1416
+ grow?: boolean | undefined;
1417
+ width?: {
1418
+ value?: {
1419
+ value?: number;
1420
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1421
+ } | undefined;
1422
+ min?: {
1423
+ value?: number;
1424
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1425
+ } | undefined;
1426
+ max?: {
1427
+ value?: number;
1428
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1429
+ } | undefined;
1430
+ } | undefined;
1431
+ height?: {
1432
+ value?: {
1433
+ value?: number;
1434
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1435
+ } | undefined;
1436
+ min?: {
1437
+ value?: number;
1438
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1439
+ } | undefined;
1440
+ max?: {
1441
+ value?: number;
1442
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1443
+ } | undefined;
1444
+ } | undefined;
1445
+ } | undefined;
1446
+ config?: {
1447
+ rootConfig?: {
1448
+ children?: any[];
1449
+ height?: number;
1450
+ } | undefined;
1451
+ stackConfig?: {
1452
+ direction?: import("../../../../../index.js").BlockStackDirection;
1453
+ children?: any[];
1454
+ reverse?: boolean | undefined;
1455
+ alignment?: {
1456
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
1457
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
1458
+ } | undefined;
1459
+ padding?: import("../../../../../index.js").BlockPadding | undefined;
1460
+ gap?: import("../../../../../index.js").BlockGap | undefined;
1461
+ border?: {
1462
+ color?: string | undefined;
1463
+ width?: import("../../../../../index.js").BlockBorderWidth | undefined;
1464
+ colors?: {
1465
+ light?: string | undefined;
1466
+ dark?: string | undefined;
1467
+ } | undefined;
1468
+ } | undefined;
1469
+ cornerRadius?: import("../../../../../index.js").BlockRadius | undefined;
1470
+ backgroundColor?: string | undefined;
1471
+ backgroundColors?: {
1472
+ light?: string | undefined;
1473
+ dark?: string | undefined;
1474
+ } | undefined;
1475
+ } | undefined;
1476
+ textConfig?: {
1477
+ text?: string;
1478
+ size?: import("../../../../../index.js").BlockTextSize | undefined;
1479
+ weight?: import("../../../../../index.js").BlockTextWeight | undefined;
1480
+ color?: string | undefined;
1481
+ alignment?: {
1482
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
1483
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
1484
+ } | undefined;
1485
+ outline?: import("../../../../../index.js").BlockTextOutline | undefined;
1486
+ style?: import("../../../../../index.js").BlockTextStyle | undefined;
1487
+ selectable?: boolean | undefined;
1488
+ colors?: {
1489
+ light?: string | undefined;
1490
+ dark?: string | undefined;
1491
+ } | undefined;
1492
+ wrap?: boolean | undefined;
1493
+ overflow?: import("../../../../../index.js").BlockTextOverflow | undefined;
1494
+ } | undefined;
1495
+ buttonConfig?: {
1496
+ text?: string | undefined;
1497
+ icon?: string | undefined;
1498
+ buttonSize?: import("../../../../../index.js").BlockButtonSize | undefined;
1499
+ buttonAppearance?: import("../../../../../index.js").BlockButtonAppearance | undefined;
1500
+ textColor?: string | undefined;
1501
+ backgroundColor?: string | undefined;
1502
+ disabled?: boolean | undefined;
1503
+ textColors?: {
1504
+ light?: string | undefined;
1505
+ dark?: string | undefined;
1506
+ } | undefined;
1507
+ backgroundColors?: {
1508
+ light?: string | undefined;
1509
+ dark?: string | undefined;
1510
+ } | undefined;
1511
+ } | undefined;
1512
+ imageConfig?: {
1513
+ url?: string;
1514
+ width?: number;
1515
+ height?: number;
1516
+ description?: string | undefined;
1517
+ resizeMode?: import("../../../../../index.js").BlockImageResizeMode | undefined;
1518
+ } | undefined;
1519
+ spacerConfig?: {
1520
+ size?: import("../../../../../index.js").BlockSpacerSize | undefined;
1521
+ shape?: import("../../../../../index.js").BlockSpacerShape | undefined;
1522
+ } | undefined;
1523
+ iconConfig?: {
1524
+ icon?: string;
1525
+ color?: string | undefined;
1526
+ size?: import("../../../../../index.js").BlockIconSize | undefined;
1527
+ colors?: {
1528
+ light?: string | undefined;
1529
+ dark?: string | undefined;
1530
+ } | undefined;
1531
+ } | undefined;
1532
+ avatarConfig?: {
1533
+ thingId?: string;
1534
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
1535
+ size?: import("../../../../../index.js").BlockAvatarSize | undefined;
1536
+ background?: import("../../../../../index.js").BlockAvatarBackground | undefined;
1537
+ } | undefined;
1538
+ fullsnooConfig?: {
1539
+ userId?: string;
1540
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
1541
+ size?: import("../../../../../index.js").BlockFullSnooSize | undefined;
1542
+ } | undefined;
1543
+ animationConfig?: {
1544
+ url?: string;
1545
+ width?: number;
1546
+ height?: number;
1547
+ type?: import("../../../../../index.js").BlockAnimationType;
1548
+ loop?: boolean | undefined;
1549
+ loopMode?: import("../../../../../index.js").BlockAnimationLoopMode | undefined;
1550
+ autoplay?: boolean | undefined;
1551
+ speed?: number | undefined;
1552
+ direction?: import("../../../../../index.js").BlockAnimationDirection | undefined;
1553
+ } | undefined;
1554
+ webviewConfig?: {
1555
+ url?: string;
1556
+ } | undefined;
1557
+ } | undefined;
1558
+ actions?: {
1559
+ type?: import("../../../../../index.js").BlockActionType;
1560
+ id?: string;
1561
+ data?: {
1562
+ [x: string]: any;
1563
+ } | undefined;
1564
+ }[];
1565
+ id?: string | undefined;
1566
+ key?: string | undefined;
1567
+ } | undefined;
1568
+ } | undefined): UIResponse;
1569
+ fromPartial(object: {
1570
+ state?: {
1571
+ [x: string]: any;
1572
+ } | undefined;
1573
+ effects?: {
1574
+ realtimeSubscriptions?: {
1575
+ subscriptionIds?: string[];
1576
+ } | undefined;
1577
+ rerenderUi?: {
1578
+ delaySeconds?: number | undefined;
1579
+ } | undefined;
1580
+ reloadPart?: {
1581
+ subreddit?: {
1582
+ subredditId?: string;
1583
+ } | undefined;
1584
+ post?: {
1585
+ postId?: string;
1586
+ body?: boolean | undefined;
1587
+ comments?: boolean | undefined;
1588
+ } | undefined;
1589
+ comment?: {
1590
+ postId?: string;
1591
+ commentId?: string;
1592
+ replies?: boolean | undefined;
1593
+ } | undefined;
1594
+ } | undefined;
1595
+ showForm?: {
1596
+ form?: {
1597
+ fields?: {
1598
+ fieldId?: string;
1599
+ fieldType?: import("../../../../../index.js").FormFieldType;
1600
+ label?: string;
1601
+ helpText?: string | undefined;
1602
+ defaultValue?: {
1603
+ fieldType?: import("../../../../../index.js").FormFieldType;
1604
+ isSecret?: boolean | undefined;
1605
+ stringValue?: string | undefined;
1606
+ numberValue?: number | undefined;
1607
+ boolValue?: boolean | undefined;
1608
+ listValue?: {
1609
+ itemType?: import("../../../../../index.js").FormFieldType;
1610
+ items?: any[];
1611
+ } | undefined;
1612
+ selectionValue?: {
1613
+ values?: string[];
1614
+ } | undefined;
1615
+ groupValue?: {} | undefined;
1616
+ } | undefined;
1617
+ required?: boolean | undefined;
1618
+ disabled?: boolean | undefined;
1619
+ fieldConfig?: {
1620
+ stringConfig?: {
1621
+ minLength?: number | undefined;
1622
+ maxLength?: number | undefined;
1623
+ placeholder?: string | undefined;
1624
+ } | undefined;
1625
+ paragraphConfig?: {
1626
+ maxCharacters?: number | undefined;
1627
+ lineHeight?: number | undefined;
1628
+ placeholder?: string | undefined;
1629
+ } | undefined;
1630
+ numberConfig?: {
1631
+ step?: number | undefined;
1632
+ min?: number | undefined;
1633
+ max?: number | undefined;
1634
+ } | undefined;
1635
+ booleanConfig?: {} | undefined;
1636
+ listConfig?: {
1637
+ itemType?: import("../../../../../index.js").FormFieldType;
1638
+ itemConfig?: any | undefined;
1639
+ minEntries?: number | undefined;
1640
+ maxEntries?: number | undefined;
1641
+ entryLabel?: string | undefined;
1642
+ } | undefined;
1643
+ selectionConfig?: {
1644
+ choices?: {
1645
+ label?: string;
1646
+ value?: string;
1647
+ }[];
1648
+ multiSelect?: boolean | undefined;
1649
+ minSelections?: number | undefined;
1650
+ maxSelections?: number | undefined;
1651
+ renderAsList?: boolean | undefined;
1652
+ } | undefined;
1653
+ groupConfig?: {
1654
+ fields?: any[];
1655
+ } | undefined;
1656
+ } | undefined;
1657
+ isSecret?: boolean | undefined;
1658
+ }[];
1659
+ title?: string | undefined;
1660
+ shortDescription?: string | undefined;
1661
+ acceptLabel?: string | undefined;
1662
+ cancelLabel?: string | undefined;
1663
+ id?: string | undefined;
1664
+ } | undefined;
1665
+ } | undefined;
1666
+ showToast?: {
1667
+ toast?: {
1668
+ text?: string;
1669
+ appearance?: import("../../../ui/toast/toast.js").ToastAppearance | undefined;
1670
+ leadingElement?: {
1671
+ icon?: string | undefined;
1672
+ emoji?: string | undefined;
1673
+ avatar?: string | undefined;
1674
+ } | undefined;
1675
+ trailingElement?: {
1676
+ label?: string | undefined;
1677
+ icon?: string | undefined;
1678
+ } | undefined;
1679
+ } | undefined;
1680
+ } | undefined;
1681
+ navigateToUrl?: {
1682
+ url?: string;
1683
+ target?: string | undefined;
1684
+ } | undefined;
1685
+ sendEvent?: {
1686
+ event?: {
1687
+ realtimeEvent?: {
1688
+ event?: {
1689
+ channel?: string;
1690
+ data?: any;
1691
+ } | undefined;
1692
+ status?: import("../../../../../index.js").RealtimeSubscriptionStatus | undefined;
1693
+ } | undefined;
1694
+ formSubmitted?: {
1695
+ results?: {
1696
+ [x: string]: {
1697
+ fieldType?: import("../../../../../index.js").FormFieldType;
1698
+ isSecret?: boolean | undefined;
1699
+ stringValue?: string | undefined;
1700
+ numberValue?: number | undefined;
1701
+ boolValue?: boolean | undefined;
1702
+ listValue?: {
1703
+ itemType?: import("../../../../../index.js").FormFieldType;
1704
+ items?: any[];
1705
+ } | undefined;
1706
+ selectionValue?: {
1707
+ values?: string[];
1708
+ } | undefined;
1709
+ groupValue?: {} | undefined;
1710
+ } | undefined;
1711
+ };
1712
+ formId?: string | undefined;
1713
+ } | undefined;
1714
+ toastAction?: {} | undefined;
1715
+ userAction?: {
1716
+ actionId?: string;
1717
+ data?: {
1718
+ [x: string]: any;
1719
+ } | undefined;
1720
+ } | undefined;
1721
+ asyncRequest?: {
1722
+ requestId?: string;
1723
+ data?: {
1724
+ [x: string]: any;
1725
+ } | undefined;
1726
+ } | undefined;
1727
+ asyncResponse?: {
1728
+ requestId?: string;
1729
+ data?: {
1730
+ [x: string]: any;
1731
+ } | undefined;
1732
+ error?: {
1733
+ message?: string;
1734
+ details?: string;
1735
+ } | undefined;
1736
+ } | undefined;
1737
+ timer?: {} | undefined;
1738
+ blocking?: {} | undefined;
1739
+ resize?: {} | undefined;
1740
+ async?: boolean | undefined;
1741
+ remoteOnly?: boolean | undefined;
1742
+ hook?: string | undefined;
1743
+ } | undefined;
1744
+ jumpsQueue?: boolean | undefined;
1745
+ } | undefined;
1746
+ interval?: {
1747
+ intervals?: {
1748
+ [x: string]: {
1749
+ duration?: {
1750
+ seconds?: number;
1751
+ nanos?: number;
1752
+ } | undefined;
1753
+ queue?: string | undefined;
1754
+ } | undefined;
1755
+ };
1756
+ } | undefined;
1757
+ type?: import("../../../ui/effects/v1alpha/effect.js").EffectType;
1758
+ }[];
1759
+ blocks?: {
1760
+ type?: import("../../../../../index.js").BlockType;
1761
+ size?: {
1762
+ grow?: boolean | undefined;
1763
+ width?: number | undefined;
1764
+ widthUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
1765
+ height?: number | undefined;
1766
+ heightUnit?: import("../../../../../index.js").BlockSizeUnit | undefined;
1767
+ } | undefined;
1768
+ sizes?: {
1769
+ grow?: boolean | undefined;
1770
+ width?: {
1771
+ value?: {
1772
+ value?: number;
1773
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1774
+ } | undefined;
1775
+ min?: {
1776
+ value?: number;
1777
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1778
+ } | undefined;
1779
+ max?: {
1780
+ value?: number;
1781
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1782
+ } | undefined;
1783
+ } | undefined;
1784
+ height?: {
1785
+ value?: {
1786
+ value?: number;
1787
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1788
+ } | undefined;
1789
+ min?: {
1790
+ value?: number;
1791
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1792
+ } | undefined;
1793
+ max?: {
1794
+ value?: number;
1795
+ unit?: import("../../../../../index.js").BlockSizeUnit;
1796
+ } | undefined;
1797
+ } | undefined;
1798
+ } | undefined;
1799
+ config?: {
1800
+ rootConfig?: {
1801
+ children?: any[];
1802
+ height?: number;
1803
+ } | undefined;
1804
+ stackConfig?: {
1805
+ direction?: import("../../../../../index.js").BlockStackDirection;
1806
+ children?: any[];
1807
+ reverse?: boolean | undefined;
1808
+ alignment?: {
1809
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
1810
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
1811
+ } | undefined;
1812
+ padding?: import("../../../../../index.js").BlockPadding | undefined;
1813
+ gap?: import("../../../../../index.js").BlockGap | undefined;
1814
+ border?: {
1815
+ color?: string | undefined;
1816
+ width?: import("../../../../../index.js").BlockBorderWidth | undefined;
1817
+ colors?: {
1818
+ light?: string | undefined;
1819
+ dark?: string | undefined;
1820
+ } | undefined;
1821
+ } | undefined;
1822
+ cornerRadius?: import("../../../../../index.js").BlockRadius | undefined;
1823
+ backgroundColor?: string | undefined;
1824
+ backgroundColors?: {
1825
+ light?: string | undefined;
1826
+ dark?: string | undefined;
1827
+ } | undefined;
1828
+ } | undefined;
1829
+ textConfig?: {
1830
+ text?: string;
1831
+ size?: import("../../../../../index.js").BlockTextSize | undefined;
1832
+ weight?: import("../../../../../index.js").BlockTextWeight | undefined;
1833
+ color?: string | undefined;
1834
+ alignment?: {
1835
+ vertical?: import("../../../../../index.js").BlockVerticalAlignment | undefined;
1836
+ horizontal?: import("../../../../../index.js").BlockHorizontalAlignment | undefined;
1837
+ } | undefined;
1838
+ outline?: import("../../../../../index.js").BlockTextOutline | undefined;
1839
+ style?: import("../../../../../index.js").BlockTextStyle | undefined;
1840
+ selectable?: boolean | undefined;
1841
+ colors?: {
1842
+ light?: string | undefined;
1843
+ dark?: string | undefined;
1844
+ } | undefined;
1845
+ wrap?: boolean | undefined;
1846
+ overflow?: import("../../../../../index.js").BlockTextOverflow | undefined;
1847
+ } | undefined;
1848
+ buttonConfig?: {
1849
+ text?: string | undefined;
1850
+ icon?: string | undefined;
1851
+ buttonSize?: import("../../../../../index.js").BlockButtonSize | undefined;
1852
+ buttonAppearance?: import("../../../../../index.js").BlockButtonAppearance | undefined;
1853
+ textColor?: string | undefined;
1854
+ backgroundColor?: string | undefined;
1855
+ disabled?: boolean | undefined;
1856
+ textColors?: {
1857
+ light?: string | undefined;
1858
+ dark?: string | undefined;
1859
+ } | undefined;
1860
+ backgroundColors?: {
1861
+ light?: string | undefined;
1862
+ dark?: string | undefined;
1863
+ } | undefined;
1864
+ } | undefined;
1865
+ imageConfig?: {
1866
+ url?: string;
1867
+ width?: number;
1868
+ height?: number;
1869
+ description?: string | undefined;
1870
+ resizeMode?: import("../../../../../index.js").BlockImageResizeMode | undefined;
1871
+ } | undefined;
1872
+ spacerConfig?: {
1873
+ size?: import("../../../../../index.js").BlockSpacerSize | undefined;
1874
+ shape?: import("../../../../../index.js").BlockSpacerShape | undefined;
1875
+ } | undefined;
1876
+ iconConfig?: {
1877
+ icon?: string;
1878
+ color?: string | undefined;
1879
+ size?: import("../../../../../index.js").BlockIconSize | undefined;
1880
+ colors?: {
1881
+ light?: string | undefined;
1882
+ dark?: string | undefined;
1883
+ } | undefined;
1884
+ } | undefined;
1885
+ avatarConfig?: {
1886
+ thingId?: string;
1887
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
1888
+ size?: import("../../../../../index.js").BlockAvatarSize | undefined;
1889
+ background?: import("../../../../../index.js").BlockAvatarBackground | undefined;
1890
+ } | undefined;
1891
+ fullsnooConfig?: {
1892
+ userId?: string;
1893
+ facing?: import("../../../../../index.js").BlockAvatarFacing | undefined;
1894
+ size?: import("../../../../../index.js").BlockFullSnooSize | undefined;
1895
+ } | undefined;
1896
+ animationConfig?: {
1897
+ url?: string;
1898
+ width?: number;
1899
+ height?: number;
1900
+ type?: import("../../../../../index.js").BlockAnimationType;
1901
+ loop?: boolean | undefined;
1902
+ loopMode?: import("../../../../../index.js").BlockAnimationLoopMode | undefined;
1903
+ autoplay?: boolean | undefined;
1904
+ speed?: number | undefined;
1905
+ direction?: import("../../../../../index.js").BlockAnimationDirection | undefined;
1906
+ } | undefined;
1907
+ webviewConfig?: {
1908
+ url?: string;
1909
+ } | undefined;
1910
+ } | undefined;
1911
+ actions?: {
1912
+ type?: import("../../../../../index.js").BlockActionType;
1913
+ id?: string;
1914
+ data?: {
1915
+ [x: string]: any;
1916
+ } | undefined;
1917
+ }[];
1918
+ id?: string | undefined;
1919
+ key?: string | undefined;
1920
+ } | undefined;
1921
+ }): UIResponse;
1922
+ };
1923
+ readonly responseStream: false;
1924
+ readonly options: {};
130
1925
  };
131
1926
  };
132
1927
  };