@devvit/protos 0.11.0-next-2024-07-24-1be38cc96.0 → 0.11.0-next-2024-07-25-e11c6b2a8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/meta.min.json +117 -156
- package/package.json +7 -6
- package/protos.min.js +2 -2
- package/protos.min.js.map +4 -4
- package/schema/.snootobuf/.gitIgnoreMe +1 -0
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/audit.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/auth.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/organization.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/service.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/subscription.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/ui.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/admin.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/delivery.proto +13 -7
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/filter.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/firehose.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/intake.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/events/v1alpha/events.proto +2 -2
- package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +17 -0
- package/schema/{devvit → .snootobuf/deps/devvit}/options/options.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/commentv2.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/flair.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/modaction.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/modmail.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/postv2.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/subredditv2.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/userv2.proto +1 -1
- package/schema/{devvit/data → .snootobuf/deps/devvit}/triggers/v1alpha/triggers.proto +2 -1
- package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
- package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
- package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
- package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
- package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
- package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
- package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
- package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
- package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
- package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
- package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
- package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
- package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
- package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
- package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
- package/schema/.snootobuf/deps/enum/vote.proto +12 -0
- package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
- package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
- package/schema/.snootobuf/deps/evaluator/evaluator.proto +112 -0
- package/schema/.snootobuf/deps/google/api/auth.proto +181 -0
- package/schema/.snootobuf/deps/google/api/backend.proto +51 -0
- package/schema/.snootobuf/deps/google/api/billing.proto +67 -0
- package/schema/{google → .snootobuf/deps/google}/api/client.proto +37 -37
- package/schema/.snootobuf/deps/google/api/config_change.proto +85 -0
- package/schema/.snootobuf/deps/google/api/consumer.proto +83 -0
- package/schema/.snootobuf/deps/google/api/context.proto +63 -0
- package/schema/.snootobuf/deps/google/api/control.proto +33 -0
- package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
- package/schema/.snootobuf/deps/google/api/documentation.proto +157 -0
- package/schema/.snootobuf/deps/google/api/endpoint.proto +71 -0
- package/schema/{google → .snootobuf/deps/google}/api/field_behavior.proto +23 -17
- package/schema/{google → .snootobuf/deps/google}/api/http.proto +1 -0
- package/schema/.snootobuf/deps/google/api/httpbody.proto +76 -0
- package/schema/.snootobuf/deps/google/api/label.proto +49 -0
- package/schema/.snootobuf/deps/google/api/launch_stage.proto +67 -0
- package/schema/.snootobuf/deps/google/api/log.proto +55 -0
- package/schema/.snootobuf/deps/google/api/logging.proto +83 -0
- package/schema/.snootobuf/deps/google/api/metric.proto +192 -0
- package/schema/.snootobuf/deps/google/api/monitored_resource.proto +116 -0
- package/schema/.snootobuf/deps/google/api/monitoring.proto +89 -0
- package/schema/.snootobuf/deps/google/api/quota.proto +259 -0
- package/schema/.snootobuf/deps/google/api/resource.proto +299 -0
- package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
- package/schema/.snootobuf/deps/google/api/service.proto +175 -0
- package/schema/.snootobuf/deps/google/api/source_info.proto +32 -0
- package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
- package/schema/.snootobuf/deps/google/api/usage.proto +92 -0
- package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
- package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
- package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
- package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
- package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
- package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
- package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
- package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
- package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
- package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
- package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
- package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
- package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
- package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
- package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
- package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
- package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
- package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
- package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
- package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
- package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
- package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
- package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
- package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
- package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
- package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
- package/schema/.snootobuf/deps/google/type/color.proto +170 -0
- package/schema/.snootobuf/deps/google/type/date.proto +50 -0
- package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
- package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
- package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
- package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
- package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
- package/schema/.snootobuf/deps/google/type/money.proto +43 -0
- package/schema/.snootobuf/deps/google/type/month.proto +66 -0
- package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
- package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
- package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
- package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +69 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +289 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +54 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +32 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +144 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
- package/schema/.snootobuf/deps/validate/validate.proto +862 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/automation/v1alpha/event_handlers.client.ts +597 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/automation/v1alpha/event_handlers.ts +191 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/bot/bot.client.ts +49 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/bot/bot.ts +340 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/hello/hello.client.ts +42 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/hello/hello.ts +99 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/payments/v1alpha/payments.client.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/payments/v1alpha/payments.ts +334 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/permissions/permissions.ts +324 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/producer/producer.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/producer/producer.ts +174 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_action.client.ts +58 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_action.ts +679 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_type.ts +22 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/post_filter.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/post_filter.ts +131 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/action.ts +84 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/handler.client.ts +43 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/handler.ts +12 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/app_settings.client.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/app_settings.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/installation_settings.client.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/installation_settings.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/instance_settings.client.ts +68 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/instance_settings.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/shared.ts +311 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/streams.client.ts +82 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/streams.ts +77 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/wrappertypes.client.ts +120 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/wrappertypes.ts +25 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/user_configurable/user_configurable.client.ts +63 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/user_configurable/user_configurable.ts +284 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/cli/playtest.ts +323 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/debug/v1alpha/debug.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/debug/v1alpha/debug.ts +143 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/actor/actor_type.ts +94 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/admin/waitlist_admin.client.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/admin/waitlist_admin.ts +659 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/app.ts +2060 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/categories/categories.ts +146 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/info/app_info.ts +389 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/app_publish_request.ts +970 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/note/app_publish_request_note.ts +257 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/review/app_publish_request_review.ts +336 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_settings/app_settings.ts +571 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_version/app_version.ts +1161 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_version/info/app_version_info.ts +397 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/audit/audit.ts +646 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/auth/auth.ts +458 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/organization/organization.ts +347 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/subscription/subscription.ts +982 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.client.ts +1071 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.ts +222 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/feedback/feedback.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation/installation.ts +1882 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation_settings/installation_settings.ts +575 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/authorization/v1alpha/authorization.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/authorization/v1alpha/authorization.ts +394 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.client.ts +118 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.ts +27 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.ts +180 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/media/media.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/media/media.ts +162 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/nutrition/nutrition.ts +245 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/reddit/redditor.ts +98 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/waitlist/waitlist.client.ts +84 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/waitlist/waitlist.ts +455 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/realtime.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/realtime.ts +149 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/wqcleanup.ts +68 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/custom_post_snapshot.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/custom_post_snapshot.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/resolvers.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/resolvers.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/utils/v1alpha/utilities.client.ts +114 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/utils/v1alpha/utilities.ts +475 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/v1alpha/triggers.client.ts +96 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/v1alpha/triggers.ts +256 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gql/snapshot.ts +80 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gql/subreddit_metadata.ts +312 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/common.ts +22 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/order.ts +208 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/product.ts +241 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/assetresolver/assetresolver.client.ts +58 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/assetresolver/assetresolver.ts +380 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/builder/builder.client.ts +57 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/builder/builder.ts +102 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack.client.ts +57 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack.ts +13 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack_common.ts +705 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/filesystem.ts +168 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/clock/clock.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/clock/clock.ts +12 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/http/http.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/http/http.ts +294 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/inspector/inspector.client.ts +51 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/inspector/inspector.ts +304 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/kvstore/kvstore.client.ts +72 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/kvstore/kvstore.ts +209 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/linker.client.ts +51 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/linker.ts +89 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/resolver.client.ts +80 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/resolver.ts +198 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/logger/logger.client.ts +83 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/logger/logger.ts +608 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/media/media.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/media/media.ts +155 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/modlog/modlog.client.ts +43 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/modlog/modlog.ts +187 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/payments/v1alpha/payments.client.ts +81 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/payments/v1alpha/payments.ts +476 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/common/common_msg.ts +3641 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_msg.ts +2310 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_svc.client.ts +270 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_svc.ts +43 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_msg.ts +224 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_svc.client.ts +63 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_svc.ts +14 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.ts +1869 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.client.ts +571 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.ts +52 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_msg.ts +1156 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_svc.client.ts +194 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_svc.ts +27 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_msg.ts +1231 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_svc.client.ts +373 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_svc.ts +46 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_msg.ts +1025 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_svc.client.ts +112 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_svc.ts +23 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_msg.ts +4135 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_svc.client.ts +351 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_svc.ts +52 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_msg.ts +1040 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_svc.client.ts +207 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_svc.ts +34 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_msg.ts +380 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_svc.client.ts +186 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_svc.ts +25 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_msg.ts +11280 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_svc.client.ts +480 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_svc.ts +71 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_msg.ts +1820 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_svc.client.ts +247 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_svc.ts +42 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_msg.ts +4766 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_svc.client.ts +401 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_svc.ts +56 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_msg.ts +1786 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_svc.client.ts +236 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_svc.ts +35 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapiv2/redditapiv2.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapiv2/redditapiv2.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redis/redisapi.client.ts +518 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redis/redisapi.ts +3347 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/scheduler/scheduler.client.ts +89 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/scheduler/scheduler.ts +575 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/settings/v1alpha/settings.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/settings/v1alpha/settings.ts +235 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/streambroker/streambroker.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/streambroker/streambroker.ts +169 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/timer/timer.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/timer/timer.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/v2events/v2events.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/v2events/v2events.ts +312 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/comment.ts +963 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/common.ts +1099 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_actions/v2alpha/custom_actions.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_actions/v2alpha/custom_actions.ts +527 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_post/v1alpha/custom_post.client.ts +79 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_post/v1alpha/custom_post.ts +340 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/post.ts +2063 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/subreddit.ts +1374 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/thing_type.ts +36 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/user.ts +1418 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/remote_logger/remote_logger.client.ts +78 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/remote_logger/remote_logger.ts +538 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/bootstrap.client.ts +56 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/bootstrap.ts +13 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/echo.client.ts +36 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/echo.ts +11 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/runtime.client.ts +53 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/runtime.ts +78 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/supervisor.client.ts +87 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/supervisor.ts +92 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/v1alpha/health.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/v1alpha/health.ts +87 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/bundle.ts +859 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/envelope.ts +230 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/runtime_common.ts +251 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/serializable.ts +232 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/bundle_service.client.ts +57 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/bundle_service.ts +82 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/envelope_service.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/envelope_service.ts +12 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/attributes.ts +642 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/block.ts +1656 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/enums.ts +602 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/rendering.ts +157 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/ui.ts +354 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/common/v1alpha/common.ts +116 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/create_order.ts +217 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/effect.ts +266 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/interval.ts +169 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/navigate_to_url.ts +81 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/realtime_subscriptions.ts +156 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/reload_part.ts +349 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/rerender_ui.ts +71 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/show_form.ts +162 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/show_toast.ts +104 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/event.ts +697 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/handle_ui.client.ts +39 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/handle_ui.ts +160 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/field.ts +974 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/form.ts +134 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/type.ts +56 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/value.ts +359 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/toast/toast.ts +314 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/uuid.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/any.ts +322 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/descriptor.ts +3475 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/duration.ts +231 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/empty.ts +81 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/struct.ts +482 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/timestamp.ts +290 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/wrappers.ts +752 -0
- package/schema/devvit/dev_portal/admin/waitlist_admin.proto +2 -0
- package/schema/devvit/dev_portal/app/app.proto +2 -0
- package/schema/devvit/dev_portal/app_publish_request/app_publish_request.proto +2 -0
- package/schema/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +2 -0
- package/schema/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +2 -0
- package/schema/devvit/dev_portal/app_settings/app_settings.proto +2 -0
- package/schema/devvit/dev_portal/dev_portal.proto +2 -0
- package/schema/devvit/dev_portal/feedback/feedback.proto +2 -0
- package/schema/devvit/dev_portal/installation_settings/installation_settings.proto +2 -0
- package/schema/devvit/dev_portal/nutrition/nutrition.proto +2 -0
- package/schema/devvit/dev_portal/waitlist/waitlist.proto +2 -0
- package/schema/devvit/gateway/v1alpha/triggers.proto +1 -1
- package/schema/snootobuf.devenv.lock +0 -0
- package/schema/snootobuf.devenv.yaml +15 -0
- package/schema/snootobuf.lock +0 -0
- package/schema/snootobuf.redditapi.lock +0 -0
- package/schema/snootobuf.redditapi.yaml +14 -0
- package/schema/snootobuf.ts.lock +0 -0
- package/schema/snootobuf.ts.yaml +35 -0
- package/schema/snootobuf.yaml +49 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +6 -6
- package/types/devvit/actor/automation/v1alpha/event_handlers.js +5 -5
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.d.ts +342 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.js +466 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.d.ts +175 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.d.ts.map +1 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.js +1833 -0
- package/types/devvit/actor/bot/bot.d.ts +2 -2
- package/types/devvit/actor/bot/bot.js +3 -3
- package/types/devvit/actor/bot/bot.twirp-client.d.ts +23 -0
- package/types/devvit/actor/bot/bot.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/bot/bot.twirp-client.js +36 -0
- package/types/devvit/actor/bot/bot.twirp.d.ts +15 -0
- package/types/devvit/actor/bot/bot.twirp.d.ts.map +1 -0
- package/types/devvit/actor/bot/bot.twirp.js +154 -0
- package/types/devvit/actor/hello/hello.d.ts +1 -1
- package/types/devvit/actor/hello/hello.js +2 -2
- package/types/devvit/actor/hello/hello.twirp-client.d.ts +19 -0
- package/types/devvit/actor/hello/hello.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/hello/hello.twirp-client.js +23 -0
- package/types/devvit/actor/hello/hello.twirp.d.ts +12 -0
- package/types/devvit/actor/hello/hello.twirp.d.ts.map +1 -0
- package/types/devvit/actor/hello/hello.twirp.js +88 -0
- package/types/devvit/actor/payments/v1alpha/payments.d.ts +2 -2
- package/types/devvit/actor/payments/v1alpha/payments.js +3 -3
- package/types/devvit/actor/payments/v1alpha/payments.twirp-client.d.ts +22 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp-client.js +35 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp.d.ts +14 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp.d.ts.map +1 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp.js +156 -0
- package/types/devvit/actor/permissions/permissions.d.ts +1 -1
- package/types/devvit/actor/permissions/permissions.js +2 -2
- package/types/devvit/actor/producer/producer.d.ts +1 -1
- package/types/devvit/actor/producer/producer.js +2 -2
- package/types/devvit/actor/producer/producer.twirp-client.d.ts +19 -0
- package/types/devvit/actor/producer/producer.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/producer/producer.twirp-client.js +23 -0
- package/types/devvit/actor/producer/producer.twirp.d.ts +12 -0
- package/types/devvit/actor/producer/producer.twirp.d.ts.map +1 -0
- package/types/devvit/actor/producer/producer.twirp.js +88 -0
- package/types/devvit/actor/reddit/context_action.d.ts +6 -6
- package/types/devvit/actor/reddit/context_action.js +7 -7
- package/types/devvit/actor/reddit/context_action.twirp-client.d.ts +23 -0
- package/types/devvit/actor/reddit/context_action.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/reddit/context_action.twirp-client.js +36 -0
- package/types/devvit/actor/reddit/context_action.twirp.d.ts +15 -0
- package/types/devvit/actor/reddit/context_action.twirp.d.ts.map +1 -0
- package/types/devvit/actor/reddit/context_action.twirp.js +157 -0
- package/types/devvit/actor/reddit/post_filter.d.ts +2 -2
- package/types/devvit/actor/reddit/post_filter.js +3 -3
- package/types/devvit/actor/reddit/post_filter.twirp-client.d.ts +19 -0
- package/types/devvit/actor/reddit/post_filter.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/reddit/post_filter.twirp-client.js +23 -0
- package/types/devvit/actor/reddit/post_filter.twirp.d.ts +12 -0
- package/types/devvit/actor/reddit/post_filter.twirp.d.ts.map +1 -0
- package/types/devvit/actor/reddit/post_filter.twirp.js +88 -0
- package/types/devvit/actor/scheduler/action.d.ts +1 -1
- package/types/devvit/actor/scheduler/action.js +3 -3
- package/types/devvit/actor/scheduler/handler.d.ts +3 -3
- package/types/devvit/actor/scheduler/handler.js +3 -3
- package/types/devvit/actor/scheduler/handler.twirp-client.d.ts +20 -0
- package/types/devvit/actor/scheduler/handler.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/scheduler/handler.twirp-client.js +24 -0
- package/types/devvit/actor/scheduler/handler.twirp.d.ts +13 -0
- package/types/devvit/actor/scheduler/handler.twirp.d.ts.map +1 -0
- package/types/devvit/actor/scheduler/handler.twirp.js +91 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.d.ts +2 -2
- package/types/devvit/actor/settings/v1alpha/app_settings.js +2 -2
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.d.ts +22 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.js +35 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp.d.ts +14 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp.js +156 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts +2 -2
- package/types/devvit/actor/settings/v1alpha/installation_settings.js +2 -2
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.d.ts +22 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.js +35 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.d.ts +14 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.js +156 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts +2 -2
- package/types/devvit/actor/settings/v1alpha/instance_settings.js +2 -2
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.d.ts +22 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.js +35 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.d.ts +14 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.js +156 -0
- package/types/devvit/actor/settings/v1alpha/shared.d.ts +3 -3
- package/types/devvit/actor/settings/v1alpha/shared.js +4 -4
- package/types/devvit/actor/test/streams.d.ts +1 -1
- package/types/devvit/actor/test/streams.js +2 -2
- package/types/devvit/actor/test/streams.twirp-client.d.ts +25 -0
- package/types/devvit/actor/test/streams.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/test/streams.twirp-client.js +47 -0
- package/types/devvit/actor/test/streams.twirp.d.ts +16 -0
- package/types/devvit/actor/test/streams.twirp.d.ts.map +1 -0
- package/types/devvit/actor/test/streams.twirp.js +222 -0
- package/types/devvit/actor/test/wrappertypes.d.ts +2 -2
- package/types/devvit/actor/test/wrappertypes.js +2 -2
- package/types/devvit/actor/test/wrappertypes.twirp-client.d.ts +40 -0
- package/types/devvit/actor/test/wrappertypes.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/test/wrappertypes.twirp-client.js +107 -0
- package/types/devvit/actor/test/wrappertypes.twirp.d.ts +26 -0
- package/types/devvit/actor/test/wrappertypes.twirp.d.ts.map +1 -0
- package/types/devvit/actor/test/wrappertypes.twirp.js +552 -0
- package/types/devvit/actor/user_configurable/user_configurable.d.ts +2 -2
- package/types/devvit/actor/user_configurable/user_configurable.js +3 -3
- package/types/devvit/actor/user_configurable/user_configurable.twirp-client.d.ts +23 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp-client.js +36 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp.d.ts +15 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp.d.ts.map +1 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp.js +157 -0
- package/types/devvit/cli/playtest.d.ts +2 -2
- package/types/devvit/cli/playtest.js +3 -3
- package/types/devvit/data/api/v1alpha/admin.d.ts +4 -4
- package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
- package/types/devvit/data/api/v1alpha/admin.js +6 -6
- package/types/devvit/debug/v1alpha/debug.d.ts +1 -1
- package/types/devvit/debug/v1alpha/debug.js +2 -2
- package/types/devvit/debug/v1alpha/debug.twirp-client.d.ts +19 -0
- package/types/devvit/debug/v1alpha/debug.twirp-client.d.ts.map +1 -0
- package/types/devvit/debug/v1alpha/debug.twirp-client.js +23 -0
- package/types/devvit/debug/v1alpha/debug.twirp.d.ts +12 -0
- package/types/devvit/debug/v1alpha/debug.twirp.d.ts.map +1 -0
- package/types/devvit/debug/v1alpha/debug.twirp.js +88 -0
- package/types/devvit/dev_portal/actor/actor_type.d.ts +1 -1
- package/types/devvit/dev_portal/actor/actor_type.js +2 -2
- package/types/devvit/dev_portal/admin/waitlist_admin.d.ts +3 -3
- package/types/devvit/dev_portal/admin/waitlist_admin.js +5 -5
- package/types/devvit/dev_portal/app/app.d.ts +4 -4
- package/types/devvit/dev_portal/app/app.js +6 -6
- package/types/devvit/dev_portal/app/info/app_info.d.ts +4 -4
- package/types/devvit/dev_portal/app/info/app_info.js +6 -6
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.d.ts +6 -6
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.js +8 -8
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.d.ts +2 -2
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.js +4 -4
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts +2 -2
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +4 -4
- package/types/devvit/dev_portal/app_settings/app_settings.d.ts +3 -3
- package/types/devvit/dev_portal/app_settings/app_settings.js +4 -4
- package/types/devvit/dev_portal/app_version/app_version.d.ts +7 -7
- package/types/devvit/dev_portal/app_version/app_version.js +9 -9
- package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts +1 -1
- package/types/devvit/dev_portal/app_version/info/app_version_info.js +4 -4
- package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts +1 -1
- package/types/devvit/dev_portal/data_api/admin/audit/audit.js +3 -3
- package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts +3 -3
- package/types/devvit/dev_portal/data_api/admin/auth/auth.js +5 -5
- package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts +2 -2
- package/types/devvit/dev_portal/data_api/admin/organization/organization.js +3 -3
- package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts +4 -4
- package/types/devvit/dev_portal/data_api/admin/subscription/subscription.js +5 -5
- package/types/devvit/dev_portal/dev_portal.d.ts +20 -20
- package/types/devvit/dev_portal/dev_portal.js +20 -20
- package/types/devvit/dev_portal/feedback/feedback.d.ts +1 -1
- package/types/devvit/dev_portal/feedback/feedback.js +2 -2
- package/types/devvit/dev_portal/installation/installation.d.ts +4 -4
- package/types/devvit/dev_portal/installation/installation.js +8 -8
- package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts +3 -3
- package/types/devvit/dev_portal/installation_settings/installation_settings.js +4 -4
- package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts +2 -2
- package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.js +3 -3
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +5 -5
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.js +5 -5
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts +2 -2
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.js +3 -3
- package/types/devvit/dev_portal/internal/media/media.d.ts +1 -1
- package/types/devvit/dev_portal/internal/media/media.js +2 -2
- package/types/devvit/dev_portal/nutrition/nutrition.d.ts +1 -1
- package/types/devvit/dev_portal/nutrition/nutrition.js +2 -2
- package/types/devvit/dev_portal/reddit/redditor.d.ts +1 -1
- package/types/devvit/dev_portal/reddit/redditor.js +2 -2
- package/types/devvit/dev_portal/waitlist/waitlist.d.ts +3 -3
- package/types/devvit/dev_portal/waitlist/waitlist.js +5 -5
- package/types/devvit/events/v1alpha/events.d.ts +6 -6
- package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
- package/types/devvit/events/v1alpha/events.js +17 -17
- package/types/devvit/events/v1alpha/realtime.d.ts +2 -2
- package/types/devvit/events/v1alpha/realtime.js +4 -4
- package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts +23 -0
- package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts.map +1 -0
- package/types/devvit/events/v1alpha/realtime.twirp-client.js +36 -0
- package/types/devvit/events/v1alpha/realtime.twirp.d.ts +15 -0
- package/types/devvit/events/v1alpha/realtime.twirp.d.ts.map +1 -0
- package/types/devvit/events/v1alpha/realtime.twirp.js +157 -0
- package/types/devvit/events/v1alpha/wqcleanup.d.ts +1 -1
- package/types/devvit/events/v1alpha/wqcleanup.js +2 -2
- package/types/devvit/gateway/custom_post_snapshot.d.ts +2 -2
- package/types/devvit/gateway/custom_post_snapshot.js +3 -3
- package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts +20 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp-client.js +24 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts +13 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp.js +91 -0
- package/types/devvit/gateway/resolvers.d.ts +2 -2
- package/types/devvit/gateway/resolvers.js +3 -3
- package/types/devvit/gateway/resolvers.twirp-client.d.ts +20 -0
- package/types/devvit/gateway/resolvers.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/resolvers.twirp-client.js +24 -0
- package/types/devvit/gateway/resolvers.twirp.d.ts +13 -0
- package/types/devvit/gateway/resolvers.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/resolvers.twirp.js +91 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.d.ts +1 -1
- package/types/devvit/gateway/utils/v1alpha/utilities.js +2 -2
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts +47 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.js +93 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts +28 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp.js +440 -0
- package/types/devvit/gateway/v1alpha/triggers.d.ts +8 -8
- package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
- package/types/devvit/gateway/v1alpha/triggers.js +5 -5
- package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts +37 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp-client.js +86 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts +25 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp.js +423 -0
- package/types/devvit/gql/snapshot.d.ts +1 -1
- package/types/devvit/gql/snapshot.js +2 -2
- package/types/devvit/gql/subreddit_metadata.d.ts +3 -3
- package/types/devvit/gql/subreddit_metadata.js +4 -4
- package/types/devvit/options/options.d.ts +1 -1
- package/types/devvit/options/options.js +2 -2
- package/types/devvit/payments/v1alpha/order.d.ts +3 -3
- package/types/devvit/payments/v1alpha/order.js +5 -5
- package/types/devvit/payments/v1alpha/product.d.ts +2 -2
- package/types/devvit/payments/v1alpha/product.js +3 -3
- package/types/devvit/plugin/assetresolver/assetresolver.d.ts +1 -1
- package/types/devvit/plugin/assetresolver/assetresolver.js +2 -2
- package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts +22 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.js +35 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts +14 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp.js +156 -0
- package/types/devvit/plugin/builder/builder.d.ts +3 -3
- package/types/devvit/plugin/builder/builder.js +4 -4
- package/types/devvit/plugin/builder/builder.twirp-client.d.ts +23 -0
- package/types/devvit/plugin/builder/builder.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/builder/builder.twirp-client.js +36 -0
- package/types/devvit/plugin/builder/builder.twirp.d.ts +15 -0
- package/types/devvit/plugin/builder/builder.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/builder/builder.twirp.js +154 -0
- package/types/devvit/plugin/buildpack/buildpack.d.ts +2 -2
- package/types/devvit/plugin/buildpack/buildpack.js +2 -2
- package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts +22 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp-client.js +35 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts +14 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp.js +156 -0
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +4 -4
- package/types/devvit/plugin/buildpack/buildpack_common.js +6 -6
- package/types/devvit/plugin/buildpack/filesystem.d.ts +1 -1
- package/types/devvit/plugin/buildpack/filesystem.js +2 -2
- package/types/devvit/plugin/clock/clock.d.ts +3 -3
- package/types/devvit/plugin/clock/clock.js +3 -3
- package/types/devvit/plugin/clock/clock.twirp-client.d.ts +20 -0
- package/types/devvit/plugin/clock/clock.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/clock/clock.twirp-client.js +24 -0
- package/types/devvit/plugin/clock/clock.twirp.d.ts +13 -0
- package/types/devvit/plugin/clock/clock.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/clock/clock.twirp.js +89 -0
- package/types/devvit/plugin/http/http.d.ts +1 -1
- package/types/devvit/plugin/http/http.js +2 -2
- package/types/devvit/plugin/http/http.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/http/http.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/http/http.twirp-client.js +23 -0
- package/types/devvit/plugin/http/http.twirp.d.ts +12 -0
- package/types/devvit/plugin/http/http.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/http/http.twirp.js +88 -0
- package/types/devvit/plugin/inspector/inspector.d.ts +3 -3
- package/types/devvit/plugin/inspector/inspector.js +4 -4
- package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts +23 -0
- package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/inspector/inspector.twirp-client.js +36 -0
- package/types/devvit/plugin/inspector/inspector.twirp.d.ts +15 -0
- package/types/devvit/plugin/inspector/inspector.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/inspector/inspector.twirp.js +157 -0
- package/types/devvit/plugin/kvstore/kvstore.d.ts +2 -2
- package/types/devvit/plugin/kvstore/kvstore.js +3 -3
- package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts +29 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp-client.js +60 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts +19 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp.js +289 -0
- package/types/devvit/plugin/linker/linker.d.ts +4 -4
- package/types/devvit/plugin/linker/linker.js +5 -5
- package/types/devvit/plugin/linker/linker.twirp-client.d.ts +20 -0
- package/types/devvit/plugin/linker/linker.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/linker/linker.twirp-client.js +24 -0
- package/types/devvit/plugin/linker/linker.twirp.d.ts +13 -0
- package/types/devvit/plugin/linker/linker.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/linker/linker.twirp.js +89 -0
- package/types/devvit/plugin/linker/resolver.d.ts +5 -5
- package/types/devvit/plugin/linker/resolver.js +6 -6
- package/types/devvit/plugin/linker/resolver.twirp-client.d.ts +29 -0
- package/types/devvit/plugin/linker/resolver.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/linker/resolver.twirp-client.js +51 -0
- package/types/devvit/plugin/linker/resolver.twirp.d.ts +20 -0
- package/types/devvit/plugin/linker/resolver.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/linker/resolver.twirp.js +226 -0
- package/types/devvit/plugin/logger/logger.d.ts +1 -1
- package/types/devvit/plugin/logger/logger.js +4 -4
- package/types/devvit/plugin/media/media.d.ts +1 -1
- package/types/devvit/plugin/media/media.js +2 -2
- package/types/devvit/plugin/media/media.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/media/media.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/media/media.twirp-client.js +23 -0
- package/types/devvit/plugin/media/media.twirp.d.ts +12 -0
- package/types/devvit/plugin/media/media.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/media/media.twirp.js +88 -0
- package/types/devvit/plugin/modlog/modlog.d.ts +1 -1
- package/types/devvit/plugin/modlog/modlog.js +2 -2
- package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/modlog/modlog.twirp-client.js +23 -0
- package/types/devvit/plugin/modlog/modlog.twirp.d.ts +12 -0
- package/types/devvit/plugin/modlog/modlog.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/modlog/modlog.twirp.js +88 -0
- package/types/devvit/plugin/payments/v1alpha/payments.d.ts +3 -3
- package/types/devvit/plugin/payments/v1alpha/payments.js +5 -5
- package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts +25 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.js +47 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts +16 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp.js +222 -0
- package/types/devvit/plugin/redditapi/common/common_msg.d.ts +3 -3
- package/types/devvit/plugin/redditapi/common/common_msg.js +6 -6
- package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/flair/flair_msg.js +3 -3
- package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +17 -17
- package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/flair/flair_svc.js +47 -126
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts +60 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.js +181 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts +40 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.js +950 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/graphql/graphql_msg.js +3 -3
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +2 -2
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.js +2 -2
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts +22 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.js +35 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts +14 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.js +156 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +3 -3
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +5 -5
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +27 -27
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +89 -388
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +90 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +301 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +60 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.js +1610 -0
- package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/listings/listings_msg.js +4 -4
- package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +11 -11
- package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/listings/listings_svc.js +21 -55
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts +41 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.js +108 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts +27 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.js +553 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/moderation/moderation_msg.js +3 -3
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +28 -28
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.js +81 -361
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts +85 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.js +278 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts +57 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.js +1479 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/modnote/modnote_msg.js +3 -3
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +8 -8
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.js +14 -59
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts +32 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.js +72 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts +21 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.js +355 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.js +4 -4
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +21 -21
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js +46 -142
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts +77 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.js +252 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts +51 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.js +1345 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.js +4 -4
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts +3 -3
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.js +3 -3
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts +50 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.js +144 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts +33 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.js +751 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.js +3 -3
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +14 -14
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.js +34 -101
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts +48 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.js +133 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts +32 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.js +686 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts +3 -3
- package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.js +5 -5
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +32 -32
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.js +73 -243
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts +100 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.js +338 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts +67 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.js +1809 -0
- package/types/devvit/plugin/redditapi/users/users_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/users/users_msg.js +4 -4
- package/types/devvit/plugin/redditapi/users/users_svc.d.ts +17 -17
- package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/users/users_svc.js +39 -144
- package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts +58 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.js +170 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts +39 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp.js +885 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/widgets/widgets_msg.js +4 -4
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +21 -21
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.js +69 -298
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts +71 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.js +228 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts +47 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.js +1213 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/wiki/wiki_msg.js +4 -4
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +13 -18
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.js +28 -79
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts +47 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.js +132 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts +31 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.js +685 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts +4 -4
- package/types/devvit/plugin/redditapiv2/redditapiv2.js +4 -4
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts +24 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.js +37 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts +16 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.js +158 -0
- package/types/devvit/plugin/redis/redisapi.d.ts +3 -3
- package/types/devvit/plugin/redis/redisapi.js +4 -4
- package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts +126 -0
- package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redis/redisapi.twirp-client.js +445 -0
- package/types/devvit/plugin/redis/redisapi.twirp.d.ts +84 -0
- package/types/devvit/plugin/redis/redisapi.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redis/redisapi.twirp.js +2402 -0
- package/types/devvit/plugin/scheduler/scheduler.d.ts +4 -4
- package/types/devvit/plugin/scheduler/scheduler.js +6 -6
- package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts +26 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp-client.js +48 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts +17 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp.js +223 -0
- package/types/devvit/plugin/settings/v1alpha/settings.d.ts +2 -2
- package/types/devvit/plugin/settings/v1alpha/settings.js +4 -4
- package/types/devvit/plugin/streambroker/streambroker.d.ts +2 -2
- package/types/devvit/plugin/streambroker/streambroker.js +3 -3
- package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts +23 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp-client.js +36 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts +15 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp.js +157 -0
- package/types/devvit/plugin/timer/timer.d.ts +2 -2
- package/types/devvit/plugin/timer/timer.js +3 -3
- package/types/devvit/plugin/timer/timer.twirp-client.d.ts +20 -0
- package/types/devvit/plugin/timer/timer.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/timer/timer.twirp-client.js +24 -0
- package/types/devvit/plugin/timer/timer.twirp.d.ts +13 -0
- package/types/devvit/plugin/timer/timer.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/timer/timer.twirp.js +89 -0
- package/types/devvit/plugin/v2events/v2events.d.ts +1 -1
- package/types/devvit/plugin/v2events/v2events.js +2 -2
- package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/v2events/v2events.twirp-client.js +23 -0
- package/types/devvit/plugin/v2events/v2events.twirp.d.ts +12 -0
- package/types/devvit/plugin/v2events/v2events.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/v2events/v2events.twirp.js +88 -0
- package/types/devvit/reddit/comment.d.ts +2 -2
- package/types/devvit/reddit/comment.js +5 -5
- package/types/devvit/reddit/common.d.ts +1 -1
- package/types/devvit/reddit/common.js +3 -3
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts +3 -3
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.js +5 -5
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts +22 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts.map +1 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.js +35 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts +14 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts.map +1 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.js +156 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -4
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.js +6 -6
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts +26 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts.map +1 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.js +48 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts +17 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts.map +1 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.js +223 -0
- package/types/devvit/reddit/post.d.ts +2 -2
- package/types/devvit/reddit/post.js +5 -5
- package/types/devvit/reddit/subreddit.d.ts +2 -2
- package/types/devvit/reddit/subreddit.js +4 -4
- package/types/devvit/reddit/user.d.ts +2 -2
- package/types/devvit/reddit/user.js +4 -4
- package/types/devvit/reddit/v2alpha/commentv2.d.ts +1 -1
- package/types/devvit/reddit/v2alpha/commentv2.js +2 -2
- package/types/devvit/reddit/v2alpha/flair.d.ts +1 -1
- package/types/devvit/reddit/v2alpha/flair.js +2 -2
- package/types/devvit/reddit/v2alpha/modaction.d.ts +5 -5
- package/types/devvit/reddit/v2alpha/modaction.js +7 -7
- package/types/devvit/reddit/v2alpha/modmail.d.ts +3 -3
- package/types/devvit/reddit/v2alpha/modmail.js +5 -5
- package/types/devvit/reddit/v2alpha/postv2.d.ts +2 -2
- package/types/devvit/reddit/v2alpha/postv2.js +3 -3
- package/types/devvit/reddit/v2alpha/subredditv2.d.ts +1 -1
- package/types/devvit/reddit/v2alpha/subredditv2.js +2 -2
- package/types/devvit/reddit/v2alpha/userv2.d.ts +2 -2
- package/types/devvit/reddit/v2alpha/userv2.js +3 -3
- package/types/devvit/remote_logger/remote_logger.d.ts +2 -2
- package/types/devvit/remote_logger/remote_logger.js +4 -4
- package/types/devvit/runtime/actor/bootstrap.d.ts +3 -3
- package/types/devvit/runtime/actor/bootstrap.js +3 -3
- package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts +23 -0
- package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/bootstrap.twirp-client.js +36 -0
- package/types/devvit/runtime/actor/bootstrap.twirp.d.ts +15 -0
- package/types/devvit/runtime/actor/bootstrap.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/bootstrap.twirp.js +157 -0
- package/types/devvit/runtime/actor/echo.d.ts +2 -2
- package/types/devvit/runtime/actor/echo.js +2 -2
- package/types/devvit/runtime/actor/echo.twirp-client.d.ts +19 -0
- package/types/devvit/runtime/actor/echo.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/echo.twirp-client.js +23 -0
- package/types/devvit/runtime/actor/echo.twirp.d.ts +12 -0
- package/types/devvit/runtime/actor/echo.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/echo.twirp.js +88 -0
- package/types/devvit/runtime/actor/runtime.d.ts +3 -3
- package/types/devvit/runtime/actor/runtime.js +4 -4
- package/types/devvit/runtime/actor/runtime.twirp-client.d.ts +24 -0
- package/types/devvit/runtime/actor/runtime.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/runtime.twirp-client.js +37 -0
- package/types/devvit/runtime/actor/runtime.twirp.d.ts +16 -0
- package/types/devvit/runtime/actor/runtime.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/runtime.twirp.js +158 -0
- package/types/devvit/runtime/actor/supervisor.d.ts +4 -4
- package/types/devvit/runtime/actor/supervisor.js +5 -5
- package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts +28 -0
- package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/supervisor.twirp-client.js +50 -0
- package/types/devvit/runtime/actor/supervisor.twirp.d.ts +19 -0
- package/types/devvit/runtime/actor/supervisor.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/supervisor.twirp.js +225 -0
- package/types/devvit/runtime/actor/v1alpha/health.d.ts +2 -2
- package/types/devvit/runtime/actor/v1alpha/health.js +4 -4
- package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts +20 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp-client.js +24 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts +13 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp.js +89 -0
- package/types/devvit/runtime/bundle.d.ts +2 -2
- package/types/devvit/runtime/bundle.js +5 -5
- package/types/devvit/runtime/envelope.d.ts +2 -2
- package/types/devvit/runtime/envelope.js +4 -4
- package/types/devvit/runtime/runtime_common.d.ts +1 -1
- package/types/devvit/runtime/runtime_common.js +3 -3
- package/types/devvit/runtime/serializable.d.ts +1 -1
- package/types/devvit/runtime/serializable.js +2 -2
- package/types/devvit/service/bundle_service.d.ts +3 -3
- package/types/devvit/service/bundle_service.js +4 -4
- package/types/devvit/service/bundle_service.twirp-client.d.ts +24 -0
- package/types/devvit/service/bundle_service.twirp-client.d.ts.map +1 -0
- package/types/devvit/service/bundle_service.twirp-client.js +37 -0
- package/types/devvit/service/bundle_service.twirp.d.ts +16 -0
- package/types/devvit/service/bundle_service.twirp.d.ts.map +1 -0
- package/types/devvit/service/bundle_service.twirp.js +158 -0
- package/types/devvit/service/envelope_service.d.ts +3 -3
- package/types/devvit/service/envelope_service.js +3 -3
- package/types/devvit/service/envelope_service.twirp-client.d.ts +20 -0
- package/types/devvit/service/envelope_service.twirp-client.d.ts.map +1 -0
- package/types/devvit/service/envelope_service.twirp-client.js +24 -0
- package/types/devvit/service/envelope_service.twirp.d.ts +13 -0
- package/types/devvit/service/envelope_service.twirp.d.ts.map +1 -0
- package/types/devvit/service/envelope_service.twirp.js +89 -0
- package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.d.ts +4 -4
- package/types/devvit/triggers/v1alpha/triggers.d.ts.map +1 -0
- package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.js +6 -6
- package/types/devvit/ui/block_kit/v1beta/attributes.d.ts +2 -2
- package/types/devvit/ui/block_kit/v1beta/attributes.js +4 -4
- package/types/devvit/ui/block_kit/v1beta/block.d.ts +3 -3
- package/types/devvit/ui/block_kit/v1beta/block.js +5 -5
- package/types/devvit/ui/block_kit/v1beta/rendering.d.ts +3 -3
- package/types/devvit/ui/block_kit/v1beta/rendering.js +5 -5
- package/types/devvit/ui/block_kit/v1beta/ui.d.ts +5 -5
- package/types/devvit/ui/block_kit/v1beta/ui.js +7 -7
- package/types/devvit/ui/common/v1alpha/common.d.ts +1 -1
- package/types/devvit/ui/common/v1alpha/common.js +2 -2
- package/types/devvit/ui/effects/v1alpha/create_order.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/create_order.js +2 -2
- package/types/devvit/ui/effects/v1alpha/effect.d.ts +9 -9
- package/types/devvit/ui/effects/v1alpha/effect.js +10 -10
- package/types/devvit/ui/effects/v1alpha/interval.d.ts +2 -2
- package/types/devvit/ui/effects/v1alpha/interval.js +4 -4
- package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/navigate_to_url.js +2 -2
- package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts +2 -2
- package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.js +3 -3
- package/types/devvit/ui/effects/v1alpha/reload_part.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/reload_part.js +2 -2
- package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/rerender_ui.js +2 -2
- package/types/devvit/ui/effects/v1alpha/show_form.d.ts +3 -3
- package/types/devvit/ui/effects/v1alpha/show_form.js +4 -4
- package/types/devvit/ui/effects/v1alpha/show_toast.d.ts +2 -2
- package/types/devvit/ui/effects/v1alpha/show_toast.js +3 -3
- package/types/devvit/ui/events/v1alpha/event.d.ts +5 -5
- package/types/devvit/ui/events/v1alpha/event.js +8 -8
- package/types/devvit/ui/events/v1alpha/handle_ui.d.ts +3 -3
- package/types/devvit/ui/events/v1alpha/handle_ui.js +5 -5
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts +19 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts.map +1 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.js +23 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts +12 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts.map +1 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp.js +88 -0
- package/types/devvit/ui/form_builder/v1alpha/field.d.ts +3 -3
- package/types/devvit/ui/form_builder/v1alpha/field.js +4 -4
- package/types/devvit/ui/form_builder/v1alpha/form.d.ts +2 -2
- package/types/devvit/ui/form_builder/v1alpha/form.js +3 -3
- package/types/devvit/ui/form_builder/v1alpha/value.d.ts +2 -2
- package/types/devvit/ui/form_builder/v1alpha/value.js +3 -3
- package/types/devvit/ui/toast/toast.d.ts +1 -1
- package/types/devvit/ui/toast/toast.js +2 -2
- package/types/devvit/uuid.d.ts +1 -1
- package/types/devvit/uuid.js +2 -2
- package/types/google/protobuf/any.d.ts +5 -10
- package/types/google/protobuf/any.d.ts.map +1 -1
- package/types/google/protobuf/any.js +2 -2
- package/types/google/protobuf/descriptor.d.ts +39 -435
- package/types/google/protobuf/descriptor.d.ts.map +1 -1
- package/types/google/protobuf/descriptor.js +101 -1605
- package/types/google/protobuf/duration.d.ts +1 -1
- package/types/google/protobuf/duration.js +2 -2
- package/types/google/protobuf/empty.d.ts +1 -1
- package/types/google/protobuf/empty.js +2 -2
- package/types/google/protobuf/struct.d.ts +2 -2
- package/types/google/protobuf/struct.js +3 -3
- package/types/google/protobuf/timestamp.d.ts +2 -2
- package/types/google/protobuf/timestamp.js +2 -2
- package/types/google/protobuf/wrappers.d.ts +1 -1
- package/types/google/protobuf/wrappers.js +2 -2
- package/types/typeRegistry.d.ts +1 -1
- package/schema/buf.strict.yaml +0 -7
- package/schema/buf.yaml +0 -8
- package/types/devvit/data/api/admin/v1alpha/audit.d.ts +0 -159
- package/types/devvit/data/api/admin/v1alpha/audit.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/audit.js +0 -776
- package/types/devvit/data/api/admin/v1alpha/auth.d.ts +0 -127
- package/types/devvit/data/api/admin/v1alpha/auth.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/auth.js +0 -599
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts +0 -122
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/organization.js +0 -522
- package/types/devvit/data/api/admin/v1alpha/service.d.ts +0 -855
- package/types/devvit/data/api/admin/v1alpha/service.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/service.js +0 -254
- package/types/devvit/data/api/admin/v1alpha/subscription.d.ts +0 -167
- package/types/devvit/data/api/admin/v1alpha/subscription.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/subscription.js +0 -885
- package/types/devvit/data/api/admin/v1alpha/ui.d.ts +0 -52
- package/types/devvit/data/api/admin/v1alpha/ui.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/ui.js +0 -198
- package/types/devvit/data/api/v1alpha/filter.d.ts +0 -160
- package/types/devvit/data/api/v1alpha/filter.d.ts.map +0 -1
- package/types/devvit/data/api/v1alpha/filter.js +0 -983
- package/types/devvit/data/api/v1alpha/intake.d.ts +0 -85
- package/types/devvit/data/api/v1alpha/intake.d.ts.map +0 -1
- package/types/devvit/data/api/v1alpha/intake.js +0 -160
- package/types/devvit/data/triggers/v1alpha/triggers.d.ts.map +0 -1
- /package/schema/{buf → .snootobuf/deps/buf}/validate/expression.proto +0 -0
- /package/schema/{buf → .snootobuf/deps/buf}/validate/priv/private.proto +0 -0
- /package/schema/{buf → .snootobuf/deps/buf}/validate/validate.proto +0 -0
- /package/schema/{google → .snootobuf/deps/google}/api/annotations.proto +0 -0
- /package/schema/{openapi → .snootobuf/deps/openapi}/helper.proto +0 -0
@@ -0,0 +1,2063 @@
|
|
1
|
+
// @generated by protobuf-ts 2.9.3
|
2
|
+
// @generated from protobuf file "devvit/reddit/post.proto" (package "devvit.reddit", syntax proto3)
|
3
|
+
// tslint:disable
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
6
|
+
import { WireType } from "@protobuf-ts/runtime";
|
7
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
8
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
9
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
10
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
11
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
12
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
13
|
+
import { BanInfo } from "./common";
|
14
|
+
import { FloatValue } from "../../google/protobuf/wrappers";
|
15
|
+
import { ListValue } from "../../google/protobuf/struct";
|
16
|
+
import { MediaEmbed } from "./common";
|
17
|
+
import { Gildings } from "./common";
|
18
|
+
import { AuthorFlairRichText } from "./common";
|
19
|
+
import { StringValue } from "../../google/protobuf/wrappers";
|
20
|
+
import { Int32Value } from "../../google/protobuf/wrappers";
|
21
|
+
import { BoolValue } from "../../google/protobuf/wrappers";
|
22
|
+
import { Awarding } from "./common";
|
23
|
+
/**
|
24
|
+
* @generated from protobuf message devvit.reddit.Post
|
25
|
+
*/
|
26
|
+
export interface Post {
|
27
|
+
/**
|
28
|
+
* @generated from protobuf field: repeated devvit.reddit.Awarding all_awardings = 1;
|
29
|
+
*/
|
30
|
+
allAwardings: Awarding[];
|
31
|
+
/**
|
32
|
+
* @generated from protobuf field: google.protobuf.BoolValue allow_live_comments = 2;
|
33
|
+
*/
|
34
|
+
allowLiveComments?: BoolValue;
|
35
|
+
/**
|
36
|
+
* @generated from protobuf field: google.protobuf.BoolValue approved = 3;
|
37
|
+
*/
|
38
|
+
approved?: BoolValue;
|
39
|
+
/**
|
40
|
+
* @generated from protobuf field: google.protobuf.Int32Value approved_at_utc = 4;
|
41
|
+
*/
|
42
|
+
approvedAtUtc?: Int32Value;
|
43
|
+
/**
|
44
|
+
* @generated from protobuf field: google.protobuf.StringValue approved_by = 5;
|
45
|
+
*/
|
46
|
+
approvedBy?: StringValue;
|
47
|
+
/**
|
48
|
+
* @generated from protobuf field: google.protobuf.BoolValue archived = 6;
|
49
|
+
*/
|
50
|
+
archived?: BoolValue;
|
51
|
+
/**
|
52
|
+
* @generated from protobuf field: google.protobuf.StringValue author = 7;
|
53
|
+
*/
|
54
|
+
author?: StringValue;
|
55
|
+
/**
|
56
|
+
* @generated from protobuf field: google.protobuf.StringValue author_flair_background_color = 8;
|
57
|
+
*/
|
58
|
+
authorFlairBackgroundColor?: StringValue;
|
59
|
+
/**
|
60
|
+
* @generated from protobuf field: google.protobuf.StringValue author_flair_css_class = 9;
|
61
|
+
*/
|
62
|
+
authorFlairCssClass?: StringValue;
|
63
|
+
/**
|
64
|
+
* @generated from protobuf field: repeated devvit.reddit.AuthorFlairRichText author_flair_richtext = 10;
|
65
|
+
*/
|
66
|
+
authorFlairRichtext: AuthorFlairRichText[];
|
67
|
+
/**
|
68
|
+
* @generated from protobuf field: google.protobuf.StringValue author_flair_template_id = 11;
|
69
|
+
*/
|
70
|
+
authorFlairTemplateId?: StringValue;
|
71
|
+
/**
|
72
|
+
* @generated from protobuf field: google.protobuf.StringValue author_flair_text = 12;
|
73
|
+
*/
|
74
|
+
authorFlairText?: StringValue;
|
75
|
+
/**
|
76
|
+
* @generated from protobuf field: google.protobuf.StringValue author_flair_text_color = 13;
|
77
|
+
*/
|
78
|
+
authorFlairTextColor?: StringValue;
|
79
|
+
/**
|
80
|
+
* @generated from protobuf field: google.protobuf.StringValue author_flair_type = 14;
|
81
|
+
*/
|
82
|
+
authorFlairType?: StringValue;
|
83
|
+
/**
|
84
|
+
* @generated from protobuf field: google.protobuf.StringValue author_fullname = 15;
|
85
|
+
*/
|
86
|
+
authorFullname?: StringValue;
|
87
|
+
/**
|
88
|
+
* @generated from protobuf field: google.protobuf.BoolValue author_is_blocked = 16;
|
89
|
+
*/
|
90
|
+
authorIsBlocked?: BoolValue;
|
91
|
+
/**
|
92
|
+
* @generated from protobuf field: google.protobuf.BoolValue author_patreon_flair = 17;
|
93
|
+
*/
|
94
|
+
authorPatreonFlair?: BoolValue;
|
95
|
+
/**
|
96
|
+
* @generated from protobuf field: google.protobuf.BoolValue author_premium = 18;
|
97
|
+
*/
|
98
|
+
authorPremium?: BoolValue;
|
99
|
+
/**
|
100
|
+
* @generated from protobuf field: repeated google.protobuf.StringValue awarders = 19;
|
101
|
+
*/
|
102
|
+
awarders: StringValue[];
|
103
|
+
/**
|
104
|
+
* @generated from protobuf field: google.protobuf.Int32Value banned_at_utc = 20;
|
105
|
+
*/
|
106
|
+
bannedAtUtc?: Int32Value;
|
107
|
+
/**
|
108
|
+
* @generated from protobuf field: google.protobuf.StringValue banned_by = 21;
|
109
|
+
*/
|
110
|
+
bannedBy?: StringValue;
|
111
|
+
/**
|
112
|
+
* @generated from protobuf field: google.protobuf.BoolValue can_gild = 22;
|
113
|
+
*/
|
114
|
+
canGild?: BoolValue;
|
115
|
+
/**
|
116
|
+
* @generated from protobuf field: google.protobuf.BoolValue can_mod_post = 23;
|
117
|
+
*/
|
118
|
+
canModPost?: BoolValue;
|
119
|
+
/**
|
120
|
+
* @generated from protobuf field: google.protobuf.StringValue category = 24;
|
121
|
+
*/
|
122
|
+
category?: StringValue;
|
123
|
+
/**
|
124
|
+
* @generated from protobuf field: google.protobuf.BoolValue clicked = 25;
|
125
|
+
*/
|
126
|
+
clicked?: BoolValue;
|
127
|
+
/**
|
128
|
+
* @generated from protobuf field: repeated google.protobuf.StringValue content_categories = 26;
|
129
|
+
*/
|
130
|
+
contentCategories: StringValue[];
|
131
|
+
/**
|
132
|
+
* @generated from protobuf field: google.protobuf.BoolValue contest_mode = 27;
|
133
|
+
*/
|
134
|
+
contestMode?: BoolValue;
|
135
|
+
/**
|
136
|
+
* @generated from protobuf field: google.protobuf.Int32Value created = 28;
|
137
|
+
*/
|
138
|
+
created?: Int32Value;
|
139
|
+
/**
|
140
|
+
* @generated from protobuf field: google.protobuf.Int32Value created_utc = 29;
|
141
|
+
*/
|
142
|
+
createdUtc?: Int32Value;
|
143
|
+
/**
|
144
|
+
* @generated from protobuf field: google.protobuf.StringValue discussion_type = 30;
|
145
|
+
*/
|
146
|
+
discussionType?: StringValue;
|
147
|
+
/**
|
148
|
+
* @generated from protobuf field: google.protobuf.StringValue distinguished = 31;
|
149
|
+
*/
|
150
|
+
distinguished?: StringValue;
|
151
|
+
/**
|
152
|
+
* @generated from protobuf field: google.protobuf.StringValue domain = 32;
|
153
|
+
*/
|
154
|
+
domain?: StringValue;
|
155
|
+
/**
|
156
|
+
* @generated from protobuf field: google.protobuf.Int32Value downs = 33;
|
157
|
+
*/
|
158
|
+
downs?: Int32Value;
|
159
|
+
/**
|
160
|
+
* @generated from protobuf field: google.protobuf.BoolValue edited = 34;
|
161
|
+
*/
|
162
|
+
edited?: BoolValue;
|
163
|
+
/**
|
164
|
+
* @generated from protobuf field: google.protobuf.Int32Value gilded = 35;
|
165
|
+
*/
|
166
|
+
gilded?: Int32Value;
|
167
|
+
/**
|
168
|
+
* @generated from protobuf field: devvit.reddit.Gildings gildings = 36;
|
169
|
+
*/
|
170
|
+
gildings?: Gildings;
|
171
|
+
/**
|
172
|
+
* @generated from protobuf field: google.protobuf.BoolValue hidden = 37;
|
173
|
+
*/
|
174
|
+
hidden?: BoolValue;
|
175
|
+
/**
|
176
|
+
* @generated from protobuf field: google.protobuf.BoolValue hide_score = 38;
|
177
|
+
*/
|
178
|
+
hideScore?: BoolValue;
|
179
|
+
/**
|
180
|
+
* @generated from protobuf field: google.protobuf.StringValue id = 39;
|
181
|
+
*/
|
182
|
+
id?: StringValue;
|
183
|
+
/**
|
184
|
+
* @generated from protobuf field: google.protobuf.BoolValue ignore_reports = 40;
|
185
|
+
*/
|
186
|
+
ignoreReports?: BoolValue;
|
187
|
+
/**
|
188
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_created_from_ads_ui = 41;
|
189
|
+
*/
|
190
|
+
isCreatedFromAdsUi?: BoolValue;
|
191
|
+
/**
|
192
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_crosspostable = 42;
|
193
|
+
*/
|
194
|
+
isCrosspostable?: BoolValue;
|
195
|
+
/**
|
196
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_meta = 43;
|
197
|
+
*/
|
198
|
+
isMeta?: BoolValue;
|
199
|
+
/**
|
200
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_original_content = 44;
|
201
|
+
*/
|
202
|
+
isOriginalContent?: BoolValue;
|
203
|
+
/**
|
204
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_reddit_media_domain = 45;
|
205
|
+
*/
|
206
|
+
isRedditMediaDomain?: BoolValue;
|
207
|
+
/**
|
208
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_robot_indexable = 46;
|
209
|
+
*/
|
210
|
+
isRobotIndexable?: BoolValue;
|
211
|
+
/**
|
212
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_self = 47;
|
213
|
+
*/
|
214
|
+
isSelf?: BoolValue;
|
215
|
+
/**
|
216
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_video = 48;
|
217
|
+
*/
|
218
|
+
isVideo?: BoolValue;
|
219
|
+
/**
|
220
|
+
* @generated from protobuf field: google.protobuf.BoolValue likes = 49;
|
221
|
+
*/
|
222
|
+
likes?: BoolValue;
|
223
|
+
/**
|
224
|
+
* @generated from protobuf field: google.protobuf.StringValue link_flair_background_color = 50;
|
225
|
+
*/
|
226
|
+
linkFlairBackgroundColor?: StringValue;
|
227
|
+
/**
|
228
|
+
* @generated from protobuf field: google.protobuf.StringValue link_flair_css_class = 51;
|
229
|
+
*/
|
230
|
+
linkFlairCssClass?: StringValue;
|
231
|
+
/**
|
232
|
+
* @generated from protobuf field: repeated google.protobuf.StringValue link_flair_richtext = 52;
|
233
|
+
*/
|
234
|
+
linkFlairRichtext: StringValue[];
|
235
|
+
/**
|
236
|
+
* @generated from protobuf field: google.protobuf.StringValue link_flair_text_color = 53;
|
237
|
+
*/
|
238
|
+
linkFlairTextColor?: StringValue;
|
239
|
+
/**
|
240
|
+
* @generated from protobuf field: google.protobuf.StringValue link_flair_text = 54;
|
241
|
+
*/
|
242
|
+
linkFlairText?: StringValue;
|
243
|
+
/**
|
244
|
+
* @generated from protobuf field: google.protobuf.StringValue link_flair_type = 55;
|
245
|
+
*/
|
246
|
+
linkFlairType?: StringValue;
|
247
|
+
/**
|
248
|
+
* @generated from protobuf field: google.protobuf.BoolValue locked = 56;
|
249
|
+
*/
|
250
|
+
locked?: BoolValue;
|
251
|
+
/**
|
252
|
+
* @generated from protobuf field: devvit.reddit.MediaEmbed media_embed = 57;
|
253
|
+
*/
|
254
|
+
mediaEmbed?: MediaEmbed;
|
255
|
+
/**
|
256
|
+
* @generated from protobuf field: google.protobuf.BoolValue media_only = 58;
|
257
|
+
*/
|
258
|
+
mediaOnly?: BoolValue;
|
259
|
+
/**
|
260
|
+
* @generated from protobuf field: devvit.reddit.Media media = 59;
|
261
|
+
*/
|
262
|
+
media?: Media;
|
263
|
+
/**
|
264
|
+
* @generated from protobuf field: google.protobuf.StringValue mod_note = 60;
|
265
|
+
*/
|
266
|
+
modNote?: StringValue;
|
267
|
+
/**
|
268
|
+
* @generated from protobuf field: google.protobuf.StringValue mod_reason_by = 61;
|
269
|
+
*/
|
270
|
+
modReasonBy?: StringValue;
|
271
|
+
/**
|
272
|
+
* @generated from protobuf field: google.protobuf.StringValue mod_reason_title = 62;
|
273
|
+
*/
|
274
|
+
modReasonTitle?: StringValue;
|
275
|
+
/**
|
276
|
+
* @generated from protobuf field: repeated google.protobuf.ListValue mod_reports = 63;
|
277
|
+
*/
|
278
|
+
modReports: ListValue[]; // array of array of strings :-/
|
279
|
+
/**
|
280
|
+
* @generated from protobuf field: google.protobuf.StringValue name = 64;
|
281
|
+
*/
|
282
|
+
name?: StringValue;
|
283
|
+
/**
|
284
|
+
* @generated from protobuf field: google.protobuf.BoolValue no_follow = 65;
|
285
|
+
*/
|
286
|
+
noFollow?: BoolValue;
|
287
|
+
/**
|
288
|
+
* @generated from protobuf field: google.protobuf.Int32Value num_comments = 66;
|
289
|
+
*/
|
290
|
+
numComments?: Int32Value;
|
291
|
+
/**
|
292
|
+
* @generated from protobuf field: google.protobuf.Int32Value num_crossposts = 67;
|
293
|
+
*/
|
294
|
+
numCrossposts?: Int32Value;
|
295
|
+
/**
|
296
|
+
* @generated from protobuf field: google.protobuf.Int32Value num_duplicates = 68;
|
297
|
+
*/
|
298
|
+
numDuplicates?: Int32Value;
|
299
|
+
/**
|
300
|
+
* @generated from protobuf field: google.protobuf.Int32Value num_reports = 69;
|
301
|
+
*/
|
302
|
+
numReports?: Int32Value;
|
303
|
+
/**
|
304
|
+
* @generated from protobuf field: google.protobuf.BoolValue over_18 = 70;
|
305
|
+
*/
|
306
|
+
over18?: BoolValue;
|
307
|
+
/**
|
308
|
+
* @generated from protobuf field: google.protobuf.StringValue parent_whitelist_status = 71;
|
309
|
+
*/
|
310
|
+
parentWhitelistStatus?: StringValue;
|
311
|
+
/**
|
312
|
+
* @generated from protobuf field: google.protobuf.StringValue permalink = 72;
|
313
|
+
*/
|
314
|
+
permalink?: StringValue;
|
315
|
+
/**
|
316
|
+
* @generated from protobuf field: google.protobuf.BoolValue pinned = 73;
|
317
|
+
*/
|
318
|
+
pinned?: BoolValue;
|
319
|
+
/**
|
320
|
+
* @generated from protobuf field: google.protobuf.StringValue post_hint = 74;
|
321
|
+
*/
|
322
|
+
postHint?: StringValue;
|
323
|
+
/**
|
324
|
+
* @generated from protobuf field: devvit.reddit.Preview preview = 75;
|
325
|
+
*/
|
326
|
+
preview?: Preview;
|
327
|
+
/**
|
328
|
+
* @generated from protobuf field: google.protobuf.Int32Value pwls = 76;
|
329
|
+
*/
|
330
|
+
pwls?: Int32Value;
|
331
|
+
/**
|
332
|
+
* @generated from protobuf field: google.protobuf.BoolValue quarantine = 77;
|
333
|
+
*/
|
334
|
+
quarantine?: BoolValue;
|
335
|
+
/**
|
336
|
+
* @generated from protobuf field: google.protobuf.StringValue removal_reason = 78;
|
337
|
+
*/
|
338
|
+
removalReason?: StringValue;
|
339
|
+
/**
|
340
|
+
* @generated from protobuf field: google.protobuf.StringValue removed_by_category = 79;
|
341
|
+
*/
|
342
|
+
removedByCategory?: StringValue;
|
343
|
+
/**
|
344
|
+
* @generated from protobuf field: google.protobuf.StringValue removed_by = 80;
|
345
|
+
*/
|
346
|
+
removedBy?: StringValue;
|
347
|
+
/**
|
348
|
+
* @generated from protobuf field: google.protobuf.BoolValue removed = 81;
|
349
|
+
*/
|
350
|
+
removed?: BoolValue;
|
351
|
+
/**
|
352
|
+
* @generated from protobuf field: repeated google.protobuf.StringValue report_reasons = 82;
|
353
|
+
*/
|
354
|
+
reportReasons: StringValue[];
|
355
|
+
/**
|
356
|
+
* @generated from protobuf field: google.protobuf.StringValue rte_mode = 83;
|
357
|
+
*/
|
358
|
+
rteMode?: StringValue;
|
359
|
+
/**
|
360
|
+
* @generated from protobuf field: google.protobuf.BoolValue saved = 84;
|
361
|
+
*/
|
362
|
+
saved?: BoolValue;
|
363
|
+
/**
|
364
|
+
* @generated from protobuf field: google.protobuf.Int32Value score = 85;
|
365
|
+
*/
|
366
|
+
score?: Int32Value;
|
367
|
+
/**
|
368
|
+
* @generated from protobuf field: devvit.reddit.MediaEmbed secure_media_embed = 86;
|
369
|
+
*/
|
370
|
+
secureMediaEmbed?: MediaEmbed;
|
371
|
+
/**
|
372
|
+
* @generated from protobuf field: devvit.reddit.Media secure_media = 87;
|
373
|
+
*/
|
374
|
+
secureMedia?: Media;
|
375
|
+
/**
|
376
|
+
* @generated from protobuf field: google.protobuf.StringValue selftext_html = 88;
|
377
|
+
*/
|
378
|
+
selftextHtml?: StringValue;
|
379
|
+
/**
|
380
|
+
* @generated from protobuf field: google.protobuf.StringValue selftext = 89;
|
381
|
+
*/
|
382
|
+
selftext?: StringValue;
|
383
|
+
/**
|
384
|
+
* @generated from protobuf field: google.protobuf.BoolValue send_replies = 90;
|
385
|
+
*/
|
386
|
+
sendReplies?: BoolValue;
|
387
|
+
/**
|
388
|
+
* @generated from protobuf field: google.protobuf.BoolValue spam = 91;
|
389
|
+
*/
|
390
|
+
spam?: BoolValue;
|
391
|
+
/**
|
392
|
+
* @generated from protobuf field: google.protobuf.BoolValue spoiler = 92;
|
393
|
+
*/
|
394
|
+
spoiler?: BoolValue;
|
395
|
+
/**
|
396
|
+
* @generated from protobuf field: google.protobuf.BoolValue stickied = 93;
|
397
|
+
*/
|
398
|
+
stickied?: BoolValue;
|
399
|
+
/**
|
400
|
+
* @generated from protobuf field: google.protobuf.StringValue subreddit_id = 94;
|
401
|
+
*/
|
402
|
+
subredditId?: StringValue;
|
403
|
+
/**
|
404
|
+
* @generated from protobuf field: google.protobuf.StringValue subreddit_name_prefixed = 95;
|
405
|
+
*/
|
406
|
+
subredditNamePrefixed?: StringValue;
|
407
|
+
/**
|
408
|
+
* @generated from protobuf field: google.protobuf.Int32Value subreddit_subscribers = 96;
|
409
|
+
*/
|
410
|
+
subredditSubscribers?: Int32Value;
|
411
|
+
/**
|
412
|
+
* @generated from protobuf field: google.protobuf.StringValue subreddit_type = 97;
|
413
|
+
*/
|
414
|
+
subredditType?: StringValue;
|
415
|
+
/**
|
416
|
+
* @generated from protobuf field: google.protobuf.StringValue subreddit = 98;
|
417
|
+
*/
|
418
|
+
subreddit?: StringValue;
|
419
|
+
/**
|
420
|
+
* @generated from protobuf field: google.protobuf.StringValue suggested_sort = 99;
|
421
|
+
*/
|
422
|
+
suggestedSort?: StringValue;
|
423
|
+
/**
|
424
|
+
* @generated from protobuf field: google.protobuf.Int32Value thumbnail_height = 100;
|
425
|
+
*/
|
426
|
+
thumbnailHeight?: Int32Value;
|
427
|
+
/**
|
428
|
+
* @generated from protobuf field: google.protobuf.Int32Value thumbnail_width = 101;
|
429
|
+
*/
|
430
|
+
thumbnailWidth?: Int32Value;
|
431
|
+
/**
|
432
|
+
* @generated from protobuf field: google.protobuf.StringValue thumbnail = 102;
|
433
|
+
*/
|
434
|
+
thumbnail?: StringValue;
|
435
|
+
/**
|
436
|
+
* @generated from protobuf field: google.protobuf.StringValue title = 103;
|
437
|
+
*/
|
438
|
+
title?: StringValue;
|
439
|
+
/**
|
440
|
+
* @generated from protobuf field: google.protobuf.StringValue top_awarded_type = 104;
|
441
|
+
*/
|
442
|
+
topAwardedType?: StringValue;
|
443
|
+
/**
|
444
|
+
* @generated from protobuf field: google.protobuf.Int32Value total_awards_received = 105;
|
445
|
+
*/
|
446
|
+
totalAwardsReceived?: Int32Value;
|
447
|
+
/**
|
448
|
+
* @generated from protobuf field: repeated google.protobuf.StringValue treatment_tags = 106;
|
449
|
+
*/
|
450
|
+
treatmentTags: StringValue[];
|
451
|
+
/**
|
452
|
+
* @generated from protobuf field: google.protobuf.Int32Value ups = 107;
|
453
|
+
*/
|
454
|
+
ups?: Int32Value;
|
455
|
+
/**
|
456
|
+
* @generated from protobuf field: google.protobuf.FloatValue upvote_ratio = 108;
|
457
|
+
*/
|
458
|
+
upvoteRatio?: FloatValue;
|
459
|
+
/**
|
460
|
+
* @generated from protobuf field: google.protobuf.StringValue url_overridden_by_dest = 109;
|
461
|
+
*/
|
462
|
+
urlOverriddenByDest?: StringValue;
|
463
|
+
/**
|
464
|
+
* @generated from protobuf field: google.protobuf.StringValue url = 110;
|
465
|
+
*/
|
466
|
+
url?: StringValue;
|
467
|
+
/**
|
468
|
+
* @generated from protobuf field: repeated google.protobuf.ListValue user_reports = 111;
|
469
|
+
*/
|
470
|
+
userReports: ListValue[]; // array of array of strings :-/
|
471
|
+
/**
|
472
|
+
* @generated from protobuf field: google.protobuf.Int32Value view_count = 112;
|
473
|
+
*/
|
474
|
+
viewCount?: Int32Value;
|
475
|
+
/**
|
476
|
+
* @generated from protobuf field: google.protobuf.BoolValue visited = 113;
|
477
|
+
*/
|
478
|
+
visited?: BoolValue;
|
479
|
+
/**
|
480
|
+
* @generated from protobuf field: google.protobuf.StringValue whitelist_status = 114;
|
481
|
+
*/
|
482
|
+
whitelistStatus?: StringValue;
|
483
|
+
/**
|
484
|
+
* @generated from protobuf field: google.protobuf.Int32Value wls = 115;
|
485
|
+
*/
|
486
|
+
wls?: Int32Value;
|
487
|
+
/**
|
488
|
+
* properties for automod invocation
|
489
|
+
*
|
490
|
+
* @generated from protobuf field: google.protobuf.StringValue link_flair_template_id = 150;
|
491
|
+
*/
|
492
|
+
linkFlairTemplateId?: StringValue;
|
493
|
+
/**
|
494
|
+
* @generated from protobuf field: google.protobuf.Int32Value crowd_control_level = 151;
|
495
|
+
*/
|
496
|
+
crowdControlLevel?: Int32Value;
|
497
|
+
/**
|
498
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_gallery = 152;
|
499
|
+
*/
|
500
|
+
isGallery?: BoolValue;
|
501
|
+
/**
|
502
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_live_stream = 153;
|
503
|
+
*/
|
504
|
+
isLiveStream?: BoolValue;
|
505
|
+
/**
|
506
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_meta_discussion = 154;
|
507
|
+
*/
|
508
|
+
isMetaDiscussion?: BoolValue;
|
509
|
+
/**
|
510
|
+
* @generated from protobuf field: devvit.reddit.OEmbed oembed = 155;
|
511
|
+
*/
|
512
|
+
oembed?: OEmbed;
|
513
|
+
/**
|
514
|
+
* @generated from protobuf field: devvit.reddit.BanInfo ban_info = 156;
|
515
|
+
*/
|
516
|
+
banInfo?: BanInfo;
|
517
|
+
/**
|
518
|
+
* PRIVATE - DO NOT SET FOR PUBLIC USE
|
519
|
+
*
|
520
|
+
* @generated from protobuf field: google.protobuf.BoolValue marked_spam = 157;
|
521
|
+
*/
|
522
|
+
markedSpam?: BoolValue;
|
523
|
+
/**
|
524
|
+
* properties for automod invocation
|
525
|
+
*
|
526
|
+
* @generated from protobuf field: google.protobuf.StringValue verdict = 158;
|
527
|
+
*/
|
528
|
+
verdict?: StringValue;
|
529
|
+
/**
|
530
|
+
* @generated from protobuf field: devvit.reddit.RedditPostGallery gallery = 159;
|
531
|
+
*/
|
532
|
+
gallery?: RedditPostGallery;
|
533
|
+
}
|
534
|
+
/**
|
535
|
+
* @generated from protobuf message devvit.reddit.Media
|
536
|
+
*/
|
537
|
+
export interface Media {
|
538
|
+
/**
|
539
|
+
* @generated from protobuf field: devvit.reddit.Media.RedditVideo reddit_video = 1;
|
540
|
+
*/
|
541
|
+
redditVideo?: Media_RedditVideo;
|
542
|
+
}
|
543
|
+
/**
|
544
|
+
* @generated from protobuf message devvit.reddit.Media.RedditVideo
|
545
|
+
*/
|
546
|
+
export interface Media_RedditVideo {
|
547
|
+
/**
|
548
|
+
* @generated from protobuf field: google.protobuf.Int32Value bitrate_kbps = 1;
|
549
|
+
*/
|
550
|
+
bitrateKbps?: Int32Value;
|
551
|
+
/**
|
552
|
+
* @generated from protobuf field: google.protobuf.StringValue dash_url = 2;
|
553
|
+
*/
|
554
|
+
dashUrl?: StringValue;
|
555
|
+
/**
|
556
|
+
* @generated from protobuf field: google.protobuf.Int32Value duration = 3;
|
557
|
+
*/
|
558
|
+
duration?: Int32Value;
|
559
|
+
/**
|
560
|
+
* @generated from protobuf field: google.protobuf.StringValue fallback_url = 4;
|
561
|
+
*/
|
562
|
+
fallbackUrl?: StringValue;
|
563
|
+
/**
|
564
|
+
* @generated from protobuf field: google.protobuf.Int32Value height = 5;
|
565
|
+
*/
|
566
|
+
height?: Int32Value;
|
567
|
+
/**
|
568
|
+
* @generated from protobuf field: google.protobuf.StringValue hls_url = 6;
|
569
|
+
*/
|
570
|
+
hlsUrl?: StringValue;
|
571
|
+
/**
|
572
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_gif = 7;
|
573
|
+
*/
|
574
|
+
isGif?: BoolValue;
|
575
|
+
/**
|
576
|
+
* @generated from protobuf field: google.protobuf.StringValue scrubber_media_url = 8;
|
577
|
+
*/
|
578
|
+
scrubberMediaUrl?: StringValue;
|
579
|
+
/**
|
580
|
+
* @generated from protobuf field: google.protobuf.StringValue transcoding_status = 9;
|
581
|
+
*/
|
582
|
+
transcodingStatus?: StringValue;
|
583
|
+
/**
|
584
|
+
* @generated from protobuf field: google.protobuf.Int32Value width = 10;
|
585
|
+
*/
|
586
|
+
width?: Int32Value;
|
587
|
+
}
|
588
|
+
/**
|
589
|
+
* @generated from protobuf message devvit.reddit.Preview
|
590
|
+
*/
|
591
|
+
export interface Preview {
|
592
|
+
/**
|
593
|
+
* @generated from protobuf field: google.protobuf.BoolValue enabled = 1;
|
594
|
+
*/
|
595
|
+
enabled?: BoolValue;
|
596
|
+
/**
|
597
|
+
* @generated from protobuf field: repeated devvit.reddit.Preview.PreviewImage images = 2;
|
598
|
+
*/
|
599
|
+
images: Preview_PreviewImage[];
|
600
|
+
}
|
601
|
+
/**
|
602
|
+
* @generated from protobuf message devvit.reddit.Preview.PreviewImage
|
603
|
+
*/
|
604
|
+
export interface Preview_PreviewImage {
|
605
|
+
/**
|
606
|
+
* @generated from protobuf field: google.protobuf.StringValue id = 1;
|
607
|
+
*/
|
608
|
+
id?: StringValue;
|
609
|
+
/**
|
610
|
+
* @generated from protobuf field: repeated devvit.reddit.Preview.PreviewImage.Image resolutions = 2;
|
611
|
+
*/
|
612
|
+
resolutions: Preview_PreviewImage_Image[];
|
613
|
+
/**
|
614
|
+
* @generated from protobuf field: devvit.reddit.Preview.PreviewImage.Image source = 3;
|
615
|
+
*/
|
616
|
+
source?: Preview_PreviewImage_Image;
|
617
|
+
/**
|
618
|
+
* @generated from protobuf field: devvit.reddit.Preview.PreviewImage.Image variants = 4;
|
619
|
+
*/
|
620
|
+
variants?: Preview_PreviewImage_Image;
|
621
|
+
}
|
622
|
+
/**
|
623
|
+
* @generated from protobuf message devvit.reddit.Preview.PreviewImage.Image
|
624
|
+
*/
|
625
|
+
export interface Preview_PreviewImage_Image {
|
626
|
+
/**
|
627
|
+
* @generated from protobuf field: google.protobuf.Int32Value height = 1;
|
628
|
+
*/
|
629
|
+
height?: Int32Value;
|
630
|
+
/**
|
631
|
+
* @generated from protobuf field: google.protobuf.StringValue url = 2;
|
632
|
+
*/
|
633
|
+
url?: StringValue;
|
634
|
+
/**
|
635
|
+
* @generated from protobuf field: google.protobuf.Int32Value width = 3;
|
636
|
+
*/
|
637
|
+
width?: Int32Value;
|
638
|
+
}
|
639
|
+
/**
|
640
|
+
* @generated from protobuf message devvit.reddit.OEmbed
|
641
|
+
*/
|
642
|
+
export interface OEmbed {
|
643
|
+
/**
|
644
|
+
* @generated from protobuf field: google.protobuf.StringValue author_name = 1;
|
645
|
+
*/
|
646
|
+
authorName?: StringValue;
|
647
|
+
/**
|
648
|
+
* @generated from protobuf field: google.protobuf.StringValue author_url = 2;
|
649
|
+
*/
|
650
|
+
authorUrl?: StringValue;
|
651
|
+
/**
|
652
|
+
* @generated from protobuf field: google.protobuf.StringValue description = 3;
|
653
|
+
*/
|
654
|
+
description?: StringValue;
|
655
|
+
/**
|
656
|
+
* @generated from protobuf field: google.protobuf.StringValue title = 4;
|
657
|
+
*/
|
658
|
+
title?: StringValue;
|
659
|
+
}
|
660
|
+
/**
|
661
|
+
* @generated from protobuf message devvit.reddit.RedditPostGallery
|
662
|
+
*/
|
663
|
+
export interface RedditPostGallery {
|
664
|
+
/**
|
665
|
+
* @generated from protobuf field: google.protobuf.StringValue body = 1;
|
666
|
+
*/
|
667
|
+
body?: StringValue;
|
668
|
+
/**
|
669
|
+
* @generated from protobuf field: google.protobuf.StringValue domain = 2;
|
670
|
+
*/
|
671
|
+
domain?: StringValue;
|
672
|
+
/**
|
673
|
+
* @generated from protobuf field: google.protobuf.StringValue url = 3;
|
674
|
+
*/
|
675
|
+
url?: StringValue;
|
676
|
+
}
|
677
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
678
|
+
class Post$Type extends MessageType<Post> {
|
679
|
+
constructor() {
|
680
|
+
super("devvit.reddit.Post", [
|
681
|
+
{ no: 1, name: "all_awardings", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Awarding },
|
682
|
+
{ no: 2, name: "allow_live_comments", kind: "message", T: () => BoolValue },
|
683
|
+
{ no: 3, name: "approved", kind: "message", T: () => BoolValue },
|
684
|
+
{ no: 4, name: "approved_at_utc", kind: "message", T: () => Int32Value },
|
685
|
+
{ no: 5, name: "approved_by", kind: "message", T: () => StringValue },
|
686
|
+
{ no: 6, name: "archived", kind: "message", T: () => BoolValue },
|
687
|
+
{ no: 7, name: "author", kind: "message", T: () => StringValue },
|
688
|
+
{ no: 8, name: "author_flair_background_color", kind: "message", T: () => StringValue },
|
689
|
+
{ no: 9, name: "author_flair_css_class", kind: "message", T: () => StringValue },
|
690
|
+
{ no: 10, name: "author_flair_richtext", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => AuthorFlairRichText },
|
691
|
+
{ no: 11, name: "author_flair_template_id", kind: "message", T: () => StringValue },
|
692
|
+
{ no: 12, name: "author_flair_text", kind: "message", T: () => StringValue },
|
693
|
+
{ no: 13, name: "author_flair_text_color", kind: "message", T: () => StringValue },
|
694
|
+
{ no: 14, name: "author_flair_type", kind: "message", T: () => StringValue },
|
695
|
+
{ no: 15, name: "author_fullname", kind: "message", T: () => StringValue },
|
696
|
+
{ no: 16, name: "author_is_blocked", kind: "message", T: () => BoolValue },
|
697
|
+
{ no: 17, name: "author_patreon_flair", kind: "message", T: () => BoolValue },
|
698
|
+
{ no: 18, name: "author_premium", kind: "message", T: () => BoolValue },
|
699
|
+
{ no: 19, name: "awarders", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => StringValue },
|
700
|
+
{ no: 20, name: "banned_at_utc", kind: "message", T: () => Int32Value },
|
701
|
+
{ no: 21, name: "banned_by", kind: "message", T: () => StringValue },
|
702
|
+
{ no: 22, name: "can_gild", kind: "message", T: () => BoolValue },
|
703
|
+
{ no: 23, name: "can_mod_post", kind: "message", T: () => BoolValue },
|
704
|
+
{ no: 24, name: "category", kind: "message", T: () => StringValue },
|
705
|
+
{ no: 25, name: "clicked", kind: "message", T: () => BoolValue },
|
706
|
+
{ no: 26, name: "content_categories", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => StringValue },
|
707
|
+
{ no: 27, name: "contest_mode", kind: "message", T: () => BoolValue },
|
708
|
+
{ no: 28, name: "created", kind: "message", T: () => Int32Value },
|
709
|
+
{ no: 29, name: "created_utc", kind: "message", T: () => Int32Value },
|
710
|
+
{ no: 30, name: "discussion_type", kind: "message", T: () => StringValue },
|
711
|
+
{ no: 31, name: "distinguished", kind: "message", T: () => StringValue },
|
712
|
+
{ no: 32, name: "domain", kind: "message", T: () => StringValue },
|
713
|
+
{ no: 33, name: "downs", kind: "message", T: () => Int32Value },
|
714
|
+
{ no: 34, name: "edited", kind: "message", T: () => BoolValue },
|
715
|
+
{ no: 35, name: "gilded", kind: "message", T: () => Int32Value },
|
716
|
+
{ no: 36, name: "gildings", kind: "message", T: () => Gildings },
|
717
|
+
{ no: 37, name: "hidden", kind: "message", T: () => BoolValue },
|
718
|
+
{ no: 38, name: "hide_score", kind: "message", T: () => BoolValue },
|
719
|
+
{ no: 39, name: "id", kind: "message", T: () => StringValue },
|
720
|
+
{ no: 40, name: "ignore_reports", kind: "message", T: () => BoolValue },
|
721
|
+
{ no: 41, name: "is_created_from_ads_ui", kind: "message", T: () => BoolValue },
|
722
|
+
{ no: 42, name: "is_crosspostable", kind: "message", T: () => BoolValue },
|
723
|
+
{ no: 43, name: "is_meta", kind: "message", T: () => BoolValue },
|
724
|
+
{ no: 44, name: "is_original_content", kind: "message", T: () => BoolValue },
|
725
|
+
{ no: 45, name: "is_reddit_media_domain", kind: "message", T: () => BoolValue },
|
726
|
+
{ no: 46, name: "is_robot_indexable", kind: "message", T: () => BoolValue },
|
727
|
+
{ no: 47, name: "is_self", kind: "message", T: () => BoolValue },
|
728
|
+
{ no: 48, name: "is_video", kind: "message", T: () => BoolValue },
|
729
|
+
{ no: 49, name: "likes", kind: "message", T: () => BoolValue },
|
730
|
+
{ no: 50, name: "link_flair_background_color", kind: "message", T: () => StringValue },
|
731
|
+
{ no: 51, name: "link_flair_css_class", kind: "message", T: () => StringValue },
|
732
|
+
{ no: 52, name: "link_flair_richtext", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => StringValue },
|
733
|
+
{ no: 53, name: "link_flair_text_color", kind: "message", T: () => StringValue },
|
734
|
+
{ no: 54, name: "link_flair_text", kind: "message", T: () => StringValue },
|
735
|
+
{ no: 55, name: "link_flair_type", kind: "message", T: () => StringValue },
|
736
|
+
{ no: 56, name: "locked", kind: "message", T: () => BoolValue },
|
737
|
+
{ no: 57, name: "media_embed", kind: "message", T: () => MediaEmbed },
|
738
|
+
{ no: 58, name: "media_only", kind: "message", T: () => BoolValue },
|
739
|
+
{ no: 59, name: "media", kind: "message", T: () => Media },
|
740
|
+
{ no: 60, name: "mod_note", kind: "message", T: () => StringValue },
|
741
|
+
{ no: 61, name: "mod_reason_by", kind: "message", T: () => StringValue },
|
742
|
+
{ no: 62, name: "mod_reason_title", kind: "message", T: () => StringValue },
|
743
|
+
{ no: 63, name: "mod_reports", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => ListValue },
|
744
|
+
{ no: 64, name: "name", kind: "message", T: () => StringValue },
|
745
|
+
{ no: 65, name: "no_follow", kind: "message", T: () => BoolValue },
|
746
|
+
{ no: 66, name: "num_comments", kind: "message", T: () => Int32Value },
|
747
|
+
{ no: 67, name: "num_crossposts", kind: "message", T: () => Int32Value },
|
748
|
+
{ no: 68, name: "num_duplicates", kind: "message", T: () => Int32Value },
|
749
|
+
{ no: 69, name: "num_reports", kind: "message", T: () => Int32Value },
|
750
|
+
{ no: 70, name: "over_18", kind: "message", T: () => BoolValue },
|
751
|
+
{ no: 71, name: "parent_whitelist_status", kind: "message", T: () => StringValue },
|
752
|
+
{ no: 72, name: "permalink", kind: "message", T: () => StringValue },
|
753
|
+
{ no: 73, name: "pinned", kind: "message", T: () => BoolValue },
|
754
|
+
{ no: 74, name: "post_hint", kind: "message", T: () => StringValue },
|
755
|
+
{ no: 75, name: "preview", kind: "message", T: () => Preview },
|
756
|
+
{ no: 76, name: "pwls", kind: "message", T: () => Int32Value },
|
757
|
+
{ no: 77, name: "quarantine", kind: "message", T: () => BoolValue },
|
758
|
+
{ no: 78, name: "removal_reason", kind: "message", T: () => StringValue },
|
759
|
+
{ no: 79, name: "removed_by_category", kind: "message", T: () => StringValue },
|
760
|
+
{ no: 80, name: "removed_by", kind: "message", T: () => StringValue },
|
761
|
+
{ no: 81, name: "removed", kind: "message", T: () => BoolValue },
|
762
|
+
{ no: 82, name: "report_reasons", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => StringValue },
|
763
|
+
{ no: 83, name: "rte_mode", kind: "message", T: () => StringValue },
|
764
|
+
{ no: 84, name: "saved", kind: "message", T: () => BoolValue },
|
765
|
+
{ no: 85, name: "score", kind: "message", T: () => Int32Value },
|
766
|
+
{ no: 86, name: "secure_media_embed", kind: "message", T: () => MediaEmbed },
|
767
|
+
{ no: 87, name: "secure_media", kind: "message", T: () => Media },
|
768
|
+
{ no: 88, name: "selftext_html", kind: "message", T: () => StringValue },
|
769
|
+
{ no: 89, name: "selftext", kind: "message", T: () => StringValue },
|
770
|
+
{ no: 90, name: "send_replies", kind: "message", T: () => BoolValue },
|
771
|
+
{ no: 91, name: "spam", kind: "message", T: () => BoolValue },
|
772
|
+
{ no: 92, name: "spoiler", kind: "message", T: () => BoolValue },
|
773
|
+
{ no: 93, name: "stickied", kind: "message", T: () => BoolValue },
|
774
|
+
{ no: 94, name: "subreddit_id", kind: "message", T: () => StringValue },
|
775
|
+
{ no: 95, name: "subreddit_name_prefixed", kind: "message", T: () => StringValue },
|
776
|
+
{ no: 96, name: "subreddit_subscribers", kind: "message", T: () => Int32Value },
|
777
|
+
{ no: 97, name: "subreddit_type", kind: "message", T: () => StringValue },
|
778
|
+
{ no: 98, name: "subreddit", kind: "message", T: () => StringValue },
|
779
|
+
{ no: 99, name: "suggested_sort", kind: "message", T: () => StringValue },
|
780
|
+
{ no: 100, name: "thumbnail_height", kind: "message", T: () => Int32Value },
|
781
|
+
{ no: 101, name: "thumbnail_width", kind: "message", T: () => Int32Value },
|
782
|
+
{ no: 102, name: "thumbnail", kind: "message", T: () => StringValue },
|
783
|
+
{ no: 103, name: "title", kind: "message", T: () => StringValue },
|
784
|
+
{ no: 104, name: "top_awarded_type", kind: "message", T: () => StringValue },
|
785
|
+
{ no: 105, name: "total_awards_received", kind: "message", T: () => Int32Value },
|
786
|
+
{ no: 106, name: "treatment_tags", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => StringValue },
|
787
|
+
{ no: 107, name: "ups", kind: "message", T: () => Int32Value },
|
788
|
+
{ no: 108, name: "upvote_ratio", kind: "message", T: () => FloatValue },
|
789
|
+
{ no: 109, name: "url_overridden_by_dest", kind: "message", T: () => StringValue },
|
790
|
+
{ no: 110, name: "url", kind: "message", T: () => StringValue },
|
791
|
+
{ no: 111, name: "user_reports", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => ListValue },
|
792
|
+
{ no: 112, name: "view_count", kind: "message", T: () => Int32Value },
|
793
|
+
{ no: 113, name: "visited", kind: "message", T: () => BoolValue },
|
794
|
+
{ no: 114, name: "whitelist_status", kind: "message", T: () => StringValue },
|
795
|
+
{ no: 115, name: "wls", kind: "message", T: () => Int32Value },
|
796
|
+
{ no: 150, name: "link_flair_template_id", kind: "message", T: () => StringValue },
|
797
|
+
{ no: 151, name: "crowd_control_level", kind: "message", T: () => Int32Value },
|
798
|
+
{ no: 152, name: "is_gallery", kind: "message", T: () => BoolValue },
|
799
|
+
{ no: 153, name: "is_live_stream", kind: "message", T: () => BoolValue },
|
800
|
+
{ no: 154, name: "is_meta_discussion", kind: "message", T: () => BoolValue },
|
801
|
+
{ no: 155, name: "oembed", kind: "message", T: () => OEmbed },
|
802
|
+
{ no: 156, name: "ban_info", kind: "message", T: () => BanInfo },
|
803
|
+
{ no: 157, name: "marked_spam", kind: "message", T: () => BoolValue },
|
804
|
+
{ no: 158, name: "verdict", kind: "message", T: () => StringValue },
|
805
|
+
{ no: 159, name: "gallery", kind: "message", T: () => RedditPostGallery }
|
806
|
+
]);
|
807
|
+
}
|
808
|
+
create(value?: PartialMessage<Post>): Post {
|
809
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
810
|
+
message.allAwardings = [];
|
811
|
+
message.authorFlairRichtext = [];
|
812
|
+
message.awarders = [];
|
813
|
+
message.contentCategories = [];
|
814
|
+
message.linkFlairRichtext = [];
|
815
|
+
message.modReports = [];
|
816
|
+
message.reportReasons = [];
|
817
|
+
message.treatmentTags = [];
|
818
|
+
message.userReports = [];
|
819
|
+
if (value !== undefined)
|
820
|
+
reflectionMergePartial<Post>(this, message, value);
|
821
|
+
return message;
|
822
|
+
}
|
823
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Post): Post {
|
824
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
825
|
+
while (reader.pos < end) {
|
826
|
+
let [fieldNo, wireType] = reader.tag();
|
827
|
+
switch (fieldNo) {
|
828
|
+
case /* repeated devvit.reddit.Awarding all_awardings */ 1:
|
829
|
+
message.allAwardings.push(Awarding.internalBinaryRead(reader, reader.uint32(), options));
|
830
|
+
break;
|
831
|
+
case /* google.protobuf.BoolValue allow_live_comments */ 2:
|
832
|
+
message.allowLiveComments = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.allowLiveComments);
|
833
|
+
break;
|
834
|
+
case /* google.protobuf.BoolValue approved */ 3:
|
835
|
+
message.approved = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.approved);
|
836
|
+
break;
|
837
|
+
case /* google.protobuf.Int32Value approved_at_utc */ 4:
|
838
|
+
message.approvedAtUtc = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.approvedAtUtc);
|
839
|
+
break;
|
840
|
+
case /* google.protobuf.StringValue approved_by */ 5:
|
841
|
+
message.approvedBy = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.approvedBy);
|
842
|
+
break;
|
843
|
+
case /* google.protobuf.BoolValue archived */ 6:
|
844
|
+
message.archived = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.archived);
|
845
|
+
break;
|
846
|
+
case /* google.protobuf.StringValue author */ 7:
|
847
|
+
message.author = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.author);
|
848
|
+
break;
|
849
|
+
case /* google.protobuf.StringValue author_flair_background_color */ 8:
|
850
|
+
message.authorFlairBackgroundColor = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFlairBackgroundColor);
|
851
|
+
break;
|
852
|
+
case /* google.protobuf.StringValue author_flair_css_class */ 9:
|
853
|
+
message.authorFlairCssClass = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFlairCssClass);
|
854
|
+
break;
|
855
|
+
case /* repeated devvit.reddit.AuthorFlairRichText author_flair_richtext */ 10:
|
856
|
+
message.authorFlairRichtext.push(AuthorFlairRichText.internalBinaryRead(reader, reader.uint32(), options));
|
857
|
+
break;
|
858
|
+
case /* google.protobuf.StringValue author_flair_template_id */ 11:
|
859
|
+
message.authorFlairTemplateId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFlairTemplateId);
|
860
|
+
break;
|
861
|
+
case /* google.protobuf.StringValue author_flair_text */ 12:
|
862
|
+
message.authorFlairText = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFlairText);
|
863
|
+
break;
|
864
|
+
case /* google.protobuf.StringValue author_flair_text_color */ 13:
|
865
|
+
message.authorFlairTextColor = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFlairTextColor);
|
866
|
+
break;
|
867
|
+
case /* google.protobuf.StringValue author_flair_type */ 14:
|
868
|
+
message.authorFlairType = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFlairType);
|
869
|
+
break;
|
870
|
+
case /* google.protobuf.StringValue author_fullname */ 15:
|
871
|
+
message.authorFullname = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorFullname);
|
872
|
+
break;
|
873
|
+
case /* google.protobuf.BoolValue author_is_blocked */ 16:
|
874
|
+
message.authorIsBlocked = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.authorIsBlocked);
|
875
|
+
break;
|
876
|
+
case /* google.protobuf.BoolValue author_patreon_flair */ 17:
|
877
|
+
message.authorPatreonFlair = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.authorPatreonFlair);
|
878
|
+
break;
|
879
|
+
case /* google.protobuf.BoolValue author_premium */ 18:
|
880
|
+
message.authorPremium = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.authorPremium);
|
881
|
+
break;
|
882
|
+
case /* repeated google.protobuf.StringValue awarders */ 19:
|
883
|
+
message.awarders.push(StringValue.internalBinaryRead(reader, reader.uint32(), options));
|
884
|
+
break;
|
885
|
+
case /* google.protobuf.Int32Value banned_at_utc */ 20:
|
886
|
+
message.bannedAtUtc = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.bannedAtUtc);
|
887
|
+
break;
|
888
|
+
case /* google.protobuf.StringValue banned_by */ 21:
|
889
|
+
message.bannedBy = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.bannedBy);
|
890
|
+
break;
|
891
|
+
case /* google.protobuf.BoolValue can_gild */ 22:
|
892
|
+
message.canGild = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.canGild);
|
893
|
+
break;
|
894
|
+
case /* google.protobuf.BoolValue can_mod_post */ 23:
|
895
|
+
message.canModPost = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.canModPost);
|
896
|
+
break;
|
897
|
+
case /* google.protobuf.StringValue category */ 24:
|
898
|
+
message.category = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.category);
|
899
|
+
break;
|
900
|
+
case /* google.protobuf.BoolValue clicked */ 25:
|
901
|
+
message.clicked = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.clicked);
|
902
|
+
break;
|
903
|
+
case /* repeated google.protobuf.StringValue content_categories */ 26:
|
904
|
+
message.contentCategories.push(StringValue.internalBinaryRead(reader, reader.uint32(), options));
|
905
|
+
break;
|
906
|
+
case /* google.protobuf.BoolValue contest_mode */ 27:
|
907
|
+
message.contestMode = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.contestMode);
|
908
|
+
break;
|
909
|
+
case /* google.protobuf.Int32Value created */ 28:
|
910
|
+
message.created = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.created);
|
911
|
+
break;
|
912
|
+
case /* google.protobuf.Int32Value created_utc */ 29:
|
913
|
+
message.createdUtc = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.createdUtc);
|
914
|
+
break;
|
915
|
+
case /* google.protobuf.StringValue discussion_type */ 30:
|
916
|
+
message.discussionType = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.discussionType);
|
917
|
+
break;
|
918
|
+
case /* google.protobuf.StringValue distinguished */ 31:
|
919
|
+
message.distinguished = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.distinguished);
|
920
|
+
break;
|
921
|
+
case /* google.protobuf.StringValue domain */ 32:
|
922
|
+
message.domain = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.domain);
|
923
|
+
break;
|
924
|
+
case /* google.protobuf.Int32Value downs */ 33:
|
925
|
+
message.downs = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.downs);
|
926
|
+
break;
|
927
|
+
case /* google.protobuf.BoolValue edited */ 34:
|
928
|
+
message.edited = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.edited);
|
929
|
+
break;
|
930
|
+
case /* google.protobuf.Int32Value gilded */ 35:
|
931
|
+
message.gilded = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.gilded);
|
932
|
+
break;
|
933
|
+
case /* devvit.reddit.Gildings gildings */ 36:
|
934
|
+
message.gildings = Gildings.internalBinaryRead(reader, reader.uint32(), options, message.gildings);
|
935
|
+
break;
|
936
|
+
case /* google.protobuf.BoolValue hidden */ 37:
|
937
|
+
message.hidden = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.hidden);
|
938
|
+
break;
|
939
|
+
case /* google.protobuf.BoolValue hide_score */ 38:
|
940
|
+
message.hideScore = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.hideScore);
|
941
|
+
break;
|
942
|
+
case /* google.protobuf.StringValue id */ 39:
|
943
|
+
message.id = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
944
|
+
break;
|
945
|
+
case /* google.protobuf.BoolValue ignore_reports */ 40:
|
946
|
+
message.ignoreReports = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.ignoreReports);
|
947
|
+
break;
|
948
|
+
case /* google.protobuf.BoolValue is_created_from_ads_ui */ 41:
|
949
|
+
message.isCreatedFromAdsUi = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isCreatedFromAdsUi);
|
950
|
+
break;
|
951
|
+
case /* google.protobuf.BoolValue is_crosspostable */ 42:
|
952
|
+
message.isCrosspostable = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isCrosspostable);
|
953
|
+
break;
|
954
|
+
case /* google.protobuf.BoolValue is_meta */ 43:
|
955
|
+
message.isMeta = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isMeta);
|
956
|
+
break;
|
957
|
+
case /* google.protobuf.BoolValue is_original_content */ 44:
|
958
|
+
message.isOriginalContent = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isOriginalContent);
|
959
|
+
break;
|
960
|
+
case /* google.protobuf.BoolValue is_reddit_media_domain */ 45:
|
961
|
+
message.isRedditMediaDomain = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isRedditMediaDomain);
|
962
|
+
break;
|
963
|
+
case /* google.protobuf.BoolValue is_robot_indexable */ 46:
|
964
|
+
message.isRobotIndexable = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isRobotIndexable);
|
965
|
+
break;
|
966
|
+
case /* google.protobuf.BoolValue is_self */ 47:
|
967
|
+
message.isSelf = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isSelf);
|
968
|
+
break;
|
969
|
+
case /* google.protobuf.BoolValue is_video */ 48:
|
970
|
+
message.isVideo = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isVideo);
|
971
|
+
break;
|
972
|
+
case /* google.protobuf.BoolValue likes */ 49:
|
973
|
+
message.likes = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.likes);
|
974
|
+
break;
|
975
|
+
case /* google.protobuf.StringValue link_flair_background_color */ 50:
|
976
|
+
message.linkFlairBackgroundColor = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.linkFlairBackgroundColor);
|
977
|
+
break;
|
978
|
+
case /* google.protobuf.StringValue link_flair_css_class */ 51:
|
979
|
+
message.linkFlairCssClass = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.linkFlairCssClass);
|
980
|
+
break;
|
981
|
+
case /* repeated google.protobuf.StringValue link_flair_richtext */ 52:
|
982
|
+
message.linkFlairRichtext.push(StringValue.internalBinaryRead(reader, reader.uint32(), options));
|
983
|
+
break;
|
984
|
+
case /* google.protobuf.StringValue link_flair_text_color */ 53:
|
985
|
+
message.linkFlairTextColor = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.linkFlairTextColor);
|
986
|
+
break;
|
987
|
+
case /* google.protobuf.StringValue link_flair_text */ 54:
|
988
|
+
message.linkFlairText = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.linkFlairText);
|
989
|
+
break;
|
990
|
+
case /* google.protobuf.StringValue link_flair_type */ 55:
|
991
|
+
message.linkFlairType = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.linkFlairType);
|
992
|
+
break;
|
993
|
+
case /* google.protobuf.BoolValue locked */ 56:
|
994
|
+
message.locked = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.locked);
|
995
|
+
break;
|
996
|
+
case /* devvit.reddit.MediaEmbed media_embed */ 57:
|
997
|
+
message.mediaEmbed = MediaEmbed.internalBinaryRead(reader, reader.uint32(), options, message.mediaEmbed);
|
998
|
+
break;
|
999
|
+
case /* google.protobuf.BoolValue media_only */ 58:
|
1000
|
+
message.mediaOnly = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.mediaOnly);
|
1001
|
+
break;
|
1002
|
+
case /* devvit.reddit.Media media */ 59:
|
1003
|
+
message.media = Media.internalBinaryRead(reader, reader.uint32(), options, message.media);
|
1004
|
+
break;
|
1005
|
+
case /* google.protobuf.StringValue mod_note */ 60:
|
1006
|
+
message.modNote = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.modNote);
|
1007
|
+
break;
|
1008
|
+
case /* google.protobuf.StringValue mod_reason_by */ 61:
|
1009
|
+
message.modReasonBy = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.modReasonBy);
|
1010
|
+
break;
|
1011
|
+
case /* google.protobuf.StringValue mod_reason_title */ 62:
|
1012
|
+
message.modReasonTitle = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.modReasonTitle);
|
1013
|
+
break;
|
1014
|
+
case /* repeated google.protobuf.ListValue mod_reports */ 63:
|
1015
|
+
message.modReports.push(ListValue.internalBinaryRead(reader, reader.uint32(), options));
|
1016
|
+
break;
|
1017
|
+
case /* google.protobuf.StringValue name */ 64:
|
1018
|
+
message.name = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.name);
|
1019
|
+
break;
|
1020
|
+
case /* google.protobuf.BoolValue no_follow */ 65:
|
1021
|
+
message.noFollow = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.noFollow);
|
1022
|
+
break;
|
1023
|
+
case /* google.protobuf.Int32Value num_comments */ 66:
|
1024
|
+
message.numComments = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.numComments);
|
1025
|
+
break;
|
1026
|
+
case /* google.protobuf.Int32Value num_crossposts */ 67:
|
1027
|
+
message.numCrossposts = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.numCrossposts);
|
1028
|
+
break;
|
1029
|
+
case /* google.protobuf.Int32Value num_duplicates */ 68:
|
1030
|
+
message.numDuplicates = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.numDuplicates);
|
1031
|
+
break;
|
1032
|
+
case /* google.protobuf.Int32Value num_reports */ 69:
|
1033
|
+
message.numReports = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.numReports);
|
1034
|
+
break;
|
1035
|
+
case /* google.protobuf.BoolValue over_18 */ 70:
|
1036
|
+
message.over18 = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.over18);
|
1037
|
+
break;
|
1038
|
+
case /* google.protobuf.StringValue parent_whitelist_status */ 71:
|
1039
|
+
message.parentWhitelistStatus = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.parentWhitelistStatus);
|
1040
|
+
break;
|
1041
|
+
case /* google.protobuf.StringValue permalink */ 72:
|
1042
|
+
message.permalink = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.permalink);
|
1043
|
+
break;
|
1044
|
+
case /* google.protobuf.BoolValue pinned */ 73:
|
1045
|
+
message.pinned = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.pinned);
|
1046
|
+
break;
|
1047
|
+
case /* google.protobuf.StringValue post_hint */ 74:
|
1048
|
+
message.postHint = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.postHint);
|
1049
|
+
break;
|
1050
|
+
case /* devvit.reddit.Preview preview */ 75:
|
1051
|
+
message.preview = Preview.internalBinaryRead(reader, reader.uint32(), options, message.preview);
|
1052
|
+
break;
|
1053
|
+
case /* google.protobuf.Int32Value pwls */ 76:
|
1054
|
+
message.pwls = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.pwls);
|
1055
|
+
break;
|
1056
|
+
case /* google.protobuf.BoolValue quarantine */ 77:
|
1057
|
+
message.quarantine = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.quarantine);
|
1058
|
+
break;
|
1059
|
+
case /* google.protobuf.StringValue removal_reason */ 78:
|
1060
|
+
message.removalReason = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.removalReason);
|
1061
|
+
break;
|
1062
|
+
case /* google.protobuf.StringValue removed_by_category */ 79:
|
1063
|
+
message.removedByCategory = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.removedByCategory);
|
1064
|
+
break;
|
1065
|
+
case /* google.protobuf.StringValue removed_by */ 80:
|
1066
|
+
message.removedBy = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.removedBy);
|
1067
|
+
break;
|
1068
|
+
case /* google.protobuf.BoolValue removed */ 81:
|
1069
|
+
message.removed = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.removed);
|
1070
|
+
break;
|
1071
|
+
case /* repeated google.protobuf.StringValue report_reasons */ 82:
|
1072
|
+
message.reportReasons.push(StringValue.internalBinaryRead(reader, reader.uint32(), options));
|
1073
|
+
break;
|
1074
|
+
case /* google.protobuf.StringValue rte_mode */ 83:
|
1075
|
+
message.rteMode = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.rteMode);
|
1076
|
+
break;
|
1077
|
+
case /* google.protobuf.BoolValue saved */ 84:
|
1078
|
+
message.saved = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.saved);
|
1079
|
+
break;
|
1080
|
+
case /* google.protobuf.Int32Value score */ 85:
|
1081
|
+
message.score = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.score);
|
1082
|
+
break;
|
1083
|
+
case /* devvit.reddit.MediaEmbed secure_media_embed */ 86:
|
1084
|
+
message.secureMediaEmbed = MediaEmbed.internalBinaryRead(reader, reader.uint32(), options, message.secureMediaEmbed);
|
1085
|
+
break;
|
1086
|
+
case /* devvit.reddit.Media secure_media */ 87:
|
1087
|
+
message.secureMedia = Media.internalBinaryRead(reader, reader.uint32(), options, message.secureMedia);
|
1088
|
+
break;
|
1089
|
+
case /* google.protobuf.StringValue selftext_html */ 88:
|
1090
|
+
message.selftextHtml = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.selftextHtml);
|
1091
|
+
break;
|
1092
|
+
case /* google.protobuf.StringValue selftext */ 89:
|
1093
|
+
message.selftext = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.selftext);
|
1094
|
+
break;
|
1095
|
+
case /* google.protobuf.BoolValue send_replies */ 90:
|
1096
|
+
message.sendReplies = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.sendReplies);
|
1097
|
+
break;
|
1098
|
+
case /* google.protobuf.BoolValue spam */ 91:
|
1099
|
+
message.spam = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.spam);
|
1100
|
+
break;
|
1101
|
+
case /* google.protobuf.BoolValue spoiler */ 92:
|
1102
|
+
message.spoiler = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.spoiler);
|
1103
|
+
break;
|
1104
|
+
case /* google.protobuf.BoolValue stickied */ 93:
|
1105
|
+
message.stickied = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.stickied);
|
1106
|
+
break;
|
1107
|
+
case /* google.protobuf.StringValue subreddit_id */ 94:
|
1108
|
+
message.subredditId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.subredditId);
|
1109
|
+
break;
|
1110
|
+
case /* google.protobuf.StringValue subreddit_name_prefixed */ 95:
|
1111
|
+
message.subredditNamePrefixed = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.subredditNamePrefixed);
|
1112
|
+
break;
|
1113
|
+
case /* google.protobuf.Int32Value subreddit_subscribers */ 96:
|
1114
|
+
message.subredditSubscribers = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.subredditSubscribers);
|
1115
|
+
break;
|
1116
|
+
case /* google.protobuf.StringValue subreddit_type */ 97:
|
1117
|
+
message.subredditType = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.subredditType);
|
1118
|
+
break;
|
1119
|
+
case /* google.protobuf.StringValue subreddit */ 98:
|
1120
|
+
message.subreddit = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.subreddit);
|
1121
|
+
break;
|
1122
|
+
case /* google.protobuf.StringValue suggested_sort */ 99:
|
1123
|
+
message.suggestedSort = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.suggestedSort);
|
1124
|
+
break;
|
1125
|
+
case /* google.protobuf.Int32Value thumbnail_height */ 100:
|
1126
|
+
message.thumbnailHeight = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.thumbnailHeight);
|
1127
|
+
break;
|
1128
|
+
case /* google.protobuf.Int32Value thumbnail_width */ 101:
|
1129
|
+
message.thumbnailWidth = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.thumbnailWidth);
|
1130
|
+
break;
|
1131
|
+
case /* google.protobuf.StringValue thumbnail */ 102:
|
1132
|
+
message.thumbnail = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.thumbnail);
|
1133
|
+
break;
|
1134
|
+
case /* google.protobuf.StringValue title */ 103:
|
1135
|
+
message.title = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.title);
|
1136
|
+
break;
|
1137
|
+
case /* google.protobuf.StringValue top_awarded_type */ 104:
|
1138
|
+
message.topAwardedType = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.topAwardedType);
|
1139
|
+
break;
|
1140
|
+
case /* google.protobuf.Int32Value total_awards_received */ 105:
|
1141
|
+
message.totalAwardsReceived = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.totalAwardsReceived);
|
1142
|
+
break;
|
1143
|
+
case /* repeated google.protobuf.StringValue treatment_tags */ 106:
|
1144
|
+
message.treatmentTags.push(StringValue.internalBinaryRead(reader, reader.uint32(), options));
|
1145
|
+
break;
|
1146
|
+
case /* google.protobuf.Int32Value ups */ 107:
|
1147
|
+
message.ups = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.ups);
|
1148
|
+
break;
|
1149
|
+
case /* google.protobuf.FloatValue upvote_ratio */ 108:
|
1150
|
+
message.upvoteRatio = FloatValue.internalBinaryRead(reader, reader.uint32(), options, message.upvoteRatio);
|
1151
|
+
break;
|
1152
|
+
case /* google.protobuf.StringValue url_overridden_by_dest */ 109:
|
1153
|
+
message.urlOverriddenByDest = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.urlOverriddenByDest);
|
1154
|
+
break;
|
1155
|
+
case /* google.protobuf.StringValue url */ 110:
|
1156
|
+
message.url = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.url);
|
1157
|
+
break;
|
1158
|
+
case /* repeated google.protobuf.ListValue user_reports */ 111:
|
1159
|
+
message.userReports.push(ListValue.internalBinaryRead(reader, reader.uint32(), options));
|
1160
|
+
break;
|
1161
|
+
case /* google.protobuf.Int32Value view_count */ 112:
|
1162
|
+
message.viewCount = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.viewCount);
|
1163
|
+
break;
|
1164
|
+
case /* google.protobuf.BoolValue visited */ 113:
|
1165
|
+
message.visited = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.visited);
|
1166
|
+
break;
|
1167
|
+
case /* google.protobuf.StringValue whitelist_status */ 114:
|
1168
|
+
message.whitelistStatus = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.whitelistStatus);
|
1169
|
+
break;
|
1170
|
+
case /* google.protobuf.Int32Value wls */ 115:
|
1171
|
+
message.wls = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.wls);
|
1172
|
+
break;
|
1173
|
+
case /* google.protobuf.StringValue link_flair_template_id */ 150:
|
1174
|
+
message.linkFlairTemplateId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.linkFlairTemplateId);
|
1175
|
+
break;
|
1176
|
+
case /* google.protobuf.Int32Value crowd_control_level */ 151:
|
1177
|
+
message.crowdControlLevel = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.crowdControlLevel);
|
1178
|
+
break;
|
1179
|
+
case /* google.protobuf.BoolValue is_gallery */ 152:
|
1180
|
+
message.isGallery = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isGallery);
|
1181
|
+
break;
|
1182
|
+
case /* google.protobuf.BoolValue is_live_stream */ 153:
|
1183
|
+
message.isLiveStream = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isLiveStream);
|
1184
|
+
break;
|
1185
|
+
case /* google.protobuf.BoolValue is_meta_discussion */ 154:
|
1186
|
+
message.isMetaDiscussion = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isMetaDiscussion);
|
1187
|
+
break;
|
1188
|
+
case /* devvit.reddit.OEmbed oembed */ 155:
|
1189
|
+
message.oembed = OEmbed.internalBinaryRead(reader, reader.uint32(), options, message.oembed);
|
1190
|
+
break;
|
1191
|
+
case /* devvit.reddit.BanInfo ban_info */ 156:
|
1192
|
+
message.banInfo = BanInfo.internalBinaryRead(reader, reader.uint32(), options, message.banInfo);
|
1193
|
+
break;
|
1194
|
+
case /* google.protobuf.BoolValue marked_spam */ 157:
|
1195
|
+
message.markedSpam = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.markedSpam);
|
1196
|
+
break;
|
1197
|
+
case /* google.protobuf.StringValue verdict */ 158:
|
1198
|
+
message.verdict = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.verdict);
|
1199
|
+
break;
|
1200
|
+
case /* devvit.reddit.RedditPostGallery gallery */ 159:
|
1201
|
+
message.gallery = RedditPostGallery.internalBinaryRead(reader, reader.uint32(), options, message.gallery);
|
1202
|
+
break;
|
1203
|
+
default:
|
1204
|
+
let u = options.readUnknownField;
|
1205
|
+
if (u === "throw")
|
1206
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1207
|
+
let d = reader.skip(wireType);
|
1208
|
+
if (u !== false)
|
1209
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1210
|
+
}
|
1211
|
+
}
|
1212
|
+
return message;
|
1213
|
+
}
|
1214
|
+
internalBinaryWrite(message: Post, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1215
|
+
/* repeated devvit.reddit.Awarding all_awardings = 1; */
|
1216
|
+
for (let i = 0; i < message.allAwardings.length; i++)
|
1217
|
+
Awarding.internalBinaryWrite(message.allAwardings[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1218
|
+
/* google.protobuf.BoolValue allow_live_comments = 2; */
|
1219
|
+
if (message.allowLiveComments)
|
1220
|
+
BoolValue.internalBinaryWrite(message.allowLiveComments, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1221
|
+
/* google.protobuf.BoolValue approved = 3; */
|
1222
|
+
if (message.approved)
|
1223
|
+
BoolValue.internalBinaryWrite(message.approved, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1224
|
+
/* google.protobuf.Int32Value approved_at_utc = 4; */
|
1225
|
+
if (message.approvedAtUtc)
|
1226
|
+
Int32Value.internalBinaryWrite(message.approvedAtUtc, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1227
|
+
/* google.protobuf.StringValue approved_by = 5; */
|
1228
|
+
if (message.approvedBy)
|
1229
|
+
StringValue.internalBinaryWrite(message.approvedBy, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
1230
|
+
/* google.protobuf.BoolValue archived = 6; */
|
1231
|
+
if (message.archived)
|
1232
|
+
BoolValue.internalBinaryWrite(message.archived, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
1233
|
+
/* google.protobuf.StringValue author = 7; */
|
1234
|
+
if (message.author)
|
1235
|
+
StringValue.internalBinaryWrite(message.author, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
1236
|
+
/* google.protobuf.StringValue author_flair_background_color = 8; */
|
1237
|
+
if (message.authorFlairBackgroundColor)
|
1238
|
+
StringValue.internalBinaryWrite(message.authorFlairBackgroundColor, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
1239
|
+
/* google.protobuf.StringValue author_flair_css_class = 9; */
|
1240
|
+
if (message.authorFlairCssClass)
|
1241
|
+
StringValue.internalBinaryWrite(message.authorFlairCssClass, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
1242
|
+
/* repeated devvit.reddit.AuthorFlairRichText author_flair_richtext = 10; */
|
1243
|
+
for (let i = 0; i < message.authorFlairRichtext.length; i++)
|
1244
|
+
AuthorFlairRichText.internalBinaryWrite(message.authorFlairRichtext[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
1245
|
+
/* google.protobuf.StringValue author_flair_template_id = 11; */
|
1246
|
+
if (message.authorFlairTemplateId)
|
1247
|
+
StringValue.internalBinaryWrite(message.authorFlairTemplateId, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
|
1248
|
+
/* google.protobuf.StringValue author_flair_text = 12; */
|
1249
|
+
if (message.authorFlairText)
|
1250
|
+
StringValue.internalBinaryWrite(message.authorFlairText, writer.tag(12, WireType.LengthDelimited).fork(), options).join();
|
1251
|
+
/* google.protobuf.StringValue author_flair_text_color = 13; */
|
1252
|
+
if (message.authorFlairTextColor)
|
1253
|
+
StringValue.internalBinaryWrite(message.authorFlairTextColor, writer.tag(13, WireType.LengthDelimited).fork(), options).join();
|
1254
|
+
/* google.protobuf.StringValue author_flair_type = 14; */
|
1255
|
+
if (message.authorFlairType)
|
1256
|
+
StringValue.internalBinaryWrite(message.authorFlairType, writer.tag(14, WireType.LengthDelimited).fork(), options).join();
|
1257
|
+
/* google.protobuf.StringValue author_fullname = 15; */
|
1258
|
+
if (message.authorFullname)
|
1259
|
+
StringValue.internalBinaryWrite(message.authorFullname, writer.tag(15, WireType.LengthDelimited).fork(), options).join();
|
1260
|
+
/* google.protobuf.BoolValue author_is_blocked = 16; */
|
1261
|
+
if (message.authorIsBlocked)
|
1262
|
+
BoolValue.internalBinaryWrite(message.authorIsBlocked, writer.tag(16, WireType.LengthDelimited).fork(), options).join();
|
1263
|
+
/* google.protobuf.BoolValue author_patreon_flair = 17; */
|
1264
|
+
if (message.authorPatreonFlair)
|
1265
|
+
BoolValue.internalBinaryWrite(message.authorPatreonFlair, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
1266
|
+
/* google.protobuf.BoolValue author_premium = 18; */
|
1267
|
+
if (message.authorPremium)
|
1268
|
+
BoolValue.internalBinaryWrite(message.authorPremium, writer.tag(18, WireType.LengthDelimited).fork(), options).join();
|
1269
|
+
/* repeated google.protobuf.StringValue awarders = 19; */
|
1270
|
+
for (let i = 0; i < message.awarders.length; i++)
|
1271
|
+
StringValue.internalBinaryWrite(message.awarders[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
|
1272
|
+
/* google.protobuf.Int32Value banned_at_utc = 20; */
|
1273
|
+
if (message.bannedAtUtc)
|
1274
|
+
Int32Value.internalBinaryWrite(message.bannedAtUtc, writer.tag(20, WireType.LengthDelimited).fork(), options).join();
|
1275
|
+
/* google.protobuf.StringValue banned_by = 21; */
|
1276
|
+
if (message.bannedBy)
|
1277
|
+
StringValue.internalBinaryWrite(message.bannedBy, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
|
1278
|
+
/* google.protobuf.BoolValue can_gild = 22; */
|
1279
|
+
if (message.canGild)
|
1280
|
+
BoolValue.internalBinaryWrite(message.canGild, writer.tag(22, WireType.LengthDelimited).fork(), options).join();
|
1281
|
+
/* google.protobuf.BoolValue can_mod_post = 23; */
|
1282
|
+
if (message.canModPost)
|
1283
|
+
BoolValue.internalBinaryWrite(message.canModPost, writer.tag(23, WireType.LengthDelimited).fork(), options).join();
|
1284
|
+
/* google.protobuf.StringValue category = 24; */
|
1285
|
+
if (message.category)
|
1286
|
+
StringValue.internalBinaryWrite(message.category, writer.tag(24, WireType.LengthDelimited).fork(), options).join();
|
1287
|
+
/* google.protobuf.BoolValue clicked = 25; */
|
1288
|
+
if (message.clicked)
|
1289
|
+
BoolValue.internalBinaryWrite(message.clicked, writer.tag(25, WireType.LengthDelimited).fork(), options).join();
|
1290
|
+
/* repeated google.protobuf.StringValue content_categories = 26; */
|
1291
|
+
for (let i = 0; i < message.contentCategories.length; i++)
|
1292
|
+
StringValue.internalBinaryWrite(message.contentCategories[i], writer.tag(26, WireType.LengthDelimited).fork(), options).join();
|
1293
|
+
/* google.protobuf.BoolValue contest_mode = 27; */
|
1294
|
+
if (message.contestMode)
|
1295
|
+
BoolValue.internalBinaryWrite(message.contestMode, writer.tag(27, WireType.LengthDelimited).fork(), options).join();
|
1296
|
+
/* google.protobuf.Int32Value created = 28; */
|
1297
|
+
if (message.created)
|
1298
|
+
Int32Value.internalBinaryWrite(message.created, writer.tag(28, WireType.LengthDelimited).fork(), options).join();
|
1299
|
+
/* google.protobuf.Int32Value created_utc = 29; */
|
1300
|
+
if (message.createdUtc)
|
1301
|
+
Int32Value.internalBinaryWrite(message.createdUtc, writer.tag(29, WireType.LengthDelimited).fork(), options).join();
|
1302
|
+
/* google.protobuf.StringValue discussion_type = 30; */
|
1303
|
+
if (message.discussionType)
|
1304
|
+
StringValue.internalBinaryWrite(message.discussionType, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
|
1305
|
+
/* google.protobuf.StringValue distinguished = 31; */
|
1306
|
+
if (message.distinguished)
|
1307
|
+
StringValue.internalBinaryWrite(message.distinguished, writer.tag(31, WireType.LengthDelimited).fork(), options).join();
|
1308
|
+
/* google.protobuf.StringValue domain = 32; */
|
1309
|
+
if (message.domain)
|
1310
|
+
StringValue.internalBinaryWrite(message.domain, writer.tag(32, WireType.LengthDelimited).fork(), options).join();
|
1311
|
+
/* google.protobuf.Int32Value downs = 33; */
|
1312
|
+
if (message.downs)
|
1313
|
+
Int32Value.internalBinaryWrite(message.downs, writer.tag(33, WireType.LengthDelimited).fork(), options).join();
|
1314
|
+
/* google.protobuf.BoolValue edited = 34; */
|
1315
|
+
if (message.edited)
|
1316
|
+
BoolValue.internalBinaryWrite(message.edited, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
|
1317
|
+
/* google.protobuf.Int32Value gilded = 35; */
|
1318
|
+
if (message.gilded)
|
1319
|
+
Int32Value.internalBinaryWrite(message.gilded, writer.tag(35, WireType.LengthDelimited).fork(), options).join();
|
1320
|
+
/* devvit.reddit.Gildings gildings = 36; */
|
1321
|
+
if (message.gildings)
|
1322
|
+
Gildings.internalBinaryWrite(message.gildings, writer.tag(36, WireType.LengthDelimited).fork(), options).join();
|
1323
|
+
/* google.protobuf.BoolValue hidden = 37; */
|
1324
|
+
if (message.hidden)
|
1325
|
+
BoolValue.internalBinaryWrite(message.hidden, writer.tag(37, WireType.LengthDelimited).fork(), options).join();
|
1326
|
+
/* google.protobuf.BoolValue hide_score = 38; */
|
1327
|
+
if (message.hideScore)
|
1328
|
+
BoolValue.internalBinaryWrite(message.hideScore, writer.tag(38, WireType.LengthDelimited).fork(), options).join();
|
1329
|
+
/* google.protobuf.StringValue id = 39; */
|
1330
|
+
if (message.id)
|
1331
|
+
StringValue.internalBinaryWrite(message.id, writer.tag(39, WireType.LengthDelimited).fork(), options).join();
|
1332
|
+
/* google.protobuf.BoolValue ignore_reports = 40; */
|
1333
|
+
if (message.ignoreReports)
|
1334
|
+
BoolValue.internalBinaryWrite(message.ignoreReports, writer.tag(40, WireType.LengthDelimited).fork(), options).join();
|
1335
|
+
/* google.protobuf.BoolValue is_created_from_ads_ui = 41; */
|
1336
|
+
if (message.isCreatedFromAdsUi)
|
1337
|
+
BoolValue.internalBinaryWrite(message.isCreatedFromAdsUi, writer.tag(41, WireType.LengthDelimited).fork(), options).join();
|
1338
|
+
/* google.protobuf.BoolValue is_crosspostable = 42; */
|
1339
|
+
if (message.isCrosspostable)
|
1340
|
+
BoolValue.internalBinaryWrite(message.isCrosspostable, writer.tag(42, WireType.LengthDelimited).fork(), options).join();
|
1341
|
+
/* google.protobuf.BoolValue is_meta = 43; */
|
1342
|
+
if (message.isMeta)
|
1343
|
+
BoolValue.internalBinaryWrite(message.isMeta, writer.tag(43, WireType.LengthDelimited).fork(), options).join();
|
1344
|
+
/* google.protobuf.BoolValue is_original_content = 44; */
|
1345
|
+
if (message.isOriginalContent)
|
1346
|
+
BoolValue.internalBinaryWrite(message.isOriginalContent, writer.tag(44, WireType.LengthDelimited).fork(), options).join();
|
1347
|
+
/* google.protobuf.BoolValue is_reddit_media_domain = 45; */
|
1348
|
+
if (message.isRedditMediaDomain)
|
1349
|
+
BoolValue.internalBinaryWrite(message.isRedditMediaDomain, writer.tag(45, WireType.LengthDelimited).fork(), options).join();
|
1350
|
+
/* google.protobuf.BoolValue is_robot_indexable = 46; */
|
1351
|
+
if (message.isRobotIndexable)
|
1352
|
+
BoolValue.internalBinaryWrite(message.isRobotIndexable, writer.tag(46, WireType.LengthDelimited).fork(), options).join();
|
1353
|
+
/* google.protobuf.BoolValue is_self = 47; */
|
1354
|
+
if (message.isSelf)
|
1355
|
+
BoolValue.internalBinaryWrite(message.isSelf, writer.tag(47, WireType.LengthDelimited).fork(), options).join();
|
1356
|
+
/* google.protobuf.BoolValue is_video = 48; */
|
1357
|
+
if (message.isVideo)
|
1358
|
+
BoolValue.internalBinaryWrite(message.isVideo, writer.tag(48, WireType.LengthDelimited).fork(), options).join();
|
1359
|
+
/* google.protobuf.BoolValue likes = 49; */
|
1360
|
+
if (message.likes)
|
1361
|
+
BoolValue.internalBinaryWrite(message.likes, writer.tag(49, WireType.LengthDelimited).fork(), options).join();
|
1362
|
+
/* google.protobuf.StringValue link_flair_background_color = 50; */
|
1363
|
+
if (message.linkFlairBackgroundColor)
|
1364
|
+
StringValue.internalBinaryWrite(message.linkFlairBackgroundColor, writer.tag(50, WireType.LengthDelimited).fork(), options).join();
|
1365
|
+
/* google.protobuf.StringValue link_flair_css_class = 51; */
|
1366
|
+
if (message.linkFlairCssClass)
|
1367
|
+
StringValue.internalBinaryWrite(message.linkFlairCssClass, writer.tag(51, WireType.LengthDelimited).fork(), options).join();
|
1368
|
+
/* repeated google.protobuf.StringValue link_flair_richtext = 52; */
|
1369
|
+
for (let i = 0; i < message.linkFlairRichtext.length; i++)
|
1370
|
+
StringValue.internalBinaryWrite(message.linkFlairRichtext[i], writer.tag(52, WireType.LengthDelimited).fork(), options).join();
|
1371
|
+
/* google.protobuf.StringValue link_flair_text_color = 53; */
|
1372
|
+
if (message.linkFlairTextColor)
|
1373
|
+
StringValue.internalBinaryWrite(message.linkFlairTextColor, writer.tag(53, WireType.LengthDelimited).fork(), options).join();
|
1374
|
+
/* google.protobuf.StringValue link_flair_text = 54; */
|
1375
|
+
if (message.linkFlairText)
|
1376
|
+
StringValue.internalBinaryWrite(message.linkFlairText, writer.tag(54, WireType.LengthDelimited).fork(), options).join();
|
1377
|
+
/* google.protobuf.StringValue link_flair_type = 55; */
|
1378
|
+
if (message.linkFlairType)
|
1379
|
+
StringValue.internalBinaryWrite(message.linkFlairType, writer.tag(55, WireType.LengthDelimited).fork(), options).join();
|
1380
|
+
/* google.protobuf.BoolValue locked = 56; */
|
1381
|
+
if (message.locked)
|
1382
|
+
BoolValue.internalBinaryWrite(message.locked, writer.tag(56, WireType.LengthDelimited).fork(), options).join();
|
1383
|
+
/* devvit.reddit.MediaEmbed media_embed = 57; */
|
1384
|
+
if (message.mediaEmbed)
|
1385
|
+
MediaEmbed.internalBinaryWrite(message.mediaEmbed, writer.tag(57, WireType.LengthDelimited).fork(), options).join();
|
1386
|
+
/* google.protobuf.BoolValue media_only = 58; */
|
1387
|
+
if (message.mediaOnly)
|
1388
|
+
BoolValue.internalBinaryWrite(message.mediaOnly, writer.tag(58, WireType.LengthDelimited).fork(), options).join();
|
1389
|
+
/* devvit.reddit.Media media = 59; */
|
1390
|
+
if (message.media)
|
1391
|
+
Media.internalBinaryWrite(message.media, writer.tag(59, WireType.LengthDelimited).fork(), options).join();
|
1392
|
+
/* google.protobuf.StringValue mod_note = 60; */
|
1393
|
+
if (message.modNote)
|
1394
|
+
StringValue.internalBinaryWrite(message.modNote, writer.tag(60, WireType.LengthDelimited).fork(), options).join();
|
1395
|
+
/* google.protobuf.StringValue mod_reason_by = 61; */
|
1396
|
+
if (message.modReasonBy)
|
1397
|
+
StringValue.internalBinaryWrite(message.modReasonBy, writer.tag(61, WireType.LengthDelimited).fork(), options).join();
|
1398
|
+
/* google.protobuf.StringValue mod_reason_title = 62; */
|
1399
|
+
if (message.modReasonTitle)
|
1400
|
+
StringValue.internalBinaryWrite(message.modReasonTitle, writer.tag(62, WireType.LengthDelimited).fork(), options).join();
|
1401
|
+
/* repeated google.protobuf.ListValue mod_reports = 63; */
|
1402
|
+
for (let i = 0; i < message.modReports.length; i++)
|
1403
|
+
ListValue.internalBinaryWrite(message.modReports[i], writer.tag(63, WireType.LengthDelimited).fork(), options).join();
|
1404
|
+
/* google.protobuf.StringValue name = 64; */
|
1405
|
+
if (message.name)
|
1406
|
+
StringValue.internalBinaryWrite(message.name, writer.tag(64, WireType.LengthDelimited).fork(), options).join();
|
1407
|
+
/* google.protobuf.BoolValue no_follow = 65; */
|
1408
|
+
if (message.noFollow)
|
1409
|
+
BoolValue.internalBinaryWrite(message.noFollow, writer.tag(65, WireType.LengthDelimited).fork(), options).join();
|
1410
|
+
/* google.protobuf.Int32Value num_comments = 66; */
|
1411
|
+
if (message.numComments)
|
1412
|
+
Int32Value.internalBinaryWrite(message.numComments, writer.tag(66, WireType.LengthDelimited).fork(), options).join();
|
1413
|
+
/* google.protobuf.Int32Value num_crossposts = 67; */
|
1414
|
+
if (message.numCrossposts)
|
1415
|
+
Int32Value.internalBinaryWrite(message.numCrossposts, writer.tag(67, WireType.LengthDelimited).fork(), options).join();
|
1416
|
+
/* google.protobuf.Int32Value num_duplicates = 68; */
|
1417
|
+
if (message.numDuplicates)
|
1418
|
+
Int32Value.internalBinaryWrite(message.numDuplicates, writer.tag(68, WireType.LengthDelimited).fork(), options).join();
|
1419
|
+
/* google.protobuf.Int32Value num_reports = 69; */
|
1420
|
+
if (message.numReports)
|
1421
|
+
Int32Value.internalBinaryWrite(message.numReports, writer.tag(69, WireType.LengthDelimited).fork(), options).join();
|
1422
|
+
/* google.protobuf.BoolValue over_18 = 70; */
|
1423
|
+
if (message.over18)
|
1424
|
+
BoolValue.internalBinaryWrite(message.over18, writer.tag(70, WireType.LengthDelimited).fork(), options).join();
|
1425
|
+
/* google.protobuf.StringValue parent_whitelist_status = 71; */
|
1426
|
+
if (message.parentWhitelistStatus)
|
1427
|
+
StringValue.internalBinaryWrite(message.parentWhitelistStatus, writer.tag(71, WireType.LengthDelimited).fork(), options).join();
|
1428
|
+
/* google.protobuf.StringValue permalink = 72; */
|
1429
|
+
if (message.permalink)
|
1430
|
+
StringValue.internalBinaryWrite(message.permalink, writer.tag(72, WireType.LengthDelimited).fork(), options).join();
|
1431
|
+
/* google.protobuf.BoolValue pinned = 73; */
|
1432
|
+
if (message.pinned)
|
1433
|
+
BoolValue.internalBinaryWrite(message.pinned, writer.tag(73, WireType.LengthDelimited).fork(), options).join();
|
1434
|
+
/* google.protobuf.StringValue post_hint = 74; */
|
1435
|
+
if (message.postHint)
|
1436
|
+
StringValue.internalBinaryWrite(message.postHint, writer.tag(74, WireType.LengthDelimited).fork(), options).join();
|
1437
|
+
/* devvit.reddit.Preview preview = 75; */
|
1438
|
+
if (message.preview)
|
1439
|
+
Preview.internalBinaryWrite(message.preview, writer.tag(75, WireType.LengthDelimited).fork(), options).join();
|
1440
|
+
/* google.protobuf.Int32Value pwls = 76; */
|
1441
|
+
if (message.pwls)
|
1442
|
+
Int32Value.internalBinaryWrite(message.pwls, writer.tag(76, WireType.LengthDelimited).fork(), options).join();
|
1443
|
+
/* google.protobuf.BoolValue quarantine = 77; */
|
1444
|
+
if (message.quarantine)
|
1445
|
+
BoolValue.internalBinaryWrite(message.quarantine, writer.tag(77, WireType.LengthDelimited).fork(), options).join();
|
1446
|
+
/* google.protobuf.StringValue removal_reason = 78; */
|
1447
|
+
if (message.removalReason)
|
1448
|
+
StringValue.internalBinaryWrite(message.removalReason, writer.tag(78, WireType.LengthDelimited).fork(), options).join();
|
1449
|
+
/* google.protobuf.StringValue removed_by_category = 79; */
|
1450
|
+
if (message.removedByCategory)
|
1451
|
+
StringValue.internalBinaryWrite(message.removedByCategory, writer.tag(79, WireType.LengthDelimited).fork(), options).join();
|
1452
|
+
/* google.protobuf.StringValue removed_by = 80; */
|
1453
|
+
if (message.removedBy)
|
1454
|
+
StringValue.internalBinaryWrite(message.removedBy, writer.tag(80, WireType.LengthDelimited).fork(), options).join();
|
1455
|
+
/* google.protobuf.BoolValue removed = 81; */
|
1456
|
+
if (message.removed)
|
1457
|
+
BoolValue.internalBinaryWrite(message.removed, writer.tag(81, WireType.LengthDelimited).fork(), options).join();
|
1458
|
+
/* repeated google.protobuf.StringValue report_reasons = 82; */
|
1459
|
+
for (let i = 0; i < message.reportReasons.length; i++)
|
1460
|
+
StringValue.internalBinaryWrite(message.reportReasons[i], writer.tag(82, WireType.LengthDelimited).fork(), options).join();
|
1461
|
+
/* google.protobuf.StringValue rte_mode = 83; */
|
1462
|
+
if (message.rteMode)
|
1463
|
+
StringValue.internalBinaryWrite(message.rteMode, writer.tag(83, WireType.LengthDelimited).fork(), options).join();
|
1464
|
+
/* google.protobuf.BoolValue saved = 84; */
|
1465
|
+
if (message.saved)
|
1466
|
+
BoolValue.internalBinaryWrite(message.saved, writer.tag(84, WireType.LengthDelimited).fork(), options).join();
|
1467
|
+
/* google.protobuf.Int32Value score = 85; */
|
1468
|
+
if (message.score)
|
1469
|
+
Int32Value.internalBinaryWrite(message.score, writer.tag(85, WireType.LengthDelimited).fork(), options).join();
|
1470
|
+
/* devvit.reddit.MediaEmbed secure_media_embed = 86; */
|
1471
|
+
if (message.secureMediaEmbed)
|
1472
|
+
MediaEmbed.internalBinaryWrite(message.secureMediaEmbed, writer.tag(86, WireType.LengthDelimited).fork(), options).join();
|
1473
|
+
/* devvit.reddit.Media secure_media = 87; */
|
1474
|
+
if (message.secureMedia)
|
1475
|
+
Media.internalBinaryWrite(message.secureMedia, writer.tag(87, WireType.LengthDelimited).fork(), options).join();
|
1476
|
+
/* google.protobuf.StringValue selftext_html = 88; */
|
1477
|
+
if (message.selftextHtml)
|
1478
|
+
StringValue.internalBinaryWrite(message.selftextHtml, writer.tag(88, WireType.LengthDelimited).fork(), options).join();
|
1479
|
+
/* google.protobuf.StringValue selftext = 89; */
|
1480
|
+
if (message.selftext)
|
1481
|
+
StringValue.internalBinaryWrite(message.selftext, writer.tag(89, WireType.LengthDelimited).fork(), options).join();
|
1482
|
+
/* google.protobuf.BoolValue send_replies = 90; */
|
1483
|
+
if (message.sendReplies)
|
1484
|
+
BoolValue.internalBinaryWrite(message.sendReplies, writer.tag(90, WireType.LengthDelimited).fork(), options).join();
|
1485
|
+
/* google.protobuf.BoolValue spam = 91; */
|
1486
|
+
if (message.spam)
|
1487
|
+
BoolValue.internalBinaryWrite(message.spam, writer.tag(91, WireType.LengthDelimited).fork(), options).join();
|
1488
|
+
/* google.protobuf.BoolValue spoiler = 92; */
|
1489
|
+
if (message.spoiler)
|
1490
|
+
BoolValue.internalBinaryWrite(message.spoiler, writer.tag(92, WireType.LengthDelimited).fork(), options).join();
|
1491
|
+
/* google.protobuf.BoolValue stickied = 93; */
|
1492
|
+
if (message.stickied)
|
1493
|
+
BoolValue.internalBinaryWrite(message.stickied, writer.tag(93, WireType.LengthDelimited).fork(), options).join();
|
1494
|
+
/* google.protobuf.StringValue subreddit_id = 94; */
|
1495
|
+
if (message.subredditId)
|
1496
|
+
StringValue.internalBinaryWrite(message.subredditId, writer.tag(94, WireType.LengthDelimited).fork(), options).join();
|
1497
|
+
/* google.protobuf.StringValue subreddit_name_prefixed = 95; */
|
1498
|
+
if (message.subredditNamePrefixed)
|
1499
|
+
StringValue.internalBinaryWrite(message.subredditNamePrefixed, writer.tag(95, WireType.LengthDelimited).fork(), options).join();
|
1500
|
+
/* google.protobuf.Int32Value subreddit_subscribers = 96; */
|
1501
|
+
if (message.subredditSubscribers)
|
1502
|
+
Int32Value.internalBinaryWrite(message.subredditSubscribers, writer.tag(96, WireType.LengthDelimited).fork(), options).join();
|
1503
|
+
/* google.protobuf.StringValue subreddit_type = 97; */
|
1504
|
+
if (message.subredditType)
|
1505
|
+
StringValue.internalBinaryWrite(message.subredditType, writer.tag(97, WireType.LengthDelimited).fork(), options).join();
|
1506
|
+
/* google.protobuf.StringValue subreddit = 98; */
|
1507
|
+
if (message.subreddit)
|
1508
|
+
StringValue.internalBinaryWrite(message.subreddit, writer.tag(98, WireType.LengthDelimited).fork(), options).join();
|
1509
|
+
/* google.protobuf.StringValue suggested_sort = 99; */
|
1510
|
+
if (message.suggestedSort)
|
1511
|
+
StringValue.internalBinaryWrite(message.suggestedSort, writer.tag(99, WireType.LengthDelimited).fork(), options).join();
|
1512
|
+
/* google.protobuf.Int32Value thumbnail_height = 100; */
|
1513
|
+
if (message.thumbnailHeight)
|
1514
|
+
Int32Value.internalBinaryWrite(message.thumbnailHeight, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
|
1515
|
+
/* google.protobuf.Int32Value thumbnail_width = 101; */
|
1516
|
+
if (message.thumbnailWidth)
|
1517
|
+
Int32Value.internalBinaryWrite(message.thumbnailWidth, writer.tag(101, WireType.LengthDelimited).fork(), options).join();
|
1518
|
+
/* google.protobuf.StringValue thumbnail = 102; */
|
1519
|
+
if (message.thumbnail)
|
1520
|
+
StringValue.internalBinaryWrite(message.thumbnail, writer.tag(102, WireType.LengthDelimited).fork(), options).join();
|
1521
|
+
/* google.protobuf.StringValue title = 103; */
|
1522
|
+
if (message.title)
|
1523
|
+
StringValue.internalBinaryWrite(message.title, writer.tag(103, WireType.LengthDelimited).fork(), options).join();
|
1524
|
+
/* google.protobuf.StringValue top_awarded_type = 104; */
|
1525
|
+
if (message.topAwardedType)
|
1526
|
+
StringValue.internalBinaryWrite(message.topAwardedType, writer.tag(104, WireType.LengthDelimited).fork(), options).join();
|
1527
|
+
/* google.protobuf.Int32Value total_awards_received = 105; */
|
1528
|
+
if (message.totalAwardsReceived)
|
1529
|
+
Int32Value.internalBinaryWrite(message.totalAwardsReceived, writer.tag(105, WireType.LengthDelimited).fork(), options).join();
|
1530
|
+
/* repeated google.protobuf.StringValue treatment_tags = 106; */
|
1531
|
+
for (let i = 0; i < message.treatmentTags.length; i++)
|
1532
|
+
StringValue.internalBinaryWrite(message.treatmentTags[i], writer.tag(106, WireType.LengthDelimited).fork(), options).join();
|
1533
|
+
/* google.protobuf.Int32Value ups = 107; */
|
1534
|
+
if (message.ups)
|
1535
|
+
Int32Value.internalBinaryWrite(message.ups, writer.tag(107, WireType.LengthDelimited).fork(), options).join();
|
1536
|
+
/* google.protobuf.FloatValue upvote_ratio = 108; */
|
1537
|
+
if (message.upvoteRatio)
|
1538
|
+
FloatValue.internalBinaryWrite(message.upvoteRatio, writer.tag(108, WireType.LengthDelimited).fork(), options).join();
|
1539
|
+
/* google.protobuf.StringValue url_overridden_by_dest = 109; */
|
1540
|
+
if (message.urlOverriddenByDest)
|
1541
|
+
StringValue.internalBinaryWrite(message.urlOverriddenByDest, writer.tag(109, WireType.LengthDelimited).fork(), options).join();
|
1542
|
+
/* google.protobuf.StringValue url = 110; */
|
1543
|
+
if (message.url)
|
1544
|
+
StringValue.internalBinaryWrite(message.url, writer.tag(110, WireType.LengthDelimited).fork(), options).join();
|
1545
|
+
/* repeated google.protobuf.ListValue user_reports = 111; */
|
1546
|
+
for (let i = 0; i < message.userReports.length; i++)
|
1547
|
+
ListValue.internalBinaryWrite(message.userReports[i], writer.tag(111, WireType.LengthDelimited).fork(), options).join();
|
1548
|
+
/* google.protobuf.Int32Value view_count = 112; */
|
1549
|
+
if (message.viewCount)
|
1550
|
+
Int32Value.internalBinaryWrite(message.viewCount, writer.tag(112, WireType.LengthDelimited).fork(), options).join();
|
1551
|
+
/* google.protobuf.BoolValue visited = 113; */
|
1552
|
+
if (message.visited)
|
1553
|
+
BoolValue.internalBinaryWrite(message.visited, writer.tag(113, WireType.LengthDelimited).fork(), options).join();
|
1554
|
+
/* google.protobuf.StringValue whitelist_status = 114; */
|
1555
|
+
if (message.whitelistStatus)
|
1556
|
+
StringValue.internalBinaryWrite(message.whitelistStatus, writer.tag(114, WireType.LengthDelimited).fork(), options).join();
|
1557
|
+
/* google.protobuf.Int32Value wls = 115; */
|
1558
|
+
if (message.wls)
|
1559
|
+
Int32Value.internalBinaryWrite(message.wls, writer.tag(115, WireType.LengthDelimited).fork(), options).join();
|
1560
|
+
/* google.protobuf.StringValue link_flair_template_id = 150; */
|
1561
|
+
if (message.linkFlairTemplateId)
|
1562
|
+
StringValue.internalBinaryWrite(message.linkFlairTemplateId, writer.tag(150, WireType.LengthDelimited).fork(), options).join();
|
1563
|
+
/* google.protobuf.Int32Value crowd_control_level = 151; */
|
1564
|
+
if (message.crowdControlLevel)
|
1565
|
+
Int32Value.internalBinaryWrite(message.crowdControlLevel, writer.tag(151, WireType.LengthDelimited).fork(), options).join();
|
1566
|
+
/* google.protobuf.BoolValue is_gallery = 152; */
|
1567
|
+
if (message.isGallery)
|
1568
|
+
BoolValue.internalBinaryWrite(message.isGallery, writer.tag(152, WireType.LengthDelimited).fork(), options).join();
|
1569
|
+
/* google.protobuf.BoolValue is_live_stream = 153; */
|
1570
|
+
if (message.isLiveStream)
|
1571
|
+
BoolValue.internalBinaryWrite(message.isLiveStream, writer.tag(153, WireType.LengthDelimited).fork(), options).join();
|
1572
|
+
/* google.protobuf.BoolValue is_meta_discussion = 154; */
|
1573
|
+
if (message.isMetaDiscussion)
|
1574
|
+
BoolValue.internalBinaryWrite(message.isMetaDiscussion, writer.tag(154, WireType.LengthDelimited).fork(), options).join();
|
1575
|
+
/* devvit.reddit.OEmbed oembed = 155; */
|
1576
|
+
if (message.oembed)
|
1577
|
+
OEmbed.internalBinaryWrite(message.oembed, writer.tag(155, WireType.LengthDelimited).fork(), options).join();
|
1578
|
+
/* devvit.reddit.BanInfo ban_info = 156; */
|
1579
|
+
if (message.banInfo)
|
1580
|
+
BanInfo.internalBinaryWrite(message.banInfo, writer.tag(156, WireType.LengthDelimited).fork(), options).join();
|
1581
|
+
/* google.protobuf.BoolValue marked_spam = 157; */
|
1582
|
+
if (message.markedSpam)
|
1583
|
+
BoolValue.internalBinaryWrite(message.markedSpam, writer.tag(157, WireType.LengthDelimited).fork(), options).join();
|
1584
|
+
/* google.protobuf.StringValue verdict = 158; */
|
1585
|
+
if (message.verdict)
|
1586
|
+
StringValue.internalBinaryWrite(message.verdict, writer.tag(158, WireType.LengthDelimited).fork(), options).join();
|
1587
|
+
/* devvit.reddit.RedditPostGallery gallery = 159; */
|
1588
|
+
if (message.gallery)
|
1589
|
+
RedditPostGallery.internalBinaryWrite(message.gallery, writer.tag(159, WireType.LengthDelimited).fork(), options).join();
|
1590
|
+
let u = options.writeUnknownFields;
|
1591
|
+
if (u !== false)
|
1592
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1593
|
+
return writer;
|
1594
|
+
}
|
1595
|
+
}
|
1596
|
+
/**
|
1597
|
+
* @generated MessageType for protobuf message devvit.reddit.Post
|
1598
|
+
*/
|
1599
|
+
export const Post = new Post$Type();
|
1600
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1601
|
+
class Media$Type extends MessageType<Media> {
|
1602
|
+
constructor() {
|
1603
|
+
super("devvit.reddit.Media", [
|
1604
|
+
{ no: 1, name: "reddit_video", kind: "message", T: () => Media_RedditVideo }
|
1605
|
+
]);
|
1606
|
+
}
|
1607
|
+
create(value?: PartialMessage<Media>): Media {
|
1608
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1609
|
+
if (value !== undefined)
|
1610
|
+
reflectionMergePartial<Media>(this, message, value);
|
1611
|
+
return message;
|
1612
|
+
}
|
1613
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Media): Media {
|
1614
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1615
|
+
while (reader.pos < end) {
|
1616
|
+
let [fieldNo, wireType] = reader.tag();
|
1617
|
+
switch (fieldNo) {
|
1618
|
+
case /* devvit.reddit.Media.RedditVideo reddit_video */ 1:
|
1619
|
+
message.redditVideo = Media_RedditVideo.internalBinaryRead(reader, reader.uint32(), options, message.redditVideo);
|
1620
|
+
break;
|
1621
|
+
default:
|
1622
|
+
let u = options.readUnknownField;
|
1623
|
+
if (u === "throw")
|
1624
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1625
|
+
let d = reader.skip(wireType);
|
1626
|
+
if (u !== false)
|
1627
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1628
|
+
}
|
1629
|
+
}
|
1630
|
+
return message;
|
1631
|
+
}
|
1632
|
+
internalBinaryWrite(message: Media, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1633
|
+
/* devvit.reddit.Media.RedditVideo reddit_video = 1; */
|
1634
|
+
if (message.redditVideo)
|
1635
|
+
Media_RedditVideo.internalBinaryWrite(message.redditVideo, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1636
|
+
let u = options.writeUnknownFields;
|
1637
|
+
if (u !== false)
|
1638
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1639
|
+
return writer;
|
1640
|
+
}
|
1641
|
+
}
|
1642
|
+
/**
|
1643
|
+
* @generated MessageType for protobuf message devvit.reddit.Media
|
1644
|
+
*/
|
1645
|
+
export const Media = new Media$Type();
|
1646
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1647
|
+
class Media_RedditVideo$Type extends MessageType<Media_RedditVideo> {
|
1648
|
+
constructor() {
|
1649
|
+
super("devvit.reddit.Media.RedditVideo", [
|
1650
|
+
{ no: 1, name: "bitrate_kbps", kind: "message", T: () => Int32Value },
|
1651
|
+
{ no: 2, name: "dash_url", kind: "message", T: () => StringValue },
|
1652
|
+
{ no: 3, name: "duration", kind: "message", T: () => Int32Value },
|
1653
|
+
{ no: 4, name: "fallback_url", kind: "message", T: () => StringValue },
|
1654
|
+
{ no: 5, name: "height", kind: "message", T: () => Int32Value },
|
1655
|
+
{ no: 6, name: "hls_url", kind: "message", T: () => StringValue },
|
1656
|
+
{ no: 7, name: "is_gif", kind: "message", T: () => BoolValue },
|
1657
|
+
{ no: 8, name: "scrubber_media_url", kind: "message", T: () => StringValue },
|
1658
|
+
{ no: 9, name: "transcoding_status", kind: "message", T: () => StringValue },
|
1659
|
+
{ no: 10, name: "width", kind: "message", T: () => Int32Value }
|
1660
|
+
]);
|
1661
|
+
}
|
1662
|
+
create(value?: PartialMessage<Media_RedditVideo>): Media_RedditVideo {
|
1663
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1664
|
+
if (value !== undefined)
|
1665
|
+
reflectionMergePartial<Media_RedditVideo>(this, message, value);
|
1666
|
+
return message;
|
1667
|
+
}
|
1668
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Media_RedditVideo): Media_RedditVideo {
|
1669
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1670
|
+
while (reader.pos < end) {
|
1671
|
+
let [fieldNo, wireType] = reader.tag();
|
1672
|
+
switch (fieldNo) {
|
1673
|
+
case /* google.protobuf.Int32Value bitrate_kbps */ 1:
|
1674
|
+
message.bitrateKbps = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.bitrateKbps);
|
1675
|
+
break;
|
1676
|
+
case /* google.protobuf.StringValue dash_url */ 2:
|
1677
|
+
message.dashUrl = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.dashUrl);
|
1678
|
+
break;
|
1679
|
+
case /* google.protobuf.Int32Value duration */ 3:
|
1680
|
+
message.duration = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.duration);
|
1681
|
+
break;
|
1682
|
+
case /* google.protobuf.StringValue fallback_url */ 4:
|
1683
|
+
message.fallbackUrl = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.fallbackUrl);
|
1684
|
+
break;
|
1685
|
+
case /* google.protobuf.Int32Value height */ 5:
|
1686
|
+
message.height = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.height);
|
1687
|
+
break;
|
1688
|
+
case /* google.protobuf.StringValue hls_url */ 6:
|
1689
|
+
message.hlsUrl = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.hlsUrl);
|
1690
|
+
break;
|
1691
|
+
case /* google.protobuf.BoolValue is_gif */ 7:
|
1692
|
+
message.isGif = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isGif);
|
1693
|
+
break;
|
1694
|
+
case /* google.protobuf.StringValue scrubber_media_url */ 8:
|
1695
|
+
message.scrubberMediaUrl = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.scrubberMediaUrl);
|
1696
|
+
break;
|
1697
|
+
case /* google.protobuf.StringValue transcoding_status */ 9:
|
1698
|
+
message.transcodingStatus = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.transcodingStatus);
|
1699
|
+
break;
|
1700
|
+
case /* google.protobuf.Int32Value width */ 10:
|
1701
|
+
message.width = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.width);
|
1702
|
+
break;
|
1703
|
+
default:
|
1704
|
+
let u = options.readUnknownField;
|
1705
|
+
if (u === "throw")
|
1706
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1707
|
+
let d = reader.skip(wireType);
|
1708
|
+
if (u !== false)
|
1709
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1710
|
+
}
|
1711
|
+
}
|
1712
|
+
return message;
|
1713
|
+
}
|
1714
|
+
internalBinaryWrite(message: Media_RedditVideo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1715
|
+
/* google.protobuf.Int32Value bitrate_kbps = 1; */
|
1716
|
+
if (message.bitrateKbps)
|
1717
|
+
Int32Value.internalBinaryWrite(message.bitrateKbps, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1718
|
+
/* google.protobuf.StringValue dash_url = 2; */
|
1719
|
+
if (message.dashUrl)
|
1720
|
+
StringValue.internalBinaryWrite(message.dashUrl, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1721
|
+
/* google.protobuf.Int32Value duration = 3; */
|
1722
|
+
if (message.duration)
|
1723
|
+
Int32Value.internalBinaryWrite(message.duration, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1724
|
+
/* google.protobuf.StringValue fallback_url = 4; */
|
1725
|
+
if (message.fallbackUrl)
|
1726
|
+
StringValue.internalBinaryWrite(message.fallbackUrl, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1727
|
+
/* google.protobuf.Int32Value height = 5; */
|
1728
|
+
if (message.height)
|
1729
|
+
Int32Value.internalBinaryWrite(message.height, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
1730
|
+
/* google.protobuf.StringValue hls_url = 6; */
|
1731
|
+
if (message.hlsUrl)
|
1732
|
+
StringValue.internalBinaryWrite(message.hlsUrl, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
1733
|
+
/* google.protobuf.BoolValue is_gif = 7; */
|
1734
|
+
if (message.isGif)
|
1735
|
+
BoolValue.internalBinaryWrite(message.isGif, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
1736
|
+
/* google.protobuf.StringValue scrubber_media_url = 8; */
|
1737
|
+
if (message.scrubberMediaUrl)
|
1738
|
+
StringValue.internalBinaryWrite(message.scrubberMediaUrl, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
1739
|
+
/* google.protobuf.StringValue transcoding_status = 9; */
|
1740
|
+
if (message.transcodingStatus)
|
1741
|
+
StringValue.internalBinaryWrite(message.transcodingStatus, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
1742
|
+
/* google.protobuf.Int32Value width = 10; */
|
1743
|
+
if (message.width)
|
1744
|
+
Int32Value.internalBinaryWrite(message.width, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
1745
|
+
let u = options.writeUnknownFields;
|
1746
|
+
if (u !== false)
|
1747
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1748
|
+
return writer;
|
1749
|
+
}
|
1750
|
+
}
|
1751
|
+
/**
|
1752
|
+
* @generated MessageType for protobuf message devvit.reddit.Media.RedditVideo
|
1753
|
+
*/
|
1754
|
+
export const Media_RedditVideo = new Media_RedditVideo$Type();
|
1755
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1756
|
+
class Preview$Type extends MessageType<Preview> {
|
1757
|
+
constructor() {
|
1758
|
+
super("devvit.reddit.Preview", [
|
1759
|
+
{ no: 1, name: "enabled", kind: "message", T: () => BoolValue },
|
1760
|
+
{ no: 2, name: "images", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Preview_PreviewImage }
|
1761
|
+
]);
|
1762
|
+
}
|
1763
|
+
create(value?: PartialMessage<Preview>): Preview {
|
1764
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1765
|
+
message.images = [];
|
1766
|
+
if (value !== undefined)
|
1767
|
+
reflectionMergePartial<Preview>(this, message, value);
|
1768
|
+
return message;
|
1769
|
+
}
|
1770
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Preview): Preview {
|
1771
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1772
|
+
while (reader.pos < end) {
|
1773
|
+
let [fieldNo, wireType] = reader.tag();
|
1774
|
+
switch (fieldNo) {
|
1775
|
+
case /* google.protobuf.BoolValue enabled */ 1:
|
1776
|
+
message.enabled = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.enabled);
|
1777
|
+
break;
|
1778
|
+
case /* repeated devvit.reddit.Preview.PreviewImage images */ 2:
|
1779
|
+
message.images.push(Preview_PreviewImage.internalBinaryRead(reader, reader.uint32(), options));
|
1780
|
+
break;
|
1781
|
+
default:
|
1782
|
+
let u = options.readUnknownField;
|
1783
|
+
if (u === "throw")
|
1784
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1785
|
+
let d = reader.skip(wireType);
|
1786
|
+
if (u !== false)
|
1787
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1788
|
+
}
|
1789
|
+
}
|
1790
|
+
return message;
|
1791
|
+
}
|
1792
|
+
internalBinaryWrite(message: Preview, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1793
|
+
/* google.protobuf.BoolValue enabled = 1; */
|
1794
|
+
if (message.enabled)
|
1795
|
+
BoolValue.internalBinaryWrite(message.enabled, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1796
|
+
/* repeated devvit.reddit.Preview.PreviewImage images = 2; */
|
1797
|
+
for (let i = 0; i < message.images.length; i++)
|
1798
|
+
Preview_PreviewImage.internalBinaryWrite(message.images[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1799
|
+
let u = options.writeUnknownFields;
|
1800
|
+
if (u !== false)
|
1801
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1802
|
+
return writer;
|
1803
|
+
}
|
1804
|
+
}
|
1805
|
+
/**
|
1806
|
+
* @generated MessageType for protobuf message devvit.reddit.Preview
|
1807
|
+
*/
|
1808
|
+
export const Preview = new Preview$Type();
|
1809
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1810
|
+
class Preview_PreviewImage$Type extends MessageType<Preview_PreviewImage> {
|
1811
|
+
constructor() {
|
1812
|
+
super("devvit.reddit.Preview.PreviewImage", [
|
1813
|
+
{ no: 1, name: "id", kind: "message", T: () => StringValue },
|
1814
|
+
{ no: 2, name: "resolutions", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Preview_PreviewImage_Image },
|
1815
|
+
{ no: 3, name: "source", kind: "message", T: () => Preview_PreviewImage_Image },
|
1816
|
+
{ no: 4, name: "variants", kind: "message", T: () => Preview_PreviewImage_Image }
|
1817
|
+
]);
|
1818
|
+
}
|
1819
|
+
create(value?: PartialMessage<Preview_PreviewImage>): Preview_PreviewImage {
|
1820
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1821
|
+
message.resolutions = [];
|
1822
|
+
if (value !== undefined)
|
1823
|
+
reflectionMergePartial<Preview_PreviewImage>(this, message, value);
|
1824
|
+
return message;
|
1825
|
+
}
|
1826
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Preview_PreviewImage): Preview_PreviewImage {
|
1827
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1828
|
+
while (reader.pos < end) {
|
1829
|
+
let [fieldNo, wireType] = reader.tag();
|
1830
|
+
switch (fieldNo) {
|
1831
|
+
case /* google.protobuf.StringValue id */ 1:
|
1832
|
+
message.id = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
1833
|
+
break;
|
1834
|
+
case /* repeated devvit.reddit.Preview.PreviewImage.Image resolutions */ 2:
|
1835
|
+
message.resolutions.push(Preview_PreviewImage_Image.internalBinaryRead(reader, reader.uint32(), options));
|
1836
|
+
break;
|
1837
|
+
case /* devvit.reddit.Preview.PreviewImage.Image source */ 3:
|
1838
|
+
message.source = Preview_PreviewImage_Image.internalBinaryRead(reader, reader.uint32(), options, message.source);
|
1839
|
+
break;
|
1840
|
+
case /* devvit.reddit.Preview.PreviewImage.Image variants */ 4:
|
1841
|
+
message.variants = Preview_PreviewImage_Image.internalBinaryRead(reader, reader.uint32(), options, message.variants);
|
1842
|
+
break;
|
1843
|
+
default:
|
1844
|
+
let u = options.readUnknownField;
|
1845
|
+
if (u === "throw")
|
1846
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1847
|
+
let d = reader.skip(wireType);
|
1848
|
+
if (u !== false)
|
1849
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
return message;
|
1853
|
+
}
|
1854
|
+
internalBinaryWrite(message: Preview_PreviewImage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1855
|
+
/* google.protobuf.StringValue id = 1; */
|
1856
|
+
if (message.id)
|
1857
|
+
StringValue.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1858
|
+
/* repeated devvit.reddit.Preview.PreviewImage.Image resolutions = 2; */
|
1859
|
+
for (let i = 0; i < message.resolutions.length; i++)
|
1860
|
+
Preview_PreviewImage_Image.internalBinaryWrite(message.resolutions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1861
|
+
/* devvit.reddit.Preview.PreviewImage.Image source = 3; */
|
1862
|
+
if (message.source)
|
1863
|
+
Preview_PreviewImage_Image.internalBinaryWrite(message.source, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1864
|
+
/* devvit.reddit.Preview.PreviewImage.Image variants = 4; */
|
1865
|
+
if (message.variants)
|
1866
|
+
Preview_PreviewImage_Image.internalBinaryWrite(message.variants, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1867
|
+
let u = options.writeUnknownFields;
|
1868
|
+
if (u !== false)
|
1869
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1870
|
+
return writer;
|
1871
|
+
}
|
1872
|
+
}
|
1873
|
+
/**
|
1874
|
+
* @generated MessageType for protobuf message devvit.reddit.Preview.PreviewImage
|
1875
|
+
*/
|
1876
|
+
export const Preview_PreviewImage = new Preview_PreviewImage$Type();
|
1877
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1878
|
+
class Preview_PreviewImage_Image$Type extends MessageType<Preview_PreviewImage_Image> {
|
1879
|
+
constructor() {
|
1880
|
+
super("devvit.reddit.Preview.PreviewImage.Image", [
|
1881
|
+
{ no: 1, name: "height", kind: "message", T: () => Int32Value },
|
1882
|
+
{ no: 2, name: "url", kind: "message", T: () => StringValue },
|
1883
|
+
{ no: 3, name: "width", kind: "message", T: () => Int32Value }
|
1884
|
+
]);
|
1885
|
+
}
|
1886
|
+
create(value?: PartialMessage<Preview_PreviewImage_Image>): Preview_PreviewImage_Image {
|
1887
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1888
|
+
if (value !== undefined)
|
1889
|
+
reflectionMergePartial<Preview_PreviewImage_Image>(this, message, value);
|
1890
|
+
return message;
|
1891
|
+
}
|
1892
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Preview_PreviewImage_Image): Preview_PreviewImage_Image {
|
1893
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1894
|
+
while (reader.pos < end) {
|
1895
|
+
let [fieldNo, wireType] = reader.tag();
|
1896
|
+
switch (fieldNo) {
|
1897
|
+
case /* google.protobuf.Int32Value height */ 1:
|
1898
|
+
message.height = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.height);
|
1899
|
+
break;
|
1900
|
+
case /* google.protobuf.StringValue url */ 2:
|
1901
|
+
message.url = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.url);
|
1902
|
+
break;
|
1903
|
+
case /* google.protobuf.Int32Value width */ 3:
|
1904
|
+
message.width = Int32Value.internalBinaryRead(reader, reader.uint32(), options, message.width);
|
1905
|
+
break;
|
1906
|
+
default:
|
1907
|
+
let u = options.readUnknownField;
|
1908
|
+
if (u === "throw")
|
1909
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1910
|
+
let d = reader.skip(wireType);
|
1911
|
+
if (u !== false)
|
1912
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1913
|
+
}
|
1914
|
+
}
|
1915
|
+
return message;
|
1916
|
+
}
|
1917
|
+
internalBinaryWrite(message: Preview_PreviewImage_Image, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1918
|
+
/* google.protobuf.Int32Value height = 1; */
|
1919
|
+
if (message.height)
|
1920
|
+
Int32Value.internalBinaryWrite(message.height, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1921
|
+
/* google.protobuf.StringValue url = 2; */
|
1922
|
+
if (message.url)
|
1923
|
+
StringValue.internalBinaryWrite(message.url, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1924
|
+
/* google.protobuf.Int32Value width = 3; */
|
1925
|
+
if (message.width)
|
1926
|
+
Int32Value.internalBinaryWrite(message.width, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1927
|
+
let u = options.writeUnknownFields;
|
1928
|
+
if (u !== false)
|
1929
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1930
|
+
return writer;
|
1931
|
+
}
|
1932
|
+
}
|
1933
|
+
/**
|
1934
|
+
* @generated MessageType for protobuf message devvit.reddit.Preview.PreviewImage.Image
|
1935
|
+
*/
|
1936
|
+
export const Preview_PreviewImage_Image = new Preview_PreviewImage_Image$Type();
|
1937
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1938
|
+
class OEmbed$Type extends MessageType<OEmbed> {
|
1939
|
+
constructor() {
|
1940
|
+
super("devvit.reddit.OEmbed", [
|
1941
|
+
{ no: 1, name: "author_name", kind: "message", T: () => StringValue },
|
1942
|
+
{ no: 2, name: "author_url", kind: "message", T: () => StringValue },
|
1943
|
+
{ no: 3, name: "description", kind: "message", T: () => StringValue },
|
1944
|
+
{ no: 4, name: "title", kind: "message", T: () => StringValue }
|
1945
|
+
]);
|
1946
|
+
}
|
1947
|
+
create(value?: PartialMessage<OEmbed>): OEmbed {
|
1948
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1949
|
+
if (value !== undefined)
|
1950
|
+
reflectionMergePartial<OEmbed>(this, message, value);
|
1951
|
+
return message;
|
1952
|
+
}
|
1953
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OEmbed): OEmbed {
|
1954
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1955
|
+
while (reader.pos < end) {
|
1956
|
+
let [fieldNo, wireType] = reader.tag();
|
1957
|
+
switch (fieldNo) {
|
1958
|
+
case /* google.protobuf.StringValue author_name */ 1:
|
1959
|
+
message.authorName = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorName);
|
1960
|
+
break;
|
1961
|
+
case /* google.protobuf.StringValue author_url */ 2:
|
1962
|
+
message.authorUrl = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.authorUrl);
|
1963
|
+
break;
|
1964
|
+
case /* google.protobuf.StringValue description */ 3:
|
1965
|
+
message.description = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.description);
|
1966
|
+
break;
|
1967
|
+
case /* google.protobuf.StringValue title */ 4:
|
1968
|
+
message.title = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.title);
|
1969
|
+
break;
|
1970
|
+
default:
|
1971
|
+
let u = options.readUnknownField;
|
1972
|
+
if (u === "throw")
|
1973
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1974
|
+
let d = reader.skip(wireType);
|
1975
|
+
if (u !== false)
|
1976
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1977
|
+
}
|
1978
|
+
}
|
1979
|
+
return message;
|
1980
|
+
}
|
1981
|
+
internalBinaryWrite(message: OEmbed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1982
|
+
/* google.protobuf.StringValue author_name = 1; */
|
1983
|
+
if (message.authorName)
|
1984
|
+
StringValue.internalBinaryWrite(message.authorName, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1985
|
+
/* google.protobuf.StringValue author_url = 2; */
|
1986
|
+
if (message.authorUrl)
|
1987
|
+
StringValue.internalBinaryWrite(message.authorUrl, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1988
|
+
/* google.protobuf.StringValue description = 3; */
|
1989
|
+
if (message.description)
|
1990
|
+
StringValue.internalBinaryWrite(message.description, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1991
|
+
/* google.protobuf.StringValue title = 4; */
|
1992
|
+
if (message.title)
|
1993
|
+
StringValue.internalBinaryWrite(message.title, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1994
|
+
let u = options.writeUnknownFields;
|
1995
|
+
if (u !== false)
|
1996
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1997
|
+
return writer;
|
1998
|
+
}
|
1999
|
+
}
|
2000
|
+
/**
|
2001
|
+
* @generated MessageType for protobuf message devvit.reddit.OEmbed
|
2002
|
+
*/
|
2003
|
+
export const OEmbed = new OEmbed$Type();
|
2004
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
2005
|
+
class RedditPostGallery$Type extends MessageType<RedditPostGallery> {
|
2006
|
+
constructor() {
|
2007
|
+
super("devvit.reddit.RedditPostGallery", [
|
2008
|
+
{ no: 1, name: "body", kind: "message", T: () => StringValue },
|
2009
|
+
{ no: 2, name: "domain", kind: "message", T: () => StringValue },
|
2010
|
+
{ no: 3, name: "url", kind: "message", T: () => StringValue }
|
2011
|
+
]);
|
2012
|
+
}
|
2013
|
+
create(value?: PartialMessage<RedditPostGallery>): RedditPostGallery {
|
2014
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
2015
|
+
if (value !== undefined)
|
2016
|
+
reflectionMergePartial<RedditPostGallery>(this, message, value);
|
2017
|
+
return message;
|
2018
|
+
}
|
2019
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RedditPostGallery): RedditPostGallery {
|
2020
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
2021
|
+
while (reader.pos < end) {
|
2022
|
+
let [fieldNo, wireType] = reader.tag();
|
2023
|
+
switch (fieldNo) {
|
2024
|
+
case /* google.protobuf.StringValue body */ 1:
|
2025
|
+
message.body = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.body);
|
2026
|
+
break;
|
2027
|
+
case /* google.protobuf.StringValue domain */ 2:
|
2028
|
+
message.domain = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.domain);
|
2029
|
+
break;
|
2030
|
+
case /* google.protobuf.StringValue url */ 3:
|
2031
|
+
message.url = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.url);
|
2032
|
+
break;
|
2033
|
+
default:
|
2034
|
+
let u = options.readUnknownField;
|
2035
|
+
if (u === "throw")
|
2036
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
2037
|
+
let d = reader.skip(wireType);
|
2038
|
+
if (u !== false)
|
2039
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
2040
|
+
}
|
2041
|
+
}
|
2042
|
+
return message;
|
2043
|
+
}
|
2044
|
+
internalBinaryWrite(message: RedditPostGallery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
2045
|
+
/* google.protobuf.StringValue body = 1; */
|
2046
|
+
if (message.body)
|
2047
|
+
StringValue.internalBinaryWrite(message.body, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
2048
|
+
/* google.protobuf.StringValue domain = 2; */
|
2049
|
+
if (message.domain)
|
2050
|
+
StringValue.internalBinaryWrite(message.domain, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
2051
|
+
/* google.protobuf.StringValue url = 3; */
|
2052
|
+
if (message.url)
|
2053
|
+
StringValue.internalBinaryWrite(message.url, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
2054
|
+
let u = options.writeUnknownFields;
|
2055
|
+
if (u !== false)
|
2056
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
2057
|
+
return writer;
|
2058
|
+
}
|
2059
|
+
}
|
2060
|
+
/**
|
2061
|
+
* @generated MessageType for protobuf message devvit.reddit.RedditPostGallery
|
2062
|
+
*/
|
2063
|
+
export const RedditPostGallery = new RedditPostGallery$Type();
|