@devvit/protos 0.11.6-next-2025-01-28-ba7ef7fe2.0 → 0.11.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/package.json +4 -4
  2. package/schema/devvit/plugin/buildpack/buildpack_common.proto +1 -6
  3. package/schema/snootobuf.devenv.lock +102 -210
  4. package/schema/snootobuf.lock +102 -210
  5. package/schema/snootobuf.redditapi.lock +102 -210
  6. package/schema/snootobuf.ts.lock +102 -210
  7. package/types/devvit/dev_portal/dev_portal.d.ts +0 -2
  8. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  9. package/types/devvit/plugin/builder/builder.d.ts +0 -4
  10. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  11. package/types/devvit/plugin/buildpack/buildpack.d.ts +0 -8
  12. package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
  13. package/types/devvit/plugin/buildpack/buildpack_common.d.ts +0 -3
  14. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  15. package/types/devvit/plugin/buildpack/buildpack_common.js +1 -37
  16. package/types/devvit/plugin/linker/linker.d.ts +0 -2
  17. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  18. package/types/devvit/plugin/linker/resolver.d.ts +0 -2
  19. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
  20. package/meta.min.json +0 -7820
  21. package/protos.min.js +0 -2
  22. package/protos.min.js.map +0 -7
  23. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  24. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  25. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  26. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  27. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  28. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  29. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  30. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  31. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  32. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  33. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  34. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  35. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  36. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  37. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  38. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  39. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  40. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  41. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  42. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  43. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  44. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  45. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  46. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  47. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  48. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  49. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  50. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  51. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  52. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  53. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  54. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  55. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  56. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  57. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  58. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  59. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  60. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  61. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  62. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  63. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  64. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  65. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  66. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  67. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  68. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  69. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  70. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  71. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  72. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  73. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  74. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  75. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  76. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  77. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  78. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  79. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  80. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  81. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  82. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  83. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  84. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  85. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  86. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  87. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  88. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  89. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  90. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  91. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  92. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  93. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  94. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  95. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  96. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  97. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  98. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  99. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  100. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  101. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  102. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  103. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  104. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  105. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  106. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  107. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  108. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  109. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  110. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  111. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  112. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  113. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  114. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  115. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  116. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  117. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  118. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  119. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  120. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  121. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  122. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  123. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  124. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  125. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  126. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  127. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  128. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  129. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  130. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  131. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  132. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  133. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  134. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  135. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  136. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  137. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  138. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  139. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  140. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  141. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  142. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  143. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  144. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  145. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  146. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  147. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  148. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  149. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  150. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  151. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  152. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  153. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  154. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  155. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  156. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  157. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  158. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  159. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  160. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  161. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  162. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  163. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  164. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  165. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  166. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  167. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  168. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  169. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  170. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  171. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  172. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  173. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  174. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  175. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  176. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  177. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  178. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  179. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  180. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  181. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  182. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  183. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  184. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  185. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  186. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  187. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  188. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  189. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  190. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  191. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  192. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  193. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  194. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  195. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  196. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  197. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  198. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  199. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  200. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  201. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  202. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  203. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  204. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  205. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  206. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  207. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  208. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  209. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  210. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  211. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  212. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  229. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  230. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  231. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  232. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  233. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  234. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  235. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  236. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  237. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  238. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  239. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  240. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  241. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,1202 +0,0 @@
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
- }