@devvit/protos 0.11.13-next-2025-04-21-1f6713d72.0 → 0.11.13

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 (231) hide show
  1. package/package.json +5 -5
  2. package/schema/devvit/ui/effects/web_view/v1alpha/post_message.proto +2 -4
  3. package/schema/snootobuf.devenv.lock +54 -104
  4. package/schema/snootobuf.lock +54 -104
  5. package/schema/snootobuf.redditapi.lock +54 -104
  6. package/schema/snootobuf.ts.lock +54 -104
  7. package/types/devvit/ui/effects/web_view/v1alpha/post_message.d.ts +4 -6
  8. package/types/devvit/ui/effects/web_view/v1alpha/post_message.d.ts.map +1 -1
  9. package/types/devvit/ui/effects/web_view/v1alpha/post_message.js +1 -15
  10. package/meta.min.json +0 -7869
  11. package/protos.min.js +0 -2
  12. package/protos.min.js.map +0 -7
  13. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  14. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  15. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  16. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  17. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  18. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  19. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  20. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  21. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  22. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  23. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  24. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  25. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  26. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  27. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  28. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  29. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  30. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  31. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  32. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  33. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  34. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  35. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  36. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  37. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  38. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  39. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  40. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  41. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  42. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  43. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  44. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  45. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  46. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  47. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  48. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  49. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  50. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  51. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  52. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  53. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  54. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  55. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  56. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  57. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  58. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  59. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  60. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  61. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  62. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  63. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  64. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  65. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  66. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  67. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  68. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  69. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  70. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  71. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  72. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  73. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  74. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  75. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  76. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  77. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  78. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  79. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  80. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  81. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  82. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  83. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  84. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  85. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  86. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  87. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  88. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  89. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  90. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  91. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  92. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  93. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  94. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  95. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  96. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  97. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  98. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  99. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  100. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  101. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  102. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  103. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  104. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  105. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  106. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  107. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  108. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  109. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  110. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  111. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  112. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  113. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  114. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  115. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  116. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  117. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  118. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  119. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  120. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  121. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  122. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  123. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  124. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  125. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  126. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  127. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  128. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  129. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  130. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  131. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  132. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  133. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  134. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  135. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  136. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  137. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  138. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  139. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  140. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  141. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  142. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  143. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  144. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  145. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  146. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  147. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  148. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  149. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  150. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  151. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  152. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  153. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  154. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  155. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  156. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  157. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  158. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  159. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  160. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  161. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  162. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  163. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  164. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  165. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  166. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  167. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  168. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  169. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  170. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  171. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  172. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  173. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  174. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  175. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  176. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  177. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  178. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  179. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  180. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  181. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  182. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  183. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  184. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  185. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  186. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  187. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  188. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  189. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  190. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  191. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  192. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  193. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  194. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  195. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  196. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  197. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  198. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  199. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  200. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  201. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  202. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  203. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  204. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  205. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  206. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  207. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  208. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  209. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  210. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  211. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  212. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  229. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  230. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  231. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/protos",
3
- "version": "0.11.13-next-2025-04-21-1f6713d72.0",
3
+ "version": "0.11.13",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@ampproject/filesize": "4.3.0",
48
- "@devvit/repo-tools": "0.11.13-next-2025-04-21-1f6713d72.0",
49
- "@devvit/tsconfig": "0.11.13-next-2025-04-21-1f6713d72.0",
48
+ "@devvit/repo-tools": "0.11.13",
49
+ "@devvit/tsconfig": "0.11.13",
50
50
  "@protobuf-ts/plugin": "2.9.3",
51
51
  "@types/long": "4.0.2",
52
52
  "chokidar-cli": "3.0.0",
@@ -56,7 +56,7 @@
56
56
  "ts-proto": "1.172.0",
57
57
  "twirp-ts": "2.5.0",
58
58
  "typescript": "5.3.2",
59
- "vitest": "1.6.1"
59
+ "vitest": "1.6.0"
60
60
  },
61
61
  "publishConfig": {
62
62
  "directory": "dist"
@@ -80,5 +80,5 @@
80
80
  ]
81
81
  }
82
82
  },
83
- "gitHead": "e48bca2acc8212a67643a5fdbf65ab464e34104c"
83
+ "gitHead": "6ebae441926485519748aff1791abc444ddf4f12"
84
84
  }
@@ -12,9 +12,9 @@ enum WebViewInternalMessageScope {
12
12
  CLIENT = 0;
13
13
  }
14
14
 
15
- // Devvit internal message, sent via postMessage
15
+ // Internal message, sent by web-view-scripts via postMessage
16
+ // type: devvit-internal
16
17
  message WebViewInternalMessage {
17
- // type: devvit-internal
18
18
  string type = 1;
19
19
  // Scope of the message, used to determine where the message should be sent
20
20
  WebViewInternalMessageScope scope = 2;
@@ -22,8 +22,6 @@ message WebViewInternalMessage {
22
22
  oneof options {
23
23
  // Origin: devvit-analytics
24
24
  google.protobuf.Struct analytics = 3;
25
- // Origin: devvit-client
26
- google.protobuf.Struct effect = 4;
27
25
  }
28
26
  }
29
27
 
@@ -1,5 +1,5 @@
1
1
  ## Code generated by protoc, converted to text by Snootobuf. DO NOT EDIT.
2
- ## checksum: 9e9838e13b71255a91df7c0f9723ab4fe7b01b93a04a2c155315385e31fbf681
2
+ ## checksum: 837dd7cf8f8d7bcf8a19083896f5b50a2f475dd1680fab01d95f9d73a53024ee
3
3
 
4
4
  file: {
5
5
  message_type: {
@@ -73991,15 +73991,6 @@ file: {
73991
73991
  type: TYPE_MESSAGE
73992
73992
  type_name: ".google.protobuf.Struct"
73993
73993
  }
73994
- field: {
73995
- json_name: "effect"
73996
- label: LABEL_OPTIONAL
73997
- name: "effect"
73998
- number: 4
73999
- oneof_index: 0
74000
- type: TYPE_MESSAGE
74001
- type_name: ".google.protobuf.Struct"
74002
- }
74003
73994
  name: "WebViewInternalMessage"
74004
73995
  oneof_decl: {
74005
73996
  name: "options"
@@ -74099,7 +74090,7 @@ file: {
74099
74090
  span: 0
74100
74091
  span: 0
74101
74092
  span: 1
74102
- span: 91
74093
+ span: 89
74103
74094
  }
74104
74095
  location: {
74105
74096
  path: 12
@@ -74193,24 +74184,23 @@ file: {
74193
74184
  span: 12
74194
74185
  }
74195
74186
  location: {
74196
- leading_comments: " Devvit internal message, sent via postMessage\n"
74187
+ leading_comments: " Internal message, sent by web-view-scripts via postMessage\n type: devvit-internal\n"
74197
74188
  path: 0
74198
74189
  path: 4
74199
74190
  span: 0
74200
74191
  span: 1
74201
- span: 15
74202
- span: 27
74192
+ span: 16
74193
+ span: 25
74203
74194
  }
74204
74195
  location: {
74205
74196
  path: 0
74206
74197
  path: 1
74207
74198
  path: 4
74208
- span: 15
74199
+ span: 16
74209
74200
  span: 30
74210
74201
  span: 8
74211
74202
  }
74212
74203
  location: {
74213
- leading_comments: " type: devvit-internal\n"
74214
74204
  path: 0
74215
74205
  path: 0
74216
74206
  path: 2
@@ -74296,7 +74286,7 @@ file: {
74296
74286
  path: 8
74297
74287
  span: 2
74298
74288
  span: 21
74299
- span: 26
74289
+ span: 24
74300
74290
  span: 3
74301
74291
  }
74302
74292
  location: {
@@ -74349,46 +74339,6 @@ file: {
74349
74339
  span: 39
74350
74340
  span: 40
74351
74341
  }
74352
- location: {
74353
- leading_comments: " Origin: devvit-client\n"
74354
- path: 0
74355
- path: 2
74356
- path: 3
74357
- path: 4
74358
- span: 25
74359
- span: 38
74360
- span: 4
74361
- }
74362
- location: {
74363
- path: 0
74364
- path: 2
74365
- path: 3
74366
- path: 4
74367
- path: 6
74368
- span: 25
74369
- span: 26
74370
- span: 4
74371
- }
74372
- location: {
74373
- path: 0
74374
- path: 1
74375
- path: 2
74376
- path: 3
74377
- path: 4
74378
- span: 25
74379
- span: 27
74380
- span: 33
74381
- }
74382
- location: {
74383
- path: 0
74384
- path: 2
74385
- path: 3
74386
- path: 3
74387
- path: 4
74388
- span: 25
74389
- span: 36
74390
- span: 37
74391
- }
74392
74342
  location: {
74393
74343
  leading_comments: " Structure of messages sent via postMessage\n"
74394
74344
  leading_detached_comments: " Each message described below here will be converted to a Struct and sent to a WebView wrapped in a WebViewPostMessage:\n Example, sending WebViewAppMessage:\n {\n type: 'devvit-message',\n data: {\n message: 'Foo'\n }\n }\n"
@@ -74396,15 +74346,15 @@ file: {
74396
74346
  path: 4
74397
74347
  span: 0
74398
74348
  span: 1
74399
- span: 39
74400
- span: 44
74349
+ span: 37
74350
+ span: 42
74401
74351
  }
74402
74352
  location: {
74403
74353
  path: 1
74404
74354
  path: 1
74405
74355
  path: 4
74406
74356
  span: 26
74407
- span: 39
74357
+ span: 37
74408
74358
  span: 8
74409
74359
  }
74410
74360
  location: {
@@ -74415,7 +74365,7 @@ file: {
74415
74365
  path: 4
74416
74366
  span: 18
74417
74367
  span: 2
74418
- span: 41
74368
+ span: 39
74419
74369
  }
74420
74370
  location: {
74421
74371
  path: 0
@@ -74424,7 +74374,7 @@ file: {
74424
74374
  path: 4
74425
74375
  path: 5
74426
74376
  span: 2
74427
- span: 41
74377
+ span: 39
74428
74378
  span: 8
74429
74379
  }
74430
74380
  location: {
@@ -74434,7 +74384,7 @@ file: {
74434
74384
  path: 2
74435
74385
  path: 4
74436
74386
  span: 13
74437
- span: 41
74387
+ span: 39
74438
74388
  span: 9
74439
74389
  }
74440
74390
  location: {
@@ -74445,7 +74395,7 @@ file: {
74445
74395
  path: 4
74446
74396
  span: 16
74447
74397
  span: 17
74448
- span: 41
74398
+ span: 39
74449
74399
  }
74450
74400
  location: {
74451
74401
  leading_comments: " One of the following messages converted to a Struct\n"
@@ -74455,7 +74405,7 @@ file: {
74455
74405
  path: 4
74456
74406
  span: 2
74457
74407
  span: 34
74458
- span: 43
74408
+ span: 41
74459
74409
  }
74460
74410
  location: {
74461
74411
  path: 1
@@ -74465,7 +74415,7 @@ file: {
74465
74415
  path: 6
74466
74416
  span: 2
74467
74417
  span: 24
74468
- span: 43
74418
+ span: 41
74469
74419
  }
74470
74420
  location: {
74471
74421
  path: 1
@@ -74475,7 +74425,7 @@ file: {
74475
74425
  path: 4
74476
74426
  span: 25
74477
74427
  span: 29
74478
- span: 43
74428
+ span: 41
74479
74429
  }
74480
74430
  location: {
74481
74431
  path: 1
@@ -74485,7 +74435,7 @@ file: {
74485
74435
  path: 4
74486
74436
  span: 32
74487
74437
  span: 33
74488
- span: 43
74438
+ span: 41
74489
74439
  }
74490
74440
  location: {
74491
74441
  leading_comments: " Arbitrary message, sent by app via effect\n type: devvit-message\n"
@@ -74493,15 +74443,15 @@ file: {
74493
74443
  path: 4
74494
74444
  span: 0
74495
74445
  span: 1
74496
- span: 48
74497
- span: 55
74446
+ span: 46
74447
+ span: 53
74498
74448
  }
74499
74449
  location: {
74500
74450
  path: 1
74501
74451
  path: 2
74502
74452
  path: 4
74503
74453
  span: 25
74504
- span: 48
74454
+ span: 46
74505
74455
  span: 8
74506
74456
  }
74507
74457
  location: {
@@ -74512,7 +74462,7 @@ file: {
74512
74462
  path: 4
74513
74463
  span: 2
74514
74464
  span: 36
74515
- span: 51
74465
+ span: 49
74516
74466
  }
74517
74467
  location: {
74518
74468
  path: 0
@@ -74522,7 +74472,7 @@ file: {
74522
74472
  path: 6
74523
74473
  span: 2
74524
74474
  span: 23
74525
- span: 51
74475
+ span: 49
74526
74476
  }
74527
74477
  location: {
74528
74478
  path: 0
@@ -74532,7 +74482,7 @@ file: {
74532
74482
  path: 4
74533
74483
  span: 24
74534
74484
  span: 31
74535
- span: 51
74485
+ span: 49
74536
74486
  }
74537
74487
  location: {
74538
74488
  path: 0
@@ -74542,7 +74492,7 @@ file: {
74542
74492
  path: 4
74543
74493
  span: 34
74544
74494
  span: 35
74545
- span: 51
74495
+ span: 49
74546
74496
  }
74547
74497
  location: {
74548
74498
  leading_comments: " JSON string payload\n"
@@ -74552,7 +74502,7 @@ file: {
74552
74502
  path: 4
74553
74503
  span: 2
74554
74504
  span: 34
74555
- span: 54
74505
+ span: 52
74556
74506
  }
74557
74507
  location: {
74558
74508
  path: 1
@@ -74562,7 +74512,7 @@ file: {
74562
74512
  path: 4
74563
74513
  span: 10
74564
74514
  span: 2
74565
- span: 54
74515
+ span: 52
74566
74516
  }
74567
74517
  location: {
74568
74518
  path: 1
@@ -74572,7 +74522,7 @@ file: {
74572
74522
  path: 5
74573
74523
  span: 11
74574
74524
  span: 17
74575
- span: 54
74525
+ span: 52
74576
74526
  }
74577
74527
  location: {
74578
74528
  path: 1
@@ -74582,7 +74532,7 @@ file: {
74582
74532
  path: 4
74583
74533
  span: 18
74584
74534
  span: 29
74585
- span: 54
74535
+ span: 52
74586
74536
  }
74587
74537
  location: {
74588
74538
  path: 1
@@ -74592,7 +74542,7 @@ file: {
74592
74542
  path: 4
74593
74543
  span: 32
74594
74544
  span: 33
74595
- span: 54
74545
+ span: 52
74596
74546
  }
74597
74547
  location: {
74598
74548
  leading_comments: " Used to pass stateful data into a WebView\n type: devvit-state\n @deprecated\n"
@@ -74600,15 +74550,15 @@ file: {
74600
74550
  path: 4
74601
74551
  span: 0
74602
74552
  span: 1
74553
+ span: 58
74603
74554
  span: 60
74604
- span: 62
74605
74555
  }
74606
74556
  location: {
74607
74557
  path: 1
74608
74558
  path: 3
74609
74559
  path: 4
74610
74560
  span: 27
74611
- span: 60
74561
+ span: 58
74612
74562
  span: 8
74613
74563
  }
74614
74564
  location: {
@@ -74618,7 +74568,7 @@ file: {
74618
74568
  path: 4
74619
74569
  span: 2
74620
74570
  span: 35
74621
- span: 61
74571
+ span: 59
74622
74572
  }
74623
74573
  location: {
74624
74574
  path: 0
@@ -74628,7 +74578,7 @@ file: {
74628
74578
  path: 6
74629
74579
  span: 2
74630
74580
  span: 24
74631
- span: 61
74581
+ span: 59
74632
74582
  }
74633
74583
  location: {
74634
74584
  path: 0
@@ -74638,7 +74588,7 @@ file: {
74638
74588
  path: 4
74639
74589
  span: 25
74640
74590
  span: 30
74641
- span: 61
74591
+ span: 59
74642
74592
  }
74643
74593
  location: {
74644
74594
  path: 0
@@ -74648,7 +74598,7 @@ file: {
74648
74598
  path: 4
74649
74599
  span: 33
74650
74600
  span: 34
74651
- span: 61
74601
+ span: 59
74652
74602
  }
74653
74603
  location: {
74654
74604
  leading_detached_comments: " TODO: Add once UI messages are properly organized out of the block_kit package.\n This is creating an import cycle in golang and cannot be compiled.\n Used to inform a WebView of client environment changes\n type: devvit-environment\n message WebViewUIEnvironmentMessage {\n devvit.ui.block_kit.v1beta.UIEnvironment environment = 1;\n }\n"
@@ -74657,16 +74607,16 @@ file: {
74657
74607
  path: 4
74658
74608
  span: 0
74659
74609
  span: 1
74660
- span: 80
74661
- span: 91
74610
+ span: 78
74611
+ span: 89
74662
74612
  }
74663
74613
  location: {
74664
74614
  path: 1
74665
74615
  path: 4
74666
74616
  path: 4
74667
74617
  span: 32
74618
+ span: 78
74668
74619
  span: 8
74669
- span: 80
74670
74620
  }
74671
74621
  location: {
74672
74622
  leading_comments: " ID of the WebView block\n"
@@ -74676,7 +74626,7 @@ file: {
74676
74626
  path: 4
74677
74627
  span: 2
74678
74628
  span: 25
74679
- span: 82
74629
+ span: 80
74680
74630
  }
74681
74631
  location: {
74682
74632
  path: 0
@@ -74686,7 +74636,7 @@ file: {
74686
74636
  path: 5
74687
74637
  span: 2
74688
74638
  span: 8
74689
- span: 82
74639
+ span: 80
74690
74640
  }
74691
74641
  location: {
74692
74642
  path: 0
@@ -74695,7 +74645,7 @@ file: {
74695
74645
  path: 4
74696
74646
  path: 4
74697
74647
  span: 20
74698
- span: 82
74648
+ span: 80
74699
74649
  span: 9
74700
74650
  }
74701
74651
  location: {
@@ -74706,7 +74656,7 @@ file: {
74706
74656
  path: 4
74707
74657
  span: 23
74708
74658
  span: 24
74709
- span: 82
74659
+ span: 80
74710
74660
  }
74711
74661
  location: {
74712
74662
  leading_comments: " Message to send to the WebView\n"
@@ -74716,8 +74666,8 @@ file: {
74716
74666
  path: 8
74717
74667
  span: 2
74718
74668
  span: 3
74719
- span: 85
74720
- span: 90
74669
+ span: 83
74670
+ span: 88
74721
74671
  }
74722
74672
  location: {
74723
74673
  path: 0
@@ -74727,7 +74677,7 @@ file: {
74727
74677
  path: 8
74728
74678
  span: 15
74729
74679
  span: 8
74730
- span: 85
74680
+ span: 83
74731
74681
  }
74732
74682
  location: {
74733
74683
  path: 1
@@ -74736,7 +74686,7 @@ file: {
74736
74686
  path: 4
74737
74687
  span: 30
74738
74688
  span: 4
74739
- span: 86
74689
+ span: 84
74740
74690
  }
74741
74691
  location: {
74742
74692
  path: 1
@@ -74746,7 +74696,7 @@ file: {
74746
74696
  path: 6
74747
74697
  span: 21
74748
74698
  span: 4
74749
- span: 86
74699
+ span: 84
74750
74700
  }
74751
74701
  location: {
74752
74702
  path: 1
@@ -74756,7 +74706,7 @@ file: {
74756
74706
  path: 4
74757
74707
  span: 22
74758
74708
  span: 25
74759
- span: 86
74709
+ span: 84
74760
74710
  }
74761
74711
  location: {
74762
74712
  path: 1
@@ -74766,7 +74716,7 @@ file: {
74766
74716
  path: 4
74767
74717
  span: 28
74768
74718
  span: 29
74769
- span: 86
74719
+ span: 84
74770
74720
  }
74771
74721
  location: {
74772
74722
  path: 2
@@ -74775,7 +74725,7 @@ file: {
74775
74725
  path: 4
74776
74726
  span: 34
74777
74727
  span: 4
74778
- span: 87
74728
+ span: 85
74779
74729
  trailing_comments: " WebViewUIEventMessage event = 4;\n WebViewUIEnvironmentMessage environment = 5;\n"
74780
74730
  }
74781
74731
  location: {
@@ -74786,7 +74736,7 @@ file: {
74786
74736
  path: 6
74787
74737
  span: 23
74788
74738
  span: 4
74789
- span: 87
74739
+ span: 85
74790
74740
  }
74791
74741
  location: {
74792
74742
  path: 1
@@ -74796,7 +74746,7 @@ file: {
74796
74746
  path: 4
74797
74747
  span: 24
74798
74748
  span: 29
74799
- span: 87
74749
+ span: 85
74800
74750
  }
74801
74751
  location: {
74802
74752
  path: 2
@@ -74806,7 +74756,7 @@ file: {
74806
74756
  path: 4
74807
74757
  span: 32
74808
74758
  span: 33
74809
- span: 87
74759
+ span: 85
74810
74760
  }
74811
74761
  }
74812
74762
  syntax: "proto3"