@devvit/protos 0.12.1-next-2025-09-08-20-55-43-6ce1b439e.0 → 0.12.1-next-2025-09-09-13-45-18-0f0a506a2.0

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 (491) hide show
  1. package/json/devvit/data/api/admin/v1alpha/organization.d.ts +7 -0
  2. package/json/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
  3. package/json/devvit/data/api/v1alpha/admin.d.ts +3 -0
  4. package/json/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  5. package/json/devvit/data/api/v1alpha/filter.d.ts +81 -0
  6. package/json/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
  7. package/json/devvit/data/api/v1alpha/filter.js +21 -0
  8. package/package.json +4 -4
  9. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/expression.proto +92 -0
  10. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
  11. package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/validate.proto +4130 -0
  12. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/automation/v1alpha/event_handlers.proto +105 -0
  13. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/hello/hello.proto +18 -0
  14. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/payments/v1alpha/payments.proto +41 -0
  15. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/producer/producer.proto +22 -0
  16. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_action.proto +92 -0
  17. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_type.proto +14 -0
  18. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/post_filter.proto +20 -0
  19. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/action.proto +15 -0
  20. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/handler.proto +15 -0
  21. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/app_settings.proto +21 -0
  22. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/installation_settings.proto +21 -0
  23. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/instance_settings.proto +20 -0
  24. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/shared.proto +34 -0
  25. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/test/wrappertypes.proto +18 -0
  26. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/user_configurable/user_configurable.proto +55 -0
  27. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/webbit/webbit.proto +34 -0
  28. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/analytics/v1/analytics.proto +32 -0
  29. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/init.proto +14 -0
  30. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/playtest.proto +41 -0
  31. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
  32. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
  33. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
  34. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
  35. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
  36. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
  37. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
  38. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
  39. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +804 -0
  40. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/fetcher.proto +20 -0
  41. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
  42. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +138 -0
  43. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
  44. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/debug/v1alpha/debug.proto +18 -0
  45. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/actor/actor_type.proto +12 -0
  46. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin/waitlist_admin.proto +72 -0
  47. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin_portal.proto +38 -0
  48. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/app.proto +365 -0
  49. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/categories/categories.proto +60 -0
  50. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/info/app_info.proto +88 -0
  51. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/app_publish_request.proto +121 -0
  52. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +29 -0
  53. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +27 -0
  54. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_settings/app_settings.proto +48 -0
  55. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/app_version.proto +168 -0
  56. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/info/app_version_info.proto +88 -0
  57. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/audit/audit.proto +75 -0
  58. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/auth/auth.proto +41 -0
  59. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/organization/organization.proto +41 -0
  60. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/subscription/subscription.proto +91 -0
  61. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/user/user.proto +44 -0
  62. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/dev_portal.proto +193 -0
  63. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/developer_account/developer_account.proto +46 -0
  64. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/feedback/feedback.proto +10 -0
  65. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain/fetch_domain.proto +19 -0
  66. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto +64 -0
  67. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation/installation.proto +230 -0
  68. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation_settings/installation_settings.proto +51 -0
  69. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/authorization/v1alpha/authorization.proto +45 -0
  70. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/community_drawer/community_drawer.proto +24 -0
  71. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.proto +26 -0
  72. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.proto +19 -0
  73. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/media/media.proto +43 -0
  74. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/nutrition/nutrition.proto +64 -0
  75. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/payments_verification.proto +29 -0
  76. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/product.proto +11 -0
  77. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/reddit/redditor.proto +14 -0
  78. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/waitlist/waitlist.proto +61 -0
  79. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
  80. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/realtime.proto +25 -0
  81. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/wqcleanup.proto +10 -0
  82. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +14 -0
  83. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/custom_post_snapshot.proto +15 -0
  84. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/playtest_subreddit/playtest_subreddit.proto +24 -0
  85. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/resolvers.proto +15 -0
  86. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/app_health.proto +18 -0
  87. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +58 -0
  88. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
  89. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/triggers.proto +37 -0
  90. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/snapshot.proto +11 -0
  91. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/subreddit_metadata.proto +54 -0
  92. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/options/options.proto +98 -0
  93. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/common.proto +13 -0
  94. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/order.proto +48 -0
  95. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/product.proto +65 -0
  96. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/assetresolver/assetresolver.proto +51 -0
  97. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/buildpack/buildpack_common.proto +64 -0
  98. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/clock/clock.proto +13 -0
  99. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/http/http.proto +29 -0
  100. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/inspector/inspector.proto +17 -0
  101. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/kvstore/kvstore.proto +28 -0
  102. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/logger/logger.proto +116 -0
  103. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/media/media.proto +20 -0
  104. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/modlog/modlog.proto +31 -0
  105. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/payments/v1alpha/payments.proto +72 -0
  106. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +671 -0
  107. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_msg.proto +284 -0
  108. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_svc.proto +120 -0
  109. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_msg.proto +35 -0
  110. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_svc.proto +19 -0
  111. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +291 -0
  112. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +253 -0
  113. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_msg.proto +214 -0
  114. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_svc.proto +80 -0
  115. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_msg.proto +137 -0
  116. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_svc.proto +178 -0
  117. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_msg.proto +104 -0
  118. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_svc.proto +45 -0
  119. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_msg.proto +348 -0
  120. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_svc.proto +142 -0
  121. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_msg.proto +48 -0
  122. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_svc.proto +84 -0
  123. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_msg.proto +1087 -0
  124. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +196 -0
  125. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_msg.proto +192 -0
  126. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_svc.proto +101 -0
  127. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_msg.proto +383 -0
  128. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_svc.proto +171 -0
  129. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_msg.proto +217 -0
  130. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_svc.proto +91 -0
  131. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redis/redisapi.proto +434 -0
  132. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/scheduler/scheduler.proto +80 -0
  133. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/settings/v1alpha/settings.proto +33 -0
  134. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/timer/timer.proto +16 -0
  135. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/useractions/useractions.proto +18 -0
  136. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +52 -0
  137. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v2events/v2events.proto +43 -0
  138. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/comment.proto +104 -0
  139. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/common.proto +104 -0
  140. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_actions/v2alpha/custom_actions.proto +73 -0
  141. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_post/v1alpha/custom_post.proto +84 -0
  142. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/post.proto +192 -0
  143. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/subreddit.proto +138 -0
  144. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/thing_type.proto +16 -0
  145. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/user.proto +138 -0
  146. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +30 -0
  147. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
  148. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
  149. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
  150. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +109 -0
  151. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
  152. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
  153. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/remote_logger/remote_logger.proto +65 -0
  154. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/bootstrap.proto +15 -0
  155. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/v1alpha/health.proto +18 -0
  156. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/bundle.proto +171 -0
  157. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/runtime_common.proto +10 -0
  158. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/serializable.proto +28 -0
  159. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/service/bundle_service.proto +22 -0
  160. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
  161. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/attributes.proto +69 -0
  162. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/block.proto +212 -0
  163. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/enums.proto +221 -0
  164. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/rendering.proto +27 -0
  165. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/ui.proto +100 -0
  166. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/common/v1alpha/common.proto +21 -0
  167. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effect_types/v1alpha/realtime_subscription.proto +26 -0
  168. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +19 -0
  169. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/create_order.proto +39 -0
  170. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +71 -0
  171. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/interval.proto +31 -0
  172. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/navigate_to_url.proto +12 -0
  173. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/realtime_subscriptions.proto +26 -0
  174. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/reload_part.proto +48 -0
  175. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/rerender_ui.proto +12 -0
  176. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_form.proto +26 -0
  177. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
  178. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +150 -0
  179. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +21 -0
  180. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/immersive_mode.proto +16 -0
  181. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +104 -0
  182. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/share.proto +22 -0
  183. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/web_view.proto +17 -0
  184. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +113 -0
  185. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/handle_ui.proto +30 -0
  186. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +55 -0
  187. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/field.proto +134 -0
  188. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/form.proto +27 -0
  189. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/type.proto +32 -0
  190. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/value.proto +52 -0
  191. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/toast/toast.proto +48 -0
  192. package/schema/.snootobuf/deps/.snootobuf/deps/devvit/uuid.proto +12 -0
  193. package/schema/.snootobuf/deps/.snootobuf/deps/enum/account_gender_category.proto +14 -0
  194. package/schema/.snootobuf/deps/.snootobuf/deps/enum/approval_status.proto +15 -0
  195. package/schema/.snootobuf/deps/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
  196. package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
  197. package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_info_action.proto +12 -0
  198. package/schema/.snootobuf/deps/.snootobuf/deps/enum/block_relation_type.proto +11 -0
  199. package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_sort.proto +18 -0
  200. package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_type.proto +11 -0
  201. package/schema/.snootobuf/deps/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
  202. package/schema/.snootobuf/deps/.snootobuf/deps/enum/discussion_type.proto +10 -0
  203. package/schema/.snootobuf/deps/.snootobuf/deps/enum/distinguish_type.proto +14 -0
  204. package/schema/.snootobuf/deps/.snootobuf/deps/enum/flair_position.proto +11 -0
  205. package/schema/.snootobuf/deps/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
  206. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_content_type.proto +11 -0
  207. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_type.proto +11 -0
  208. package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_visibility.proto +11 -0
  209. package/schema/.snootobuf/deps/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
  210. package/schema/.snootobuf/deps/.snootobuf/deps/enum/promo_layout.proto +11 -0
  211. package/schema/.snootobuf/deps/.snootobuf/deps/enum/removed_by_type.proto +18 -0
  212. package/schema/.snootobuf/deps/.snootobuf/deps/enum/spam_level.proto +11 -0
  213. package/schema/.snootobuf/deps/.snootobuf/deps/enum/subreddit_type.proto +16 -0
  214. package/schema/.snootobuf/deps/.snootobuf/deps/enum/verdict.proto +14 -0
  215. package/schema/.snootobuf/deps/.snootobuf/deps/enum/vote.proto +12 -0
  216. package/schema/.snootobuf/deps/.snootobuf/deps/enum/whitelist_status.proto +17 -0
  217. package/schema/.snootobuf/deps/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
  218. package/schema/.snootobuf/deps/.snootobuf/deps/evaluator/evaluator.proto +203 -0
  219. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/annotations.proto +31 -0
  220. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +274 -0
  221. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/resources.proto +172 -0
  222. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/auth.proto +180 -0
  223. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/backend.proto +50 -0
  224. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/billing.proto +66 -0
  225. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/client.proto +99 -0
  226. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +290 -0
  227. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +312 -0
  228. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/config_change.proto +84 -0
  229. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/consumer.proto +82 -0
  230. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/context.proto +62 -0
  231. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/control.proto +32 -0
  232. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/distribution.proto +212 -0
  233. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/documentation.proto +156 -0
  234. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/endpoint.proto +70 -0
  235. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/error_reason.proto +589 -0
  236. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +180 -0
  237. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
  238. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
  239. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
  240. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
  241. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
  242. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
  243. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
  244. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
  245. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
  246. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
  247. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_behavior.proto +84 -0
  248. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_info.proto +106 -0
  249. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/http.proto +317 -0
  250. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/httpbody.proto +75 -0
  251. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/label.proto +48 -0
  252. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/launch_stage.proto +67 -0
  253. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/log.proto +54 -0
  254. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/logging.proto +82 -0
  255. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/metric.proto +191 -0
  256. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitored_resource.proto +115 -0
  257. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitoring.proto +88 -0
  258. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/policy.proto +85 -0
  259. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/quota.proto +258 -0
  260. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/resource.proto +299 -0
  261. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/routing.proto +461 -0
  262. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/service.proto +174 -0
  263. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
  264. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
  265. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
  266. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
  267. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
  268. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
  269. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
  270. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
  271. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
  272. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
  273. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +483 -0
  274. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
  275. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +295 -0
  276. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
  277. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +756 -0
  278. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/source_info.proto +31 -0
  279. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/system_parameter.proto +95 -0
  280. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/usage.proto +91 -0
  281. package/schema/.snootobuf/deps/.snootobuf/deps/google/api/visibility.proto +113 -0
  282. package/schema/.snootobuf/deps/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  283. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/admin/v1/iam.proto +1043 -0
  284. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/iam_policy.proto +148 -0
  285. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  286. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  287. package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  288. package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/http_request.proto +91 -0
  289. package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/log_severity.proto +71 -0
  290. package/schema/.snootobuf/deps/.snootobuf/deps/google/longrunning/operations.proto +240 -0
  291. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/any.proto +158 -0
  292. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/api.proto +208 -0
  293. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/compiler/plugin.proto +182 -0
  294. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/descriptor.proto +902 -0
  295. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  296. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  297. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  298. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  299. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  300. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  301. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/type.proto +187 -0
  302. package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  303. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/code.proto +186 -0
  304. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  305. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  306. package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/status.proto +47 -0
  307. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  308. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/color.proto +170 -0
  309. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/date.proto +50 -0
  310. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/datetime.proto +97 -0
  311. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  312. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/expr.proto +51 -0
  313. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/fraction.proto +34 -0
  314. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/latlng.proto +37 -0
  315. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/money.proto +43 -0
  316. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/month.proto +66 -0
  317. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/postal_address.proto +135 -0
  318. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/quaternion.proto +95 -0
  319. package/schema/.snootobuf/deps/.snootobuf/deps/google/type/timeofday.proto +44 -0
  320. package/schema/.snootobuf/deps/.snootobuf/deps/openapi/helper.proto +50 -0
  321. package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/annotations.proto +51 -0
  322. package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/openapiv2.proto +759 -0
  323. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  324. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +585 -0
  325. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  326. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  327. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  328. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/callback/v1/callback_service.proto +92 -0
  329. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/event/v1/event.proto +52 -0
  330. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/experimental/v1/experimental.proto +71 -0
  331. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/analytics/v1/analytics.proto +12 -0
  332. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/generic/v1/generic.proto +12 -0
  333. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/loadbalancing/v1/loadbalancing.proto +43 -0
  334. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/metadata/v1/metadata.proto +20 -0
  335. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/operation/v1/operation.proto +148 -0
  336. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/publication/v1/publication_service.proto +56 -0
  337. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/offsets.proto +17 -0
  338. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/scheduling.proto +25 -0
  339. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/testing/v1/testing.proto +72 -0
  340. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/workerpool/v1/workerpool.proto +213 -0
  341. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  342. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  343. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  344. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +446 -0
  345. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  346. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  347. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  348. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  349. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  350. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  351. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  352. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  353. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  354. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  355. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account.proto +56 -0
  356. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account_relations.proto +93 -0
  357. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/cloudevent/v1/cloudevent.proto +67 -0
  358. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/comments/v1/comments.proto +59 -0
  359. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/actor.proto +43 -0
  360. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_attr_key.proto +19 -0
  361. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_extensions.proto +26 -0
  362. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/eventcontext.proto +69 -0
  363. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/links/v1/links.proto +59 -0
  364. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit.proto +86 -0
  365. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit_member_relations.proto +52 -0
  366. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  367. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +805 -0
  368. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  369. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  370. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  371. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  372. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  373. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  374. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  375. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  376. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/data/engagement/v1/engagement.proto +117 -0
  377. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/ads/v1/ads.proto +14 -0
  378. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/app_permission.proto +76 -0
  379. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/service.proto +13 -0
  380. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +39 -0
  381. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/service.proto +12 -0
  382. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/post.proto +119 -0
  383. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/service.proto +14 -0
  384. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +92 -0
  385. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/metadata_service.proto +22 -0
  386. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +12 -0
  387. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/useractions/v1/useractions.proto +13 -0
  388. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  389. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/cancel_subscription.proto +16 -0
  390. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/change_payment_method.proto +21 -0
  391. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +86 -0
  392. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +426 -0
  393. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/contributor_program.proto +40 -0
  394. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
  395. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/deposit_gold.proto +28 -0
  396. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +35 -0
  397. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_aggregated_transactions_list.proto +37 -0
  398. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
  399. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +56 -0
  400. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +15 -0
  401. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
  402. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +16 -0
  403. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +51 -0
  404. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +24 -0
  405. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_subscriptions.proto +66 -0
  406. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_transaction_list.proto +28 -0
  407. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  408. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +19 -0
  409. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/revoke_subscription.proto +15 -0
  410. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +86 -0
  411. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +55 -0
  412. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/transfer_subscription.proto +16 -0
  413. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
  414. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/environment.proto +12 -0
  415. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto +29 -0
  416. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +304 -0
  417. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/events.proto +14 -0
  418. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/order.proto +80 -0
  419. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  420. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +168 -0
  421. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  422. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +254 -0
  423. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +43 -0
  424. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +293 -0
  425. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  426. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payments_data_compliance.proto +18 -0
  427. package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +220 -0
  428. package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
  429. package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
  430. package/schema/.snootobuf/deps/.snootobuf/deps/validate/validate.proto +862 -0
  431. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +26 -1
  432. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +1 -1
  433. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +10 -1
  434. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +2 -1
  435. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +16 -1
  436. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +1 -1
  437. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +1 -1
  438. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +4 -1
  439. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +1 -1
  440. package/schema/.snootobuf/deps/devvit/dev_portal/v1/installation.proto +12 -0
  441. package/schema/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +1 -4
  442. package/schema/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +0 -1
  443. package/schema/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +0 -3
  444. package/schema/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +0 -2
  445. package/schema/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +0 -55
  446. package/schema/.snootobuf/deps/devvit/runtime/bundle.proto +0 -4
  447. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +1 -1
  448. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +1 -2
  449. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +2 -2
  450. package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
  451. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +0 -14
  452. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +0 -4
  453. package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +2 -5
  454. package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +2 -2
  455. package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +2 -16
  456. package/schema/.snootobuf/deps/reddit/devvit/common/v1/app.proto +44 -0
  457. package/schema/.snootobuf/deps/reddit/devvit/common/v1/context_action.proto +48 -0
  458. package/schema/.snootobuf/deps/reddit/devvit/common/v1/error_message.proto +9 -0
  459. package/schema/.snootobuf/deps/reddit/devvit/common/v1/installation.proto +23 -0
  460. package/schema/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +4 -3
  461. package/schema/.snootobuf/deps/reddit/devvit/post/v1/post.proto +31 -7
  462. package/schema/.snootobuf/deps/reddit/devvit/post/v1/promoted_post.proto +32 -0
  463. package/schema/.snootobuf/deps/reddit/devvit/post/v1/service.proto +4 -0
  464. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +7 -56
  465. package/schema/devvit/data/api/v1alpha/filter.proto +68 -0
  466. package/schema/devvit/dev_portal/data_api/admin/audit/audit.proto +2 -0
  467. package/schema/devvit/dev_portal/data_api/admin/auth/auth.proto +2 -0
  468. package/schema/devvit/dev_portal/data_api/admin/organization/organization.proto +2 -0
  469. package/schema/devvit/dev_portal/data_api/admin/subscription/subscription.proto +2 -0
  470. package/schema/devvit/dev_portal/data_api/admin/user/user.proto +2 -0
  471. package/schema/snootobuf.lock +0 -0
  472. package/schema/snootobuf.redditapi.lock +0 -0
  473. package/schema/snootobuf.yaml +2 -4
  474. package/types/devvit/data/api/admin/v1alpha/organization.d.ts +25 -0
  475. package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
  476. package/types/devvit/data/api/admin/v1alpha/organization.js +122 -0
  477. package/types/devvit/data/api/v1alpha/admin.d.ts +3 -0
  478. package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
  479. package/types/devvit/data/api/v1alpha/admin.js +47 -0
  480. package/types/devvit/data/api/v1alpha/filter.d.ts +161 -0
  481. package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
  482. package/types/devvit/data/api/v1alpha/filter.js +984 -0
  483. package/types/devvit/dev_portal/dev_portal.d.ts +48 -0
  484. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  485. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -0
  486. package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
  487. /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -0
  488. /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -0
  489. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/custom_post.proto +0 -0
  490. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/service.proto +0 -0
  491. /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/subreddit/v1/context_action.proto +0 -0
@@ -0,0 +1,671 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.plugin.redditapi.common;
4
+
5
+ import "devvit/reddit/user.proto";
6
+ import "google/protobuf/any.proto";
7
+ import "google/protobuf/descriptor.proto";
8
+ import "google/protobuf/struct.proto";
9
+ import "google/protobuf/wrappers.proto";
10
+ import "reddit/devvit/app_permission/v1/app_permission.proto";
11
+
12
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
13
+ option java_package = "com.reddit.devvit.plugin.redditapi.common";
14
+
15
+ // A Listing is a paginated list of Things such as Subreddits, Posts, or Comments
16
+ message Listing {
17
+ message ListingData {
18
+ // If present, use this as the `after` parameter when calling the same
19
+ // API again to fetch the next page
20
+ google.protobuf.StringValue after = 1;
21
+ // If present, use this as the `before` parameter when calling the same
22
+ // API again to fetch the previous page
23
+ google.protobuf.StringValue before = 2;
24
+ // Contents of the current page of the listing
25
+ repeated WrappedRedditObject children = 3;
26
+ // Number of objects in `children`
27
+ // Note: Only counts immediate entries in `children` and does not count
28
+ // nested objects such as comment trees
29
+ google.protobuf.Int64Value dist = 4;
30
+ }
31
+
32
+ // String value: "Listing"
33
+ string kind = 1;
34
+ // Contents of the listing
35
+ ListingData data = 2;
36
+ }
37
+
38
+ // A WrappedRedditObject couples a RedditObject with a type identifier
39
+ message WrappedRedditObject {
40
+ // Thing ID prefix to identify what kind of object this is
41
+ string kind = 1;
42
+ // Object data of type `kind`
43
+ RedditObject data = 2;
44
+ }
45
+
46
+ message JsonRedditObjects {
47
+ message JsonType {
48
+ message JsonData {
49
+ repeated WrappedRedditObject things = 1;
50
+ }
51
+
52
+ repeated google.protobuf.Any errors = 1;
53
+ JsonData data = 2;
54
+ }
55
+ JsonType json = 4;
56
+ }
57
+
58
+ // A RedditObject can either be a Post (t3) or a Comment (t1)
59
+ //
60
+ // Note: Will be replaced by the discrete {@link Comment} and {@link Post} types
61
+ message RedditObject {
62
+ // oEmbed is a format for allowing an embedded representation of a URL on third party sites.
63
+ // The simple API allows a website to display embedded content (such as photos or videos)
64
+ // when a user posts a link to that resource, without having to parse the resource directly.
65
+ // See: https://oembed.com/
66
+ message OEmbed {
67
+ // The resource type. Valid values, along with value-specific parameters, are described below. E.g. "video"
68
+ string type = 1;
69
+ // A text title, describing the resource.
70
+ optional string title = 2;
71
+ // A URL for the author/owner of the resource. E.g. "YouTube"
72
+ optional string provider_name = 3;
73
+ // The name of the resource provider. E.g https://www.youtube.com/
74
+ optional string provider_url = 4;
75
+ // The oEmbed version number. This must be 1.0.
76
+ string version = 5;
77
+ // The width of the optional thumbnail in pixels
78
+ optional google.protobuf.Int32Value thumbnail_width = 6;
79
+ // The height of the optional thumbnail in pixels
80
+ optional google.protobuf.Int32Value thumbnail_height = 7;
81
+ // A URL to a thumbnail image representing the resource.
82
+ optional string thumbnail_url = 8;
83
+ // The HTML required to embed a video player. The HTML should have no padding or margins. Consumers may wish to load the HTML in an off-domain iframe to avoid XSS vulnerabilities.
84
+ string html = 9;
85
+ // The width in pixels required to display the HTML.
86
+ google.protobuf.Int32Value height = 10;
87
+ // The height in pixels required to display the HTML.
88
+ google.protobuf.Int32Value width = 11;
89
+ // A URL for the author/owner of the resource. E.g. https://www.youtube.com/@Reddit
90
+ optional string author_url = 12;
91
+ // The name of the author/owner of the resource. E.g. "Reddit"
92
+ optional string author_name = 13;
93
+ }
94
+
95
+ // Contains the data for a video hosted on Reddit that is in a post
96
+ message RedditVideo {
97
+ // The bitrate of the video in kilobits per second. E.g. 450
98
+ google.protobuf.Int32Value bitrate_kbps = 1;
99
+ // The URL to the DASH playlist file. E.g. "https://v.redd.it/abc123/DASHPlaylist.mpd"
100
+ google.protobuf.StringValue dash_url = 2;
101
+ // The duration of the video in seconds. E.g. 30
102
+ google.protobuf.Int32Value duration = 3;
103
+ // The direct URL to the video. E.g. "https://v.redd.it/abc123/DASH_1080.mp4?source=fallback"
104
+ google.protobuf.StringValue fallback_url = 4;
105
+ // The height of the video in pixels. E.g. 1080
106
+ google.protobuf.Int32Value height = 5;
107
+ // The URL to the HLS playlist file. E.g. "https://v.redd.it/abc123/HLSPlaylist.m3u8"
108
+ google.protobuf.StringValue hls_url = 6;
109
+ // If `true`, the video is a GIF
110
+ google.protobuf.BoolValue is_gif = 7;
111
+ // The URL to the scrubber media file. E.g. "https://v.redd.it/abc123/DASH_96.mp4"
112
+ google.protobuf.StringValue scrubber_media_url = 8;
113
+ // The status of the transcoding process. E.g. "completed"
114
+ google.protobuf.StringValue transcoding_status = 9;
115
+ // The width of the video in pixels. E.g. 1920
116
+ google.protobuf.Int32Value width = 10;
117
+ }
118
+
119
+ // RichText document for author flair
120
+ message AuthorFlairRichText {
121
+ // enum of element types. e.g. emoji or text
122
+ google.protobuf.StringValue e = 1;
123
+ // text to show up in the flair, e.g. "power poster"
124
+ google.protobuf.StringValue t = 2;
125
+ // emoji references, e.g. ":rainbow:"
126
+ google.protobuf.StringValue a = 3;
127
+ // url string, e.g. "https://reddit.com/"
128
+ google.protobuf.StringValue u = 4;
129
+ }
130
+
131
+ // RichText document for post flair
132
+ message LinkFlairRichText {
133
+ // enum of element types. e.g. emoji or text
134
+ google.protobuf.StringValue e = 1;
135
+ // text to show up in the flair, e.g. "Need Advice"
136
+ google.protobuf.StringValue t = 2;
137
+ // emoji references, e.g. ":rainbow:"
138
+ google.protobuf.StringValue a = 3;
139
+ // url string, e.g. "https://reddit.com/"
140
+ google.protobuf.StringValue u = 4;
141
+ }
142
+
143
+ // Secure Media object
144
+ message SecureMedia {
145
+ // The type of the Secure Media (e.g. "youtube.com"). Populated when 'oembed' is present.
146
+ string type = 1;
147
+ // Populated when the post media is hosted on a third-party site.
148
+ OEmbed oembed = 2;
149
+ // Populated when the post media is a video hosted on Reddit.
150
+ RedditVideo reddit_video = 3;
151
+ }
152
+
153
+ // List of awards this object has received
154
+ // Note: not yet parsed by RedditAPI
155
+ // @ignore
156
+ repeated google.protobuf.Any all_awardings = 1;
157
+ // If `true` this has been approved by a moderator
158
+ google.protobuf.BoolValue approved = 2;
159
+ // Timestamp when this was approved
160
+ google.protobuf.Int64Value approved_at_utc = 3;
161
+ // Username of the moderator that manually approved this object
162
+ google.protobuf.StringValue approved_by = 4;
163
+ // If `true`, this object has been archived
164
+ google.protobuf.BoolValue archived = 5;
165
+ google.protobuf.StringValue associated_award = 6;
166
+ // The username of the author of this object
167
+ // @example "spez"
168
+ google.protobuf.StringValue author = 7;
169
+ // Flair background color as a hex color string (# prefixed)
170
+ // @example "#FF4500"
171
+ google.protobuf.StringValue author_flair_background_color = 8;
172
+ // Custom CSS classes from the subreddit's stylesheet
173
+ // to apply to the flair if rendered as HTML
174
+ google.protobuf.StringValue author_flair_css_class = 9;
175
+ // RichText representation of the author's flair
176
+ // Note: incorrectly typed and not guaranteed to be useful
177
+ repeated AuthorFlairRichText author_flair_richtext = 10;
178
+ // Flair template ID to use when rendering this flair
179
+ // @see Use {@link Flair.FlairList} to get flair templates for a subreddit
180
+ // @example "813b473a-4d74-4933-ba79-a7f1b8b285ef"
181
+ google.protobuf.StringValue author_flair_template_id = 11;
182
+ // Plain text representation of the flair RichText
183
+ google.protobuf.StringValue author_flair_text = 12;
184
+ // One of: "light", "dark"
185
+ google.protobuf.StringValue author_flair_text_color = 13;
186
+ // One of: "text", "richtext"
187
+ google.protobuf.StringValue author_flair_type = 14;
188
+ // Thing ID of the author
189
+ // @example "t2_abc123"
190
+ google.protobuf.StringValue author_fullname = 15;
191
+ // If `true`, the current user has blocked the author
192
+ google.protobuf.BoolValue author_is_blocked = 16;
193
+ // @deprecated
194
+ google.protobuf.BoolValue author_patreon_flair = 17 [deprecated = true];
195
+ // If `true`, this author is subscribed to Reddit Premium
196
+ google.protobuf.BoolValue author_premium = 18;
197
+ // List of usernames that have given awards to this object
198
+ repeated google.protobuf.StringValue awarders = 19;
199
+ // Timestamp when this was banned
200
+ google.protobuf.Int64Value banned_at_utc = 20;
201
+ // Username of the moderator that banned this object
202
+ google.protobuf.StringValue banned_by = 21;
203
+ // Markdown body text if this is a Comment
204
+ google.protobuf.StringValue body = 22;
205
+ // Pre-rendered HTML representing the Markdown or RichText body of a Comment
206
+ google.protobuf.StringValue body_html = 23;
207
+ // If `true`, the current user can award this object
208
+ google.protobuf.BoolValue can_gild = 24;
209
+ // If `true`, the current user has adequate permission to moderate this object
210
+ google.protobuf.BoolValue can_mod_post = 25;
211
+ // If `true`, this Comment is collapsed by default
212
+ // @see {@link collapsed_reason} and {@link collapsed_reason_code} to determine why
213
+ google.protobuf.BoolValue collapsed = 26;
214
+ // Alias for collapsed_reason_code = "CROWD_CONTROL"
215
+ google.protobuf.BoolValue collapsed_because_crowd_control = 27;
216
+ // User-friendly string explaining why this Comment is collapsed
217
+ google.protobuf.StringValue collapsed_reason = 28;
218
+ // One of: "LOW_SCORE", "BLOCKED_AUTHOR", "POTENTIALLY_TOXIC", "CROWD_CONTROL", "DELETED"
219
+ google.protobuf.StringValue collapsed_reason_code = 29;
220
+ google.protobuf.StringValue comment_type = 30;
221
+ // If set to `1` this Comment is considered controversial
222
+ google.protobuf.Int64Value controversiality = 31;
223
+ // Timestamp when this object was created
224
+ // @see Alias for {@link created_utc}
225
+ google.protobuf.Int64Value created = 32;
226
+ // Timestamp when this object was created
227
+ // @see Alias for {@link created}
228
+ google.protobuf.Int64Value created_utc = 33;
229
+ // If `true`, an admin has distinguished this object
230
+ google.protobuf.StringValue distinguished = 34;
231
+ // Previously displayed the number of downvotes this object received
232
+ // @deprecated Always returns 0
233
+ google.protobuf.Int64Value downs = 35;
234
+ // If `true`, the body of this object has been edited since it was posted
235
+ google.protobuf.BoolValue edited = 36;
236
+ // Number of times this object has received a Gold award
237
+ // @deprecated
238
+ google.protobuf.Int64Value gilded = 37 [deprecated = true];
239
+ // Map of gold awards to the number of times received
240
+ // Note: Incorrectly typed and may be unusable.
241
+ // @deprecated
242
+ google.protobuf.Any gildings = 38 [deprecated = true];
243
+ // Thing ID for this Post or Comment without leading thing ID prefix
244
+ // @example "abc123" // for: t1_abc123
245
+ google.protobuf.StringValue id = 39;
246
+ // Whether or not a moderator has disabled reports for this object
247
+ google.protobuf.BoolValue ignore_reports = 40;
248
+ // If `true`, this object was submitted by the current user
249
+ google.protobuf.BoolValue is_submitter = 41;
250
+ // Upvote status where:
251
+ // - `true`: Upvote
252
+ // - `null`: No vote
253
+ // - `false`: Downvote
254
+ google.protobuf.BoolValue likes = 42;
255
+ // Thing ID of the parent Post for this Comment
256
+ // @example "t3_abc123"
257
+ google.protobuf.StringValue link_id = 43;
258
+ // If `true`, this object has been locked and replies are disabled
259
+ google.protobuf.BoolValue locked = 44;
260
+ // Notes added by the moderator when a removal reason chosen
261
+ google.protobuf.StringValue mod_note = 45;
262
+ // Moderator username that chose the reason for the object to be removed
263
+ google.protobuf.StringValue mod_reason_by = 46;
264
+ // The title of the removal reason chosen by the moderator
265
+ google.protobuf.StringValue mod_reason_title = 47;
266
+
267
+ // prev repeated google.protobuf.Any mod_reports
268
+ reserved 48;
269
+
270
+ // Thing ID for this object
271
+ // @example "t1_abc123"
272
+ google.protobuf.StringValue name = 49;
273
+ google.protobuf.BoolValue no_follow = 50;
274
+ // Total number of reports that have been filed against this object
275
+ google.protobuf.Int64Value num_reports = 52;
276
+ // Thing ID of the parent object immediately above this object in the tree
277
+ // Note: If this is a top-level comment the parent would be the Post (t3)
278
+ // but if it was a reply to another comment the parent would be the
279
+ // Comment (t1) being replied to
280
+ // @see {@link link_id} to skip to the root of the comment tree
281
+ // @example "t1_abc123"
282
+ google.protobuf.StringValue parent_id = 53;
283
+ // The path of this object relative to www.reddit.com
284
+ // @example "/r/aww/comments/ze7u6n/oc_just_woke_up_from_his_nap/"
285
+ google.protobuf.StringValue permalink = 54;
286
+ google.protobuf.StringValue removal_reason = 55;
287
+ // If `true`, the object has been removed by a moderator
288
+ google.protobuf.BoolValue removed = 56;
289
+ // Comments made directly to this object
290
+ // Note: Incorrect type. Currently unusable.
291
+ // @deprecated Please use replyList instead
292
+ google.protobuf.StringValue replies = 57 [deprecated = true];
293
+ google.protobuf.ListValue report_reasons = 58;
294
+ // RichText editor mode
295
+ // One of: "richtext", "markdown"
296
+ google.protobuf.StringValue rte_mode = 59;
297
+ // If `true`, the current user has saved this object to their profile
298
+ google.protobuf.BoolValue saved = 60;
299
+ // Current total score for this object
300
+ google.protobuf.Int64Value score = 61;
301
+ // If `true`, the `score` for this object is not visible to the current user
302
+ google.protobuf.BoolValue score_hidden = 62;
303
+ // If `true` the current user will receive notifications when someone replies to this object
304
+ google.protobuf.BoolValue send_replies = 63;
305
+ // If `true` this has been flagged as spam by a moderator
306
+ google.protobuf.BoolValue spam = 64;
307
+ // If `true` this should be presented before others relative to its type
308
+ google.protobuf.BoolValue stickied = 65;
309
+ // Name of the Subreddit that owns this object
310
+ // @example "AskReddit"
311
+ google.protobuf.StringValue subreddit = 66;
312
+ // Thing ID of the Subreddit that owns this object
313
+ // @example "t5_abc123"
314
+ google.protobuf.StringValue subreddit_id = 67;
315
+ // Name of the Subreddit that owns this object prefixed with "r/"
316
+ // @example "r/aww"
317
+ google.protobuf.StringValue subreddit_name_prefixed = 68;
318
+ // One of: "public", "private", "restricted", "gold_only", "gold_restricted",
319
+ // "archived", "user", "employees_only"
320
+ google.protobuf.StringValue subreddit_type = 69;
321
+ // One of: "ACTIVE", "INACTIVE"
322
+ google.protobuf.StringValue top_awarded_type = 70;
323
+ // Total count of awards this object has received
324
+ google.protobuf.Int64Value total_awards_received = 71;
325
+ repeated google.protobuf.Any treatment_tags = 72;
326
+ google.protobuf.StringValue unrepliable_reason = 73;
327
+ // Alias for score
328
+ google.protobuf.Int64Value ups = 74;
329
+
330
+ // prev repeated google.protobuf.Any user_reports
331
+ reserved 75;
332
+
333
+ // The depth of this object relative to the Listing
334
+ google.protobuf.Int64Value depth = 76;
335
+ // If this is a Comment, the title of the parent Post
336
+ google.protobuf.StringValue link_title = 77;
337
+ // If this is a Comment, the author of the parent Post
338
+ google.protobuf.StringValue link_author = 78;
339
+ // Total number of comments this object has received
340
+ google.protobuf.Int64Value num_comments = 79;
341
+ // If `true`, mark as not-safe-for-work
342
+ google.protobuf.BoolValue over_18 = 80;
343
+ // The path of this object relative to www.reddit.com
344
+ // @example "/r/aww/comments/ze7u6n/oc_just_woke_up_from_his_nap/"
345
+ google.protobuf.StringValue link_permalink = 81;
346
+ // Whether this Thing has been
347
+ google.protobuf.BoolValue quarantine = 82;
348
+ // If this is a Comment, the URL associated with the parent Post
349
+ google.protobuf.StringValue link_url = 83;
350
+ // Markdown body text if this is a Text Post
351
+ google.protobuf.StringValue selftext = 84;
352
+ // Pre-rendered HTML representing the Markdown or RichText body of a Text Post
353
+ google.protobuf.StringValue selftext_html = 85;
354
+
355
+ // prev: google.protobuf.StringValue spoiler = 86;
356
+ reserved 86;
357
+
358
+ // URL of a scaled down preview image of the media in this object
359
+ google.protobuf.StringValue thumbnail = 87;
360
+ // Width of the thumbnail image, in pixels
361
+ google.protobuf.Int64Value thumbnail_width = 88;
362
+ // Height of the thumbnail image, in pixels
363
+ google.protobuf.Int64Value thumbnail_height = 89;
364
+ // Title of the Post if it is a Post
365
+ google.protobuf.StringValue title = 90;
366
+ // If this is a Post, contains one of the following:
367
+ // - Empty if this is a Text Post
368
+ // - The URL submitted by the user if this is a Link Post
369
+ // - The full-size image or video URL if this is an Image, Video, or VideoGif Post
370
+ google.protobuf.StringValue url = 91;
371
+ // The name of the Subreddit if this object represents a Subreddit
372
+ //
373
+ // Note: This object is intended for Post and Comment data but
374
+ // Listings.Info() returns a ListingObject which can only contain
375
+ // WrappedRedditObject data, though that endpoint is able to
376
+ // fetch Subreddit data if a t5_ ID is provided as an argument.
377
+ google.protobuf.StringValue display_name = 92;
378
+ // The list of moderator permissions for a user
379
+ repeated google.protobuf.StringValue mod_permissions = 93;
380
+
381
+ // Number of replies intended for More data
382
+ google.protobuf.Int64Value count = 94;
383
+ // Ids of children intended for More data (without leading thing ID prefix)
384
+ google.protobuf.ListValue children = 95;
385
+
386
+ // List of replies if this is a comment
387
+ Listing reply_list = 96;
388
+
389
+ // If `true` this post has been hidden
390
+ google.protobuf.BoolValue hidden = 97;
391
+
392
+ // Post Flair aka Link Flair
393
+ // Flair background color as a hex color string (# prefixed)
394
+ // @example "#FF4500"
395
+ google.protobuf.StringValue link_flair_background_color = 98;
396
+ // Custom CSS classes from the subreddit's stylesheet
397
+ // to apply to the flair if rendered as HTML
398
+ google.protobuf.StringValue link_flair_css_class = 99;
399
+ // RichText representation of the post's flair
400
+ repeated LinkFlairRichText link_flair_richtext = 100;
401
+ // Flair template ID to use when rendering this flair
402
+ // @see Use {@link Flair.FlairList} to get flair templates for a subreddit
403
+ // @example "813b473a-4d74-4933-ba79-a7f1b8b285ef"
404
+ google.protobuf.StringValue link_flair_template_id = 101;
405
+ // Plain text representation of the flair RichText
406
+ google.protobuf.StringValue link_flair_text = 102;
407
+ // One of: "light", "dark"
408
+ google.protobuf.StringValue link_flair_text_color = 103;
409
+ // One of: "text", "richtext"
410
+ google.protobuf.StringValue link_flair_type = 104;
411
+ // Information about the media embedded to the post
412
+ SecureMedia secure_media = 105;
413
+
414
+ // If `true`, hide the contents of this post until the user explicitly opens it
415
+ bool spoiler = 106;
416
+
417
+ // List of reports submitted by moderators against this object
418
+ repeated google.protobuf.ListValue mod_reports = 107;
419
+
420
+ // List of reports submitted by users against this object
421
+ repeated google.protobuf.ListValue user_reports = 108;
422
+
423
+ // Who removed this object (username)
424
+ google.protobuf.StringValue removed_by = 109;
425
+
426
+ // Returns information about who/what removed this object. It will return one of the following:
427
+ // - "anti_evil_ops": object is removed by a aeops member
428
+ // - "author": object is removed by author of the post
429
+ // - "automod_filtered": object is filtered by automod
430
+ // - "community_ops": object is removed by a community team member
431
+ // - "content_takedown": object is removed due to content violation
432
+ // - "copyright_takedown": object is removed due to copyright violation
433
+ // - "deleted": object is deleted
434
+ // - "moderator": object is removed by a mod of the sub
435
+ // - "reddit": object is removed by anyone else
436
+ // - None: object is not removed
437
+ google.protobuf.StringValue removed_by_category = 110;
438
+
439
+ message GalleryMedia {
440
+ // The URL of the media
441
+ string url = 1;
442
+ // The width of the media in pixels
443
+ int64 width = 2;
444
+ // The height of the media in pixels
445
+ int64 height = 3;
446
+ // Status of the media upload (e.g. "valid", "failed")
447
+ GalleryMediaStatus status = 4;
448
+ }
449
+ // List of media (images or gifs) in a gallery post
450
+ repeated GalleryMedia gallery = 111;
451
+
452
+ // NEXT: 112
453
+ }
454
+
455
+ // @privateRemarks
456
+ // TODO: remove in favor of Subreddit
457
+ // A SubredditObject represents a Subreddit (t5)
458
+ message SubredditObject {
459
+ // @deprecated
460
+ google.protobuf.BoolValue default_set = 1 [deprecated = true];
461
+ // If `true`, the current user has posted
462
+ google.protobuf.BoolValue user_is_contributor = 2;
463
+ // Banner image for old.reddit.com
464
+ // @deprecated
465
+ google.protobuf.StringValue banner_img = 3 [deprecated = true];
466
+ // If `true`, crowd control is enabled
467
+ google.protobuf.BoolValue restrict_posting = 4;
468
+ // If `true`, the current user is banned
469
+ google.protobuf.BoolValue user_is_banned = 5;
470
+ // If `true`, users are given the option to write a custom explanation when reporting content
471
+ google.protobuf.BoolValue free_form_reports = 6;
472
+ // URL to the custom icon as configured from www.reddit.com
473
+ google.protobuf.StringValue community_icon = 7;
474
+ // If `true`, show thumbnail images of content is enabled on old.reddit.com
475
+ // @deprecated
476
+ google.protobuf.BoolValue show_media = 8 [deprecated = true];
477
+ // @deprecated
478
+ google.protobuf.StringValue icon_color = 9 [deprecated = true];
479
+ // Permanent identifier
480
+ // @example "AskReddit"
481
+ google.protobuf.StringValue display_name = 11;
482
+ // URL to the custom header icon as configured from old.reddit.com
483
+ // @deprecated
484
+ google.protobuf.StringValue header_img = 12 [deprecated = true];
485
+ // Current, editable name
486
+ // @example "Ask Reddit Something"
487
+ google.protobuf.StringValue title = 13;
488
+ // Community coin balance
489
+ google.protobuf.Int64Value coins = 14;
490
+ // @deprecated
491
+ repeated google.protobuf.StringValue previous_names = 15 [deprecated = true];
492
+ // If `true`, this community contains content deemed not-safe-for-work (NSFW)
493
+ google.protobuf.BoolValue over_18 = 16;
494
+ // Resolution of icon_img
495
+ // Format: [width, height]
496
+ // @deprecated
497
+ repeated google.protobuf.Int32Value icon_size = 17 [deprecated = true];
498
+ // Theme base color as a # prefixed hex color, configured on www.reddit.com
499
+ // @example "#FF4500"
500
+ google.protobuf.StringValue primary_color = 18;
501
+ // URL to the custom community icon as configured from old.reddit.com as the mobile icon image
502
+ // Note: used as a fallback if community_icon_img is not set
503
+ // @deprecated
504
+ google.protobuf.StringValue icon_img = 19 [deprecated = true];
505
+ // Sidebar description displayed on old.reddit.com
506
+ // @deprecated
507
+ google.protobuf.StringValue description = 20 [deprecated = true];
508
+ // Custom label for the Submit Link button when viewed on old.reddit.com
509
+ // @deprecated
510
+ google.protobuf.StringValue submit_link_label = 21 [deprecated = true];
511
+ // Resolution of header_img
512
+ // Note: Incorrectly typed and unusable.
513
+ // @deprecated
514
+ google.protobuf.StringValue header_size = 22 [deprecated = true];
515
+ // If `true`, crowd control is currently enabled
516
+ google.protobuf.BoolValue restrict_commenting = 23;
517
+ // Current count of subscribed users
518
+ google.protobuf.Int64Value subscribers = 24;
519
+ // Custom label for the Submit Text Post button when viewed on old.reddit.com
520
+ // @deprecated
521
+ google.protobuf.StringValue submit_text_label = 25;
522
+ // If `true`, this Subreddit is using the default icon
523
+ // @deprecated
524
+ google.protobuf.BoolValue is_default_icon = 26 [deprecated = true];
525
+ // Where flair should be shown relative to the Post title on old.reddit.com
526
+ // One of: "left", "right", ""
527
+ // @deprecated
528
+ google.protobuf.StringValue link_flair_position = 27 [deprecated = true];
529
+ // Permanent identifier with the leading "r/" prefix
530
+ // @example "r/AskReddit"
531
+ google.protobuf.StringValue display_name_prefixed = 28;
532
+ // Mobile theme color as configured on old.reddit.com
533
+ // @deprecated
534
+ google.protobuf.StringValue key_color = 29 [deprecated = true];
535
+ // Thing ID for this object
536
+ // @example "t5_abc123"
537
+ google.protobuf.StringValue name = 30;
538
+ // If `true`, this Subreddit is using the default banner without customizing it
539
+ google.protobuf.BoolValue is_default_banner = 31 [deprecated = true];
540
+ // The path of this object relative to www.reddit.com
541
+ // @example "/r/AskReddit/"
542
+ google.protobuf.StringValue url = 32;
543
+ // If `true`, this Subreddit has been put in quarantine for breaking site rules
544
+ google.protobuf.BoolValue quarantine = 33;
545
+ // Resolution of banner_img
546
+ // Format: [width, height]
547
+ // @deprecated
548
+ repeated google.protobuf.Int32Value banner_size = 34 [deprecated = true];
549
+ // If `true`, the current user is a moderator
550
+ google.protobuf.BoolValue user_is_moderator = 35;
551
+ // If `true`, users can join
552
+ google.protobuf.BoolValue accept_followers = 36;
553
+ // Plain text description
554
+ google.protobuf.StringValue public_description = 37;
555
+ // If `true`, Post Flair is enabled
556
+ google.protobuf.BoolValue link_flair_enabled = 38;
557
+ // If `true`, users may not request access to join
558
+ google.protobuf.BoolValue disable_contributor_requests = 39;
559
+ // One of: "public", "private", "restricted", "gold_only", "gold_restricted",
560
+ // "archived", "user", "employees_only"
561
+ google.protobuf.StringValue subreddit_type = 40;
562
+ // If `true`, the current user has joined
563
+ google.protobuf.BoolValue user_is_subscriber = 41;
564
+ // Pre-rendered HTML representing public_description
565
+ google.protobuf.StringValue public_description_html = 42;
566
+ // Thing ID without leading thing ID prefix
567
+ // @example "abc123" // for: t5_abc123
568
+ google.protobuf.StringValue id = 43;
569
+
570
+ reserved 10; // prev: google.protobuf.StringValue user_is_muted = 10;
571
+ // If `true`, the current user may not send messages to moderators
572
+ bool user_is_muted = 44;
573
+
574
+ // NEXT 45
575
+ }
576
+
577
+ message JsonStatus {
578
+ message JsonErrorType {
579
+ repeated google.protobuf.StringValue errors = 1;
580
+ }
581
+ JsonErrorType json = 4;
582
+ }
583
+
584
+ message WrappedUserObject {
585
+ google.protobuf.StringValue id = 1;
586
+ devvit.reddit.User data = 2;
587
+ }
588
+
589
+ extend google.protobuf.MethodOptions {
590
+ ApiClientConfig api_client_config = 60001;
591
+ }
592
+
593
+ // Method extension for specifying how to call a Reddit API endpoint. These
594
+ // options are used for generating API client code.
595
+ message ApiClientConfig {
596
+ // 'GET', 'POST', 'PUT', 'DELETE', etc.
597
+ string method = 1;
598
+
599
+ // The path of the API endpoint. Placeholders for variables MUST match names of fields in the input message.
600
+ // For example:
601
+ // "/r/{subreddit}/api/delete_sr_img"
602
+ // Only works if the input message has a string field named 'subreddit'.
603
+ string path = 2;
604
+
605
+ // For methods with a request body, this specifies how the request body should be serialized.
606
+ enum BodyType {
607
+ NONE = 0;
608
+ JSON_CAMEL = 1;
609
+ JSON_SNAKE = 2;
610
+ FORM_CAMEL = 3;
611
+ FORM_SNAKE = 4;
612
+ }
613
+ BodyType request_body_type = 3;
614
+
615
+ // If set to true, the parameter `api_type=json` will be sent to the reddit API with this request.
616
+ // Note: in the current implementation, this only works for bodyType=FORM_SNAKE.
617
+ bool enforce_json = 4;
618
+
619
+ // Some requests involve sending a specific `kind` field that's not otherwise part of the
620
+ // request message. If this field is specified, that will be included in the request.
621
+ string request_kind_value = 5;
622
+
623
+ // If set, the thing specified in the input message's field specified by `validate_content_id_context`
624
+ // must belong to the subreddit in the call's metadata before the call is allowed to proceed.
625
+ //
626
+ // For example, setting:
627
+ // option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
628
+ // will test that the input message's `id` field contains a thing (post/comment) that belongs
629
+ // to the subreddit in the call's metadata.
630
+ string validate_content_id_context = 6;
631
+
632
+ // If set, the subreddit specified in the input message's field specified by `validate_subreddit_context`
633
+ // must match the subreddit in the call's metadata before the call is allowed to proceed.
634
+ //
635
+ // For example, setting:
636
+ // option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
637
+ // will test that the input message's `subreddit` field contains a subreddit *name* matches the subreddit
638
+ // in the call's metadata.
639
+ string validate_subreddit_context = 7;
640
+
641
+ // If set, the generated code should invoke the specified method to parse the response, rather
642
+ // than using the default protojson rehydration.
643
+ // The method specified signature looks like:
644
+ // func fixMethodNameResponse([]bytes) (*ResponseType, error)
645
+ bool use_custom_response_parser = 8;
646
+
647
+ // For methods that accept a `run_as` field, this specifies the scopes that the user must authorize
648
+ // in order to call the method with runAs="USER".
649
+ repeated .reddit.devvit.app_permission.v1.Scope run_as_user_scopes = 9;
650
+ }
651
+
652
+ // Indicates who the request should be made on behalf of. Currently, only 'APP' or 'USER' types are supported.
653
+ enum RunAs {
654
+ APP = 0;
655
+ USER = 1;
656
+ UNSPECIFIED = 2;
657
+ }
658
+
659
+ // Represents data on the user's content submission
660
+ message UserGeneratedContent {
661
+ // The text body of the content
662
+ string text = 1;
663
+ // The imageUrls attached to the content, if any
664
+ repeated string image_urls = 2;
665
+ }
666
+
667
+ enum GalleryMediaStatus {
668
+ GALLERY_MEDIA_STATUS_UNSPECIFIED = 0;
669
+ GALLERY_MEDIA_STATUS_VALID = 1;
670
+ GALLERY_MEDIA_STATUS_FAILED = 2;
671
+ }