@devvit/protos 0.11.4-next-2024-12-07-be2205f63.0 → 0.11.4

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 (244) hide show
  1. package/package.json +4 -4
  2. package/schema/devvit/dev_portal/app/app.proto +0 -3
  3. package/schema/devvit/dev_portal/app/info/app_info.proto +1 -13
  4. package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
  5. package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +1 -7
  6. package/schema/snootobuf.devenv.lock +292 -459
  7. package/schema/snootobuf.lock +292 -459
  8. package/schema/snootobuf.redditapi.lock +292 -459
  9. package/schema/snootobuf.ts.lock +293 -459
  10. package/types/devvit/dev_portal/app/app.d.ts +0 -2
  11. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  12. package/types/devvit/dev_portal/app/app.js +0 -17
  13. package/types/devvit/dev_portal/app/info/app_info.d.ts +0 -13
  14. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  15. package/types/devvit/dev_portal/app/info/app_info.js +0 -17
  16. package/types/devvit/dev_portal/dev_portal.d.ts +0 -42
  17. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  18. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +0 -4
  19. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  20. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +1 -8
  21. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
  22. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +1 -15
  23. package/meta.min.json +0 -7814
  24. package/protos.min.js +0 -2
  25. package/protos.min.js.map +0 -7
  26. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  27. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  28. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  29. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  30. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  31. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  32. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  33. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  34. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  35. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  36. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  37. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  38. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  39. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  40. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  41. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  42. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  43. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  44. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  45. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  46. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  47. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  48. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  49. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  50. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  51. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  52. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  53. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  54. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  55. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  56. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  57. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  58. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  59. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  60. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  61. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  62. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  63. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  64. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  65. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  66. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  67. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  68. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  69. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  70. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  71. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  72. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  73. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  74. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  75. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  76. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  77. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  78. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  79. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  80. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  81. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  82. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  83. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  84. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  85. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  86. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  87. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  88. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  89. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  90. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  91. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  92. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  93. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  94. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  95. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  96. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  97. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  98. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  99. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  100. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  101. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  102. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  103. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  104. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  105. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  106. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  107. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  108. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  109. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  110. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  111. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  112. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  113. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  114. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  115. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  116. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  117. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  118. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  119. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  120. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  121. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  122. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  123. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  124. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  125. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  126. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  127. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  128. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  129. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  130. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  131. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  132. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  133. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  134. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  135. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  136. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  137. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  138. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  139. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  140. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  141. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  142. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  143. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  144. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  145. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  146. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  147. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  148. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  149. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  150. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  151. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  152. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  153. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  154. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  155. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  156. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  157. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  158. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  159. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  160. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  161. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  162. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  163. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  164. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  165. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  166. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  167. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  168. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  169. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  170. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  171. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  172. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  173. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  174. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  175. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  176. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  177. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  178. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  179. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  180. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  181. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  182. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  183. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  184. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  185. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  186. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  187. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  188. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  189. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  190. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  191. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  192. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  193. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  194. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  195. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  196. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  197. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  198. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  199. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  200. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  201. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  202. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  203. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  204. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  205. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  206. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  207. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  208. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  209. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  210. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  211. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  212. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  213. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  214. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  215. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  229. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  230. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  231. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  232. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  233. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  234. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  235. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  236. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  237. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  238. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  239. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  240. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  241. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  242. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  243. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  244. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,798 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package reddit.coreplatform.links.v1;
4
-
5
- import "reddit/api/metadata/v1/metadata.proto";
6
- import "reddit/coreplatform/api/metadata/v1/metadata.proto";
7
- import "reddit/coreplatform/comments/v1/comments.proto";
8
- import "reddit/coreplatform/common/v1/features.proto";
9
- import "reddit/coreplatform/common/v1/lang.proto";
10
- import "reddit/coreplatform/common/v1/legal.proto";
11
- import "reddit/coreplatform/common/v1/media.proto";
12
- import "reddit/coreplatform/common/v1/moderation.proto";
13
- import "reddit/coreplatform/common/v1/safety.proto";
14
-
15
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/links/v1;links";
16
- option java_multiple_files = true;
17
- option java_outer_classname = "LinksProto";
18
- option java_package = "com.reddit.coreplatform.api.links.v1";
19
-
20
- /* @exclude No documentation present when converted from Thrift to Proto */
21
- message Link {
22
- /* @exclude No documentation present when converted from Thrift to Proto */
23
- enum Type {
24
- /* @exclude No documentation present when converted from Thrift to Proto */
25
- TYPE_UNSPECIFIED = 0;
26
-
27
- /* @exclude No documentation present when converted from Thrift to Proto */
28
- TYPE_LINK = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
29
- name: "LINK"
30
- ordinal: 0,
31
- }];
32
-
33
- /* @exclude No documentation present when converted from Thrift to Proto */
34
- TYPE_SELF = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
35
- name: "SELF"
36
- ordinal: 1,
37
- }];
38
-
39
- /* @exclude No documentation present when converted from Thrift to Proto */
40
- TYPE_ANY = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
41
- name: "ANY"
42
- ordinal: 2,
43
- }];
44
- }
45
-
46
- /* @exclude No documentation present when converted from Thrift to Proto */
47
- enum ContentType {
48
- /* @exclude No documentation present when converted from Thrift to Proto */
49
- CONTENT_TYPE_UNSPECIFIED = 0;
50
-
51
- /* @exclude No documentation present when converted from Thrift to Proto */
52
- CONTENT_TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
53
- name: "NULL_VALUE"
54
- ordinal: 0,
55
- }];
56
-
57
- /* @exclude No documentation present when converted from Thrift to Proto */
58
- CONTENT_TYPE_SHORT_VIDEO = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
59
- name: "SHORT_VIDEO"
60
- ordinal: 1,
61
- }];
62
-
63
- /* @exclude No documentation present when converted from Thrift to Proto */
64
- // Reddit talk product is deprecated and no longer supported
65
- // Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
66
- CONTENT_TYPE_LIVE_AUDIO = 3 [
67
- deprecated = true,
68
- (reddit.coreplatform.api.metadata.v1.thrift_alias) = {
69
- name: "LIVE_AUDIO"
70
- ordinal: 2,
71
- }
72
- ];
73
- }
74
-
75
- /* @exclude No documentation present when converted from Thrift to Proto */
76
- string id = 1;
77
-
78
- /* @exclude No documentation present when converted from Thrift to Proto */
79
- int64 date = 2;
80
-
81
- /* @exclude No documentation present when converted from Thrift to Proto */
82
- bool deleted = 3;
83
-
84
- /* @exclude No documentation present when converted from Thrift to Proto */
85
- bool spam = 4;
86
-
87
- /* @exclude No documentation present when converted from Thrift to Proto */
88
- int32 ups = 5;
89
-
90
- /* @exclude No documentation present when converted from Thrift to Proto */
91
- int32 downs = 6;
92
-
93
- /* @exclude No documentation present when converted from Thrift to Proto */
94
- string title = 7;
95
-
96
- /* @exclude No documentation present when converted from Thrift to Proto */
97
- string author_id = 8;
98
-
99
- /* @exclude No documentation present when converted from Thrift to Proto */
100
- string subreddit_id = 9;
101
-
102
- /* @exclude No documentation present when converted from Thrift to Proto */
103
- bool nsfw = 10;
104
-
105
- /* @exclude No documentation present when converted from Thrift to Proto */
106
- bool spoiler = 11;
107
-
108
- /* @exclude No documentation present when converted from Thrift to Proto */
109
- string selftext = 12;
110
-
111
- /* @exclude No documentation present when converted from Thrift to Proto */
112
- string url = 13;
113
-
114
- /* @exclude No documentation present when converted from Thrift to Proto */
115
- LinkFlair flair = 14;
116
-
117
- /* @exclude No documentation present when converted from Thrift to Proto */
118
- bool locked = 15;
119
-
120
- /* @exclude No documentation present when converted from Thrift to Proto */
121
- int32 num_comments = 16;
122
-
123
- /* @exclude No documentation present when converted from Thrift to Proto */
124
- string sticky_comment_id = 17;
125
-
126
- /* @exclude No documentation present when converted from Thrift to Proto */
127
- repeated reddit.coreplatform.common.v1.LegalBlock legal_blocks = 18;
128
-
129
- /* @exclude No documentation present when converted from Thrift to Proto */
130
- string thumbnail_url = 19;
131
-
132
- /* @exclude No documentation present when converted from Thrift to Proto */
133
- int32 thumbnail_width = 20;
134
-
135
- /* @exclude No documentation present when converted from Thrift to Proto */
136
- int32 thumbnail_height = 21;
137
-
138
- /* @exclude No documentation present when converted from Thrift to Proto */
139
- bool is_self = 23;
140
-
141
- /* @exclude No documentation present when converted from Thrift to Proto */
142
- optional reddit.coreplatform.common.v1.PreviewObject preview_object = 24;
143
-
144
- /* @exclude No documentation present when converted from Thrift to Proto */
145
- bool is_archive_disabled = 26;
146
-
147
- //Please use is_created_from_ads_ui instead. Decision docs https://docs.google.com/document/d/1XzNJCA_T7Sp8szpef78F4uLA7clSNjajJU9N4HT-5tQ/edit#heading=h.zftlut8pxkvu
148
- bool is_promoted = 27 [deprecated = true];
149
-
150
- /* @exclude No documentation present when converted from Thrift to Proto */
151
- bool is_archived = 28;
152
-
153
- /* @exclude No documentation present when converted from Thrift to Proto */
154
- optional reddit.coreplatform.common.v1.MediaObject media_object = 29;
155
-
156
- /* @exclude No documentation present when converted from Thrift to Proto */
157
- bool is_video = 30;
158
-
159
- /* @exclude No documentation present when converted from Thrift to Proto */
160
- int32 display_score = 34;
161
-
162
- /* @exclude No documentation present when converted from Thrift to Proto */
163
- CrossPost crosspost = 35;
164
-
165
- /* @exclude No documentation present when converted from Thrift to Proto */
166
- bool admin_takedown = 36;
167
-
168
- /* @exclude No documentation present when converted from Thrift to Proto */
169
- bool allow_live_comments = 37;
170
-
171
- /* @exclude No documentation present when converted from Thrift to Proto */
172
- reddit.coreplatform.common.v1.ApprovalStatus approval_status = 38;
173
-
174
- /* @exclude No documentation present when converted from Thrift to Proto */
175
- bool approve_disabled = 39;
176
-
177
- /* @exclude No documentation present when converted from Thrift to Proto */
178
- reddit.coreplatform.common.v1.BanInfo ban_info = 40;
179
-
180
- /* @exclude No documentation present when converted from Thrift to Proto */
181
- string content_category = 41;
182
-
183
- /* @exclude No documentation present when converted from Thrift to Proto */
184
- bool contest_mode = 42;
185
-
186
- /* @exclude No documentation present when converted from Thrift to Proto */
187
- int64 cosmetic_downs = 43;
188
-
189
- /* @exclude No documentation present when converted from Thrift to Proto */
190
- int64 cosmetic_ups = 44;
191
-
192
- /* @exclude No documentation present when converted from Thrift to Proto */
193
- reddit.coreplatform.common.v1.DistinguishType distinguished = 45;
194
-
195
- /* @exclude No documentation present when converted from Thrift to Proto */
196
- string domain_override = 46;
197
-
198
- /* @exclude No documentation present when converted from Thrift to Proto */
199
- bool editable = 47;
200
-
201
- /* @exclude No documentation present when converted from Thrift to Proto */
202
- int64 last_edit_date = 48;
203
-
204
- /* @exclude No documentation present when converted from Thrift to Proto */
205
- int64 fake_downs = 49;
206
-
207
- /* @exclude No documentation present when converted from Thrift to Proto */
208
- int64 fake_ups = 50;
209
-
210
- /* @exclude No documentation present when converted from Thrift to Proto */
211
- int32 gildings = 51;
212
-
213
- /* @exclude No documentation present when converted from Thrift to Proto */
214
- bool has_been_stickied = 52;
215
-
216
- /* @exclude No documentation present when converted from Thrift to Proto */
217
- int64 ignored_downs = 53;
218
-
219
- /* @exclude No documentation present when converted from Thrift to Proto */
220
- int64 ignored_ups = 54;
221
-
222
- /* @exclude No documentation present when converted from Thrift to Proto */
223
- bool ignore_reports = 55;
224
-
225
- /* @exclude No documentation present when converted from Thrift to Proto */
226
- bool image_upload = 56;
227
-
228
- /* @exclude No documentation present when converted from Thrift to Proto */
229
- string ip = 57 [(reddit.api.metadata.v1.entity_field_metadata) = {
230
- sensitivity_level: SENSITIVITY_LEVEL_PII
231
- max_retention: {
232
- seconds: 7776000 // 90 Days
233
- }
234
- }];
235
-
236
- /* @exclude No documentation present when converted from Thrift to Proto */
237
- string keyword_targets = 58;
238
-
239
- /* @exclude No documentation present when converted from Thrift to Proto */
240
- double location_lat = 59;
241
-
242
- /* @exclude No documentation present when converted from Thrift to Proto */
243
- double location_long = 60;
244
-
245
- /* @exclude No documentation present when converted from Thrift to Proto */
246
- string location_name = 61;
247
-
248
- /* @exclude No documentation present when converted from Thrift to Proto */
249
- repeated string media_ids = 62;
250
-
251
- /* @exclude No documentation present when converted from Thrift to Proto */
252
- string media_url = 63;
253
-
254
- /* @exclude No documentation present when converted from Thrift to Proto */
255
- reddit.coreplatform.common.v1.MediaDimension mobile_ad_size = 64;
256
-
257
- /* @exclude No documentation present when converted from Thrift to Proto */
258
- string mobile_ad_url = 65;
259
-
260
- /* @exclude No documentation present when converted from Thrift to Proto */
261
- int32 num_crossposts = 66;
262
-
263
- /* @exclude No documentation present when converted from Thrift to Proto */
264
- bool original_content = 67;
265
-
266
- /* @exclude No documentation present when converted from Thrift to Proto */
267
- repeated string precomputed_sorts = 68 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
268
-
269
- /* @exclude No documentation present when converted from Thrift to Proto */
270
- int32 report_count = 69;
271
-
272
- /* @exclude No documentation present when converted from Thrift to Proto */
273
- bool selftext_is_richtext = 70;
274
-
275
- /* @exclude No documentation present when converted from Thrift to Proto */
276
- bool sendreplies = 71;
277
-
278
- /* @exclude No documentation present when converted from Thrift to Proto */
279
- repeated string server_names = 72;
280
-
281
- /* @exclude No documentation present when converted from Thrift to Proto */
282
- reddit.coreplatform.comments.v1.Comment.Sort suggested_sort = 73;
283
-
284
- /* @exclude No documentation present when converted from Thrift to Proto */
285
- bool unlisted = 74;
286
-
287
- /* @exclude No documentation present when converted from Thrift to Proto */
288
- reddit.coreplatform.common.v1.Verdict verdict = 75;
289
-
290
- /* @exclude No documentation present when converted from Thrift to Proto */
291
- int64 last_scraped = 76;
292
-
293
- /* @exclude No documentation present when converted from Thrift to Proto */
294
- string lang = 77;
295
-
296
- /* @exclude No documentation present when converted from Thrift to Proto */
297
- repeated int32 reports_approved = 78;
298
-
299
- /* @exclude No documentation present when converted from Thrift to Proto */
300
- repeated int32 reports_made = 79;
301
-
302
- /* @exclude No documentation present when converted from Thrift to Proto */
303
- repeated int32 reports_rejected = 80;
304
-
305
- /* @exclude No documentation present when converted from Thrift to Proto */
306
- bool media_only = 81;
307
-
308
- /* @exclude No documentation present when converted from Thrift to Proto */
309
- double abuse_score = 82;
310
-
311
- /* @exclude No documentation present when converted from Thrift to Proto */
312
- double nsfw_score = 83;
313
-
314
- /* @exclude No documentation present when converted from Thrift to Proto */
315
- bool media_is_processed = 84;
316
-
317
- /* @exclude No documentation present when converted from Thrift to Proto */
318
- bool author_request_has_loid = 86;
319
-
320
- /* @exclude No documentation present when converted from Thrift to Proto */
321
- string author_request_organization = 87;
322
-
323
- /* @exclude No documentation present when converted from Thrift to Proto */
324
- bool request_has_loid = 89;
325
-
326
- /* @exclude No documentation present when converted from Thrift to Proto */
327
- string request_organization = 90;
328
-
329
- /* @exclude No documentation present when converted from Thrift to Proto */
330
- string call_to_action = 91;
331
-
332
- /* @exclude No documentation present when converted from Thrift to Proto */
333
- repeated string third_party_trackers = 92;
334
-
335
- /* @exclude No documentation present when converted from Thrift to Proto */
336
- string iframe_embed_url = 93;
337
-
338
- /* @exclude No documentation present when converted from Thrift to Proto */
339
- bool media_override = 94;
340
-
341
- /* @exclude No documentation present when converted from Thrift to Proto */
342
- bool media_autoplay = 95;
343
-
344
- /* @exclude No documentation present when converted from Thrift to Proto */
345
- int32 gildings_silver = 96;
346
-
347
- /* @exclude No documentation present when converted from Thrift to Proto */
348
- int32 gildings_supergold = 97;
349
-
350
- /* @exclude No documentation present when converted from Thrift to Proto */
351
- bool author_request_from_tor = 98;
352
-
353
- /* @exclude No documentation present when converted from Thrift to Proto */
354
- bool request_from_tor = 99;
355
-
356
- /* @exclude No documentation present when converted from Thrift to Proto */
357
- int64 event_start = 100;
358
-
359
- /* @exclude No documentation present when converted from Thrift to Proto */
360
- int64 event_end = 101;
361
-
362
- /* @exclude No documentation present when converted from Thrift to Proto */
363
- bool is_meta = 102;
364
-
365
- /* @exclude No documentation present when converted from Thrift to Proto */
366
- repeated string collection_ids = 103;
367
-
368
- /* @exclude No documentation present when converted from Thrift to Proto */
369
- string delete_message = 104;
370
-
371
- /* @exclude No documentation present when converted from Thrift to Proto */
372
- int64 delete_time = 105;
373
-
374
- /* @exclude No documentation present when converted from Thrift to Proto */
375
- bool expunged = 106;
376
-
377
- /* @exclude No documentation present when converted from Thrift to Proto */
378
- int64 expunge_time = 107;
379
-
380
- /* @exclude No documentation present when converted from Thrift to Proto */
381
- int32 revenue_bucket = 108;
382
-
383
- /* @exclude No documentation present when converted from Thrift to Proto */
384
- int64 revenue_date = 109;
385
-
386
- /* @exclude No documentation present when converted from Thrift to Proto */
387
- bool has_tags = 110;
388
-
389
- /* @exclude No documentation present when converted from Thrift to Proto */
390
- string media_to_expunge = 111;
391
-
392
- /* @exclude No documentation present when converted from Thrift to Proto */
393
- int32 seq_chapter = 112;
394
-
395
- /* @exclude No documentation present when converted from Thrift to Proto */
396
- int32 seq_scene = 113;
397
-
398
- /* @exclude No documentation present when converted from Thrift to Proto */
399
- int32 num_awardings = 114;
400
-
401
- /* @exclude No documentation present when converted from Thrift to Proto */
402
- int64 stream_start = 115;
403
-
404
- /* @exclude No documentation present when converted from Thrift to Proto */
405
- int64 stream_end = 116;
406
-
407
- /* @exclude No documentation present when converted from Thrift to Proto */
408
- DiscussionType discussion_type = 117;
409
-
410
- /* @exclude No documentation present when converted from Thrift to Proto */
411
- GrapeshotClassification in_feed_classification = 118;
412
-
413
- /* @exclude No documentation present when converted from Thrift to Proto */
414
- GrapeshotClassification comments_page_classification = 119;
415
-
416
- /* @exclude No documentation present when converted from Thrift to Proto */
417
- string destination_url = 120;
418
-
419
- /* @exclude No documentation present when converted from Thrift to Proto */
420
- string admin_takedown_reason = 121;
421
-
422
- /* @exclude No documentation present when converted from Thrift to Proto */
423
- bool is_poll = 122;
424
-
425
- /* @exclude No documentation present when converted from Thrift to Proto */
426
- RemovedByType removed_by = 123;
427
-
428
- /* @exclude No documentation present when converted from Thrift to Proto */
429
- reddit.coreplatform.common.v1.RpanVideo rpan_video = 124 [deprecated = true];
430
-
431
- /* @exclude No documentation present when converted from Thrift to Proto */
432
- map<string, double> perspective_scores_title = 125;
433
-
434
- /* @exclude No documentation present when converted from Thrift to Proto */
435
- map<string, double> perspective_scores_selftext = 126;
436
-
437
- /* @exclude No documentation present when converted from Thrift to Proto */
438
- reddit.coreplatform.common.v1.CrowdControlLevel crowd_control_level = 127;
439
-
440
- /* @exclude No documentation present when converted from Thrift to Proto */
441
- bool is_gallery = 128;
442
-
443
- /* @exclude No documentation present when converted from Thrift to Proto */
444
- string og_title = 129;
445
-
446
- /* @exclude No documentation present when converted from Thrift to Proto */
447
- string og_description = 130;
448
-
449
- /* @exclude No documentation present when converted from Thrift to Proto */
450
- bool is_tracking_crossposts = 131;
451
-
452
- /* @exclude No documentation present when converted from Thrift to Proto */
453
- ContentType link_content_type = 132;
454
-
455
- /* @exclude No documentation present when converted from Thrift to Proto */
456
- string short_video_comment_id = 133;
457
-
458
- /* @exclude No documentation present when converted from Thrift to Proto */
459
- bool is_created_from_ads_ui = 134;
460
-
461
- /* @exclude No documentation present when converted from Thrift to Proto */
462
- string prediction_tournament_id = 135;
463
-
464
- /* @exclude No documentation present when converted from Thrift to Proto */
465
- // Reddit talk product is deprecated and no longer supported
466
- // Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
467
- LiveAudio live_audio = 136 [deprecated = true];
468
-
469
- /* @exclude No documentation present when converted from Thrift to Proto */
470
- bool is_prediction = 137;
471
-
472
- /* @exclude No documentation present when converted from Thrift to Proto */
473
- string cta_media_color = 138;
474
-
475
- /* @exclude No documentation present when converted from Thrift to Proto */
476
- bool crowd_control_filter = 139;
477
-
478
- /* @exclude No documentation present when converted from Thrift to Proto */
479
- reddit.coreplatform.common.v1.SafetyXTag safety_x_tag = 140;
480
-
481
- /* @exclude No documentation present when converted from Thrift to Proto */
482
- enum PromoLayout {
483
- /* @exclude No documentation present when converted from Thrift to Proto */
484
- PROMO_LAYOUT_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
485
- name: "UNKNOWN"
486
- ordinal: 0,
487
- }];
488
-
489
- /* @exclude No documentation present when converted from Thrift to Proto */
490
- PROMO_LAYOUT_SPOTLIGHT_VIDEO = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
491
- name: "SPOTLIGHT_VIDEO"
492
- ordinal: 1,
493
- }];
494
-
495
- /* @exclude No documentation present when converted from Thrift to Proto */
496
- PROMO_LAYOUT_PRODUCT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
497
- name: "PRODUCT"
498
- ordinal: 2,
499
- }];
500
- }
501
-
502
- /* @exclude No documentation present when converted from Thrift to Proto */
503
- PromoLayout promo_layout = 141;
504
-
505
- /* @exclude No documentation present when converted from Thrift to Proto */
506
- Product product = 142;
507
-
508
- /* @exclude No documentation present when converted from Thrift to Proto */
509
- string ad_supplementary_text_md = 143;
510
-
511
- /* @exclude No documentation present when converted from Thrift to Proto */
512
- reddit.coreplatform.common.v1.SafetyVTag safety_v_tag = 144;
513
-
514
- /* @exclude No documentation present when converted from Thrift to Proto */
515
- PromotedUserPosts ad_promoted_user_posts = 145;
516
-
517
- /* @exclude No documentation present when converted from Thrift to Proto */
518
- repeated reddit.coreplatform.common.v1.DetectedLanguage detected_languages = 146;
519
-
520
- // Contains whether this comment was made "for commercial intent" so clients can
521
- // mark this content as being sponsored
522
- // Design document: https://docs.google.com/document/d/1gIAwynDBcBKNG8YB38InJo3XEeEKkDcfN5C47_A_vjg/edit#heading=h.ouoexgnkzdml
523
- bool is_commercial_communication = 147;
524
-
525
- // Includes metadata for event-type posts like AMAs
526
- // Design document: https://docs.google.com/document/d/1UTNKefRe8O2y7lIyBCCxnfrzYU57cJ4FY9ID4xXn2DY/edit
527
- PostEventMetadata post_event_metadata = 148;
528
- }
529
-
530
- /* @exclude No documentation present when converted from Thrift to Proto */
531
- message LinkFlair {
532
- /* @exclude No documentation present when converted from Thrift to Proto */
533
- optional string text = 1;
534
-
535
- /* @exclude No documentation present when converted from Thrift to Proto */
536
- optional string css_class = 2;
537
-
538
- /* @exclude No documentation present when converted from Thrift to Proto */
539
- optional string background_color = 3;
540
-
541
- /* @exclude No documentation present when converted from Thrift to Proto */
542
- optional string template_id = 4;
543
-
544
- /* @exclude No documentation present when converted from Thrift to Proto */
545
- optional string text_color = 5;
546
- }
547
-
548
- /* @exclude No documentation present when converted from Thrift to Proto */
549
- enum DiscussionType {
550
- /* @exclude No documentation present when converted from Thrift to Proto */
551
- DISCUSSION_TYPE_UNSPECIFIED = 0;
552
-
553
- /* @exclude No documentation present when converted from Thrift to Proto */
554
- DISCUSSION_TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
555
- name: "NULL_VALUE"
556
- ordinal: 0,
557
- }];
558
-
559
- /* @exclude No documentation present when converted from Thrift to Proto */
560
- DISCUSSION_TYPE_CHAT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
561
- name: "CHAT"
562
- ordinal: 1,
563
- }];
564
- }
565
-
566
- /* @exclude No documentation present when converted from Thrift to Proto */
567
- message GrapeshotClassification {
568
- /* @exclude No documentation present when converted from Thrift to Proto */
569
- repeated string violations = 1 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
570
-
571
- /* @exclude No documentation present when converted from Thrift to Proto */
572
- repeated string segments = 2 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
573
-
574
- /* @exclude No documentation present when converted from Thrift to Proto */
575
- optional int64 last_requested = 3;
576
-
577
- /* @exclude No documentation present when converted from Thrift to Proto */
578
- optional int64 last_modified = 4;
579
- }
580
-
581
- /* @exclude No documentation present when converted from Thrift to Proto */
582
- // Reddit talk product is deprecated and no longer supported
583
- // Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
584
- message LiveAudio {
585
- option deprecated = true;
586
-
587
- /* @exclude No documentation present when converted from Thrift to Proto */
588
- optional string room_id = 1;
589
-
590
- /* @exclude No documentation present when converted from Thrift to Proto */
591
- optional bool is_live = 2;
592
-
593
- /* @exclude No documentation present when converted from Thrift to Proto */
594
- optional int32 recording_duration_seconds = 3;
595
-
596
- /* @exclude No documentation present when converted from Thrift to Proto */
597
- AudioRecordingStatus recording_status = 4;
598
-
599
- /* @exclude No documentation present when converted from Thrift to Proto */
600
- optional string recording_hls_url = 5;
601
-
602
- /* @exclude No documentation present when converted from Thrift to Proto */
603
- optional string recording_dash_url = 6;
604
-
605
- /* @exclude No documentation present when converted from Thrift to Proto */
606
- optional string recording_fallback_url = 7;
607
-
608
- /* @exclude No documentation present when converted from Thrift to Proto */
609
- optional AudioRoomStatus room_status = 8;
610
- }
611
-
612
- /* @exclude No documentation present when converted from Thrift to Proto */
613
- // Reddit talk product is deprecated and no longer supported
614
- // Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
615
- enum AudioRecordingStatus {
616
- option deprecated = true;
617
- /* @exclude No documentation present when converted from Thrift to Proto */
618
- AUDIO_RECORDING_STATUS_UNSPECIFIED = 0;
619
-
620
- /* @exclude No documentation present when converted from Thrift to Proto */
621
- AUDIO_RECORDING_STATUS_NOT_AVAILABLE = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
622
- name: "NOT_AVAILABLE"
623
- ordinal: 0,
624
- }];
625
-
626
- /* @exclude No documentation present when converted from Thrift to Proto */
627
- AUDIO_RECORDING_STATUS_PROCESSING = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
628
- name: "PROCESSING"
629
- ordinal: 1,
630
- }];
631
-
632
- /* @exclude No documentation present when converted from Thrift to Proto */
633
- AUDIO_RECORDING_STATUS_AVAILABLE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
634
- name: "AVAILABLE"
635
- ordinal: 2,
636
- }];
637
-
638
- /* @exclude No documentation present when converted from Thrift to Proto */
639
- AUDIO_RECORDING_STATUS_REMOVED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
640
- name: "REMOVED"
641
- ordinal: 3,
642
- }];
643
- }
644
-
645
- /* @exclude No documentation present when converted from Thrift to Proto */
646
- // Reddit talk product is deprecated and no longer supported
647
- // Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
648
- enum AudioRoomStatus {
649
- option deprecated = true;
650
-
651
- /* @exclude No documentation present when converted from Thrift to Proto */
652
- AUDIO_ROOM_STATUS_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
653
- name: "UNSPECIFIED"
654
- ordinal: 0,
655
- }];
656
-
657
- /* @exclude No documentation present when converted from Thrift to Proto */
658
- AUDIO_ROOM_STATUS_NOT_CREATED = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
659
- name: "NOT_CREATED"
660
- ordinal: 1,
661
- }];
662
-
663
- /* @exclude No documentation present when converted from Thrift to Proto */
664
- AUDIO_ROOM_STATUS_SCHEDULED = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
665
- name: "SCHEDULED"
666
- ordinal: 2,
667
- }];
668
- /* @exclude No documentation present when converted from Thrift to Proto */
669
- AUDIO_ROOM_STATUS_IN_PROGRESS = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
670
- name: "IN_PROGRESS"
671
- ordinal: 3,
672
- }];
673
- /* @exclude No documentation present when converted from Thrift to Proto */
674
- AUDIO_ROOM_STATUS_ENDED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
675
- name: "ENDED"
676
- ordinal: 4,
677
- }];
678
- }
679
-
680
- // Specifies what event type this post is
681
- enum PostEventType {
682
- // No event type was specified or set
683
- POST_EVENT_TYPE_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
684
- name: "UNKNOWN"
685
- ordinal: 0,
686
- }];
687
-
688
- // Ask Me Anything posts, where hosts answer questions in the comments
689
- POST_EVENT_TYPE_AMA = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
690
- name: "AMA"
691
- ordinal: 1,
692
- }];
693
- }
694
-
695
- // Includes metadata for event-type posts like AMAs
696
- // Design document: https://docs.google.com/document/d/1UTNKefRe8O2y7lIyBCCxnfrzYU57cJ4FY9ID4xXn2DY/edit
697
- message PostEventMetadata {
698
- // Distinguishes between different types of event posts
699
- PostEventType type = 1;
700
-
701
- // Collaborators are users with special privileges in events (like being able to answer AMA questions)
702
- // Design document: https://docs.google.com/document/d/1BYtB8azFDNxQRrL0_lrM_6vEwG3UGBq_eZm9AtVCtBc/edit
703
- repeated string collaborator_ids = 2;
704
- }
705
-
706
- /* @exclude No documentation present when converted from Thrift to Proto */
707
- message PromotedUserPost {
708
- /* @exclude No documentation present when converted from Thrift to Proto */
709
- string post_id = 1;
710
- }
711
-
712
- /* @exclude No documentation present when converted from Thrift to Proto */
713
- message PromotedUserPosts {
714
- /* @exclude No documentation present when converted from Thrift to Proto */
715
- repeated PromotedUserPost promoted_posts = 1;
716
- }
717
-
718
- /* @exclude No documentation present when converted from Thrift to Proto */
719
- message Product {
720
- /* @exclude No documentation present when converted from Thrift to Proto */
721
- optional string title = 1;
722
- /* @exclude No documentation present when converted from Thrift to Proto */
723
- optional string price = 2;
724
- /* @exclude No documentation present when converted from Thrift to Proto */
725
- optional string description = 3;
726
- }
727
-
728
- /* @exclude No documentation present when converted from Thrift to Proto */
729
- enum RemovedByType {
730
- /* @exclude No documentation present when converted from Thrift to Proto */
731
- REMOVED_BY_TYPE_UNSPECIFIED = 0;
732
-
733
- /* @exclude No documentation present when converted from Thrift to Proto */
734
- REMOVED_BY_TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
735
- name: "NULL_VALUE"
736
- ordinal: 0,
737
- }];
738
-
739
- /* @exclude No documentation present when converted from Thrift to Proto */
740
- REMOVED_BY_TYPE_COPYRIGHT_TAKEDOWN = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
741
- name: "COPYRIGHT_TAKEDOWN"
742
- ordinal: 1,
743
- }];
744
-
745
- /* @exclude No documentation present when converted from Thrift to Proto */
746
- REMOVED_BY_TYPE_CONTENT_TAKEDOWN = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
747
- name: "CONTENT_TAKEDOWN"
748
- ordinal: 2,
749
- }];
750
-
751
- /* @exclude No documentation present when converted from Thrift to Proto */
752
- REMOVED_BY_TYPE_AUTHOR = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
753
- name: "AUTHOR"
754
- ordinal: 3,
755
- }];
756
-
757
- /* @exclude No documentation present when converted from Thrift to Proto */
758
- REMOVED_BY_TYPE_MODERATOR = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
759
- name: "MODERATOR"
760
- ordinal: 4,
761
- }];
762
-
763
- /* @exclude No documentation present when converted from Thrift to Proto */
764
- REMOVED_BY_TYPE_COMMUNITY_OPS = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
765
- name: "COMMUNITY_OPS"
766
- ordinal: 5,
767
- }];
768
-
769
- /* @exclude No documentation present when converted from Thrift to Proto */
770
- REMOVED_BY_TYPE_ANTI_EVIL_OPS = 7 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
771
- name: "ANTI_EVIL_OPS"
772
- ordinal: 6,
773
- }];
774
-
775
- /* @exclude No documentation present when converted from Thrift to Proto */
776
- REMOVED_BY_TYPE_REDDIT = 8 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
777
- name: "REDDIT"
778
- ordinal: 7,
779
- }];
780
-
781
- /* @exclude No documentation present when converted from Thrift to Proto */
782
- REMOVED_BY_TYPE_DELETED = 9 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
783
- name: "DELETED"
784
- ordinal: 8,
785
- }];
786
-
787
- /* @exclude No documentation present when converted from Thrift to Proto */
788
- REMOVED_BY_TYPE_AUTOMOD_FILTERED = 10 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
789
- name: "AUTOMOD_FILTERED"
790
- ordinal: 9,
791
- }];
792
- }
793
-
794
- /* @exclude No documentation present when converted from Thrift to Proto */
795
- message CrossPost {
796
- /* @exclude No documentation present when converted from Thrift to Proto */
797
- string root_link_id = 1;
798
- }