@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,365 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.app;
4
+
5
+ import "devvit/dev_portal/app/categories/categories.proto";
6
+ import "devvit/dev_portal/app/info/app_info.proto";
7
+ import "devvit/dev_portal/app_version/info/app_version_info.proto";
8
+ import "devvit/dev_portal/fetch_domain/fetch_domain.proto";
9
+ import "devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto";
10
+ import "devvit/dev_portal/reddit/redditor.proto";
11
+ import "google/protobuf/wrappers.proto";
12
+ import "reddit/devvit/ads/v1/ads.proto";
13
+
14
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/app";
15
+
16
+ // region Enums
17
+
18
+ enum OrderBy {
19
+ DATE_CREATED = 0;
20
+ NAME = 1;
21
+ POPULARITY = 2;
22
+ }
23
+
24
+ // endregion
25
+
26
+ // region Request parameters
27
+
28
+ // Used to search for app(s).
29
+ message AppSearchRequest {
30
+ // What word(s) are you searching for? (NOTE: This feature is not yet
31
+ // implemented.)
32
+ google.protobuf.StringValue search_term = 1;
33
+ // What categor(y|ies) does the app fit into?
34
+ repeated categories.Categories categories = 2 [deprecated = true];
35
+ // What page of results do you want? Defaults to the first page.
36
+ google.protobuf.Int32Value page = 3;
37
+ // What is the maximum number of items on a page? Defaults to 20.
38
+ google.protobuf.Int32Value page_size = 4;
39
+ // What field would you like to order the results by? Defaults to
40
+ // DATE_CREATED.
41
+ OrderBy order_by = 5;
42
+ // Would you like your results sorted in ascending order? Defaults to false.
43
+ google.protobuf.BoolValue is_ascending = 6;
44
+ // Used with categoriesV2
45
+ repeated int32 category_ids = 7;
46
+ }
47
+
48
+ // Used to get an app by its slug.
49
+ message GetAppBySlugRequest {
50
+ // What is the slug of the app?
51
+ string slug = 1;
52
+ // How many versions of the app, at most, should we return?
53
+ optional int32 limit = 2;
54
+ // How many versions of the app should we skip? (Useful for pagination!)
55
+ optional int32 offset = 3;
56
+ // Should we hide prerelease versions?
57
+ optional bool hide_prerelease_versions = 4;
58
+ }
59
+
60
+ message GetAllWithOwnerRequest {
61
+ // Who's the owner in question? (Can be a t2_ ID or a username, with or
62
+ // without `u/`)
63
+ string owner = 1;
64
+ }
65
+
66
+ // Used to create a new app.
67
+ message AppCreationRequest {
68
+ // What is the new app's name?
69
+ string name = 1;
70
+ // What is the description of the app?
71
+ string description = 2;
72
+ // Is the app NSFW? NOTE: Once set, this cannot be reversed!
73
+ bool is_nsfw = 3;
74
+ // What categor(y|ies) are you looking in?
75
+ repeated categories.Categories categories = 4 [deprecated = true];
76
+ // Should we autogenerate a unique suffix for the app account?
77
+ bool autogenerate_name = 5 [deprecated = true];
78
+ // What's the captcha verification code?
79
+ string captcha = 6;
80
+ // Used with categoriesV2
81
+ repeated int32 category_ids = 7;
82
+ }
83
+
84
+ // Used to get the X most popular apps, as determined by number of
85
+ // installations.
86
+ message GetPopularAppsRequest {
87
+ // How many apps should we return?
88
+ int32 limit = 1;
89
+ }
90
+
91
+ // Contains the filename, size, and hash info for a piece of media.
92
+ message MediaSignature {
93
+ /*
94
+ Path to the file. This isn't saved in the system; it's primary use is so
95
+ that when we're telling the client later which pieces of media we do and do
96
+ not have already, it knows which files we're talking about easily.
97
+ */
98
+ string file_path = 1;
99
+ // Size of the file, in bytes
100
+ int32 size = 2;
101
+ // sha256 checksum of the file, as a hex string
102
+ string hash = 3;
103
+ // True if the asset is for webviews
104
+ bool is_webview_asset = 4;
105
+ }
106
+
107
+ // Does the app already have any media uploaded that matches these signatures?
108
+ message CheckIfMediaExistsRequest {
109
+ // Either the app ID, or its slug, for the app we're talking about
110
+ oneof identifier {
111
+ string id = 1;
112
+ string slug = 2;
113
+ }
114
+ // The signatures we want to look for
115
+ repeated MediaSignature signatures = 3;
116
+ }
117
+
118
+ // Please upload this piece of media for this app.
119
+ message UploadNewMediaRequest {
120
+ // Either the app ID, or its slug, for the app we're talking about
121
+ oneof identifier {
122
+ string id = 1;
123
+ string slug = 2;
124
+ }
125
+ // The size of the media asset, in bytes. This will be validated, and an error
126
+ // thrown if incorrect.
127
+ int32 size = 3;
128
+ // The sha256 hash of the media asset, as a hex string. This will be
129
+ // validated, and an error thrown if incorrect.
130
+ string hash = 4;
131
+ // The contents of the file.
132
+ bytes contents = 5;
133
+ // Make this asset available for webview consumption _instead_ of app UI
134
+ // consumption.
135
+ optional bool webview_asset = 6;
136
+ // The path of the file in the project assets. Necessary for webview assets.
137
+ optional string file_path = 7;
138
+ }
139
+
140
+ // Used to update an existing app's information.
141
+ // If a field is optional, omitting it will leave its value unchanged.
142
+ message AppUpdateRequest {
143
+ // What is the ID of the app you're trying to update?
144
+ string id = 1;
145
+ // What is the app's new slug?
146
+ google.protobuf.StringValue slug = 2;
147
+ // What's the app's new name?
148
+ google.protobuf.StringValue name = 3;
149
+ // What's the app's new description?
150
+ google.protobuf.StringValue description = 4;
151
+ // Is the app NSFW? NOTE: Once set, this cannot be reversed!
152
+ google.protobuf.BoolValue is_nsfw = 5;
153
+
154
+ // Is the app delisted? (This is only editable by admins.)
155
+ google.protobuf.BoolValue is_delisted = 6;
156
+
157
+ // Created timestamp and owner are not editable
158
+
159
+ // What categor(y|ies) does the app belong in?
160
+ repeated categories.Categories categories = 7 [deprecated = true];
161
+
162
+ // What are the terms and conditions of using this app?
163
+ google.protobuf.StringValue terms_and_conditions = 8;
164
+
165
+ // What is the privacy policy this app?
166
+ google.protobuf.StringValue privacy_policy = 9;
167
+
168
+ // What is the default compute pool that new versions should be assigned?
169
+ optional app_version.info.ComputePool default_pool = 10;
170
+
171
+ // Is the app allowed to use the webview block and manage webview assets?
172
+ // Deprecated: Use capabilities instead.
173
+ // TODO: remove this after 2 releases. sometime in (Q4 2024)
174
+ optional bool is_webview_enabled = 11 [deprecated = true];
175
+
176
+ // Is the app installation in small subreddits restricted (the actual limit is
177
+ // specified in the code)
178
+ optional bool min_subreddit_size_restriction_enabled = 13;
179
+
180
+ reserved 12; // deprecated field:capabilities
181
+ reserved "capabilities";
182
+
183
+ // The promotion status of the app, for ads team use to mark
184
+ // promoted apps and what level they are promoted.
185
+ optional .reddit.devvit.ads.v1.AppPromoStatus promo_status = 14;
186
+
187
+ // Used with categoriesV2
188
+ repeated int32 category_ids = 15;
189
+ }
190
+
191
+ // endregion
192
+
193
+ // region Response types
194
+
195
+ // Contains the basic information about an app, as well as all versions of the
196
+ // app, and any statistics about the app that we want to include.
197
+ message FullAppInfo {
198
+ info.AppInfo app = 1;
199
+ repeated app_version.info.AppVersionInfo versions = 2;
200
+ repeated fetch_domain_request.FetchDomainRequestInfo fetch_domain_requests = 3;
201
+ }
202
+
203
+ // Represents information about an app and its domain info, including domain requests and allowed domains.
204
+ message AppWithDomainInfo {
205
+ // The ID of the app, eg '6d0a383a-eb60-44ed-92c5-62b6261177f8'
206
+ string app_id = 1;
207
+ // The slug of the app, eg 'wsb-app'
208
+ string app_slug = 2;
209
+ // The name of the app, eg 'WSB App'
210
+ string app_name = 3;
211
+ // The account of the app owner, eg 't2_3c4d'
212
+ devvit.dev_portal.reddit.Redditor app_owner_account = 4;
213
+ // The list of fetch domain requests for the app.
214
+ repeated fetch_domain_request.FetchDomainRequestInfo domain_requests = 5;
215
+ // The list of allowed domains for the app.
216
+ repeated fetch_domain.FetchDomain allowed_domains = 6;
217
+ }
218
+
219
+ // Request used to get an app by its slug with its domain info.
220
+ message GetAppBySlugWithDomainInfoRequest {
221
+ // The slug of app, eg 'pixelary-game'
222
+ string app_slug = 1;
223
+ }
224
+
225
+ // Request used to get a list of apps with their domain info.
226
+ message GetAppsWithDomainInfoRequest {
227
+ // How many apps to return in a single page.
228
+ int32 page_size = 1;
229
+ // The page number of apps to return. The page number should start at 1.
230
+ int32 page_number = 2;
231
+ }
232
+
233
+ // Response containing a list of apps with their domain info.
234
+ message GetAppsWithDomainInfoResponse {
235
+ // The list of apps with their domain info.
236
+ repeated AppWithDomainInfo apps = 1;
237
+ // Indicates whether or not there is a next page of apps.
238
+ optional bool has_next_page = 2;
239
+ }
240
+
241
+ // Request used to add many domains to an app's 'allowedDomains' list.
242
+ message AddDomainsToAppRequest {
243
+ // The ID of the app to add the domains to, eg '6d0a383a-eb60-44ed-92c5-62b6261177f8'
244
+ string app_id = 1;
245
+ // The domains to add to the app, eg 'hello-world.com', 'w3schools.org'
246
+ repeated string domains = 2;
247
+ }
248
+
249
+ // Request used to remove a domain from an app's 'allowedDomains' list.
250
+ message RemoveDomainFromAppRequest {
251
+ // The ID of the app to remove the domain from, eg '6d0a383a-eb60-44ed-92c5-62b6261177f8'
252
+ string app_id = 1;
253
+ // The domain to remove from the app, eg 'hello-world.com'
254
+ string domain = 2;
255
+ }
256
+
257
+ // Contains the status of a piece of media - whether we've seen it before or
258
+ // not.
259
+ message MediaSignatureStatus {
260
+ // Path to the file, as was given in the request object
261
+ string file_path = 1;
262
+ // Is this file new to the app?
263
+ bool is_new = 2;
264
+ // If the file isn't new, will contain the media ID of the existing asset.
265
+ optional string existing_media_id = 3;
266
+ }
267
+
268
+ // A list of the status of each media signature we were asked about.
269
+ message CheckIfMediaExistsResponse {
270
+ // The status of each requested media signature - whether we've seen it before
271
+ // or not.
272
+ repeated MediaSignatureStatus statuses = 1;
273
+ }
274
+
275
+ // The response given when a new piece of media is uploaded.
276
+ message UploadNewMediaResponse {
277
+ // The ID of the asset as saved in the developer portal.
278
+ string asset_id = 1;
279
+ // The ID of the media as given by the media service.
280
+ string media_id = 2;
281
+ }
282
+
283
+ // The results of searching for an app
284
+ message AppSearchResponse {
285
+ // This page's apps; there may be more on other pages
286
+ repeated info.AppInfo apps = 1;
287
+ // How many total results exist for this search
288
+ int32 total_results = 2;
289
+ // What page number this is
290
+ int32 page_number = 3;
291
+ // The maximum number of items on each page
292
+ int32 page_size = 4;
293
+ }
294
+
295
+ // endregion
296
+
297
+ message UnpublishAppRequest {
298
+ // What is the slug of the app to unpublish?
299
+ google.protobuf.StringValue slug = 1;
300
+ // Should we delist the app, or just archive it?
301
+ // (Note: only admins can do this!)
302
+ bool should_delist = 2;
303
+ }
304
+
305
+ message AppExistsRequest {
306
+ // Does an app with this slug exist?
307
+ google.protobuf.StringValue slug = 1;
308
+ }
309
+
310
+ message AppExistsResponse {
311
+ bool exists = 1;
312
+ }
313
+
314
+ message AppAccountExistsRequest {
315
+ // The name of the app account (without the leading u/)
316
+ string account_name = 1;
317
+ }
318
+
319
+ message AppAccountExistsResponse {
320
+ bool exists = 1;
321
+ repeated string suggestions = 2;
322
+ }
323
+
324
+ message CreateAppAccountRequest {
325
+ string slug = 1;
326
+ optional string account_name = 2;
327
+ string captcha = 3;
328
+ }
329
+
330
+ message CreateAppAccountResponse {
331
+ bool created = 1;
332
+ optional string errors = 2;
333
+ }
334
+
335
+ // Used to recover partially created apps.
336
+ message RecoverAppAccountRequest {
337
+ // What is the new app's name?
338
+ string name = 1;
339
+ // What is the slug/identifier of the app?
340
+ string slug = 2;
341
+ // What is the description of the app?
342
+ string description = 3;
343
+ // Is the app NSFW? NOTE: Once set, this cannot be reversed!
344
+ bool is_nsfw = 4;
345
+ // What categor(y|ies) does the app fit into?
346
+ repeated categories.Categories categories = 5 [deprecated = true];
347
+ // What is the ID of the owner of the app?
348
+ string owner_id = 6;
349
+ // What is the username of the app account to recover?
350
+ string username = 7;
351
+ // What is the temporary password of the app account to recover?
352
+ string password = 8;
353
+ // Used with categoriesV2
354
+ repeated int32 category_ids = 9;
355
+ }
356
+
357
+ message DisableAppRequest {
358
+ // App UUID
359
+ string id = 1;
360
+ }
361
+
362
+ message EnableAppRequest {
363
+ // App UUID
364
+ string id = 1;
365
+ }
@@ -0,0 +1,60 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.app.categories;
4
+
5
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/app/categories";
6
+
7
+ // Contains every valid category an App can have.
8
+ enum Categories {
9
+ MODERATION = 0;
10
+ CUSTOM_POSTS = 1;
11
+ UTILITIES = 2;
12
+ OTHER_SITES = 3;
13
+ FUNNY = 4;
14
+ WEIRD = 5;
15
+ AWW = 6;
16
+ LEARNING = 7;
17
+ FINANCIAL = 8;
18
+ SPORTS = 9;
19
+ GAMES = 10;
20
+ MOVIES = 11;
21
+ MUSIC = 12;
22
+ TV = 13;
23
+ BOOKS = 14;
24
+ ANIME = 15;
25
+ PROGRAMMING = 16;
26
+ COOKING = 17;
27
+ FITNESS = 18;
28
+ TRAVEL = 19;
29
+ CONTEXT_MENU = 20;
30
+ MOD_CONTEXT = 21;
31
+ FILTER = 22;
32
+ POST_FILTER = 23;
33
+ COMMENT_FILTER = 24;
34
+ ANTI_SPAM = 25;
35
+ ANTI_HARASSMENT = 26;
36
+ NSFW_FILTER = 27;
37
+ CITIZEN_FILTER = 28;
38
+ POST_FLAIR = 29;
39
+ COMMENT_FLAIR = 30;
40
+ USER_FLAIR = 31;
41
+ MESSAGING = 32;
42
+ MISCHIEF = 420;
43
+ }
44
+
45
+ message AppCategory {
46
+ int32 id = 1; // UUID of the category row
47
+ string name = 2; // Human-readable category name
48
+ optional int32 parent_id = 3; // UUID of the parent category (empty if root)
49
+ }
50
+
51
+ // Recursive category node that nests sub-categories inside each node.
52
+ message AppCategoryNode {
53
+ AppCategory category = 1;
54
+ repeated AppCategoryNode children = 2;
55
+ }
56
+
57
+ // Response wrapper for GetAllCategories returning the full category tree.
58
+ message AppCategoryNodeListResponse {
59
+ repeated AppCategoryNode categories = 1;
60
+ }
@@ -0,0 +1,88 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.app.info;
4
+
5
+ import "devvit/dev_portal/app/categories/categories.proto";
6
+ import "devvit/dev_portal/app_version/info/app_version_info.proto";
7
+ import "devvit/dev_portal/reddit/redditor.proto";
8
+ import "google/protobuf/timestamp.proto";
9
+ import "reddit/devvit/ads/v1/ads.proto";
10
+
11
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/app/info";
12
+
13
+ // This exists in its own file to prevent circular dependency imports between
14
+ // app and app_version.
15
+
16
+ // Contains the details of an app. For field documentation, refer to the Prisma
17
+ // schema.
18
+ message AppInfo {
19
+ string id = 1;
20
+ // A unique, immutable, and somewhat more readable name for the app; can only
21
+ // be URL-safe chars
22
+ string slug = 2;
23
+ // Human readable name used to be displayed on UIs
24
+ string name = 3;
25
+ // Human readable description
26
+ string description = 4;
27
+ // The t2_ id of the app account associated with this app
28
+ devvit.dev_portal.reddit.Redditor app_account = 15;
29
+
30
+ // App is NSFW (default: false)
31
+ bool is_nsfw = 5;
32
+ // Flag to flip when *admins* want to take an app off the App Store listings
33
+ // (default: false)
34
+ bool is_delisted = 6;
35
+ // Flag to designate an app maintained by Reddit, Inc. (default: false)
36
+ bool is_first_party = 13;
37
+ // Flag to flip when *app owners* want to take their app off App Store
38
+ // listings (default: false)
39
+ bool is_archived = 14;
40
+ // Deprecated: Use capabilities instead.
41
+ bool is_webview_enabled = 17 [deprecated = true];
42
+
43
+ google.protobuf.Timestamp created_at = 7;
44
+ devvit.dev_portal.reddit.Redditor owner = 8;
45
+ repeated categories.Categories categories = 9 [deprecated = true];
46
+ AppStats stats = 10;
47
+ // Human readable terms and conditions
48
+ string terms_and_conditions = 11;
49
+ // Human readable privacy policy
50
+ string privacy_policy = 12;
51
+
52
+ devvit.dev_portal.app_version.info.ComputePool default_pool = 16;
53
+
54
+ reserved 18; // Deprecated field:capabilities
55
+ reserved "capabilities";
56
+
57
+ // Flag to flip when *admins* want to switch the app off if the app is
58
+ // behaving oddly, has a bad bug, or breaking something
59
+ bool is_disabled = 19;
60
+
61
+ // Flag to forbid the app installation in small subreddits (the actual upper
62
+ // limit is specified in the code) (default: false)
63
+ bool min_subreddit_size_restriction_enabled = 20;
64
+
65
+ // T5 ID of the default subreddit to use for this app's playtest sessions
66
+ string default_playtest_subreddit_id = 21;
67
+
68
+ // Whether the app is promoted
69
+ .reddit.devvit.ads.v1.AppPromoStatus promo_status = 22;
70
+
71
+ // URL to the app icon, if available. This is not guaranteed to be present,
72
+ // and will be empty if the app does not have an approved icon yet.
73
+ optional string app_icon_url = 23;
74
+ repeated categories.AppCategory categories_v2 = 24;
75
+ }
76
+
77
+ message MultipleAppInfos {
78
+ repeated AppInfo apps = 1;
79
+ }
80
+
81
+ // Contains stats about an app.
82
+ message AppStats {
83
+ // How many times/locations is this app currently installed in?
84
+ int32 install_count = 1;
85
+ // How many versions is this app have in total (within search criteria, e.g.
86
+ // may exclude pre-releases)
87
+ int32 versions_count = 2;
88
+ }
@@ -0,0 +1,121 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.app_publish_request;
4
+
5
+ import "devvit/dev_portal/app/info/app_info.proto";
6
+ import "devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto";
7
+ import "devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto";
8
+ import "devvit/dev_portal/app_version/info/app_version_info.proto";
9
+ import "devvit/dev_portal/reddit/redditor.proto";
10
+ import "google/protobuf/timestamp.proto";
11
+
12
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/apppublishrequest";
13
+
14
+ enum AppPublishRequestStatus {
15
+ APPROVED = 0;
16
+ DENIED = 1;
17
+ OBSOLETE = 2;
18
+ PENDING = 3;
19
+ WITHDRAWN = 4;
20
+ }
21
+
22
+ enum AppPublishRequestVisibility {
23
+ PUBLIC = 0;
24
+ UNLISTED = 1;
25
+ }
26
+
27
+ message FullPublishRequestInfo {
28
+ string id = 1;
29
+ google.protobuf.Timestamp created_at = 2;
30
+ devvit.dev_portal.reddit.Redditor created_by = 3;
31
+
32
+ AppPublishRequestStatus status = 4;
33
+ AppPublishRequestVisibility visibility = 10;
34
+
35
+ devvit.dev_portal.app_version.info.AppVersionInfo app_version_info = 5;
36
+ devvit.dev_portal.app.info.AppInfo app_info = 6;
37
+
38
+ repeated devvit.dev_portal.app_publish_request.review.AppPublishRequestReview reviews = 7;
39
+ repeated devvit.dev_portal.app_publish_request.note.AppPublishRequestNote notes = 8;
40
+
41
+ // the number of subreddit the target app is installed to
42
+ optional int32 app_installation_count = 9;
43
+
44
+ // Next number is 11
45
+ }
46
+
47
+ message MultiplePublishRequestInfos {
48
+ message PageInfo {
49
+ // current page number (min 1)
50
+ int32 page = 1;
51
+ // items per page
52
+ int32 page_size = 2;
53
+ // total number of items for the current search criteria
54
+ int32 total = 3;
55
+ }
56
+
57
+ repeated FullPublishRequestInfo requests = 1;
58
+ PageInfo pagination = 2;
59
+ }
60
+
61
+ message AppPRCreateRequest {
62
+ oneof identifier {
63
+ string app_version_id = 1;
64
+ // e.g. "comment-nuke@4.2.0"
65
+ string app_slug_and_version_number = 2;
66
+ }
67
+
68
+ AppPublishRequestVisibility visibility = 3;
69
+ }
70
+
71
+ message AppPRUpdateRequest {
72
+ oneof identifier {
73
+ string app_version_id = 1;
74
+ string publish_request_id = 2;
75
+ // e.g. "comment-nuke@4.2.0"
76
+ string app_slug_and_version_number = 3;
77
+ }
78
+ AppPublishRequestStatus status = 4;
79
+ }
80
+
81
+ message AppPRGetRequest {
82
+ oneof identifier {
83
+ string app_version_id = 1;
84
+ string publish_request_id = 2;
85
+ // e.g. "comment-nuke@4.2.0"
86
+ string app_slug_and_version_number = 3;
87
+ }
88
+ }
89
+
90
+ message AppPRFindManyRequest {
91
+ message PaginationInfo {
92
+ // page number (min 1)
93
+ int32 page = 1;
94
+ // items per page
95
+ int32 page_size = 2;
96
+ }
97
+
98
+ message SortInfo {
99
+ // field name to sort by
100
+ string field = 1;
101
+ // direction (true = ascending, false = descending)
102
+ bool asc = 2;
103
+ }
104
+
105
+ oneof filter_apps_by {
106
+ // unique App Id
107
+ string app_id = 1;
108
+ // full match by App name (not a slug)
109
+ string app_name = 2;
110
+ // full match by App slug
111
+ string app_slug = 3;
112
+ // partial match by App slug or name
113
+ string search_term = 4;
114
+ }
115
+
116
+ PaginationInfo pagination = 5;
117
+ // how the results should be sorted
118
+ SortInfo sort = 6;
119
+ // filter PRs by status (an "OR" rule is applied if more than one status is specified)
120
+ repeated AppPublishRequestStatus statuses = 7;
121
+ }
@@ -0,0 +1,29 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.app_publish_request.note;
4
+
5
+ import "devvit/dev_portal/reddit/redditor.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/apppublishrequest";
9
+
10
+ message AppPublishRequestNote {
11
+ string id = 1;
12
+ google.protobuf.Timestamp created_at = 2;
13
+ google.protobuf.Timestamp updated_at = 3;
14
+ devvit.dev_portal.reddit.Redditor author = 4;
15
+ // a text of the note
16
+ string note = 5;
17
+ }
18
+
19
+ message AppPRAddNoteRequest {
20
+ string app_publish_request_id = 1;
21
+ // a text of the note
22
+ string note = 2;
23
+ }
24
+
25
+ message AppPRUpdateNoteRequest {
26
+ string app_publish_request_note_id = 1;
27
+ // a text of the note
28
+ string note = 2;
29
+ }
@@ -0,0 +1,27 @@
1
+ syntax = "proto3";
2
+
3
+ package devvit.dev_portal.app_publish_request.review;
4
+
5
+ import "devvit/dev_portal/reddit/redditor.proto";
6
+ import "google/protobuf/timestamp.proto";
7
+
8
+ option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/apppublishrequest";
9
+
10
+ enum AppPublishRequestReviewDecision {
11
+ APPROVED = 0;
12
+ DENIED = 1;
13
+ OBSOLETE = 2;
14
+ }
15
+
16
+ message AppPublishRequestReview {
17
+ string id = 1;
18
+ google.protobuf.Timestamp created_at = 2;
19
+ google.protobuf.Timestamp updated_at = 3;
20
+ devvit.dev_portal.reddit.Redditor reviewer = 4;
21
+ AppPublishRequestReviewDecision decision = 5;
22
+ }
23
+
24
+ message AppPRSetReviewDecisionRequest {
25
+ string app_publish_request_id = 1;
26
+ AppPublishRequestReviewDecision decision = 2;
27
+ }