@devvit/protos 0.11.4 → 0.11.5-next-2024-12-09-8401a61d8.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 (256) hide show
  1. package/meta.min.json +7814 -0
  2. package/package.json +4 -4
  3. package/protos.min.js +2 -0
  4. package/protos.min.js.map +7 -0
  5. package/schema/.snootobuf/deps/buf/validate/expression.proto +92 -0
  6. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
  7. package/schema/.snootobuf/deps/buf/validate/validate.proto +4130 -0
  8. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
  9. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
  10. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
  11. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
  12. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
  13. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
  14. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
  15. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
  16. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +773 -0
  17. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
  18. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +100 -0
  19. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
  20. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
  21. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
  22. package/schema/.snootobuf/deps/devvit/options/options.proto +98 -0
  23. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +29 -0
  24. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
  25. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
  26. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
  27. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +107 -0
  28. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
  29. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
  30. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
  31. package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
  32. package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
  33. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
  34. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
  35. package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
  36. package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
  37. package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
  38. package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
  39. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
  40. package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
  41. package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
  42. package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
  43. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
  44. package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
  45. package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
  46. package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
  47. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
  48. package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
  49. package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
  50. package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
  51. package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
  52. package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
  53. package/schema/.snootobuf/deps/enum/vote.proto +12 -0
  54. package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
  55. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
  56. package/schema/.snootobuf/deps/evaluator/evaluator.proto +203 -0
  57. package/schema/.snootobuf/deps/google/api/annotations.proto +31 -0
  58. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +288 -0
  59. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +175 -0
  60. package/schema/.snootobuf/deps/google/api/auth.proto +237 -0
  61. package/schema/.snootobuf/deps/google/api/backend.proto +185 -0
  62. package/schema/.snootobuf/deps/google/api/billing.proto +77 -0
  63. package/schema/.snootobuf/deps/google/api/client.proto +431 -0
  64. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +322 -0
  65. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +315 -0
  66. package/schema/.snootobuf/deps/google/api/config_change.proto +84 -0
  67. package/schema/.snootobuf/deps/google/api/consumer.proto +82 -0
  68. package/schema/.snootobuf/deps/google/api/context.proto +92 -0
  69. package/schema/.snootobuf/deps/google/api/control.proto +41 -0
  70. package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
  71. package/schema/.snootobuf/deps/google/api/documentation.proto +168 -0
  72. package/schema/.snootobuf/deps/google/api/endpoint.proto +69 -0
  73. package/schema/.snootobuf/deps/google/api/error_reason.proto +589 -0
  74. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +183 -0
  75. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
  76. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
  77. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
  78. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
  79. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
  80. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
  81. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
  82. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
  83. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
  84. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
  85. package/schema/.snootobuf/deps/google/api/field_behavior.proto +104 -0
  86. package/schema/.snootobuf/deps/google/api/field_info.proto +106 -0
  87. package/schema/.snootobuf/deps/google/api/http.proto +371 -0
  88. package/schema/.snootobuf/deps/google/api/httpbody.proto +81 -0
  89. package/schema/.snootobuf/deps/google/api/label.proto +48 -0
  90. package/schema/.snootobuf/deps/google/api/launch_stage.proto +72 -0
  91. package/schema/.snootobuf/deps/google/api/log.proto +54 -0
  92. package/schema/.snootobuf/deps/google/api/logging.proto +81 -0
  93. package/schema/.snootobuf/deps/google/api/metric.proto +268 -0
  94. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +130 -0
  95. package/schema/.snootobuf/deps/google/api/monitoring.proto +107 -0
  96. package/schema/.snootobuf/deps/google/api/policy.proto +85 -0
  97. package/schema/.snootobuf/deps/google/api/quota.proto +184 -0
  98. package/schema/.snootobuf/deps/google/api/resource.proto +243 -0
  99. package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
  100. package/schema/.snootobuf/deps/google/api/service.proto +191 -0
  101. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
  102. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
  103. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
  104. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
  105. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
  106. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
  107. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
  108. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
  109. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
  110. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
  111. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +508 -0
  112. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
  113. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +305 -0
  114. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
  115. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +793 -0
  116. package/schema/.snootobuf/deps/google/api/source_info.proto +31 -0
  117. package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
  118. package/schema/.snootobuf/deps/google/api/usage.proto +96 -0
  119. package/schema/.snootobuf/deps/google/api/visibility.proto +113 -0
  120. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
  121. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
  122. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
  123. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
  124. package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
  125. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
  126. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
  127. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
  128. package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
  129. package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
  130. package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
  131. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
  132. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
  133. package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
  134. package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
  135. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
  136. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
  137. package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
  138. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
  139. package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
  140. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
  141. package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
  142. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
  143. package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
  144. package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
  145. package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
  146. package/schema/.snootobuf/deps/google/type/color.proto +170 -0
  147. package/schema/.snootobuf/deps/google/type/date.proto +50 -0
  148. package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
  149. package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
  150. package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
  151. package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
  152. package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
  153. package/schema/.snootobuf/deps/google/type/money.proto +43 -0
  154. package/schema/.snootobuf/deps/google/type/month.proto +66 -0
  155. package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
  156. package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
  157. package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
  158. package/schema/.snootobuf/deps/openapi/helper.proto +20 -0
  159. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  160. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
  161. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
  162. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
  163. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
  164. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
  165. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
  166. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
  167. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
  168. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
  169. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
  170. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
  171. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
  172. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
  173. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
  174. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
  175. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
  176. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
  177. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
  178. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
  179. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
  180. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
  181. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
  182. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
  183. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
  184. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
  185. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
  186. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
  187. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
  188. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
  189. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
  190. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
  191. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
  192. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +48 -0
  193. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +70 -0
  194. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +11 -0
  195. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
  196. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +89 -0
  197. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +322 -0
  198. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
  199. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
  200. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
  201. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +48 -0
  202. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
  203. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
  204. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
  205. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
  206. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +23 -0
  207. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
  208. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
  209. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +49 -0
  210. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
  211. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
  212. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +195 -0
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
  221. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
  222. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
  223. package/schema/.snootobuf/deps/validate/validate.proto +862 -0
  224. package/schema/devvit/dev_portal/app/app.proto +3 -0
  225. package/schema/devvit/dev_portal/app/info/app_info.proto +13 -1
  226. package/schema/devvit/dev_portal/dev_portal.proto +9 -0
  227. package/schema/devvit/dev_portal/payments/payments_verification.proto +31 -0
  228. package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
  229. package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +7 -1
  230. package/schema/snootobuf.devenv.lock +1227 -662
  231. package/schema/snootobuf.lock +1228 -662
  232. package/schema/snootobuf.redditapi.lock +1226 -662
  233. package/schema/snootobuf.ts.lock +1227 -662
  234. package/types/devvit/dev_portal/app/app.d.ts +2 -0
  235. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  236. package/types/devvit/dev_portal/app/app.js +17 -0
  237. package/types/devvit/dev_portal/app/info/app_info.d.ts +13 -0
  238. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  239. package/types/devvit/dev_portal/app/info/app_info.js +17 -0
  240. package/types/devvit/dev_portal/dev_portal.d.ts +113 -3
  241. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  242. package/types/devvit/dev_portal/dev_portal.js +32 -0
  243. package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts +17 -0
  244. package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts.map +1 -1
  245. package/types/devvit/dev_portal/dev_portal.twirp-client.js +23 -0
  246. package/types/devvit/dev_portal/dev_portal.twirp.d.ts +9 -0
  247. package/types/devvit/dev_portal/dev_portal.twirp.d.ts.map +1 -1
  248. package/types/devvit/dev_portal/dev_portal.twirp.js +89 -0
  249. package/types/devvit/dev_portal/payments/payments_verification.d.ts +59 -0
  250. package/types/devvit/dev_portal/payments/payments_verification.d.ts.map +1 -0
  251. package/types/devvit/dev_portal/payments/payments_verification.js +163 -0
  252. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -0
  253. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  254. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +8 -1
  255. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
  256. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +15 -1
@@ -0,0 +1,1202 @@
1
+ syntax = "proto3";
2
+
3
+ package reddit.coreplatform.subreddit.v1;
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+ import "reddit/api/metadata/v1/metadata.proto";
7
+ import "reddit/coreplatform/api/metadata/v1/metadata.proto";
8
+ import "reddit/coreplatform/comments/v1/comments.proto";
9
+ import "reddit/coreplatform/common/v1/legal.proto";
10
+ import "reddit/coreplatform/common/v1/media.proto";
11
+ import "reddit/coreplatform/common/v1/moderation.proto";
12
+ import "reddit/coreplatform/common/v1/safety.proto";
13
+ import "reddit/coreplatform/common/v1/time.proto";
14
+ import "reddit/coreplatform/links/v1/links.proto";
15
+
16
+ option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/subreddit/v1;subreddit";
17
+ option java_multiple_files = true;
18
+ option java_outer_classname = "SubredditProto";
19
+ option java_package = "com.reddit.coreplatform.api.subreddit.v1";
20
+
21
+ /* @exclude No documentation present when converted from Thrift to Proto */
22
+ message Subreddit {
23
+ /* @exclude No documentation present when converted from Thrift to Proto */
24
+ enum Type {
25
+ /* @exclude No documentation present when converted from Thrift to Proto */
26
+ TYPE_UNSPECIFIED = 0;
27
+
28
+ /* @exclude No documentation present when converted from Thrift to Proto */
29
+ TYPE_ARCHIVED = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
30
+ name: "ARCHIVED"
31
+ ordinal: 0,
32
+ }];
33
+
34
+ /* @exclude No documentation present when converted from Thrift to Proto */
35
+ TYPE_EMPLOYEES_ONLY = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
36
+ name: "EMPLOYEES_ONLY"
37
+ ordinal: 1,
38
+ }];
39
+
40
+ /* @exclude No documentation present when converted from Thrift to Proto */
41
+ TYPE_GOLD_ONLY = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
42
+ name: "GOLD_ONLY"
43
+ ordinal: 2,
44
+ }];
45
+
46
+ /* @exclude No documentation present when converted from Thrift to Proto */
47
+ TYPE_GOLD_RESTRICTED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
48
+ name: "GOLD_RESTRICTED"
49
+ ordinal: 3,
50
+ }];
51
+
52
+ /* @exclude No documentation present when converted from Thrift to Proto */
53
+ TYPE_PRIVATE = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
54
+ name: "PRIVATE"
55
+ ordinal: 4,
56
+ }];
57
+
58
+ /* @exclude No documentation present when converted from Thrift to Proto */
59
+ TYPE_PUBLIC = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
60
+ name: "PUBLIC"
61
+ ordinal: 5,
62
+ }];
63
+
64
+ /* @exclude No documentation present when converted from Thrift to Proto */
65
+ TYPE_RESTRICTED = 7 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
66
+ name: "RESTRICTED"
67
+ ordinal: 6,
68
+ }];
69
+
70
+ /* @exclude No documentation present when converted from Thrift to Proto */
71
+ TYPE_USER = 8 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
72
+ name: "USER"
73
+ ordinal: 7,
74
+ }];
75
+ }
76
+
77
+ /* @exclude No documentation present when converted from Thrift to Proto */
78
+ enum SpamLevel {
79
+ /* @exclude No documentation present when converted from Thrift to Proto */
80
+ SPAM_LEVEL_UNSPECIFIED = 0;
81
+
82
+ /* @exclude No documentation present when converted from Thrift to Proto */
83
+ SPAM_LEVEL_LOW = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
84
+ name: "LOW"
85
+ ordinal: 0,
86
+ }];
87
+
88
+ /* @exclude No documentation present when converted from Thrift to Proto */
89
+ SPAM_LEVEL_HIGH = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
90
+ name: "HIGH"
91
+ ordinal: 1,
92
+ }];
93
+
94
+ /* @exclude No documentation present when converted from Thrift to Proto */
95
+ SPAM_LEVEL_ALL = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
96
+ name: "ALL"
97
+ ordinal: 2,
98
+ }];
99
+ }
100
+
101
+ /* @exclude No documentation present when converted from Thrift to Proto */
102
+ enum WikiEditMode {
103
+ /* @exclude No documentation present when converted from Thrift to Proto */
104
+ WIKI_EDIT_MODE_UNSPECIFIED = 0;
105
+
106
+ /* @exclude No documentation present when converted from Thrift to Proto */
107
+ WIKI_EDIT_MODE_DISABLED = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
108
+ name: "DISABLED"
109
+ ordinal: 0,
110
+ }];
111
+
112
+ /* @exclude No documentation present when converted from Thrift to Proto */
113
+ WIKI_EDIT_MODE_MODONLY = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
114
+ name: "MODONLY"
115
+ ordinal: 1,
116
+ }];
117
+
118
+ /* @exclude No documentation present when converted from Thrift to Proto */
119
+ WIKI_EDIT_MODE_ANYONE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
120
+ name: "ANYONE"
121
+ ordinal: 2,
122
+ }];
123
+
124
+ /* @exclude No documentation present when converted from Thrift to Proto */
125
+ WIKI_EDIT_MODE_UNSET = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
126
+ name: "NULL_VALUE"
127
+ ordinal: 3,
128
+ }];
129
+ }
130
+
131
+ /* @exclude No documentation present when converted from Thrift to Proto */
132
+ string id = 1;
133
+
134
+ /* @exclude No documentation present when converted from Thrift to Proto */
135
+ string name = 2;
136
+
137
+ /* @exclude No documentation present when converted from Thrift to Proto */
138
+ int64 date = 3;
139
+
140
+ /* @exclude No documentation present when converted from Thrift to Proto */
141
+ bool deleted = 4;
142
+
143
+ /* @exclude No documentation present when converted from Thrift to Proto */
144
+ bool spam = 5;
145
+
146
+ /* @exclude No documentation present when converted from Thrift to Proto */
147
+ Type type = 6;
148
+
149
+ /* @exclude No documentation present when converted from Thrift to Proto */
150
+ reddit.coreplatform.links.v1.Link.Type link_type = 7;
151
+
152
+ /* @exclude No documentation present when converted from Thrift to Proto */
153
+ repeated string sticky_links = 8;
154
+
155
+ /* @exclude No documentation present when converted from Thrift to Proto */
156
+ string description = 9;
157
+
158
+ /* @exclude No documentation present when converted from Thrift to Proto */
159
+ bool quarantined = 10;
160
+
161
+ /* @exclude No documentation present when converted from Thrift to Proto */
162
+ string icon_img = 11;
163
+
164
+ /* @exclude No documentation present when converted from Thrift to Proto */
165
+ string key_color = 14;
166
+
167
+ /* @exclude No documentation present when converted from Thrift to Proto */
168
+ bool allow_top = 15;
169
+
170
+ /* @exclude No documentation present when converted from Thrift to Proto */
171
+ bool allow_r_popular = 16;
172
+
173
+ /* @exclude No documentation present when converted from Thrift to Proto */
174
+ bool nsfw = 17;
175
+
176
+ /* @exclude No documentation present when converted from Thrift to Proto */
177
+ string public_description = 18;
178
+
179
+ /* @exclude No documentation present when converted from Thrift to Proto */
180
+ AdsWhitelistStatus whitelist_status = 19;
181
+
182
+ /* @exclude No documentation present when converted from Thrift to Proto */
183
+ string title = 20;
184
+
185
+ /* @exclude No documentation present when converted from Thrift to Proto */
186
+ int32 subscribers_count = 21;
187
+
188
+ /* @exclude No documentation present when converted from Thrift to Proto */
189
+ string creator_id = 22;
190
+
191
+ /* @exclude No documentation present when converted from Thrift to Proto */
192
+ string community_icon = 23;
193
+
194
+ /* @exclude No documentation present when converted from Thrift to Proto */
195
+ string primary_color = 24;
196
+
197
+ /* @exclude No documentation present when converted from Thrift to Proto */
198
+ bool allow_crossposts_from = 26;
199
+
200
+ /* @exclude No documentation present when converted from Thrift to Proto */
201
+ bool allow_crossposts_to = 27;
202
+
203
+ /* @exclude No documentation present when converted from Thrift to Proto */
204
+ bool allow_discovery = 28;
205
+
206
+ /* @exclude No documentation present when converted from Thrift to Proto */
207
+ bool allow_images = 29;
208
+
209
+ /* @exclude No documentation present when converted from Thrift to Proto */
210
+ bool allow_post_crossposts = 30;
211
+
212
+ /* @exclude No documentation present when converted from Thrift to Proto */
213
+ bool allow_videos = 31;
214
+
215
+ /* @exclude No documentation present when converted from Thrift to Proto */
216
+ repeated string audience_target = 32;
217
+
218
+ /* @exclude No documentation present when converted from Thrift to Proto */
219
+ int32 ban_count = 33;
220
+
221
+ /* @exclude No documentation present when converted from Thrift to Proto */
222
+ reddit.coreplatform.common.v1.BanInfo ban_info = 34;
223
+
224
+ /* @exclude No documentation present when converted from Thrift to Proto */
225
+ string banner_image_url = 35;
226
+
227
+ /* @exclude No documentation present when converted from Thrift to Proto */
228
+ bool collapse_deleted_comments = 36;
229
+
230
+ /* @exclude No documentation present when converted from Thrift to Proto */
231
+ int32 comment_score_hide_minutes = 37;
232
+
233
+ /* @exclude No documentation present when converted from Thrift to Proto */
234
+ bool exclude_banned_modqueue = 38;
235
+
236
+ /* @exclude No documentation present when converted from Thrift to Proto */
237
+ bool account_flair_enabled = 39;
238
+
239
+ /* @exclude No documentation present when converted from Thrift to Proto */
240
+ FlairPosition account_flair_position = 40;
241
+
242
+ /* @exclude No documentation present when converted from Thrift to Proto */
243
+ bool account_flair_self_assign_enabled = 41;
244
+
245
+ /* @exclude No documentation present when converted from Thrift to Proto */
246
+ string ip = 43 [(reddit.api.metadata.v1.entity_field_metadata) = {
247
+ sensitivity_level: SENSITIVITY_LEVEL_PII
248
+ max_retention: {
249
+ seconds: 7776000 // 90 Days
250
+ }
251
+ }];
252
+
253
+ /* @exclude No documentation present when converted from Thrift to Proto */
254
+ int64 last_mod_action = 44;
255
+
256
+ /* @exclude No documentation present when converted from Thrift to Proto */
257
+ FlairPosition link_flair_position = 45;
258
+
259
+ /* @exclude No documentation present when converted from Thrift to Proto */
260
+ bool link_flair_self_assign_enabled = 46;
261
+
262
+ /* @exclude No documentation present when converted from Thrift to Proto */
263
+ int32 wiki_edit_minimum_age = 47;
264
+
265
+ /* @exclude No documentation present when converted from Thrift to Proto */
266
+ int32 wiki_edit_karma = 48;
267
+
268
+ /* @exclude No documentation present when converted from Thrift to Proto */
269
+ WikiEditMode wiki_edit_mode = 49;
270
+
271
+ /* @exclude No documentation present when converted from Thrift to Proto */
272
+ string modmail_transition_message_id = 50;
273
+
274
+ /* @exclude No documentation present when converted from Thrift to Proto */
275
+ bool show_media = 51;
276
+
277
+ /* @exclude No documentation present when converted from Thrift to Proto */
278
+ bool show_media_preview = 52;
279
+
280
+ /* @exclude No documentation present when converted from Thrift to Proto */
281
+ SpamLevel spam_comments = 53;
282
+
283
+ /* @exclude No documentation present when converted from Thrift to Proto */
284
+ SpamLevel spam_links = 54;
285
+
286
+ /* @exclude No documentation present when converted from Thrift to Proto */
287
+ SpamLevel spam_selfposts = 55;
288
+
289
+ /* @exclude No documentation present when converted from Thrift to Proto */
290
+ bool spoilers_enabled = 56;
291
+
292
+ /* @exclude No documentation present when converted from Thrift to Proto */
293
+ string submit_link_label = 57;
294
+
295
+ /* @exclude No documentation present when converted from Thrift to Proto */
296
+ string submit_text = 58;
297
+
298
+ /* @exclude No documentation present when converted from Thrift to Proto */
299
+ string submit_text_label = 59;
300
+
301
+ /* @exclude No documentation present when converted from Thrift to Proto */
302
+ reddit.coreplatform.comments.v1.Comment.Sort suggested_comment_sort = 60;
303
+
304
+ /* @exclude No documentation present when converted from Thrift to Proto */
305
+ reddit.coreplatform.common.v1.Verdict verdict = 61;
306
+
307
+ /* @exclude No documentation present when converted from Thrift to Proto */
308
+ bool video_blacklisted = 62;
309
+
310
+ /* @exclude No documentation present when converted from Thrift to Proto */
311
+ bool video_whitelisted = 63;
312
+
313
+ /* @exclude No documentation present when converted from Thrift to Proto */
314
+ int64 recent_activity_level = 64;
315
+
316
+ /* @exclude No documentation present when converted from Thrift to Proto */
317
+ int64 gilding_server_seconds = 65;
318
+
319
+ /* @exclude No documentation present when converted from Thrift to Proto */
320
+ bool quarantine_require_email_for_optin = 66;
321
+
322
+ /* @exclude No documentation present when converted from Thrift to Proto */
323
+ bool quarantine_allow_media = 67;
324
+
325
+ /* @exclude No documentation present when converted from Thrift to Proto */
326
+ bool allow_contractors = 68;
327
+
328
+ /* @exclude No documentation present when converted from Thrift to Proto */
329
+ repeated PopularFilterType r_popular_filter_tags = 69 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
330
+
331
+ /* @exclude No documentation present when converted from Thrift to Proto */
332
+ string language = 70;
333
+
334
+ /* @exclude No documentation present when converted from Thrift to Proto */
335
+ string advertiser_category = 71;
336
+
337
+ /* @exclude No documentation present when converted from Thrift to Proto */
338
+ string banner_background_color = 72;
339
+
340
+ /* @exclude No documentation present when converted from Thrift to Proto */
341
+ reddit.coreplatform.common.v1.MediaDimension banner_size = 73;
342
+
343
+ /* @exclude No documentation present when converted from Thrift to Proto */
344
+ bool contest_mode_upvotes_only = 74;
345
+
346
+ /* @exclude No documentation present when converted from Thrift to Proto */
347
+ bool emojis_enabled = 75;
348
+
349
+ /* @exclude No documentation present when converted from Thrift to Proto */
350
+ bool has_menu_widget = 76;
351
+
352
+ /* @exclude No documentation present when converted from Thrift to Proto */
353
+ string header_url = 77;
354
+
355
+ /* @exclude No documentation present when converted from Thrift to Proto */
356
+ reddit.coreplatform.common.v1.MediaDimension header_size = 78;
357
+
358
+ /* @exclude No documentation present when converted from Thrift to Proto */
359
+ string header_title = 79;
360
+
361
+ /* @exclude No documentation present when converted from Thrift to Proto */
362
+ int64 mod_action_count = 80;
363
+
364
+ /* @exclude No documentation present when converted from Thrift to Proto */
365
+ int64 report_count = 81;
366
+
367
+ /* @exclude No documentation present when converted from Thrift to Proto */
368
+ string stylesheet_url = 82;
369
+
370
+ /* @exclude No documentation present when converted from Thrift to Proto */
371
+ bool allow_free_form_reports = 83;
372
+
373
+ /* @exclude No documentation present when converted from Thrift to Proto */
374
+ bool quarantine_allow_crossposts = 84;
375
+
376
+ /* @exclude No documentation present when converted from Thrift to Proto */
377
+ bool allow_trending = 85;
378
+
379
+ /* @exclude No documentation present when converted from Thrift to Proto */
380
+ int64 exclude_from_trending_until = 86;
381
+
382
+ /* @exclude No documentation present when converted from Thrift to Proto */
383
+ string banner_background_image = 87;
384
+
385
+ /* @exclude No documentation present when converted from Thrift to Proto */
386
+ bool whitelisted_for_publisher = 88;
387
+
388
+ /* @exclude No documentation present when converted from Thrift to Proto */
389
+ string content_category = 89;
390
+
391
+ /* @exclude No documentation present when converted from Thrift to Proto */
392
+ reddit.coreplatform.common.v1.MediaDimension emojis_custom_size = 90;
393
+
394
+ /* @exclude No documentation present when converted from Thrift to Proto */
395
+ bool hide_sponsored_headlines = 91;
396
+
397
+ /* @exclude No documentation present when converted from Thrift to Proto */
398
+ bool original_content_tag_enabled = 92;
399
+
400
+ /* @exclude No documentation present when converted from Thrift to Proto */
401
+ bool quarantine_allow_sr_images = 94;
402
+
403
+ /* @exclude No documentation present when converted from Thrift to Proto */
404
+ string quarantine_message = 95;
405
+
406
+ /* @exclude No documentation present when converted from Thrift to Proto */
407
+ bool quarantine_require_email_for_interaction = 96;
408
+
409
+ /* @exclude No documentation present when converted from Thrift to Proto */
410
+ reddit.coreplatform.common.v1.MediaDimension icon_size = 97;
411
+
412
+ /* @exclude No documentation present when converted from Thrift to Proto */
413
+ bool hide_ads = 99;
414
+
415
+ /* @exclude No documentation present when converted from Thrift to Proto */
416
+ bool all_original_content = 100;
417
+
418
+ /* @exclude No documentation present when converted from Thrift to Proto */
419
+ string domain = 101;
420
+
421
+ /* @exclude No documentation present when converted from Thrift to Proto */
422
+ bool quarantine_allow_styles = 102;
423
+
424
+ /* @exclude No documentation present when converted from Thrift to Proto */
425
+ map<string, string> external_provider_ids = 103;
426
+
427
+ /* @exclude No documentation present when converted from Thrift to Proto */
428
+ bool use_quotas = 104;
429
+
430
+ /* @exclude No documentation present when converted from Thrift to Proto */
431
+ reddit.coreplatform.common.v1.ApprovalStatus approval_status = 105;
432
+
433
+ /* @exclude No documentation present when converted from Thrift to Proto */
434
+ bool allow_inbound_usertext_links = 106;
435
+
436
+ /* @exclude No documentation present when converted from Thrift to Proto */
437
+ bool crowd_control_mode = 107;
438
+
439
+ /* @exclude No documentation present when converted from Thrift to Proto */
440
+ bool account_flair_override_css = 108;
441
+
442
+ /* @exclude No documentation present when converted from Thrift to Proto */
443
+ bool quarantine_allow_subscriber_count = 109;
444
+
445
+ /* @exclude No documentation present when converted from Thrift to Proto */
446
+ bool restrict_posting = 110;
447
+
448
+ /* @exclude No documentation present when converted from Thrift to Proto */
449
+ bool restrict_commenting = 111;
450
+
451
+ /* @exclude No documentation present when converted from Thrift to Proto */
452
+ bool disable_contributor_requests = 112;
453
+
454
+ /* @exclude No documentation present when converted from Thrift to Proto */
455
+ int32 coins = 113;
456
+
457
+ /* @exclude No documentation present when converted from Thrift to Proto */
458
+ string mobile_banner_image = 114;
459
+
460
+ /* @exclude No documentation present when converted from Thrift to Proto */
461
+ repeated reddit.coreplatform.common.v1.LegalBlock legal_blocks = 115;
462
+
463
+ /* @exclude No documentation present when converted from Thrift to Proto */
464
+ // Live chat posts are deprecated and no longer supported. Do not use this field
465
+ // [Deprecation plan](https://docs.google.com/document/d/1SXWharKMZugIudzwPy4-rQWmXFSgln6ipohYYuObpms/edit)
466
+ bool allow_chat_post_creation = 116 [deprecated = true];
467
+
468
+ /* @exclude No documentation present when converted from Thrift to Proto */
469
+ // Live chat posts are deprecated and no longer supported. Do not use this field
470
+ // [Deprecation plan](https://docs.google.com/document/d/1SXWharKMZugIudzwPy4-rQWmXFSgln6ipohYYuObpms/edit)
471
+ bool is_chat_post_feature_enabled = 118 [deprecated = true];
472
+
473
+ /* @exclude No documentation present when converted from Thrift to Proto */
474
+ bool allow_subreddit_linking = 119;
475
+
476
+ /* @exclude No documentation present when converted from Thrift to Proto */
477
+ bool allow_username_linking = 120;
478
+
479
+ /* @exclude No documentation present when converted from Thrift to Proto */
480
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
481
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
482
+ bool live_streaming_is_enabled = 121 [deprecated = true];
483
+
484
+ /* @exclude No documentation present when converted from Thrift to Proto */
485
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
486
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
487
+ int32 live_streaming_max_streams = 122 [deprecated = true];
488
+
489
+ /* @exclude No documentation present when converted from Thrift to Proto */
490
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
491
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
492
+ int32 live_streaming_min_karma = 123 [deprecated = true];
493
+
494
+ /* @exclude No documentation present when converted from Thrift to Proto */
495
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
496
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
497
+ int32 live_streaming_min_account_age_days = 124 [deprecated = true];
498
+
499
+ /* @exclude No documentation present when converted from Thrift to Proto */
500
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
501
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
502
+ int32 live_streaming_duration_limit_seconds = 125 [deprecated = true];
503
+
504
+ /* @exclude No documentation present when converted from Thrift to Proto */
505
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
506
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
507
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_sunday_schedule = 126 [deprecated = true];
508
+
509
+ /* @exclude No documentation present when converted from Thrift to Proto */
510
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
511
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
512
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_monday_schedule = 127 [deprecated = true];
513
+
514
+ /* @exclude No documentation present when converted from Thrift to Proto */
515
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
516
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
517
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_tuesday_schedule = 128 [deprecated = true];
518
+
519
+ /* @exclude No documentation present when converted from Thrift to Proto */
520
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
521
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
522
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_wednesday_schedule = 129 [deprecated = true];
523
+
524
+ /* @exclude No documentation present when converted from Thrift to Proto */
525
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
526
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
527
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_thursday_schedule = 130 [deprecated = true];
528
+
529
+ /* @exclude No documentation present when converted from Thrift to Proto */
530
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
531
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
532
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_friday_schedule = 131 [deprecated = true];
533
+
534
+ /* @exclude No documentation present when converted from Thrift to Proto */
535
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
536
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
537
+ repeated reddit.coreplatform.common.v1.TimeSpan live_streaming_saturday_schedule = 132 [deprecated = true];
538
+
539
+ /* @exclude No documentation present when converted from Thrift to Proto */
540
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
541
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
542
+ repeated string live_streaming_whitelist_users = 133 [deprecated = true];
543
+
544
+ /* @exclude No documentation present when converted from Thrift to Proto */
545
+ reddit.coreplatform.common.v1.CrowdControlLevel crowd_control_level = 134;
546
+
547
+ /* @exclude No documentation present when converted from Thrift to Proto */
548
+ reddit.coreplatform.common.v1.CrowdControlLevel crowd_control_chat_level = 135;
549
+
550
+ /* @exclude No documentation present when converted from Thrift to Proto */
551
+ bool welcome_message_enabled = 136;
552
+
553
+ /* @exclude No documentation present when converted from Thrift to Proto */
554
+ string welcome_message_text = 137;
555
+
556
+ /* @exclude No documentation present when converted from Thrift to Proto */
557
+ bool allow_polls = 138;
558
+
559
+ /* @exclude No documentation present when converted from Thrift to Proto */
560
+ repeated string previous_names = 140;
561
+
562
+ /* @exclude No documentation present when converted from Thrift to Proto */
563
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
564
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
565
+ string live_streaming_broadcaster_prompt = 141 [deprecated = true];
566
+
567
+ /* @exclude No documentation present when converted from Thrift to Proto */
568
+ // The RPan product is deprecated and related content will be remove. Do not use this field.
569
+ // Content removal [design doc](https://docs.google.com/document/d/1FpII3DCevtuo2HYhg6lDuexLY_d_427m_SODyXHQntI/edit)
570
+ bool live_streaming_show_discovery_unit = 142 [deprecated = true];
571
+
572
+ /* @exclude No documentation present when converted from Thrift to Proto */
573
+ bool admin_override_nsfw = 143;
574
+
575
+ /* @exclude No documentation present when converted from Thrift to Proto */
576
+ bool admin_override_spam_comments = 144;
577
+
578
+ /* @exclude No documentation present when converted from Thrift to Proto */
579
+ bool admin_override_spam_links = 145;
580
+
581
+ /* @exclude No documentation present when converted from Thrift to Proto */
582
+ bool admin_override_spam_selfposts = 146;
583
+
584
+ /* @exclude No documentation present when converted from Thrift to Proto */
585
+ bool allow_galleries = 147;
586
+
587
+ /* @exclude No documentation present when converted from Thrift to Proto */
588
+ bool new_pinned_post_pns_enabled = 149;
589
+
590
+ /* @exclude No documentation present when converted from Thrift to Proto */
591
+ bool user_flair_pns_enabled = 150;
592
+
593
+ /* @exclude No documentation present when converted from Thrift to Proto */
594
+ bool allow_predictions = 151;
595
+
596
+ /* @exclude No documentation present when converted from Thrift to Proto */
597
+ AdminFrozenFields admin_frozen_fields = 152;
598
+
599
+ /* @exclude No documentation present when converted from Thrift to Proto */
600
+ AutomatedReportingLevel automated_reporting_level_hate = 153;
601
+
602
+ /* @exclude No documentation present when converted from Thrift to Proto */
603
+ AutomatedReportingLevel automated_reporting_level_abuse = 154;
604
+
605
+ /* @exclude No documentation present when converted from Thrift to Proto */
606
+ PredictionLeaderboardEntryType prediction_leaderboard_entry_type = 155;
607
+
608
+ /* @exclude No documentation present when converted from Thrift to Proto */
609
+ bool allow_predictions_tournament = 156;
610
+
611
+ /* @exclude No documentation present when converted from Thrift to Proto */
612
+ bool accept_followers = 157;
613
+
614
+ /* @exclude No documentation present when converted from Thrift to Proto */
615
+ bool should_archive_posts = 158;
616
+
617
+ /* @exclude No documentation present when converted from Thrift to Proto */
618
+ bool allow_prediction_contributors = 159;
619
+
620
+ /* @exclude No documentation present when converted from Thrift to Proto */
621
+ bool crowd_control_filter = 160;
622
+
623
+ /* @exclude No documentation present when converted from Thrift to Proto */
624
+ reddit.coreplatform.common.v1.HatefulContentThreshold hateful_content_threshold_identity = 161;
625
+
626
+ /* @exclude No documentation present when converted from Thrift to Proto */
627
+ reddit.coreplatform.common.v1.HatefulContentThreshold hateful_content_threshold_abuse = 162;
628
+
629
+ /* @exclude No documentation present when converted from Thrift to Proto */
630
+ reddit.coreplatform.common.v1.CrowdControlLevel crowd_control_post_level = 163;
631
+
632
+ /* @exclude No documentation present when converted from Thrift to Proto */
633
+ string interstitial_warning_message = 164;
634
+
635
+ /* @exclude No documentation present when converted from Thrift to Proto */
636
+ // Reddit talk product is deprecated and no longer supported
637
+ // Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
638
+ bool allow_talks = 165 [deprecated = true];
639
+
640
+ // DEPRECATED, see reddit-service-ban-evasion FilterSettings
641
+ reddit.coreplatform.common.v1.BanEvasionThreshold ban_evasion_threshold = 166 [deprecated = true];
642
+
643
+ /* @exclude No documentation present when converted from Thrift to Proto */
644
+ CommentContributionSettings comment_contribution_settings = 167;
645
+
646
+ /* @exclude No documentation present when converted from Thrift to Proto */
647
+ string primary_language = 168;
648
+
649
+ /* @exclude No documentation present when converted from Thrift to Proto */
650
+ bool modmail_harassment_filter_enabled = 169;
651
+
652
+ /* @exclude No documentation present when converted from Thrift to Proto */
653
+ // MyReddit experiment has been concluded. This field should not be used and
654
+ // will be removed in the future.
655
+ // The exit strategy can be found in the project [design doc](https://docs.google.com/document/d/1K4DsR9FE9rml0k2jywnIepeYdqxDh3GsgYRzu2hzypY/edit#heading=h.xtqux2dy11wi).
656
+ // Related Jira ticket for deprecation work. https://reddit.atlassian.net/browse/SUBEX-507
657
+ MyRedditSettings my_reddit_settings = 170 [deprecated = true];
658
+
659
+ /* @exclude No documentation present when converted from Thrift to Proto */
660
+ DiscoverySettings subreddit_discovery_settings = 171;
661
+
662
+ // Settings specific to profile subreddits.
663
+ // These settings MUST be ignored for non-profile subreddits.
664
+ // [Original design doc](https://docs.google.com/document/d/1b7Yi41Fcxj19LJKUyAXfxyz2HnKFO11E3bANtxXz6bQ/).
665
+ SubredditProfileSettings profile_settings = 172;
666
+
667
+ // Settings that affect whether the subreddit or its contents are visible to end-users on various product surfaces.
668
+ // For internal use only. This field is surfaced for user requests so that downstream services directly or indirectly
669
+ // surfacing data to end-users can determine if the end-user can see the subreddit or its contents.
670
+ // [Design Doc](https://docs.google.com/document/d/1ixhWGPkZ4Wj-hl5rSjKMZfpdR0D6qHpPU0y4pYqAWJU/edit)
671
+ InternalVisibilitySettings internal_visibility_settings = 173;
672
+ }
673
+
674
+ /* @exclude No documentation present when converted from Thrift to Proto */
675
+ message Contributor {
676
+ /* @exclude No documentation present when converted from Thrift to Proto */
677
+ string account_id = 1;
678
+
679
+ /* @exclude No documentation present when converted from Thrift to Proto */
680
+ int64 date = 2;
681
+
682
+ /* @exclude No documentation present when converted from Thrift to Proto */
683
+ string cursor = 3;
684
+ }
685
+
686
+ /* @exclude No documentation present when converted from Thrift to Proto */
687
+ message Details {
688
+ /* @exclude No documentation present when converted from Thrift to Proto */
689
+ string id = 1;
690
+
691
+ /* @exclude No documentation present when converted from Thrift to Proto */
692
+ string name = 2;
693
+
694
+ /* @exclude No documentation present when converted from Thrift to Proto */
695
+ int64 date = 3;
696
+
697
+ /* @exclude No documentation present when converted from Thrift to Proto */
698
+ Subreddit.Type type = 4;
699
+
700
+ /* @exclude No documentation present when converted from Thrift to Proto */
701
+ bool quarantined = 5;
702
+
703
+ /* @exclude No documentation present when converted from Thrift to Proto */
704
+ string public_description = 7;
705
+
706
+ /* @exclude No documentation present when converted from Thrift to Proto */
707
+ string ban_message = 8;
708
+
709
+ /* @exclude No documentation present when converted from Thrift to Proto */
710
+ bool quarantine_require_email_for_optin = 9;
711
+
712
+ /* @exclude No documentation present when converted from Thrift to Proto */
713
+ bool spam = 10;
714
+
715
+ /* @exclude No documentation present when converted from Thrift to Proto */
716
+ string quarantine_message = 11;
717
+
718
+ /* @exclude No documentation present when converted from Thrift to Proto */
719
+ bool disable_contributor_requests = 12;
720
+
721
+ /* @exclude No documentation present when converted from Thrift to Proto */
722
+ string interstitial_warning_message = 13;
723
+
724
+ /* @exclude No documentation present when converted from Thrift to Proto */
725
+ string ban_title = 14;
726
+ }
727
+
728
+ /* @exclude No documentation present when converted from Thrift to Proto */
729
+ message DiscoverySettings {
730
+ /* @exclude No documentation present when converted from Thrift to Proto */
731
+ repeated DiscoverabilityType disabled_discovery_types = 1;
732
+ }
733
+
734
+ // Settings to control the visibility of subreddits or their contents on various surfaces. Limited to attributes that
735
+ // are needed to inform decisions made by other service (e.g. GraphQL) that directly or indirectly surface data to
736
+ // end-users. For internal use only and not to be exposed to end-users via external APIs (e.g. GraphQL).
737
+ // [Design Doc](https://docs.google.com/document/d/1ixhWGPkZ4Wj-hl5rSjKMZfpdR0D6qHpPU0y4pYqAWJU/edit)
738
+ message InternalVisibilitySettings {
739
+ // Safety-specific labels that affect the visibility of the subreddit.
740
+ repeated SafetyLabel safety_labels = 1;
741
+
742
+ // Safety-specific labels for determining subreddit visibility. This should be limited in usage to safety as a signal
743
+ // that internal systems should use as a trigger for determining if the subreddit or its contents should be surfaced
744
+ // to end-user product surfaces. Should not be exposed to end users.
745
+ enum SafetyLabel {
746
+ // This is a default value used to convey the absence of a meaningful value.
747
+ SAFETY_LABEL_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
748
+ name: "UNKNOWN"
749
+ ordinal: 0,
750
+ }];
751
+
752
+ // Delisting is a safety enforcement used to filter subreddits from discovery surfaces at read-time.
753
+ // [Design Doc](https://docs.google.com/document/d/1ixhWGPkZ4Wj-hl5rSjKMZfpdR0D6qHpPU0y4pYqAWJU/edit)
754
+ SAFETY_LABEL_DELISTED = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
755
+ name: "DELISTED"
756
+ ordinal: 1,
757
+ }];
758
+ }
759
+ }
760
+
761
+ /* @exclude No documentation present when converted from Thrift to Proto */
762
+ message FlairedAccount {
763
+ /* @exclude No documentation present when converted from Thrift to Proto */
764
+ string account_id = 1;
765
+
766
+ /* @exclude No documentation present when converted from Thrift to Proto */
767
+ int64 date = 2;
768
+
769
+ /* @exclude No documentation present when converted from Thrift to Proto */
770
+ string cursor = 3;
771
+ }
772
+
773
+ /* @exclude No documentation present when converted from Thrift to Proto */
774
+ message IdAccountIdPair {
775
+ /* @exclude No documentation present when converted from Thrift to Proto */
776
+ string subreddit_id = 1;
777
+
778
+ /* @exclude No documentation present when converted from Thrift to Proto */
779
+ string account_id = 2;
780
+ }
781
+
782
+ /* @exclude No documentation present when converted from Thrift to Proto */
783
+ message Moderator {
784
+ /* @exclude No documentation present when converted from Thrift to Proto */
785
+ string account_id = 1;
786
+
787
+ /* @exclude No documentation present when converted from Thrift to Proto */
788
+ int64 date = 2;
789
+
790
+ /* @exclude No documentation present when converted from Thrift to Proto */
791
+ string cursor = 3;
792
+ }
793
+
794
+ /* @exclude No documentation present when converted from Thrift to Proto */
795
+ message ModeratorInvited {
796
+ /* @exclude No documentation present when converted from Thrift to Proto */
797
+ string account_id = 1;
798
+
799
+ /* @exclude No documentation present when converted from Thrift to Proto */
800
+ int64 date = 2;
801
+
802
+ /* @exclude No documentation present when converted from Thrift to Proto */
803
+ string cursor = 3;
804
+ }
805
+
806
+ /* @exclude No documentation present when converted from Thrift to Proto */
807
+ message Rule {
808
+ /* @exclude No documentation present when converted from Thrift to Proto */
809
+ int32 priority = 1;
810
+
811
+ /* @exclude No documentation present when converted from Thrift to Proto */
812
+ string name = 2;
813
+
814
+ /* @exclude No documentation present when converted from Thrift to Proto */
815
+ RuleKind kind = 3;
816
+
817
+ /* @exclude No documentation present when converted from Thrift to Proto */
818
+ int64 created = 4;
819
+
820
+ /* @exclude No documentation present when converted from Thrift to Proto */
821
+ string violation_reason = 5;
822
+
823
+ /* @exclude No documentation present when converted from Thrift to Proto */
824
+ string description = 6;
825
+ }
826
+
827
+ /* @exclude No documentation present when converted from Thrift to Proto */
828
+ enum DiscoverabilityType {
829
+ /* @exclude No documentation present when converted from Thrift to Proto */
830
+ DISCOVERABILITY_TYPE_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
831
+ name: "UNKNOWN"
832
+ ordinal: 0,
833
+ }];
834
+
835
+ /* @exclude No documentation present when converted from Thrift to Proto */
836
+ DISCOVERABILITY_TYPE_ONBOARDING = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
837
+ name: "ONBOARDING"
838
+ ordinal: 1,
839
+ }];
840
+ }
841
+
842
+ /* @exclude No documentation present when converted from Thrift to Proto */
843
+ enum NotificationLevel {
844
+ /* @exclude No documentation present when converted from Thrift to Proto */
845
+ NOTIFICATION_LEVEL_UNSPECIFIED = 0;
846
+
847
+ /* @exclude No documentation present when converted from Thrift to Proto */
848
+ NOTIFICATION_LEVEL_OFF = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
849
+ name: "OFF"
850
+ ordinal: 0,
851
+ }];
852
+
853
+ /* @exclude No documentation present when converted from Thrift to Proto */
854
+ NOTIFICATION_LEVEL_FREQUENT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
855
+ name: "FREQUENT"
856
+ ordinal: 2,
857
+ }];
858
+
859
+ /* @exclude No documentation present when converted from Thrift to Proto */
860
+ NOTIFICATION_LEVEL_LOW = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
861
+ name: "LOW"
862
+ ordinal: 3,
863
+ }];
864
+ }
865
+
866
+ /* @exclude No documentation present when converted from Thrift to Proto */
867
+ enum RuleKind {
868
+ /* @exclude No documentation present when converted from Thrift to Proto */
869
+ RULE_KIND_UNSPECIFIED = 0;
870
+
871
+ /* @exclude No documentation present when converted from Thrift to Proto */
872
+ RULE_KIND_LINK_AND_COMMENT = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
873
+ name: "LINK_AND_COMMENT"
874
+ ordinal: 0,
875
+ }];
876
+
877
+ /* @exclude No documentation present when converted from Thrift to Proto */
878
+ RULE_KIND_LINK = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
879
+ name: "LINK"
880
+ ordinal: 1,
881
+ }];
882
+
883
+ /* @exclude No documentation present when converted from Thrift to Proto */
884
+ RULE_KIND_COMMENT = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
885
+ name: "COMMENT"
886
+ ordinal: 2,
887
+ }];
888
+ }
889
+
890
+ /* @exclude No documentation present when converted from Thrift to Proto */
891
+ message RelationTypeList {
892
+ /* @exclude No documentation present when converted from Thrift to Proto */
893
+ repeated RelationType relation_types = 1;
894
+ }
895
+
896
+ // RelationType indicates a relation type between a user and a subreddit.
897
+ // These values are sourced from R2 relations:
898
+ // https://github.snooguts.net/reddit/reddit-public/blob/5fe4bcf6b367150b63046afe0840056ee83d4d54/r2/r2/controllers/api.py#L2663-L2671
899
+ enum RelationType {
900
+ /* @exclude No documentation present when converted from Thrift to Proto */
901
+ RELATION_TYPE_UNSPECIFIED = 0;
902
+
903
+ // Indicates user moderates the subreddit
904
+ RELATION_TYPE_MODERATOR = 1;
905
+
906
+ // Indicates user has a pending invite to moderate the subreddit
907
+ RELATION_TYPE_MODERATOR_INVITE = 2;
908
+
909
+ // Indicates user is an authorized contributor for the subreddit. Used primarily for private subs
910
+ RELATION_TYPE_CONTRIBUTOR = 3;
911
+
912
+ // Indicates user is banned from the subreddit
913
+ RELATION_TYPE_BANNED = 4;
914
+
915
+ // Indicates user has been given permissions to edit the subreddit wiki by a moderator
916
+ RELATION_TYPE_WIKICONTRIBUTOR = 5;
917
+
918
+ // Indicates user has been banned from editing the subreddit wiki by a moderator
919
+ RELATION_TYPE_WIKIBANNED = 6;
920
+ }
921
+
922
+ /* @exclude No documentation present when converted from Thrift to Proto */
923
+ // This message is deprecated and the MyReddit experiment has been concluded.
924
+ // The exit strategy can be found in the project [design doc](https://docs.google.com/document/d/1K4DsR9FE9rml0k2jywnIepeYdqxDh3GsgYRzu2hzypY/edit#heading=h.xtqux2dy11wi).
925
+ // Related Jira ticket for deprecation work. https://reddit.atlassian.net/browse/SUBEX-507
926
+ message MyRedditSettings {
927
+ option deprecated = true;
928
+ /* @exclude No documentation present when converted from Thrift to Proto */
929
+ bool is_enabled = 1;
930
+ }
931
+
932
+ /* @exclude No documentation present when converted from Thrift to Proto */
933
+ message AdminFrozenFields {
934
+ /* @exclude No documentation present when converted from Thrift to Proto */
935
+ optional bool allow_images = 1;
936
+
937
+ /* @exclude No documentation present when converted from Thrift to Proto */
938
+ optional bool allow_videos = 2;
939
+
940
+ /* @exclude No documentation present when converted from Thrift to Proto */
941
+ optional bool allow_styles = 3;
942
+
943
+ /* @exclude No documentation present when converted from Thrift to Proto */
944
+ optional bool allow_sr_images = 4;
945
+
946
+ /* @exclude No documentation present when converted from Thrift to Proto */
947
+ optional bool allow_polls = 5;
948
+
949
+ /* @exclude No documentation present when converted from Thrift to Proto */
950
+ optional bool account_flair_enabled = 6;
951
+
952
+ /* @exclude No documentation present when converted from Thrift to Proto */
953
+ optional bool account_flair_self_assign_enabled = 7;
954
+
955
+ /* @exclude No documentation present when converted from Thrift to Proto */
956
+ optional bool link_flair_position = 8;
957
+
958
+ /* @exclude No documentation present when converted from Thrift to Proto */
959
+ optional bool link_flair_self_assign_enabled = 9;
960
+ }
961
+
962
+ /* @exclude No documentation present when converted from Thrift to Proto */
963
+ enum FlairPosition {
964
+ /* @exclude No documentation present when converted from Thrift to Proto */
965
+ FLAIR_POSITION_UNSPECIFIED = 0;
966
+
967
+ /* @exclude No documentation present when converted from Thrift to Proto */
968
+ FLAIR_POSITION_LEFT = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
969
+ name: "LEFT"
970
+ ordinal: 0,
971
+ }];
972
+
973
+ /* @exclude No documentation present when converted from Thrift to Proto */
974
+ FLAIR_POSITION_RIGHT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
975
+ name: "RIGHT"
976
+ ordinal: 1,
977
+ }];
978
+
979
+ /* @exclude No documentation present when converted from Thrift to Proto */
980
+ FLAIR_POSITION_UNSET = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
981
+ name: "NULL_VALUE"
982
+ ordinal: 2,
983
+ }];
984
+ }
985
+
986
+ /* @exclude No documentation present when converted from Thrift to Proto */
987
+ enum AdsWhitelistStatus {
988
+ /* @exclude No documentation present when converted from Thrift to Proto */
989
+ ADS_WHITELIST_STATUS_UNSPECIFIED = 0;
990
+
991
+ /* @exclude No documentation present when converted from Thrift to Proto */
992
+ ADS_WHITELIST_STATUS_NO_ADS = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
993
+ name: "NO_ADS"
994
+ ordinal: 1,
995
+ }];
996
+
997
+ /* @exclude No documentation present when converted from Thrift to Proto */
998
+ ADS_WHITELIST_STATUS_HOUSE_ONLY = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
999
+ name: "HOUSE_ONLY"
1000
+ ordinal: 2,
1001
+ }];
1002
+
1003
+ /* @exclude No documentation present when converted from Thrift to Proto */
1004
+ ADS_WHITELIST_STATUS_PROMO_SPECIFIED = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1005
+ name: "PROMO_SPECIFIED"
1006
+ ordinal: 3,
1007
+ }];
1008
+
1009
+ /* @exclude No documentation present when converted from Thrift to Proto */
1010
+ ADS_WHITELIST_STATUS_PROMO_ADULT_NSFW = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1011
+ name: "PROMO_ADULT_NSFW"
1012
+ ordinal: 4,
1013
+ }];
1014
+
1015
+ /* @exclude No documentation present when converted from Thrift to Proto */
1016
+ ADS_WHITELIST_STATUS_PROMO_ADULT = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1017
+ name: "PROMO_ADULT"
1018
+ ordinal: 5,
1019
+ }];
1020
+
1021
+ /* @exclude No documentation present when converted from Thrift to Proto */
1022
+ ADS_WHITELIST_STATUS_PROMO_ALL = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1023
+ name: "PROMO_ALL"
1024
+ ordinal: 6,
1025
+ }];
1026
+
1027
+ /* @exclude No documentation present when converted from Thrift to Proto */
1028
+ ADS_WHITELIST_STATUS_ALL_ADS = 7 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1029
+ name: "ALL_ADS"
1030
+ ordinal: 7,
1031
+ }];
1032
+
1033
+ /* @exclude No documentation present when converted from Thrift to Proto */
1034
+ ADS_WHITELIST_STATUS_SOME_ADS = 8 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1035
+ name: "SOME_ADS"
1036
+ ordinal: 8,
1037
+ }];
1038
+ }
1039
+
1040
+ /* @exclude No documentation present when converted from Thrift to Proto */
1041
+ message CommentContributionSettings {
1042
+ /* @exclude No documentation present when converted from Thrift to Proto */
1043
+ repeated reddit.coreplatform.comments.v1.Comment.MediaType allowed_media_types = 1;
1044
+ }
1045
+
1046
+ // Settings specific to profile subreddits only.
1047
+ message SubredditProfileSettings {
1048
+ // If true, the followers count should be displayed on the user profile.
1049
+ // If false, subscribers_count will be zero and should not be displayed.
1050
+ //
1051
+ // The source of truth for this field is in the Preferences service. Data is first written to
1052
+ // Preferences service and synchronously to Thing. It is possible for both values to become out
1053
+ // of sync. Should this happen, we would need to rebuild these values from the Preferences service.
1054
+ bool show_followers = 1;
1055
+ }
1056
+
1057
+ // A message representing the moderator permissions an account has on the moderating subreddit.
1058
+ message ModeratorPermissions {
1059
+ // Manage Users, when true, the moderator can approve submitters and ban and mute users.
1060
+ bool access = 1;
1061
+
1062
+ // Manage Settings, when true, the moderator can manage community settings, appearance, emojis, rules, and AutoMod.
1063
+ bool config = 2;
1064
+
1065
+ // Manage Flair, when true, the moderator can create and manage user and post flair.
1066
+ bool flair = 3;
1067
+
1068
+ // Manage Mail, when true, the moderator can read and respond to mod-mail and mute users.
1069
+ bool mail = 4;
1070
+
1071
+ // Manage Posts and Comments, when true, the moderator can access queues, take action on content,
1072
+ // and manage collections and events.
1073
+ bool posts = 5;
1074
+
1075
+ // Manage Wiki Pages, when true, the moderator can create and manage wiki pages and AutoMod.
1076
+ bool wiki = 6;
1077
+
1078
+ // Manage Chats, when true, the moderator can create and manage chats, set up filters and rate limits, and block domains.
1079
+ bool chat_config = 7;
1080
+
1081
+ // Monitor Chats, when true, the moderator can remove messages, remove users, and lock chats.
1082
+ bool chat_operator = 8;
1083
+
1084
+ // Superuser for the subreddit, when true the user has all moderator capabilities.
1085
+ bool all = 9;
1086
+
1087
+ // Manage Channels, when true, a moderator can add, edit and remove subreddit channels.
1088
+ bool channels = 10;
1089
+
1090
+ // Manage Community Chat, when true, the moderator can moderate community chat channels.
1091
+ bool community_chat = 11;
1092
+ }
1093
+
1094
+ /* @exclude No documentation present when converted from Thrift to Proto */
1095
+ enum AutomatedReportingLevel {
1096
+ /* @exclude No documentation present when converted from Thrift to Proto */
1097
+ AUTOMATED_REPORTING_LEVEL_UNSPECIFIED = 0;
1098
+
1099
+ /* @exclude No documentation present when converted from Thrift to Proto */
1100
+ AUTOMATED_REPORTING_LEVEL_OFF = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1101
+ name: "OFF"
1102
+ ordinal: 0,
1103
+ }];
1104
+
1105
+ /* @exclude No documentation present when converted from Thrift to Proto */
1106
+ AUTOMATED_REPORTING_LEVEL_LENIENT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1107
+ name: "LENIENT"
1108
+ ordinal: 1,
1109
+ }];
1110
+
1111
+ /* @exclude No documentation present when converted from Thrift to Proto */
1112
+ AUTOMATED_REPORTING_LEVEL_MODERATE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1113
+ name: "MODERATE"
1114
+ ordinal: 2,
1115
+ }];
1116
+
1117
+ /* @exclude No documentation present when converted from Thrift to Proto */
1118
+ AUTOMATED_REPORTING_LEVEL_STRICT = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1119
+ name: "STRICT"
1120
+ ordinal: 3,
1121
+ }];
1122
+ }
1123
+
1124
+ /* @exclude No documentation present when converted from Thrift to Proto */
1125
+ enum PredictionLeaderboardEntryType {
1126
+ /* @exclude No documentation present when converted from Thrift to Proto */
1127
+ PREDICTION_LEADERBOARD_ENTRY_TYPE_UNSPECIFIED = 0;
1128
+
1129
+ /* @exclude No documentation present when converted from Thrift to Proto */
1130
+ PREDICTION_LEADERBOARD_ENTRY_TYPE_OFF = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1131
+ name: "OFF"
1132
+ ordinal: 0,
1133
+ }];
1134
+
1135
+ /* @exclude No documentation present when converted from Thrift to Proto */
1136
+ PREDICTION_LEADERBOARD_ENTRY_TYPE_IN_FEED = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1137
+ name: "IN_FEED"
1138
+ ordinal: 1,
1139
+ }];
1140
+
1141
+ /* @exclude No documentation present when converted from Thrift to Proto */
1142
+ PREDICTION_LEADERBOARD_ENTRY_TYPE_SUBREDDIT_HEADER = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1143
+ name: "SUBREDDIT_HEADER"
1144
+ ordinal: 2,
1145
+ }];
1146
+ }
1147
+
1148
+ /* @exclude No documentation present when converted from Thrift to Proto */
1149
+ enum PopularFilterType {
1150
+ /* @exclude No documentation present when converted from Thrift to Proto */
1151
+ POPULAR_FILTER_TYPE_UNSPECIFIED = 0;
1152
+
1153
+ /* @exclude No documentation present when converted from Thrift to Proto */
1154
+ POPULAR_FILTER_TYPE_BLACKLIST = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1155
+ name: "BLACKLIST"
1156
+ ordinal: 0,
1157
+ }];
1158
+
1159
+ /* @exclude No documentation present when converted from Thrift to Proto */
1160
+ POPULAR_FILTER_TYPE_NICHE = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
1161
+ name: "NICHE"
1162
+ ordinal: 1,
1163
+ }];
1164
+ }
1165
+
1166
+ // This message describes the state of a ban issued which restricts a user from participating in a specific subreddit.
1167
+ message BannedUser {
1168
+ // The t2 account id of the user who is banned.
1169
+ string account_id = 1;
1170
+
1171
+ // The t5 id of the subreddit that the banned user is restricted from participating in through out the duration of the ban.
1172
+ string subreddit_id = 2;
1173
+
1174
+ // The UTC unix timestamp for when this ban became active. A timestamp of `0` means that this ban is not active.
1175
+ google.protobuf.Timestamp starts_at = 3;
1176
+
1177
+ // The t2 id of the account that banned this user. May be a current or previous moderator.
1178
+ string banned_by_account_id = 4;
1179
+
1180
+ //Deprecated, it was determined that this field is impossible to populate as this information only lives in the try-later Cassandra.
1181
+ google.protobuf.Timestamp ends_at = 5;
1182
+
1183
+ // The message that was sent to the user when the ban occurred.
1184
+ string message = 6;
1185
+
1186
+ // The private message written by the `banned_by` account for other moderators at the time this ban was issued.
1187
+ string banner_notes = 7;
1188
+
1189
+ // The text of the subreddit rule, site rule, or 'other', that was violated that
1190
+ // incurred this ban. Eg. 'Spam', or 'No Text posts, Images Only'
1191
+ string violated_policy = 8;
1192
+
1193
+ // The id of the content which was contributed by the offending user and violated
1194
+ // a rule or policy published by the subreddit moderators or Reddit admins.
1195
+ oneof contribution_id {
1196
+ // The t1 id of the comment which resulted in the ban being issued.
1197
+ string comment_id = 9;
1198
+
1199
+ // The t3 id of the link which resulted in the ban being issued.
1200
+ string link_id = 10;
1201
+ }
1202
+ }