@devvit/protos 0.11.0-next-2024-07-24-1be38cc96.0 → 0.11.0-next-2024-07-25-1378e6e47.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 +200 -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 +1047 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.ts +218 -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 -10
- package/schema/devvit/dev_portal/app_settings/app_settings.proto +2 -0
- package/schema/devvit/dev_portal/dev_portal.proto +2 -2
- 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 -28
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts.map +1 -1
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +4 -142
- 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 -88
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/dev_portal/dev_portal.js +20 -48
- package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts +1 -7
- package/types/devvit/dev_portal/dev_portal.twirp-client.d.ts.map +1 -1
- package/types/devvit/dev_portal/dev_portal.twirp-client.js +1 -25
- package/types/devvit/dev_portal/dev_portal.twirp.d.ts +1 -5
- package/types/devvit/dev_portal/dev_portal.twirp.d.ts.map +1 -1
- package/types/devvit/dev_portal/dev_portal.twirp.js +1 -133
- 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,1656 @@
|
|
1
|
+
// @generated by protobuf-ts 2.9.3
|
2
|
+
// @generated from protobuf file "devvit/ui/block_kit/v1beta/block.proto" (package "devvit.ui.block_kit.v1beta", 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 { Struct } from "../../../../google/protobuf/struct";
|
14
|
+
import { BlockAnimationDirection } from "./enums";
|
15
|
+
import { BlockAnimationLoopMode } from "./enums";
|
16
|
+
import { BlockAnimationType } from "./enums";
|
17
|
+
import { BlockFullSnooSize } from "./enums";
|
18
|
+
import { BlockAvatarBackground } from "./enums";
|
19
|
+
import { BlockAvatarSize } from "./enums";
|
20
|
+
import { BlockAvatarFacing } from "./enums";
|
21
|
+
import { BlockIconSize } from "./enums";
|
22
|
+
import { BlockSpacerShape } from "./enums";
|
23
|
+
import { BlockSpacerSize } from "./enums";
|
24
|
+
import { BlockImageResizeMode } from "./enums";
|
25
|
+
import { BlockButtonAppearance } from "./enums";
|
26
|
+
import { BlockButtonSize } from "./enums";
|
27
|
+
import { BlockTextOverflow } from "./enums";
|
28
|
+
import { BlockTextStyle } from "./enums";
|
29
|
+
import { BlockTextOutline } from "./enums";
|
30
|
+
import { BlockTextWeight } from "./enums";
|
31
|
+
import { BlockTextSize } from "./enums";
|
32
|
+
import { BlockColor } from "./attributes";
|
33
|
+
import { BlockRadius } from "./enums";
|
34
|
+
import { BlockBorder } from "./attributes";
|
35
|
+
import { BlockGap } from "./enums";
|
36
|
+
import { BlockPadding } from "./enums";
|
37
|
+
import { BlockAlignment } from "./attributes";
|
38
|
+
import { BlockStackDirection } from "./enums";
|
39
|
+
import { BlockAction } from "./attributes";
|
40
|
+
import { BlockSizes } from "./attributes";
|
41
|
+
import { BlockSize } from "./attributes";
|
42
|
+
import { BlockType } from "./enums";
|
43
|
+
/**
|
44
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.Block
|
45
|
+
*/
|
46
|
+
export interface Block {
|
47
|
+
/**
|
48
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockType type = 1;
|
49
|
+
*/
|
50
|
+
type: BlockType;
|
51
|
+
/**
|
52
|
+
* @deprecated Use sizes instead
|
53
|
+
* Common attributes
|
54
|
+
*
|
55
|
+
* @deprecated
|
56
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockSize size = 2 [deprecated = true];
|
57
|
+
*/
|
58
|
+
size?: BlockSize;
|
59
|
+
/**
|
60
|
+
* Size constraints
|
61
|
+
*
|
62
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockSizes sizes = 5;
|
63
|
+
*/
|
64
|
+
sizes?: BlockSizes;
|
65
|
+
/**
|
66
|
+
* Block-specific config
|
67
|
+
*
|
68
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig config = 3;
|
69
|
+
*/
|
70
|
+
config?: BlockConfig;
|
71
|
+
/**
|
72
|
+
* List of possible actions
|
73
|
+
*
|
74
|
+
* @generated from protobuf field: repeated devvit.ui.block_kit.v1beta.BlockAction actions = 4;
|
75
|
+
*/
|
76
|
+
actions: BlockAction[];
|
77
|
+
/**
|
78
|
+
* *
|
79
|
+
* Unique identifier for the block, if we have one. This is designed to
|
80
|
+
* facilitate component re-use.
|
81
|
+
*
|
82
|
+
* If this is not set, the block is considered to be a new instance of a
|
83
|
+
* component, or the client may use heuristics to determine if the component
|
84
|
+
* appears similar enough to reuse.
|
85
|
+
*
|
86
|
+
* @generated from protobuf field: optional string id = 6;
|
87
|
+
*/
|
88
|
+
id?: string;
|
89
|
+
/**
|
90
|
+
* *
|
91
|
+
* Key for the block, if we have one. This is designed to handle
|
92
|
+
* component re-ordering within a list or parent.
|
93
|
+
*
|
94
|
+
* Keys are not required to be unique, but they should be stable across
|
95
|
+
* re-orderings of the same list or parent.
|
96
|
+
*
|
97
|
+
* @generated from protobuf field: optional string key = 7;
|
98
|
+
*/
|
99
|
+
key?: string;
|
100
|
+
}
|
101
|
+
/**
|
102
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig
|
103
|
+
*/
|
104
|
+
export interface BlockConfig {
|
105
|
+
/**
|
106
|
+
* @generated from protobuf oneof: config
|
107
|
+
*/
|
108
|
+
config: {
|
109
|
+
oneofKind: "rootConfig";
|
110
|
+
/**
|
111
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Root root_config = 1;
|
112
|
+
*/
|
113
|
+
rootConfig: BlockConfig_Root;
|
114
|
+
} | {
|
115
|
+
oneofKind: "stackConfig";
|
116
|
+
/**
|
117
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Stack stack_config = 2;
|
118
|
+
*/
|
119
|
+
stackConfig: BlockConfig_Stack;
|
120
|
+
} | {
|
121
|
+
oneofKind: "textConfig";
|
122
|
+
/**
|
123
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Text text_config = 3;
|
124
|
+
*/
|
125
|
+
textConfig: BlockConfig_Text;
|
126
|
+
} | {
|
127
|
+
oneofKind: "buttonConfig";
|
128
|
+
/**
|
129
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Button button_config = 4;
|
130
|
+
*/
|
131
|
+
buttonConfig: BlockConfig_Button;
|
132
|
+
} | {
|
133
|
+
oneofKind: "imageConfig";
|
134
|
+
/**
|
135
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Image image_config = 5;
|
136
|
+
*/
|
137
|
+
imageConfig: BlockConfig_Image;
|
138
|
+
} | {
|
139
|
+
oneofKind: "spacerConfig";
|
140
|
+
/**
|
141
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Spacer spacer_config = 6;
|
142
|
+
*/
|
143
|
+
spacerConfig: BlockConfig_Spacer;
|
144
|
+
} | {
|
145
|
+
oneofKind: "iconConfig";
|
146
|
+
/**
|
147
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Icon icon_config = 7;
|
148
|
+
*/
|
149
|
+
iconConfig: BlockConfig_Icon;
|
150
|
+
} | {
|
151
|
+
oneofKind: "avatarConfig";
|
152
|
+
/**
|
153
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Avatar avatar_config = 8;
|
154
|
+
*/
|
155
|
+
avatarConfig: BlockConfig_Avatar;
|
156
|
+
} | {
|
157
|
+
oneofKind: "fullsnooConfig";
|
158
|
+
/**
|
159
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.FullSnoo fullsnoo_config = 9;
|
160
|
+
*/
|
161
|
+
fullsnooConfig: BlockConfig_FullSnoo;
|
162
|
+
} | {
|
163
|
+
oneofKind: "animationConfig";
|
164
|
+
/**
|
165
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.Animation animation_config = 10;
|
166
|
+
*/
|
167
|
+
animationConfig: BlockConfig_Animation;
|
168
|
+
} | {
|
169
|
+
oneofKind: "webviewConfig";
|
170
|
+
/**
|
171
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockConfig.WebView webview_config = 100;
|
172
|
+
*/
|
173
|
+
webviewConfig: BlockConfig_WebView;
|
174
|
+
} | {
|
175
|
+
oneofKind: undefined;
|
176
|
+
};
|
177
|
+
}
|
178
|
+
/**
|
179
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Root
|
180
|
+
*/
|
181
|
+
export interface BlockConfig_Root {
|
182
|
+
/**
|
183
|
+
* @generated from protobuf field: repeated devvit.ui.block_kit.v1beta.Block children = 1;
|
184
|
+
*/
|
185
|
+
children: Block[];
|
186
|
+
/**
|
187
|
+
* Height of the UI
|
188
|
+
*
|
189
|
+
* @generated from protobuf field: int32 height = 2;
|
190
|
+
*/
|
191
|
+
height: number;
|
192
|
+
}
|
193
|
+
/**
|
194
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Stack
|
195
|
+
*/
|
196
|
+
export interface BlockConfig_Stack {
|
197
|
+
/**
|
198
|
+
* How blocks should be laid out in this stack
|
199
|
+
*
|
200
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockStackDirection direction = 1;
|
201
|
+
*/
|
202
|
+
direction: BlockStackDirection;
|
203
|
+
/**
|
204
|
+
* Blocks to layout in the stack
|
205
|
+
*
|
206
|
+
* @generated from protobuf field: repeated devvit.ui.block_kit.v1beta.Block children = 2;
|
207
|
+
*/
|
208
|
+
children: Block[];
|
209
|
+
/**
|
210
|
+
* Stack the child blocks in reverse order
|
211
|
+
*
|
212
|
+
* @generated from protobuf field: optional bool reverse = 3;
|
213
|
+
*/
|
214
|
+
reverse?: boolean;
|
215
|
+
/**
|
216
|
+
* Horizontal and vertical alignment of elements within the stack
|
217
|
+
*
|
218
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAlignment alignment = 4;
|
219
|
+
*/
|
220
|
+
alignment?: BlockAlignment;
|
221
|
+
/**
|
222
|
+
* Distance between child elements and the container border
|
223
|
+
*
|
224
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockPadding padding = 5;
|
225
|
+
*/
|
226
|
+
padding?: BlockPadding;
|
227
|
+
/**
|
228
|
+
* Distance between child elements
|
229
|
+
*
|
230
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockGap gap = 6;
|
231
|
+
*/
|
232
|
+
gap?: BlockGap;
|
233
|
+
/**
|
234
|
+
* Display a border around the stack
|
235
|
+
*
|
236
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockBorder border = 7;
|
237
|
+
*/
|
238
|
+
border?: BlockBorder;
|
239
|
+
/**
|
240
|
+
* Round the corners of the stack
|
241
|
+
*
|
242
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockRadius corner_radius = 8;
|
243
|
+
*/
|
244
|
+
cornerRadius?: BlockRadius;
|
245
|
+
/**
|
246
|
+
* Set a custom background color for the stack
|
247
|
+
* @deprecated Use background_colors instead
|
248
|
+
*
|
249
|
+
* @deprecated
|
250
|
+
* @generated from protobuf field: optional string background_color = 9 [deprecated = true];
|
251
|
+
*/
|
252
|
+
backgroundColor?: string;
|
253
|
+
/**
|
254
|
+
* Set a custom background color for the stack
|
255
|
+
*
|
256
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockColor background_colors = 10;
|
257
|
+
*/
|
258
|
+
backgroundColors?: BlockColor;
|
259
|
+
}
|
260
|
+
/**
|
261
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Text
|
262
|
+
*/
|
263
|
+
export interface BlockConfig_Text {
|
264
|
+
/**
|
265
|
+
* @generated from protobuf field: string text = 1;
|
266
|
+
*/
|
267
|
+
text: string;
|
268
|
+
/**
|
269
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockTextSize size = 2;
|
270
|
+
*/
|
271
|
+
size?: BlockTextSize;
|
272
|
+
/**
|
273
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockTextWeight weight = 3;
|
274
|
+
*/
|
275
|
+
weight?: BlockTextWeight;
|
276
|
+
/**
|
277
|
+
* @deprecated use colors instead
|
278
|
+
*
|
279
|
+
* @deprecated
|
280
|
+
* @generated from protobuf field: optional string color = 4 [deprecated = true];
|
281
|
+
*/
|
282
|
+
color?: string;
|
283
|
+
/**
|
284
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAlignment alignment = 5;
|
285
|
+
*/
|
286
|
+
alignment?: BlockAlignment;
|
287
|
+
/**
|
288
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockTextOutline outline = 6;
|
289
|
+
*/
|
290
|
+
outline?: BlockTextOutline;
|
291
|
+
/**
|
292
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockTextStyle style = 7;
|
293
|
+
*/
|
294
|
+
style?: BlockTextStyle;
|
295
|
+
/**
|
296
|
+
* @generated from protobuf field: optional bool selectable = 8;
|
297
|
+
*/
|
298
|
+
selectable?: boolean;
|
299
|
+
/**
|
300
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockColor colors = 9;
|
301
|
+
*/
|
302
|
+
colors?: BlockColor;
|
303
|
+
/**
|
304
|
+
* @generated from protobuf field: optional bool wrap = 10;
|
305
|
+
*/
|
306
|
+
wrap?: boolean;
|
307
|
+
/**
|
308
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockTextOverflow overflow = 11;
|
309
|
+
*/
|
310
|
+
overflow?: BlockTextOverflow;
|
311
|
+
}
|
312
|
+
/**
|
313
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Button
|
314
|
+
*/
|
315
|
+
export interface BlockConfig_Button {
|
316
|
+
/**
|
317
|
+
* @generated from protobuf field: optional string text = 1;
|
318
|
+
*/
|
319
|
+
text?: string;
|
320
|
+
/**
|
321
|
+
* @generated from protobuf field: optional string icon = 2;
|
322
|
+
*/
|
323
|
+
icon?: string;
|
324
|
+
/**
|
325
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockButtonSize button_size = 3;
|
326
|
+
*/
|
327
|
+
buttonSize?: BlockButtonSize;
|
328
|
+
/**
|
329
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockButtonAppearance button_appearance = 4;
|
330
|
+
*/
|
331
|
+
buttonAppearance?: BlockButtonAppearance;
|
332
|
+
/**
|
333
|
+
* @deprecated use text_colors instead
|
334
|
+
*
|
335
|
+
* @deprecated
|
336
|
+
* @generated from protobuf field: optional string text_color = 5 [deprecated = true];
|
337
|
+
*/
|
338
|
+
textColor?: string;
|
339
|
+
/**
|
340
|
+
* @deprecated use background_colors instead
|
341
|
+
*
|
342
|
+
* @deprecated
|
343
|
+
* @generated from protobuf field: optional string background_color = 6 [deprecated = true];
|
344
|
+
*/
|
345
|
+
backgroundColor?: string;
|
346
|
+
/**
|
347
|
+
* @generated from protobuf field: optional bool disabled = 7;
|
348
|
+
*/
|
349
|
+
disabled?: boolean;
|
350
|
+
/**
|
351
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockColor text_colors = 8;
|
352
|
+
*/
|
353
|
+
textColors?: BlockColor;
|
354
|
+
/**
|
355
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockColor background_colors = 9;
|
356
|
+
*/
|
357
|
+
backgroundColors?: BlockColor;
|
358
|
+
}
|
359
|
+
/**
|
360
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Image
|
361
|
+
*/
|
362
|
+
export interface BlockConfig_Image {
|
363
|
+
/**
|
364
|
+
* URL to the image
|
365
|
+
*
|
366
|
+
* @generated from protobuf field: string url = 1;
|
367
|
+
*/
|
368
|
+
url: string;
|
369
|
+
/**
|
370
|
+
* Target width, in pixels
|
371
|
+
*
|
372
|
+
* @generated from protobuf field: int32 width = 2;
|
373
|
+
*/
|
374
|
+
width: number;
|
375
|
+
/**
|
376
|
+
* Target height, in pixels
|
377
|
+
*
|
378
|
+
* @generated from protobuf field: int32 height = 3;
|
379
|
+
*/
|
380
|
+
height: number;
|
381
|
+
/**
|
382
|
+
* Description for accessibility
|
383
|
+
*
|
384
|
+
* @generated from protobuf field: optional string description = 4;
|
385
|
+
*/
|
386
|
+
description?: string;
|
387
|
+
/**
|
388
|
+
* How to resize the image if the target resolution can't be achieved
|
389
|
+
*
|
390
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockImageResizeMode resize_mode = 5;
|
391
|
+
*/
|
392
|
+
resizeMode?: BlockImageResizeMode;
|
393
|
+
}
|
394
|
+
/**
|
395
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Spacer
|
396
|
+
*/
|
397
|
+
export interface BlockConfig_Spacer {
|
398
|
+
/**
|
399
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockSpacerSize size = 1;
|
400
|
+
*/
|
401
|
+
size?: BlockSpacerSize;
|
402
|
+
/**
|
403
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockSpacerShape shape = 2;
|
404
|
+
*/
|
405
|
+
shape?: BlockSpacerShape;
|
406
|
+
}
|
407
|
+
/**
|
408
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Icon
|
409
|
+
*/
|
410
|
+
export interface BlockConfig_Icon {
|
411
|
+
/**
|
412
|
+
* @generated from protobuf field: string icon = 1;
|
413
|
+
*/
|
414
|
+
icon: string;
|
415
|
+
/**
|
416
|
+
* @deprecated use colors instead
|
417
|
+
*
|
418
|
+
* @deprecated
|
419
|
+
* @generated from protobuf field: optional string color = 2 [deprecated = true];
|
420
|
+
*/
|
421
|
+
color?: string;
|
422
|
+
/**
|
423
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockIconSize size = 3;
|
424
|
+
*/
|
425
|
+
size?: BlockIconSize;
|
426
|
+
/**
|
427
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockColor colors = 4;
|
428
|
+
*/
|
429
|
+
colors?: BlockColor;
|
430
|
+
}
|
431
|
+
/**
|
432
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Avatar
|
433
|
+
*/
|
434
|
+
export interface BlockConfig_Avatar {
|
435
|
+
/**
|
436
|
+
* @generated from protobuf field: string thing_id = 1;
|
437
|
+
*/
|
438
|
+
thingId: string;
|
439
|
+
/**
|
440
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAvatarFacing facing = 2;
|
441
|
+
*/
|
442
|
+
facing?: BlockAvatarFacing;
|
443
|
+
/**
|
444
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAvatarSize size = 3;
|
445
|
+
*/
|
446
|
+
size?: BlockAvatarSize;
|
447
|
+
/**
|
448
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAvatarBackground background = 4;
|
449
|
+
*/
|
450
|
+
background?: BlockAvatarBackground;
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.FullSnoo
|
454
|
+
*/
|
455
|
+
export interface BlockConfig_FullSnoo {
|
456
|
+
/**
|
457
|
+
* @generated from protobuf field: string user_id = 1;
|
458
|
+
*/
|
459
|
+
userId: string;
|
460
|
+
/**
|
461
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAvatarFacing facing = 2;
|
462
|
+
*/
|
463
|
+
facing?: BlockAvatarFacing;
|
464
|
+
/**
|
465
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockFullSnooSize size = 3;
|
466
|
+
*/
|
467
|
+
size?: BlockFullSnooSize;
|
468
|
+
}
|
469
|
+
/**
|
470
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Animation
|
471
|
+
*/
|
472
|
+
export interface BlockConfig_Animation {
|
473
|
+
/**
|
474
|
+
* URL to the animation
|
475
|
+
*
|
476
|
+
* @generated from protobuf field: string url = 1;
|
477
|
+
*/
|
478
|
+
url: string;
|
479
|
+
/**
|
480
|
+
* Target width, in pixels
|
481
|
+
*
|
482
|
+
* @generated from protobuf field: int32 width = 2;
|
483
|
+
*/
|
484
|
+
width: number;
|
485
|
+
/**
|
486
|
+
* Target height, in pixels
|
487
|
+
*
|
488
|
+
* @generated from protobuf field: int32 height = 3;
|
489
|
+
*/
|
490
|
+
height: number;
|
491
|
+
/**
|
492
|
+
* Type of player needed
|
493
|
+
*
|
494
|
+
* @generated from protobuf field: devvit.ui.block_kit.v1beta.BlockAnimationType type = 4;
|
495
|
+
*/
|
496
|
+
type: BlockAnimationType;
|
497
|
+
/**
|
498
|
+
* Set loop mode. Defaults to true.
|
499
|
+
*
|
500
|
+
* @generated from protobuf field: optional bool loop = 5;
|
501
|
+
*/
|
502
|
+
loop?: boolean;
|
503
|
+
/**
|
504
|
+
* How looping should occur
|
505
|
+
*
|
506
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAnimationLoopMode loop_mode = 6;
|
507
|
+
*/
|
508
|
+
loopMode?: BlockAnimationLoopMode;
|
509
|
+
/**
|
510
|
+
* Autoplay the animation as soon as it's loaded
|
511
|
+
*
|
512
|
+
* @generated from protobuf field: optional bool autoplay = 7;
|
513
|
+
*/
|
514
|
+
autoplay?: boolean;
|
515
|
+
/**
|
516
|
+
* Playback speed multiplier, when supported by type
|
517
|
+
*
|
518
|
+
* @generated from protobuf field: optional float speed = 8;
|
519
|
+
*/
|
520
|
+
speed?: number;
|
521
|
+
/**
|
522
|
+
* Play the animation forward or backward, when supported by type
|
523
|
+
*
|
524
|
+
* @generated from protobuf field: optional devvit.ui.block_kit.v1beta.BlockAnimationDirection direction = 9;
|
525
|
+
*/
|
526
|
+
direction?: BlockAnimationDirection;
|
527
|
+
}
|
528
|
+
/**
|
529
|
+
* @generated from protobuf message devvit.ui.block_kit.v1beta.BlockConfig.WebView
|
530
|
+
*/
|
531
|
+
export interface BlockConfig_WebView {
|
532
|
+
/**
|
533
|
+
* URL to load in the webview
|
534
|
+
*
|
535
|
+
* @generated from protobuf field: string url = 1;
|
536
|
+
*/
|
537
|
+
url: string;
|
538
|
+
/**
|
539
|
+
* State to pass in to the webview
|
540
|
+
*
|
541
|
+
* @generated from protobuf field: google.protobuf.Struct state = 2;
|
542
|
+
*/
|
543
|
+
state?: Struct;
|
544
|
+
}
|
545
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
546
|
+
class Block$Type extends MessageType<Block> {
|
547
|
+
constructor() {
|
548
|
+
super("devvit.ui.block_kit.v1beta.Block", [
|
549
|
+
{ no: 1, name: "type", kind: "enum", T: () => ["devvit.ui.block_kit.v1beta.BlockType", BlockType] },
|
550
|
+
{ no: 2, name: "size", kind: "message", T: () => BlockSize },
|
551
|
+
{ no: 5, name: "sizes", kind: "message", T: () => BlockSizes },
|
552
|
+
{ no: 3, name: "config", kind: "message", T: () => BlockConfig },
|
553
|
+
{ no: 4, name: "actions", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => BlockAction },
|
554
|
+
{ no: 6, name: "id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
555
|
+
{ no: 7, name: "key", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
556
|
+
]);
|
557
|
+
}
|
558
|
+
create(value?: PartialMessage<Block>): Block {
|
559
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
560
|
+
message.type = 0;
|
561
|
+
message.actions = [];
|
562
|
+
if (value !== undefined)
|
563
|
+
reflectionMergePartial<Block>(this, message, value);
|
564
|
+
return message;
|
565
|
+
}
|
566
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Block): Block {
|
567
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
568
|
+
while (reader.pos < end) {
|
569
|
+
let [fieldNo, wireType] = reader.tag();
|
570
|
+
switch (fieldNo) {
|
571
|
+
case /* devvit.ui.block_kit.v1beta.BlockType type */ 1:
|
572
|
+
message.type = reader.int32();
|
573
|
+
break;
|
574
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockSize size = 2 [deprecated = true];*/ 2:
|
575
|
+
message.size = BlockSize.internalBinaryRead(reader, reader.uint32(), options, message.size);
|
576
|
+
break;
|
577
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockSizes sizes */ 5:
|
578
|
+
message.sizes = BlockSizes.internalBinaryRead(reader, reader.uint32(), options, message.sizes);
|
579
|
+
break;
|
580
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig config */ 3:
|
581
|
+
message.config = BlockConfig.internalBinaryRead(reader, reader.uint32(), options, message.config);
|
582
|
+
break;
|
583
|
+
case /* repeated devvit.ui.block_kit.v1beta.BlockAction actions */ 4:
|
584
|
+
message.actions.push(BlockAction.internalBinaryRead(reader, reader.uint32(), options));
|
585
|
+
break;
|
586
|
+
case /* optional string id */ 6:
|
587
|
+
message.id = reader.string();
|
588
|
+
break;
|
589
|
+
case /* optional string key */ 7:
|
590
|
+
message.key = reader.string();
|
591
|
+
break;
|
592
|
+
default:
|
593
|
+
let u = options.readUnknownField;
|
594
|
+
if (u === "throw")
|
595
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
596
|
+
let d = reader.skip(wireType);
|
597
|
+
if (u !== false)
|
598
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
599
|
+
}
|
600
|
+
}
|
601
|
+
return message;
|
602
|
+
}
|
603
|
+
internalBinaryWrite(message: Block, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
604
|
+
/* devvit.ui.block_kit.v1beta.BlockType type = 1; */
|
605
|
+
if (message.type !== 0)
|
606
|
+
writer.tag(1, WireType.Varint).int32(message.type);
|
607
|
+
/* optional devvit.ui.block_kit.v1beta.BlockSize size = 2 [deprecated = true]; */
|
608
|
+
if (message.size)
|
609
|
+
BlockSize.internalBinaryWrite(message.size, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
610
|
+
/* optional devvit.ui.block_kit.v1beta.BlockSizes sizes = 5; */
|
611
|
+
if (message.sizes)
|
612
|
+
BlockSizes.internalBinaryWrite(message.sizes, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
613
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig config = 3; */
|
614
|
+
if (message.config)
|
615
|
+
BlockConfig.internalBinaryWrite(message.config, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
616
|
+
/* repeated devvit.ui.block_kit.v1beta.BlockAction actions = 4; */
|
617
|
+
for (let i = 0; i < message.actions.length; i++)
|
618
|
+
BlockAction.internalBinaryWrite(message.actions[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
619
|
+
/* optional string id = 6; */
|
620
|
+
if (message.id !== undefined)
|
621
|
+
writer.tag(6, WireType.LengthDelimited).string(message.id);
|
622
|
+
/* optional string key = 7; */
|
623
|
+
if (message.key !== undefined)
|
624
|
+
writer.tag(7, WireType.LengthDelimited).string(message.key);
|
625
|
+
let u = options.writeUnknownFields;
|
626
|
+
if (u !== false)
|
627
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
628
|
+
return writer;
|
629
|
+
}
|
630
|
+
}
|
631
|
+
/**
|
632
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.Block
|
633
|
+
*/
|
634
|
+
export const Block = new Block$Type();
|
635
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
636
|
+
class BlockConfig$Type extends MessageType<BlockConfig> {
|
637
|
+
constructor() {
|
638
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig", [
|
639
|
+
{ no: 1, name: "root_config", kind: "message", oneof: "config", T: () => BlockConfig_Root },
|
640
|
+
{ no: 2, name: "stack_config", kind: "message", oneof: "config", T: () => BlockConfig_Stack },
|
641
|
+
{ no: 3, name: "text_config", kind: "message", oneof: "config", T: () => BlockConfig_Text },
|
642
|
+
{ no: 4, name: "button_config", kind: "message", oneof: "config", T: () => BlockConfig_Button },
|
643
|
+
{ no: 5, name: "image_config", kind: "message", oneof: "config", T: () => BlockConfig_Image },
|
644
|
+
{ no: 6, name: "spacer_config", kind: "message", oneof: "config", T: () => BlockConfig_Spacer },
|
645
|
+
{ no: 7, name: "icon_config", kind: "message", oneof: "config", T: () => BlockConfig_Icon },
|
646
|
+
{ no: 8, name: "avatar_config", kind: "message", oneof: "config", T: () => BlockConfig_Avatar },
|
647
|
+
{ no: 9, name: "fullsnoo_config", kind: "message", oneof: "config", T: () => BlockConfig_FullSnoo },
|
648
|
+
{ no: 10, name: "animation_config", kind: "message", oneof: "config", T: () => BlockConfig_Animation },
|
649
|
+
{ no: 100, name: "webview_config", kind: "message", oneof: "config", T: () => BlockConfig_WebView }
|
650
|
+
]);
|
651
|
+
}
|
652
|
+
create(value?: PartialMessage<BlockConfig>): BlockConfig {
|
653
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
654
|
+
message.config = { oneofKind: undefined };
|
655
|
+
if (value !== undefined)
|
656
|
+
reflectionMergePartial<BlockConfig>(this, message, value);
|
657
|
+
return message;
|
658
|
+
}
|
659
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig): BlockConfig {
|
660
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
661
|
+
while (reader.pos < end) {
|
662
|
+
let [fieldNo, wireType] = reader.tag();
|
663
|
+
switch (fieldNo) {
|
664
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Root root_config */ 1:
|
665
|
+
message.config = {
|
666
|
+
oneofKind: "rootConfig",
|
667
|
+
rootConfig: BlockConfig_Root.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).rootConfig)
|
668
|
+
};
|
669
|
+
break;
|
670
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Stack stack_config */ 2:
|
671
|
+
message.config = {
|
672
|
+
oneofKind: "stackConfig",
|
673
|
+
stackConfig: BlockConfig_Stack.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).stackConfig)
|
674
|
+
};
|
675
|
+
break;
|
676
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Text text_config */ 3:
|
677
|
+
message.config = {
|
678
|
+
oneofKind: "textConfig",
|
679
|
+
textConfig: BlockConfig_Text.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).textConfig)
|
680
|
+
};
|
681
|
+
break;
|
682
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Button button_config */ 4:
|
683
|
+
message.config = {
|
684
|
+
oneofKind: "buttonConfig",
|
685
|
+
buttonConfig: BlockConfig_Button.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).buttonConfig)
|
686
|
+
};
|
687
|
+
break;
|
688
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Image image_config */ 5:
|
689
|
+
message.config = {
|
690
|
+
oneofKind: "imageConfig",
|
691
|
+
imageConfig: BlockConfig_Image.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).imageConfig)
|
692
|
+
};
|
693
|
+
break;
|
694
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Spacer spacer_config */ 6:
|
695
|
+
message.config = {
|
696
|
+
oneofKind: "spacerConfig",
|
697
|
+
spacerConfig: BlockConfig_Spacer.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).spacerConfig)
|
698
|
+
};
|
699
|
+
break;
|
700
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Icon icon_config */ 7:
|
701
|
+
message.config = {
|
702
|
+
oneofKind: "iconConfig",
|
703
|
+
iconConfig: BlockConfig_Icon.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).iconConfig)
|
704
|
+
};
|
705
|
+
break;
|
706
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Avatar avatar_config */ 8:
|
707
|
+
message.config = {
|
708
|
+
oneofKind: "avatarConfig",
|
709
|
+
avatarConfig: BlockConfig_Avatar.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).avatarConfig)
|
710
|
+
};
|
711
|
+
break;
|
712
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.FullSnoo fullsnoo_config */ 9:
|
713
|
+
message.config = {
|
714
|
+
oneofKind: "fullsnooConfig",
|
715
|
+
fullsnooConfig: BlockConfig_FullSnoo.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).fullsnooConfig)
|
716
|
+
};
|
717
|
+
break;
|
718
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.Animation animation_config */ 10:
|
719
|
+
message.config = {
|
720
|
+
oneofKind: "animationConfig",
|
721
|
+
animationConfig: BlockConfig_Animation.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).animationConfig)
|
722
|
+
};
|
723
|
+
break;
|
724
|
+
case /* devvit.ui.block_kit.v1beta.BlockConfig.WebView webview_config */ 100:
|
725
|
+
message.config = {
|
726
|
+
oneofKind: "webviewConfig",
|
727
|
+
webviewConfig: BlockConfig_WebView.internalBinaryRead(reader, reader.uint32(), options, (message.config as any).webviewConfig)
|
728
|
+
};
|
729
|
+
break;
|
730
|
+
default:
|
731
|
+
let u = options.readUnknownField;
|
732
|
+
if (u === "throw")
|
733
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
734
|
+
let d = reader.skip(wireType);
|
735
|
+
if (u !== false)
|
736
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
737
|
+
}
|
738
|
+
}
|
739
|
+
return message;
|
740
|
+
}
|
741
|
+
internalBinaryWrite(message: BlockConfig, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
742
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Root root_config = 1; */
|
743
|
+
if (message.config.oneofKind === "rootConfig")
|
744
|
+
BlockConfig_Root.internalBinaryWrite(message.config.rootConfig, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
745
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Stack stack_config = 2; */
|
746
|
+
if (message.config.oneofKind === "stackConfig")
|
747
|
+
BlockConfig_Stack.internalBinaryWrite(message.config.stackConfig, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
748
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Text text_config = 3; */
|
749
|
+
if (message.config.oneofKind === "textConfig")
|
750
|
+
BlockConfig_Text.internalBinaryWrite(message.config.textConfig, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
751
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Button button_config = 4; */
|
752
|
+
if (message.config.oneofKind === "buttonConfig")
|
753
|
+
BlockConfig_Button.internalBinaryWrite(message.config.buttonConfig, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
754
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Image image_config = 5; */
|
755
|
+
if (message.config.oneofKind === "imageConfig")
|
756
|
+
BlockConfig_Image.internalBinaryWrite(message.config.imageConfig, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
757
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Spacer spacer_config = 6; */
|
758
|
+
if (message.config.oneofKind === "spacerConfig")
|
759
|
+
BlockConfig_Spacer.internalBinaryWrite(message.config.spacerConfig, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
760
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Icon icon_config = 7; */
|
761
|
+
if (message.config.oneofKind === "iconConfig")
|
762
|
+
BlockConfig_Icon.internalBinaryWrite(message.config.iconConfig, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
763
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Avatar avatar_config = 8; */
|
764
|
+
if (message.config.oneofKind === "avatarConfig")
|
765
|
+
BlockConfig_Avatar.internalBinaryWrite(message.config.avatarConfig, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
766
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.FullSnoo fullsnoo_config = 9; */
|
767
|
+
if (message.config.oneofKind === "fullsnooConfig")
|
768
|
+
BlockConfig_FullSnoo.internalBinaryWrite(message.config.fullsnooConfig, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
769
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.Animation animation_config = 10; */
|
770
|
+
if (message.config.oneofKind === "animationConfig")
|
771
|
+
BlockConfig_Animation.internalBinaryWrite(message.config.animationConfig, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
772
|
+
/* devvit.ui.block_kit.v1beta.BlockConfig.WebView webview_config = 100; */
|
773
|
+
if (message.config.oneofKind === "webviewConfig")
|
774
|
+
BlockConfig_WebView.internalBinaryWrite(message.config.webviewConfig, writer.tag(100, WireType.LengthDelimited).fork(), options).join();
|
775
|
+
let u = options.writeUnknownFields;
|
776
|
+
if (u !== false)
|
777
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
778
|
+
return writer;
|
779
|
+
}
|
780
|
+
}
|
781
|
+
/**
|
782
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig
|
783
|
+
*/
|
784
|
+
export const BlockConfig = new BlockConfig$Type();
|
785
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
786
|
+
class BlockConfig_Root$Type extends MessageType<BlockConfig_Root> {
|
787
|
+
constructor() {
|
788
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Root", [
|
789
|
+
{ no: 1, name: "children", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Block },
|
790
|
+
{ no: 2, name: "height", kind: "scalar", T: 5 /*ScalarType.INT32*/ }
|
791
|
+
]);
|
792
|
+
}
|
793
|
+
create(value?: PartialMessage<BlockConfig_Root>): BlockConfig_Root {
|
794
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
795
|
+
message.children = [];
|
796
|
+
message.height = 0;
|
797
|
+
if (value !== undefined)
|
798
|
+
reflectionMergePartial<BlockConfig_Root>(this, message, value);
|
799
|
+
return message;
|
800
|
+
}
|
801
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Root): BlockConfig_Root {
|
802
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
803
|
+
while (reader.pos < end) {
|
804
|
+
let [fieldNo, wireType] = reader.tag();
|
805
|
+
switch (fieldNo) {
|
806
|
+
case /* repeated devvit.ui.block_kit.v1beta.Block children */ 1:
|
807
|
+
message.children.push(Block.internalBinaryRead(reader, reader.uint32(), options));
|
808
|
+
break;
|
809
|
+
case /* int32 height */ 2:
|
810
|
+
message.height = reader.int32();
|
811
|
+
break;
|
812
|
+
default:
|
813
|
+
let u = options.readUnknownField;
|
814
|
+
if (u === "throw")
|
815
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
816
|
+
let d = reader.skip(wireType);
|
817
|
+
if (u !== false)
|
818
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
819
|
+
}
|
820
|
+
}
|
821
|
+
return message;
|
822
|
+
}
|
823
|
+
internalBinaryWrite(message: BlockConfig_Root, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
824
|
+
/* repeated devvit.ui.block_kit.v1beta.Block children = 1; */
|
825
|
+
for (let i = 0; i < message.children.length; i++)
|
826
|
+
Block.internalBinaryWrite(message.children[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
827
|
+
/* int32 height = 2; */
|
828
|
+
if (message.height !== 0)
|
829
|
+
writer.tag(2, WireType.Varint).int32(message.height);
|
830
|
+
let u = options.writeUnknownFields;
|
831
|
+
if (u !== false)
|
832
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
833
|
+
return writer;
|
834
|
+
}
|
835
|
+
}
|
836
|
+
/**
|
837
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Root
|
838
|
+
*/
|
839
|
+
export const BlockConfig_Root = new BlockConfig_Root$Type();
|
840
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
841
|
+
class BlockConfig_Stack$Type extends MessageType<BlockConfig_Stack> {
|
842
|
+
constructor() {
|
843
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Stack", [
|
844
|
+
{ no: 1, name: "direction", kind: "enum", T: () => ["devvit.ui.block_kit.v1beta.BlockStackDirection", BlockStackDirection] },
|
845
|
+
{ no: 2, name: "children", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Block },
|
846
|
+
{ no: 3, name: "reverse", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
847
|
+
{ no: 4, name: "alignment", kind: "message", T: () => BlockAlignment },
|
848
|
+
{ no: 5, name: "padding", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockPadding", BlockPadding] },
|
849
|
+
{ no: 6, name: "gap", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockGap", BlockGap] },
|
850
|
+
{ no: 7, name: "border", kind: "message", T: () => BlockBorder },
|
851
|
+
{ no: 8, name: "corner_radius", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockRadius", BlockRadius] },
|
852
|
+
{ no: 9, name: "background_color", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
853
|
+
{ no: 10, name: "background_colors", kind: "message", T: () => BlockColor }
|
854
|
+
]);
|
855
|
+
}
|
856
|
+
create(value?: PartialMessage<BlockConfig_Stack>): BlockConfig_Stack {
|
857
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
858
|
+
message.direction = 0;
|
859
|
+
message.children = [];
|
860
|
+
if (value !== undefined)
|
861
|
+
reflectionMergePartial<BlockConfig_Stack>(this, message, value);
|
862
|
+
return message;
|
863
|
+
}
|
864
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Stack): BlockConfig_Stack {
|
865
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
866
|
+
while (reader.pos < end) {
|
867
|
+
let [fieldNo, wireType] = reader.tag();
|
868
|
+
switch (fieldNo) {
|
869
|
+
case /* devvit.ui.block_kit.v1beta.BlockStackDirection direction */ 1:
|
870
|
+
message.direction = reader.int32();
|
871
|
+
break;
|
872
|
+
case /* repeated devvit.ui.block_kit.v1beta.Block children */ 2:
|
873
|
+
message.children.push(Block.internalBinaryRead(reader, reader.uint32(), options));
|
874
|
+
break;
|
875
|
+
case /* optional bool reverse */ 3:
|
876
|
+
message.reverse = reader.bool();
|
877
|
+
break;
|
878
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAlignment alignment */ 4:
|
879
|
+
message.alignment = BlockAlignment.internalBinaryRead(reader, reader.uint32(), options, message.alignment);
|
880
|
+
break;
|
881
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockPadding padding */ 5:
|
882
|
+
message.padding = reader.int32();
|
883
|
+
break;
|
884
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockGap gap */ 6:
|
885
|
+
message.gap = reader.int32();
|
886
|
+
break;
|
887
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockBorder border */ 7:
|
888
|
+
message.border = BlockBorder.internalBinaryRead(reader, reader.uint32(), options, message.border);
|
889
|
+
break;
|
890
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockRadius corner_radius */ 8:
|
891
|
+
message.cornerRadius = reader.int32();
|
892
|
+
break;
|
893
|
+
case /* optional string background_color = 9 [deprecated = true];*/ 9:
|
894
|
+
message.backgroundColor = reader.string();
|
895
|
+
break;
|
896
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockColor background_colors */ 10:
|
897
|
+
message.backgroundColors = BlockColor.internalBinaryRead(reader, reader.uint32(), options, message.backgroundColors);
|
898
|
+
break;
|
899
|
+
default:
|
900
|
+
let u = options.readUnknownField;
|
901
|
+
if (u === "throw")
|
902
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
903
|
+
let d = reader.skip(wireType);
|
904
|
+
if (u !== false)
|
905
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
906
|
+
}
|
907
|
+
}
|
908
|
+
return message;
|
909
|
+
}
|
910
|
+
internalBinaryWrite(message: BlockConfig_Stack, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
911
|
+
/* devvit.ui.block_kit.v1beta.BlockStackDirection direction = 1; */
|
912
|
+
if (message.direction !== 0)
|
913
|
+
writer.tag(1, WireType.Varint).int32(message.direction);
|
914
|
+
/* repeated devvit.ui.block_kit.v1beta.Block children = 2; */
|
915
|
+
for (let i = 0; i < message.children.length; i++)
|
916
|
+
Block.internalBinaryWrite(message.children[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
917
|
+
/* optional bool reverse = 3; */
|
918
|
+
if (message.reverse !== undefined)
|
919
|
+
writer.tag(3, WireType.Varint).bool(message.reverse);
|
920
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAlignment alignment = 4; */
|
921
|
+
if (message.alignment)
|
922
|
+
BlockAlignment.internalBinaryWrite(message.alignment, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
923
|
+
/* optional devvit.ui.block_kit.v1beta.BlockPadding padding = 5; */
|
924
|
+
if (message.padding !== undefined)
|
925
|
+
writer.tag(5, WireType.Varint).int32(message.padding);
|
926
|
+
/* optional devvit.ui.block_kit.v1beta.BlockGap gap = 6; */
|
927
|
+
if (message.gap !== undefined)
|
928
|
+
writer.tag(6, WireType.Varint).int32(message.gap);
|
929
|
+
/* optional devvit.ui.block_kit.v1beta.BlockBorder border = 7; */
|
930
|
+
if (message.border)
|
931
|
+
BlockBorder.internalBinaryWrite(message.border, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
932
|
+
/* optional devvit.ui.block_kit.v1beta.BlockRadius corner_radius = 8; */
|
933
|
+
if (message.cornerRadius !== undefined)
|
934
|
+
writer.tag(8, WireType.Varint).int32(message.cornerRadius);
|
935
|
+
/* optional string background_color = 9 [deprecated = true]; */
|
936
|
+
if (message.backgroundColor !== undefined)
|
937
|
+
writer.tag(9, WireType.LengthDelimited).string(message.backgroundColor);
|
938
|
+
/* optional devvit.ui.block_kit.v1beta.BlockColor background_colors = 10; */
|
939
|
+
if (message.backgroundColors)
|
940
|
+
BlockColor.internalBinaryWrite(message.backgroundColors, writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
941
|
+
let u = options.writeUnknownFields;
|
942
|
+
if (u !== false)
|
943
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
944
|
+
return writer;
|
945
|
+
}
|
946
|
+
}
|
947
|
+
/**
|
948
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Stack
|
949
|
+
*/
|
950
|
+
export const BlockConfig_Stack = new BlockConfig_Stack$Type();
|
951
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
952
|
+
class BlockConfig_Text$Type extends MessageType<BlockConfig_Text> {
|
953
|
+
constructor() {
|
954
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Text", [
|
955
|
+
{ no: 1, name: "text", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
956
|
+
{ no: 2, name: "size", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockTextSize", BlockTextSize] },
|
957
|
+
{ no: 3, name: "weight", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockTextWeight", BlockTextWeight] },
|
958
|
+
{ no: 4, name: "color", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
959
|
+
{ no: 5, name: "alignment", kind: "message", T: () => BlockAlignment },
|
960
|
+
{ no: 6, name: "outline", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockTextOutline", BlockTextOutline] },
|
961
|
+
{ no: 7, name: "style", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockTextStyle", BlockTextStyle] },
|
962
|
+
{ no: 8, name: "selectable", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
963
|
+
{ no: 9, name: "colors", kind: "message", T: () => BlockColor },
|
964
|
+
{ no: 10, name: "wrap", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
965
|
+
{ no: 11, name: "overflow", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockTextOverflow", BlockTextOverflow] }
|
966
|
+
]);
|
967
|
+
}
|
968
|
+
create(value?: PartialMessage<BlockConfig_Text>): BlockConfig_Text {
|
969
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
970
|
+
message.text = "";
|
971
|
+
if (value !== undefined)
|
972
|
+
reflectionMergePartial<BlockConfig_Text>(this, message, value);
|
973
|
+
return message;
|
974
|
+
}
|
975
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Text): BlockConfig_Text {
|
976
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
977
|
+
while (reader.pos < end) {
|
978
|
+
let [fieldNo, wireType] = reader.tag();
|
979
|
+
switch (fieldNo) {
|
980
|
+
case /* string text */ 1:
|
981
|
+
message.text = reader.string();
|
982
|
+
break;
|
983
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockTextSize size */ 2:
|
984
|
+
message.size = reader.int32();
|
985
|
+
break;
|
986
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockTextWeight weight */ 3:
|
987
|
+
message.weight = reader.int32();
|
988
|
+
break;
|
989
|
+
case /* optional string color = 4 [deprecated = true];*/ 4:
|
990
|
+
message.color = reader.string();
|
991
|
+
break;
|
992
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAlignment alignment */ 5:
|
993
|
+
message.alignment = BlockAlignment.internalBinaryRead(reader, reader.uint32(), options, message.alignment);
|
994
|
+
break;
|
995
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockTextOutline outline */ 6:
|
996
|
+
message.outline = reader.int32();
|
997
|
+
break;
|
998
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockTextStyle style */ 7:
|
999
|
+
message.style = reader.int32();
|
1000
|
+
break;
|
1001
|
+
case /* optional bool selectable */ 8:
|
1002
|
+
message.selectable = reader.bool();
|
1003
|
+
break;
|
1004
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockColor colors */ 9:
|
1005
|
+
message.colors = BlockColor.internalBinaryRead(reader, reader.uint32(), options, message.colors);
|
1006
|
+
break;
|
1007
|
+
case /* optional bool wrap */ 10:
|
1008
|
+
message.wrap = reader.bool();
|
1009
|
+
break;
|
1010
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockTextOverflow overflow */ 11:
|
1011
|
+
message.overflow = reader.int32();
|
1012
|
+
break;
|
1013
|
+
default:
|
1014
|
+
let u = options.readUnknownField;
|
1015
|
+
if (u === "throw")
|
1016
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1017
|
+
let d = reader.skip(wireType);
|
1018
|
+
if (u !== false)
|
1019
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1020
|
+
}
|
1021
|
+
}
|
1022
|
+
return message;
|
1023
|
+
}
|
1024
|
+
internalBinaryWrite(message: BlockConfig_Text, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1025
|
+
/* string text = 1; */
|
1026
|
+
if (message.text !== "")
|
1027
|
+
writer.tag(1, WireType.LengthDelimited).string(message.text);
|
1028
|
+
/* optional devvit.ui.block_kit.v1beta.BlockTextSize size = 2; */
|
1029
|
+
if (message.size !== undefined)
|
1030
|
+
writer.tag(2, WireType.Varint).int32(message.size);
|
1031
|
+
/* optional devvit.ui.block_kit.v1beta.BlockTextWeight weight = 3; */
|
1032
|
+
if (message.weight !== undefined)
|
1033
|
+
writer.tag(3, WireType.Varint).int32(message.weight);
|
1034
|
+
/* optional string color = 4 [deprecated = true]; */
|
1035
|
+
if (message.color !== undefined)
|
1036
|
+
writer.tag(4, WireType.LengthDelimited).string(message.color);
|
1037
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAlignment alignment = 5; */
|
1038
|
+
if (message.alignment)
|
1039
|
+
BlockAlignment.internalBinaryWrite(message.alignment, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
1040
|
+
/* optional devvit.ui.block_kit.v1beta.BlockTextOutline outline = 6; */
|
1041
|
+
if (message.outline !== undefined)
|
1042
|
+
writer.tag(6, WireType.Varint).int32(message.outline);
|
1043
|
+
/* optional devvit.ui.block_kit.v1beta.BlockTextStyle style = 7; */
|
1044
|
+
if (message.style !== undefined)
|
1045
|
+
writer.tag(7, WireType.Varint).int32(message.style);
|
1046
|
+
/* optional bool selectable = 8; */
|
1047
|
+
if (message.selectable !== undefined)
|
1048
|
+
writer.tag(8, WireType.Varint).bool(message.selectable);
|
1049
|
+
/* optional devvit.ui.block_kit.v1beta.BlockColor colors = 9; */
|
1050
|
+
if (message.colors)
|
1051
|
+
BlockColor.internalBinaryWrite(message.colors, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
1052
|
+
/* optional bool wrap = 10; */
|
1053
|
+
if (message.wrap !== undefined)
|
1054
|
+
writer.tag(10, WireType.Varint).bool(message.wrap);
|
1055
|
+
/* optional devvit.ui.block_kit.v1beta.BlockTextOverflow overflow = 11; */
|
1056
|
+
if (message.overflow !== undefined)
|
1057
|
+
writer.tag(11, WireType.Varint).int32(message.overflow);
|
1058
|
+
let u = options.writeUnknownFields;
|
1059
|
+
if (u !== false)
|
1060
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1061
|
+
return writer;
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
/**
|
1065
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Text
|
1066
|
+
*/
|
1067
|
+
export const BlockConfig_Text = new BlockConfig_Text$Type();
|
1068
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1069
|
+
class BlockConfig_Button$Type extends MessageType<BlockConfig_Button> {
|
1070
|
+
constructor() {
|
1071
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Button", [
|
1072
|
+
{ no: 1, name: "text", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1073
|
+
{ no: 2, name: "icon", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1074
|
+
{ no: 3, name: "button_size", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockButtonSize", BlockButtonSize] },
|
1075
|
+
{ no: 4, name: "button_appearance", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockButtonAppearance", BlockButtonAppearance] },
|
1076
|
+
{ no: 5, name: "text_color", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1077
|
+
{ no: 6, name: "background_color", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1078
|
+
{ no: 7, name: "disabled", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1079
|
+
{ no: 8, name: "text_colors", kind: "message", T: () => BlockColor },
|
1080
|
+
{ no: 9, name: "background_colors", kind: "message", T: () => BlockColor }
|
1081
|
+
]);
|
1082
|
+
}
|
1083
|
+
create(value?: PartialMessage<BlockConfig_Button>): BlockConfig_Button {
|
1084
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1085
|
+
if (value !== undefined)
|
1086
|
+
reflectionMergePartial<BlockConfig_Button>(this, message, value);
|
1087
|
+
return message;
|
1088
|
+
}
|
1089
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Button): BlockConfig_Button {
|
1090
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1091
|
+
while (reader.pos < end) {
|
1092
|
+
let [fieldNo, wireType] = reader.tag();
|
1093
|
+
switch (fieldNo) {
|
1094
|
+
case /* optional string text */ 1:
|
1095
|
+
message.text = reader.string();
|
1096
|
+
break;
|
1097
|
+
case /* optional string icon */ 2:
|
1098
|
+
message.icon = reader.string();
|
1099
|
+
break;
|
1100
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockButtonSize button_size */ 3:
|
1101
|
+
message.buttonSize = reader.int32();
|
1102
|
+
break;
|
1103
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockButtonAppearance button_appearance */ 4:
|
1104
|
+
message.buttonAppearance = reader.int32();
|
1105
|
+
break;
|
1106
|
+
case /* optional string text_color = 5 [deprecated = true];*/ 5:
|
1107
|
+
message.textColor = reader.string();
|
1108
|
+
break;
|
1109
|
+
case /* optional string background_color = 6 [deprecated = true];*/ 6:
|
1110
|
+
message.backgroundColor = reader.string();
|
1111
|
+
break;
|
1112
|
+
case /* optional bool disabled */ 7:
|
1113
|
+
message.disabled = reader.bool();
|
1114
|
+
break;
|
1115
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockColor text_colors */ 8:
|
1116
|
+
message.textColors = BlockColor.internalBinaryRead(reader, reader.uint32(), options, message.textColors);
|
1117
|
+
break;
|
1118
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockColor background_colors */ 9:
|
1119
|
+
message.backgroundColors = BlockColor.internalBinaryRead(reader, reader.uint32(), options, message.backgroundColors);
|
1120
|
+
break;
|
1121
|
+
default:
|
1122
|
+
let u = options.readUnknownField;
|
1123
|
+
if (u === "throw")
|
1124
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1125
|
+
let d = reader.skip(wireType);
|
1126
|
+
if (u !== false)
|
1127
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1128
|
+
}
|
1129
|
+
}
|
1130
|
+
return message;
|
1131
|
+
}
|
1132
|
+
internalBinaryWrite(message: BlockConfig_Button, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1133
|
+
/* optional string text = 1; */
|
1134
|
+
if (message.text !== undefined)
|
1135
|
+
writer.tag(1, WireType.LengthDelimited).string(message.text);
|
1136
|
+
/* optional string icon = 2; */
|
1137
|
+
if (message.icon !== undefined)
|
1138
|
+
writer.tag(2, WireType.LengthDelimited).string(message.icon);
|
1139
|
+
/* optional devvit.ui.block_kit.v1beta.BlockButtonSize button_size = 3; */
|
1140
|
+
if (message.buttonSize !== undefined)
|
1141
|
+
writer.tag(3, WireType.Varint).int32(message.buttonSize);
|
1142
|
+
/* optional devvit.ui.block_kit.v1beta.BlockButtonAppearance button_appearance = 4; */
|
1143
|
+
if (message.buttonAppearance !== undefined)
|
1144
|
+
writer.tag(4, WireType.Varint).int32(message.buttonAppearance);
|
1145
|
+
/* optional string text_color = 5 [deprecated = true]; */
|
1146
|
+
if (message.textColor !== undefined)
|
1147
|
+
writer.tag(5, WireType.LengthDelimited).string(message.textColor);
|
1148
|
+
/* optional string background_color = 6 [deprecated = true]; */
|
1149
|
+
if (message.backgroundColor !== undefined)
|
1150
|
+
writer.tag(6, WireType.LengthDelimited).string(message.backgroundColor);
|
1151
|
+
/* optional bool disabled = 7; */
|
1152
|
+
if (message.disabled !== undefined)
|
1153
|
+
writer.tag(7, WireType.Varint).bool(message.disabled);
|
1154
|
+
/* optional devvit.ui.block_kit.v1beta.BlockColor text_colors = 8; */
|
1155
|
+
if (message.textColors)
|
1156
|
+
BlockColor.internalBinaryWrite(message.textColors, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
1157
|
+
/* optional devvit.ui.block_kit.v1beta.BlockColor background_colors = 9; */
|
1158
|
+
if (message.backgroundColors)
|
1159
|
+
BlockColor.internalBinaryWrite(message.backgroundColors, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
1160
|
+
let u = options.writeUnknownFields;
|
1161
|
+
if (u !== false)
|
1162
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1163
|
+
return writer;
|
1164
|
+
}
|
1165
|
+
}
|
1166
|
+
/**
|
1167
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Button
|
1168
|
+
*/
|
1169
|
+
export const BlockConfig_Button = new BlockConfig_Button$Type();
|
1170
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1171
|
+
class BlockConfig_Image$Type extends MessageType<BlockConfig_Image> {
|
1172
|
+
constructor() {
|
1173
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Image", [
|
1174
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1175
|
+
{ no: 2, name: "width", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
1176
|
+
{ no: 3, name: "height", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
1177
|
+
{ no: 4, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1178
|
+
{ no: 5, name: "resize_mode", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockImageResizeMode", BlockImageResizeMode] }
|
1179
|
+
]);
|
1180
|
+
}
|
1181
|
+
create(value?: PartialMessage<BlockConfig_Image>): BlockConfig_Image {
|
1182
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1183
|
+
message.url = "";
|
1184
|
+
message.width = 0;
|
1185
|
+
message.height = 0;
|
1186
|
+
if (value !== undefined)
|
1187
|
+
reflectionMergePartial<BlockConfig_Image>(this, message, value);
|
1188
|
+
return message;
|
1189
|
+
}
|
1190
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Image): BlockConfig_Image {
|
1191
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1192
|
+
while (reader.pos < end) {
|
1193
|
+
let [fieldNo, wireType] = reader.tag();
|
1194
|
+
switch (fieldNo) {
|
1195
|
+
case /* string url */ 1:
|
1196
|
+
message.url = reader.string();
|
1197
|
+
break;
|
1198
|
+
case /* int32 width */ 2:
|
1199
|
+
message.width = reader.int32();
|
1200
|
+
break;
|
1201
|
+
case /* int32 height */ 3:
|
1202
|
+
message.height = reader.int32();
|
1203
|
+
break;
|
1204
|
+
case /* optional string description */ 4:
|
1205
|
+
message.description = reader.string();
|
1206
|
+
break;
|
1207
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockImageResizeMode resize_mode */ 5:
|
1208
|
+
message.resizeMode = reader.int32();
|
1209
|
+
break;
|
1210
|
+
default:
|
1211
|
+
let u = options.readUnknownField;
|
1212
|
+
if (u === "throw")
|
1213
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1214
|
+
let d = reader.skip(wireType);
|
1215
|
+
if (u !== false)
|
1216
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1217
|
+
}
|
1218
|
+
}
|
1219
|
+
return message;
|
1220
|
+
}
|
1221
|
+
internalBinaryWrite(message: BlockConfig_Image, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1222
|
+
/* string url = 1; */
|
1223
|
+
if (message.url !== "")
|
1224
|
+
writer.tag(1, WireType.LengthDelimited).string(message.url);
|
1225
|
+
/* int32 width = 2; */
|
1226
|
+
if (message.width !== 0)
|
1227
|
+
writer.tag(2, WireType.Varint).int32(message.width);
|
1228
|
+
/* int32 height = 3; */
|
1229
|
+
if (message.height !== 0)
|
1230
|
+
writer.tag(3, WireType.Varint).int32(message.height);
|
1231
|
+
/* optional string description = 4; */
|
1232
|
+
if (message.description !== undefined)
|
1233
|
+
writer.tag(4, WireType.LengthDelimited).string(message.description);
|
1234
|
+
/* optional devvit.ui.block_kit.v1beta.BlockImageResizeMode resize_mode = 5; */
|
1235
|
+
if (message.resizeMode !== undefined)
|
1236
|
+
writer.tag(5, WireType.Varint).int32(message.resizeMode);
|
1237
|
+
let u = options.writeUnknownFields;
|
1238
|
+
if (u !== false)
|
1239
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1240
|
+
return writer;
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
/**
|
1244
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Image
|
1245
|
+
*/
|
1246
|
+
export const BlockConfig_Image = new BlockConfig_Image$Type();
|
1247
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1248
|
+
class BlockConfig_Spacer$Type extends MessageType<BlockConfig_Spacer> {
|
1249
|
+
constructor() {
|
1250
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Spacer", [
|
1251
|
+
{ no: 1, name: "size", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockSpacerSize", BlockSpacerSize] },
|
1252
|
+
{ no: 2, name: "shape", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockSpacerShape", BlockSpacerShape] }
|
1253
|
+
]);
|
1254
|
+
}
|
1255
|
+
create(value?: PartialMessage<BlockConfig_Spacer>): BlockConfig_Spacer {
|
1256
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1257
|
+
if (value !== undefined)
|
1258
|
+
reflectionMergePartial<BlockConfig_Spacer>(this, message, value);
|
1259
|
+
return message;
|
1260
|
+
}
|
1261
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Spacer): BlockConfig_Spacer {
|
1262
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1263
|
+
while (reader.pos < end) {
|
1264
|
+
let [fieldNo, wireType] = reader.tag();
|
1265
|
+
switch (fieldNo) {
|
1266
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockSpacerSize size */ 1:
|
1267
|
+
message.size = reader.int32();
|
1268
|
+
break;
|
1269
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockSpacerShape shape */ 2:
|
1270
|
+
message.shape = reader.int32();
|
1271
|
+
break;
|
1272
|
+
default:
|
1273
|
+
let u = options.readUnknownField;
|
1274
|
+
if (u === "throw")
|
1275
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1276
|
+
let d = reader.skip(wireType);
|
1277
|
+
if (u !== false)
|
1278
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1279
|
+
}
|
1280
|
+
}
|
1281
|
+
return message;
|
1282
|
+
}
|
1283
|
+
internalBinaryWrite(message: BlockConfig_Spacer, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1284
|
+
/* optional devvit.ui.block_kit.v1beta.BlockSpacerSize size = 1; */
|
1285
|
+
if (message.size !== undefined)
|
1286
|
+
writer.tag(1, WireType.Varint).int32(message.size);
|
1287
|
+
/* optional devvit.ui.block_kit.v1beta.BlockSpacerShape shape = 2; */
|
1288
|
+
if (message.shape !== undefined)
|
1289
|
+
writer.tag(2, WireType.Varint).int32(message.shape);
|
1290
|
+
let u = options.writeUnknownFields;
|
1291
|
+
if (u !== false)
|
1292
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1293
|
+
return writer;
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
/**
|
1297
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Spacer
|
1298
|
+
*/
|
1299
|
+
export const BlockConfig_Spacer = new BlockConfig_Spacer$Type();
|
1300
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1301
|
+
class BlockConfig_Icon$Type extends MessageType<BlockConfig_Icon> {
|
1302
|
+
constructor() {
|
1303
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Icon", [
|
1304
|
+
{ no: 1, name: "icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1305
|
+
{ no: 2, name: "color", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
1306
|
+
{ no: 3, name: "size", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockIconSize", BlockIconSize] },
|
1307
|
+
{ no: 4, name: "colors", kind: "message", T: () => BlockColor }
|
1308
|
+
]);
|
1309
|
+
}
|
1310
|
+
create(value?: PartialMessage<BlockConfig_Icon>): BlockConfig_Icon {
|
1311
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1312
|
+
message.icon = "";
|
1313
|
+
if (value !== undefined)
|
1314
|
+
reflectionMergePartial<BlockConfig_Icon>(this, message, value);
|
1315
|
+
return message;
|
1316
|
+
}
|
1317
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Icon): BlockConfig_Icon {
|
1318
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1319
|
+
while (reader.pos < end) {
|
1320
|
+
let [fieldNo, wireType] = reader.tag();
|
1321
|
+
switch (fieldNo) {
|
1322
|
+
case /* string icon */ 1:
|
1323
|
+
message.icon = reader.string();
|
1324
|
+
break;
|
1325
|
+
case /* optional string color = 2 [deprecated = true];*/ 2:
|
1326
|
+
message.color = reader.string();
|
1327
|
+
break;
|
1328
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockIconSize size */ 3:
|
1329
|
+
message.size = reader.int32();
|
1330
|
+
break;
|
1331
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockColor colors */ 4:
|
1332
|
+
message.colors = BlockColor.internalBinaryRead(reader, reader.uint32(), options, message.colors);
|
1333
|
+
break;
|
1334
|
+
default:
|
1335
|
+
let u = options.readUnknownField;
|
1336
|
+
if (u === "throw")
|
1337
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1338
|
+
let d = reader.skip(wireType);
|
1339
|
+
if (u !== false)
|
1340
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1341
|
+
}
|
1342
|
+
}
|
1343
|
+
return message;
|
1344
|
+
}
|
1345
|
+
internalBinaryWrite(message: BlockConfig_Icon, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1346
|
+
/* string icon = 1; */
|
1347
|
+
if (message.icon !== "")
|
1348
|
+
writer.tag(1, WireType.LengthDelimited).string(message.icon);
|
1349
|
+
/* optional string color = 2 [deprecated = true]; */
|
1350
|
+
if (message.color !== undefined)
|
1351
|
+
writer.tag(2, WireType.LengthDelimited).string(message.color);
|
1352
|
+
/* optional devvit.ui.block_kit.v1beta.BlockIconSize size = 3; */
|
1353
|
+
if (message.size !== undefined)
|
1354
|
+
writer.tag(3, WireType.Varint).int32(message.size);
|
1355
|
+
/* optional devvit.ui.block_kit.v1beta.BlockColor colors = 4; */
|
1356
|
+
if (message.colors)
|
1357
|
+
BlockColor.internalBinaryWrite(message.colors, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1358
|
+
let u = options.writeUnknownFields;
|
1359
|
+
if (u !== false)
|
1360
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1361
|
+
return writer;
|
1362
|
+
}
|
1363
|
+
}
|
1364
|
+
/**
|
1365
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Icon
|
1366
|
+
*/
|
1367
|
+
export const BlockConfig_Icon = new BlockConfig_Icon$Type();
|
1368
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1369
|
+
class BlockConfig_Avatar$Type extends MessageType<BlockConfig_Avatar> {
|
1370
|
+
constructor() {
|
1371
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Avatar", [
|
1372
|
+
{ no: 1, name: "thing_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1373
|
+
{ no: 2, name: "facing", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockAvatarFacing", BlockAvatarFacing] },
|
1374
|
+
{ no: 3, name: "size", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockAvatarSize", BlockAvatarSize] },
|
1375
|
+
{ no: 4, name: "background", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockAvatarBackground", BlockAvatarBackground] }
|
1376
|
+
]);
|
1377
|
+
}
|
1378
|
+
create(value?: PartialMessage<BlockConfig_Avatar>): BlockConfig_Avatar {
|
1379
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1380
|
+
message.thingId = "";
|
1381
|
+
if (value !== undefined)
|
1382
|
+
reflectionMergePartial<BlockConfig_Avatar>(this, message, value);
|
1383
|
+
return message;
|
1384
|
+
}
|
1385
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Avatar): BlockConfig_Avatar {
|
1386
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1387
|
+
while (reader.pos < end) {
|
1388
|
+
let [fieldNo, wireType] = reader.tag();
|
1389
|
+
switch (fieldNo) {
|
1390
|
+
case /* string thing_id */ 1:
|
1391
|
+
message.thingId = reader.string();
|
1392
|
+
break;
|
1393
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAvatarFacing facing */ 2:
|
1394
|
+
message.facing = reader.int32();
|
1395
|
+
break;
|
1396
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAvatarSize size */ 3:
|
1397
|
+
message.size = reader.int32();
|
1398
|
+
break;
|
1399
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAvatarBackground background */ 4:
|
1400
|
+
message.background = reader.int32();
|
1401
|
+
break;
|
1402
|
+
default:
|
1403
|
+
let u = options.readUnknownField;
|
1404
|
+
if (u === "throw")
|
1405
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1406
|
+
let d = reader.skip(wireType);
|
1407
|
+
if (u !== false)
|
1408
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1409
|
+
}
|
1410
|
+
}
|
1411
|
+
return message;
|
1412
|
+
}
|
1413
|
+
internalBinaryWrite(message: BlockConfig_Avatar, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1414
|
+
/* string thing_id = 1; */
|
1415
|
+
if (message.thingId !== "")
|
1416
|
+
writer.tag(1, WireType.LengthDelimited).string(message.thingId);
|
1417
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAvatarFacing facing = 2; */
|
1418
|
+
if (message.facing !== undefined)
|
1419
|
+
writer.tag(2, WireType.Varint).int32(message.facing);
|
1420
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAvatarSize size = 3; */
|
1421
|
+
if (message.size !== undefined)
|
1422
|
+
writer.tag(3, WireType.Varint).int32(message.size);
|
1423
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAvatarBackground background = 4; */
|
1424
|
+
if (message.background !== undefined)
|
1425
|
+
writer.tag(4, WireType.Varint).int32(message.background);
|
1426
|
+
let u = options.writeUnknownFields;
|
1427
|
+
if (u !== false)
|
1428
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1429
|
+
return writer;
|
1430
|
+
}
|
1431
|
+
}
|
1432
|
+
/**
|
1433
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Avatar
|
1434
|
+
*/
|
1435
|
+
export const BlockConfig_Avatar = new BlockConfig_Avatar$Type();
|
1436
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1437
|
+
class BlockConfig_FullSnoo$Type extends MessageType<BlockConfig_FullSnoo> {
|
1438
|
+
constructor() {
|
1439
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.FullSnoo", [
|
1440
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1441
|
+
{ no: 2, name: "facing", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockAvatarFacing", BlockAvatarFacing] },
|
1442
|
+
{ no: 3, name: "size", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockFullSnooSize", BlockFullSnooSize] }
|
1443
|
+
]);
|
1444
|
+
}
|
1445
|
+
create(value?: PartialMessage<BlockConfig_FullSnoo>): BlockConfig_FullSnoo {
|
1446
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1447
|
+
message.userId = "";
|
1448
|
+
if (value !== undefined)
|
1449
|
+
reflectionMergePartial<BlockConfig_FullSnoo>(this, message, value);
|
1450
|
+
return message;
|
1451
|
+
}
|
1452
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_FullSnoo): BlockConfig_FullSnoo {
|
1453
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1454
|
+
while (reader.pos < end) {
|
1455
|
+
let [fieldNo, wireType] = reader.tag();
|
1456
|
+
switch (fieldNo) {
|
1457
|
+
case /* string user_id */ 1:
|
1458
|
+
message.userId = reader.string();
|
1459
|
+
break;
|
1460
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAvatarFacing facing */ 2:
|
1461
|
+
message.facing = reader.int32();
|
1462
|
+
break;
|
1463
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockFullSnooSize size */ 3:
|
1464
|
+
message.size = reader.int32();
|
1465
|
+
break;
|
1466
|
+
default:
|
1467
|
+
let u = options.readUnknownField;
|
1468
|
+
if (u === "throw")
|
1469
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1470
|
+
let d = reader.skip(wireType);
|
1471
|
+
if (u !== false)
|
1472
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1473
|
+
}
|
1474
|
+
}
|
1475
|
+
return message;
|
1476
|
+
}
|
1477
|
+
internalBinaryWrite(message: BlockConfig_FullSnoo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1478
|
+
/* string user_id = 1; */
|
1479
|
+
if (message.userId !== "")
|
1480
|
+
writer.tag(1, WireType.LengthDelimited).string(message.userId);
|
1481
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAvatarFacing facing = 2; */
|
1482
|
+
if (message.facing !== undefined)
|
1483
|
+
writer.tag(2, WireType.Varint).int32(message.facing);
|
1484
|
+
/* optional devvit.ui.block_kit.v1beta.BlockFullSnooSize size = 3; */
|
1485
|
+
if (message.size !== undefined)
|
1486
|
+
writer.tag(3, WireType.Varint).int32(message.size);
|
1487
|
+
let u = options.writeUnknownFields;
|
1488
|
+
if (u !== false)
|
1489
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1490
|
+
return writer;
|
1491
|
+
}
|
1492
|
+
}
|
1493
|
+
/**
|
1494
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.FullSnoo
|
1495
|
+
*/
|
1496
|
+
export const BlockConfig_FullSnoo = new BlockConfig_FullSnoo$Type();
|
1497
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1498
|
+
class BlockConfig_Animation$Type extends MessageType<BlockConfig_Animation> {
|
1499
|
+
constructor() {
|
1500
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.Animation", [
|
1501
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1502
|
+
{ no: 2, name: "width", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
1503
|
+
{ no: 3, name: "height", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
1504
|
+
{ no: 4, name: "type", kind: "enum", T: () => ["devvit.ui.block_kit.v1beta.BlockAnimationType", BlockAnimationType] },
|
1505
|
+
{ no: 5, name: "loop", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1506
|
+
{ no: 6, name: "loop_mode", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockAnimationLoopMode", BlockAnimationLoopMode] },
|
1507
|
+
{ no: 7, name: "autoplay", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
1508
|
+
{ no: 8, name: "speed", kind: "scalar", opt: true, T: 2 /*ScalarType.FLOAT*/ },
|
1509
|
+
{ no: 9, name: "direction", kind: "enum", opt: true, T: () => ["devvit.ui.block_kit.v1beta.BlockAnimationDirection", BlockAnimationDirection] }
|
1510
|
+
]);
|
1511
|
+
}
|
1512
|
+
create(value?: PartialMessage<BlockConfig_Animation>): BlockConfig_Animation {
|
1513
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1514
|
+
message.url = "";
|
1515
|
+
message.width = 0;
|
1516
|
+
message.height = 0;
|
1517
|
+
message.type = 0;
|
1518
|
+
if (value !== undefined)
|
1519
|
+
reflectionMergePartial<BlockConfig_Animation>(this, message, value);
|
1520
|
+
return message;
|
1521
|
+
}
|
1522
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_Animation): BlockConfig_Animation {
|
1523
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1524
|
+
while (reader.pos < end) {
|
1525
|
+
let [fieldNo, wireType] = reader.tag();
|
1526
|
+
switch (fieldNo) {
|
1527
|
+
case /* string url */ 1:
|
1528
|
+
message.url = reader.string();
|
1529
|
+
break;
|
1530
|
+
case /* int32 width */ 2:
|
1531
|
+
message.width = reader.int32();
|
1532
|
+
break;
|
1533
|
+
case /* int32 height */ 3:
|
1534
|
+
message.height = reader.int32();
|
1535
|
+
break;
|
1536
|
+
case /* devvit.ui.block_kit.v1beta.BlockAnimationType type */ 4:
|
1537
|
+
message.type = reader.int32();
|
1538
|
+
break;
|
1539
|
+
case /* optional bool loop */ 5:
|
1540
|
+
message.loop = reader.bool();
|
1541
|
+
break;
|
1542
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAnimationLoopMode loop_mode */ 6:
|
1543
|
+
message.loopMode = reader.int32();
|
1544
|
+
break;
|
1545
|
+
case /* optional bool autoplay */ 7:
|
1546
|
+
message.autoplay = reader.bool();
|
1547
|
+
break;
|
1548
|
+
case /* optional float speed */ 8:
|
1549
|
+
message.speed = reader.float();
|
1550
|
+
break;
|
1551
|
+
case /* optional devvit.ui.block_kit.v1beta.BlockAnimationDirection direction */ 9:
|
1552
|
+
message.direction = reader.int32();
|
1553
|
+
break;
|
1554
|
+
default:
|
1555
|
+
let u = options.readUnknownField;
|
1556
|
+
if (u === "throw")
|
1557
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1558
|
+
let d = reader.skip(wireType);
|
1559
|
+
if (u !== false)
|
1560
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1561
|
+
}
|
1562
|
+
}
|
1563
|
+
return message;
|
1564
|
+
}
|
1565
|
+
internalBinaryWrite(message: BlockConfig_Animation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1566
|
+
/* string url = 1; */
|
1567
|
+
if (message.url !== "")
|
1568
|
+
writer.tag(1, WireType.LengthDelimited).string(message.url);
|
1569
|
+
/* int32 width = 2; */
|
1570
|
+
if (message.width !== 0)
|
1571
|
+
writer.tag(2, WireType.Varint).int32(message.width);
|
1572
|
+
/* int32 height = 3; */
|
1573
|
+
if (message.height !== 0)
|
1574
|
+
writer.tag(3, WireType.Varint).int32(message.height);
|
1575
|
+
/* devvit.ui.block_kit.v1beta.BlockAnimationType type = 4; */
|
1576
|
+
if (message.type !== 0)
|
1577
|
+
writer.tag(4, WireType.Varint).int32(message.type);
|
1578
|
+
/* optional bool loop = 5; */
|
1579
|
+
if (message.loop !== undefined)
|
1580
|
+
writer.tag(5, WireType.Varint).bool(message.loop);
|
1581
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAnimationLoopMode loop_mode = 6; */
|
1582
|
+
if (message.loopMode !== undefined)
|
1583
|
+
writer.tag(6, WireType.Varint).int32(message.loopMode);
|
1584
|
+
/* optional bool autoplay = 7; */
|
1585
|
+
if (message.autoplay !== undefined)
|
1586
|
+
writer.tag(7, WireType.Varint).bool(message.autoplay);
|
1587
|
+
/* optional float speed = 8; */
|
1588
|
+
if (message.speed !== undefined)
|
1589
|
+
writer.tag(8, WireType.Bit32).float(message.speed);
|
1590
|
+
/* optional devvit.ui.block_kit.v1beta.BlockAnimationDirection direction = 9; */
|
1591
|
+
if (message.direction !== undefined)
|
1592
|
+
writer.tag(9, WireType.Varint).int32(message.direction);
|
1593
|
+
let u = options.writeUnknownFields;
|
1594
|
+
if (u !== false)
|
1595
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1596
|
+
return writer;
|
1597
|
+
}
|
1598
|
+
}
|
1599
|
+
/**
|
1600
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.Animation
|
1601
|
+
*/
|
1602
|
+
export const BlockConfig_Animation = new BlockConfig_Animation$Type();
|
1603
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1604
|
+
class BlockConfig_WebView$Type extends MessageType<BlockConfig_WebView> {
|
1605
|
+
constructor() {
|
1606
|
+
super("devvit.ui.block_kit.v1beta.BlockConfig.WebView", [
|
1607
|
+
{ no: 1, name: "url", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1608
|
+
{ no: 2, name: "state", kind: "message", T: () => Struct }
|
1609
|
+
]);
|
1610
|
+
}
|
1611
|
+
create(value?: PartialMessage<BlockConfig_WebView>): BlockConfig_WebView {
|
1612
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1613
|
+
message.url = "";
|
1614
|
+
if (value !== undefined)
|
1615
|
+
reflectionMergePartial<BlockConfig_WebView>(this, message, value);
|
1616
|
+
return message;
|
1617
|
+
}
|
1618
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BlockConfig_WebView): BlockConfig_WebView {
|
1619
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1620
|
+
while (reader.pos < end) {
|
1621
|
+
let [fieldNo, wireType] = reader.tag();
|
1622
|
+
switch (fieldNo) {
|
1623
|
+
case /* string url */ 1:
|
1624
|
+
message.url = reader.string();
|
1625
|
+
break;
|
1626
|
+
case /* google.protobuf.Struct state */ 2:
|
1627
|
+
message.state = Struct.internalBinaryRead(reader, reader.uint32(), options, message.state);
|
1628
|
+
break;
|
1629
|
+
default:
|
1630
|
+
let u = options.readUnknownField;
|
1631
|
+
if (u === "throw")
|
1632
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1633
|
+
let d = reader.skip(wireType);
|
1634
|
+
if (u !== false)
|
1635
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
return message;
|
1639
|
+
}
|
1640
|
+
internalBinaryWrite(message: BlockConfig_WebView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1641
|
+
/* string url = 1; */
|
1642
|
+
if (message.url !== "")
|
1643
|
+
writer.tag(1, WireType.LengthDelimited).string(message.url);
|
1644
|
+
/* google.protobuf.Struct state = 2; */
|
1645
|
+
if (message.state)
|
1646
|
+
Struct.internalBinaryWrite(message.state, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1647
|
+
let u = options.writeUnknownFields;
|
1648
|
+
if (u !== false)
|
1649
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1650
|
+
return writer;
|
1651
|
+
}
|
1652
|
+
}
|
1653
|
+
/**
|
1654
|
+
* @generated MessageType for protobuf message devvit.ui.block_kit.v1beta.BlockConfig.WebView
|
1655
|
+
*/
|
1656
|
+
export const BlockConfig_WebView = new BlockConfig_WebView$Type();
|