@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,158 @@
|
|
1
|
+
import { TwirpServer, TwirpError, TwirpErrorCode, TwirpContentType, chainInterceptors, } from 'twirp-ts';
|
2
|
+
import { LinkedBundle } from '../runtime/bundle.js';
|
3
|
+
import { Empty } from '../../google/protobuf/empty.js';
|
4
|
+
import { BundleRequest } from './bundle_service.js';
|
5
|
+
export var BundleServiceMethod;
|
6
|
+
(function (BundleServiceMethod) {
|
7
|
+
BundleServiceMethod["Upload"] = "Upload";
|
8
|
+
BundleServiceMethod["Fetch"] = "Fetch";
|
9
|
+
})(BundleServiceMethod || (BundleServiceMethod = {}));
|
10
|
+
export const BundleServiceMethodList = [
|
11
|
+
BundleServiceMethod.Upload,
|
12
|
+
BundleServiceMethod.Fetch,
|
13
|
+
];
|
14
|
+
export function createBundleServiceServer(service) {
|
15
|
+
return new TwirpServer({
|
16
|
+
service,
|
17
|
+
packageName: 'devvit.service',
|
18
|
+
serviceName: 'BundleService',
|
19
|
+
methodList: BundleServiceMethodList,
|
20
|
+
matchRoute: matchBundleServiceRoute,
|
21
|
+
});
|
22
|
+
}
|
23
|
+
function matchBundleServiceRoute(method, events) {
|
24
|
+
switch (method) {
|
25
|
+
case 'Upload':
|
26
|
+
return async (ctx, service, data, interceptors) => {
|
27
|
+
ctx = { ...ctx, methodName: 'Upload' };
|
28
|
+
await events.onMatch(ctx);
|
29
|
+
return handleBundleServiceUploadRequest(ctx, service, data, interceptors);
|
30
|
+
};
|
31
|
+
case 'Fetch':
|
32
|
+
return async (ctx, service, data, interceptors) => {
|
33
|
+
ctx = { ...ctx, methodName: 'Fetch' };
|
34
|
+
await events.onMatch(ctx);
|
35
|
+
return handleBundleServiceFetchRequest(ctx, service, data, interceptors);
|
36
|
+
};
|
37
|
+
default:
|
38
|
+
events.onNotFound();
|
39
|
+
const msg = `no handler found`;
|
40
|
+
throw new TwirpError(TwirpErrorCode.BadRoute, msg);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
function handleBundleServiceUploadRequest(ctx, service, data, interceptors) {
|
44
|
+
switch (ctx.contentType) {
|
45
|
+
case TwirpContentType.JSON:
|
46
|
+
return handleBundleServiceUploadJSON(ctx, service, data, interceptors);
|
47
|
+
case TwirpContentType.Protobuf:
|
48
|
+
return handleBundleServiceUploadProtobuf(ctx, service, data, interceptors);
|
49
|
+
default:
|
50
|
+
const msg = 'unexpected Content-Type';
|
51
|
+
throw new TwirpError(TwirpErrorCode.BadRoute, msg);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
function handleBundleServiceFetchRequest(ctx, service, data, interceptors) {
|
55
|
+
switch (ctx.contentType) {
|
56
|
+
case TwirpContentType.JSON:
|
57
|
+
return handleBundleServiceFetchJSON(ctx, service, data, interceptors);
|
58
|
+
case TwirpContentType.Protobuf:
|
59
|
+
return handleBundleServiceFetchProtobuf(ctx, service, data, interceptors);
|
60
|
+
default:
|
61
|
+
const msg = 'unexpected Content-Type';
|
62
|
+
throw new TwirpError(TwirpErrorCode.BadRoute, msg);
|
63
|
+
}
|
64
|
+
}
|
65
|
+
async function handleBundleServiceUploadJSON(ctx, service, data, interceptors) {
|
66
|
+
let request;
|
67
|
+
let response;
|
68
|
+
try {
|
69
|
+
const body = JSON.parse(data.toString() || '{}');
|
70
|
+
request = LinkedBundle.fromJSON(body);
|
71
|
+
}
|
72
|
+
catch (e) {
|
73
|
+
if (e instanceof Error) {
|
74
|
+
const msg = 'the json request could not be decoded';
|
75
|
+
throw new TwirpError(TwirpErrorCode.Malformed, msg).withCause(e, true);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
if (interceptors && interceptors.length > 0) {
|
79
|
+
const interceptor = chainInterceptors(...interceptors);
|
80
|
+
response = await interceptor(ctx, request, (ctx, inputReq) => {
|
81
|
+
return service.Upload(ctx, inputReq);
|
82
|
+
});
|
83
|
+
}
|
84
|
+
else {
|
85
|
+
response = await service.Upload(ctx, request);
|
86
|
+
}
|
87
|
+
return JSON.stringify(Empty.toJSON(response));
|
88
|
+
}
|
89
|
+
async function handleBundleServiceFetchJSON(ctx, service, data, interceptors) {
|
90
|
+
let request;
|
91
|
+
let response;
|
92
|
+
try {
|
93
|
+
const body = JSON.parse(data.toString() || '{}');
|
94
|
+
request = BundleRequest.fromJSON(body);
|
95
|
+
}
|
96
|
+
catch (e) {
|
97
|
+
if (e instanceof Error) {
|
98
|
+
const msg = 'the json request could not be decoded';
|
99
|
+
throw new TwirpError(TwirpErrorCode.Malformed, msg).withCause(e, true);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
if (interceptors && interceptors.length > 0) {
|
103
|
+
const interceptor = chainInterceptors(...interceptors);
|
104
|
+
response = await interceptor(ctx, request, (ctx, inputReq) => {
|
105
|
+
return service.Fetch(ctx, inputReq);
|
106
|
+
});
|
107
|
+
}
|
108
|
+
else {
|
109
|
+
response = await service.Fetch(ctx, request);
|
110
|
+
}
|
111
|
+
return JSON.stringify(LinkedBundle.toJSON(response));
|
112
|
+
}
|
113
|
+
async function handleBundleServiceUploadProtobuf(ctx, service, data, interceptors) {
|
114
|
+
let request;
|
115
|
+
let response;
|
116
|
+
try {
|
117
|
+
request = LinkedBundle.decode(data);
|
118
|
+
}
|
119
|
+
catch (e) {
|
120
|
+
if (e instanceof Error) {
|
121
|
+
const msg = 'the protobuf request could not be decoded';
|
122
|
+
throw new TwirpError(TwirpErrorCode.Malformed, msg).withCause(e, true);
|
123
|
+
}
|
124
|
+
}
|
125
|
+
if (interceptors && interceptors.length > 0) {
|
126
|
+
const interceptor = chainInterceptors(...interceptors);
|
127
|
+
response = await interceptor(ctx, request, (ctx, inputReq) => {
|
128
|
+
return service.Upload(ctx, inputReq);
|
129
|
+
});
|
130
|
+
}
|
131
|
+
else {
|
132
|
+
response = await service.Upload(ctx, request);
|
133
|
+
}
|
134
|
+
return Buffer.from(Empty.encode(response).finish());
|
135
|
+
}
|
136
|
+
async function handleBundleServiceFetchProtobuf(ctx, service, data, interceptors) {
|
137
|
+
let request;
|
138
|
+
let response;
|
139
|
+
try {
|
140
|
+
request = BundleRequest.decode(data);
|
141
|
+
}
|
142
|
+
catch (e) {
|
143
|
+
if (e instanceof Error) {
|
144
|
+
const msg = 'the protobuf request could not be decoded';
|
145
|
+
throw new TwirpError(TwirpErrorCode.Malformed, msg).withCause(e, true);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
if (interceptors && interceptors.length > 0) {
|
149
|
+
const interceptor = chainInterceptors(...interceptors);
|
150
|
+
response = await interceptor(ctx, request, (ctx, inputReq) => {
|
151
|
+
return service.Fetch(ctx, inputReq);
|
152
|
+
});
|
153
|
+
}
|
154
|
+
else {
|
155
|
+
response = await service.Fetch(ctx, request);
|
156
|
+
}
|
157
|
+
return Buffer.from(LinkedBundle.encode(response).finish());
|
158
|
+
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
7
|
import { Metadata } from "../../../lib/Types.js";
|
8
|
-
import { Empty } from
|
9
|
-
import { Envelope } from
|
8
|
+
import { Empty } from "../../google/protobuf/empty.js";
|
9
|
+
import { Envelope } from "../runtime/envelope.js";
|
10
10
|
/** Generic interface for a service that receives Envelopes */
|
11
11
|
export interface EnvelopeReceiverPort {
|
12
12
|
Post(request: Envelope, metadata?: Metadata): Promise<Empty>;
|
@@ -4,9 +4,9 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { Empty } from
|
9
|
-
import { Envelope } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { Empty } from "../../google/protobuf/empty.js";
|
9
|
+
import { Envelope } from "../runtime/envelope.js";
|
10
10
|
export const EnvelopeReceiverPortServiceName = "devvit.service.EnvelopeReceiverPort";
|
11
11
|
export class EnvelopeReceiverPortClientImpl {
|
12
12
|
constructor(rpc, opts) {
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { Envelope } from '../runtime/envelope.js';
|
2
|
+
import { Empty } from '../../google/protobuf/empty.js';
|
3
|
+
interface Rpc {
|
4
|
+
request(service: string, method: string, contentType: 'application/json' | 'application/protobuf', data: object | Uint8Array): Promise<object | Uint8Array>;
|
5
|
+
}
|
6
|
+
export interface EnvelopeReceiverPortClient {
|
7
|
+
Post(request: Envelope): Promise<Empty>;
|
8
|
+
}
|
9
|
+
export declare class EnvelopeReceiverPortClientJSON implements EnvelopeReceiverPortClient {
|
10
|
+
private readonly rpc;
|
11
|
+
constructor(rpc: Rpc);
|
12
|
+
Post(request: Envelope): Promise<Empty>;
|
13
|
+
}
|
14
|
+
export declare class EnvelopeReceiverPortClientProtobuf implements EnvelopeReceiverPortClient {
|
15
|
+
private readonly rpc;
|
16
|
+
constructor(rpc: Rpc);
|
17
|
+
Post(request: Envelope): Promise<Empty>;
|
18
|
+
}
|
19
|
+
export {};
|
20
|
+
//# sourceMappingURL=envelope_service.twirp-client.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"envelope_service.twirp-client.d.ts","sourceRoot":"","sources":["../../../../src/types/devvit/service/envelope_service.twirp-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAMvD,UAAU,GAAG;IACX,OAAO,CACL,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,kBAAkB,GAAG,sBAAsB,EACxD,IAAI,EAAE,MAAM,GAAG,UAAU,GACxB,OAAO,CAAC,MAAM,GAAG,UAAU,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACzC;AAED,qBAAa,8BACX,YAAW,0BAA0B;IAErC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAM;gBACd,GAAG,EAAE,GAAG;IAIpB,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC;CAUxC;AAED,qBAAa,kCACX,YAAW,0BAA0B;IAErC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAM;gBACd,GAAG,EAAE,GAAG;IAIpB,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC;CAUxC"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { Envelope } from '../runtime/envelope.js';
|
2
|
+
import { Empty } from '../../google/protobuf/empty.js';
|
3
|
+
export class EnvelopeReceiverPortClientJSON {
|
4
|
+
constructor(rpc) {
|
5
|
+
this.rpc = rpc;
|
6
|
+
this.Post.bind(this);
|
7
|
+
}
|
8
|
+
Post(request) {
|
9
|
+
const data = Envelope.toJSON(request);
|
10
|
+
const promise = this.rpc.request('devvit.service.EnvelopeReceiverPort', 'Post', 'application/json', data);
|
11
|
+
return promise.then((data) => Empty.fromJSON(data));
|
12
|
+
}
|
13
|
+
}
|
14
|
+
export class EnvelopeReceiverPortClientProtobuf {
|
15
|
+
constructor(rpc) {
|
16
|
+
this.rpc = rpc;
|
17
|
+
this.Post.bind(this);
|
18
|
+
}
|
19
|
+
Post(request) {
|
20
|
+
const data = Envelope.encode(request).finish();
|
21
|
+
const promise = this.rpc.request('devvit.service.EnvelopeReceiverPort', 'Post', 'application/protobuf', data);
|
22
|
+
return promise.then((data) => Empty.decode(data));
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="node" resolution-mode="require"/>
|
2
|
+
import { TwirpContext, TwirpServer } from 'twirp-ts';
|
3
|
+
import { Envelope } from '../runtime/envelope.js';
|
4
|
+
import { Empty } from '../../google/protobuf/empty.js';
|
5
|
+
export interface EnvelopeReceiverPortTwirp<T extends TwirpContext = TwirpContext> {
|
6
|
+
Post(ctx: T, request: Envelope): Promise<Empty>;
|
7
|
+
}
|
8
|
+
export declare enum EnvelopeReceiverPortMethod {
|
9
|
+
Post = "Post"
|
10
|
+
}
|
11
|
+
export declare const EnvelopeReceiverPortMethodList: EnvelopeReceiverPortMethod[];
|
12
|
+
export declare function createEnvelopeReceiverPortServer<T extends TwirpContext = TwirpContext>(service: EnvelopeReceiverPortTwirp<T>): TwirpServer<EnvelopeReceiverPortTwirp<TwirpContext<import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>>>, T>;
|
13
|
+
//# sourceMappingURL=envelope_service.twirp.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"envelope_service.twirp.d.ts","sourceRoot":"","sources":["../../../../src/types/devvit/service/envelope_service.twirp.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EAOZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAMvD,MAAM,WAAW,yBAAyB,CACxC,CAAC,SAAS,YAAY,GAAG,YAAY;IAErC,IAAI,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;CACjD;AAED,oBAAY,0BAA0B;IACpC,IAAI,SAAS;CACd;AAED,eAAO,MAAM,8BAA8B,8BAAoC,CAAC;AAEhF,wBAAgB,gCAAgC,CAC9C,CAAC,SAAS,YAAY,GAAG,YAAY,EACrC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,0JAQtC"}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
import { TwirpServer, TwirpError, TwirpErrorCode, TwirpContentType, chainInterceptors, } from 'twirp-ts';
|
2
|
+
import { Envelope } from '../runtime/envelope.js';
|
3
|
+
import { Empty } from '../../google/protobuf/empty.js';
|
4
|
+
export var EnvelopeReceiverPortMethod;
|
5
|
+
(function (EnvelopeReceiverPortMethod) {
|
6
|
+
EnvelopeReceiverPortMethod["Post"] = "Post";
|
7
|
+
})(EnvelopeReceiverPortMethod || (EnvelopeReceiverPortMethod = {}));
|
8
|
+
export const EnvelopeReceiverPortMethodList = [EnvelopeReceiverPortMethod.Post];
|
9
|
+
export function createEnvelopeReceiverPortServer(service) {
|
10
|
+
return new TwirpServer({
|
11
|
+
service,
|
12
|
+
packageName: 'devvit.service',
|
13
|
+
serviceName: 'EnvelopeReceiverPort',
|
14
|
+
methodList: EnvelopeReceiverPortMethodList,
|
15
|
+
matchRoute: matchEnvelopeReceiverPortRoute,
|
16
|
+
});
|
17
|
+
}
|
18
|
+
function matchEnvelopeReceiverPortRoute(method, events) {
|
19
|
+
switch (method) {
|
20
|
+
case 'Post':
|
21
|
+
return async (ctx, service, data, interceptors) => {
|
22
|
+
ctx = { ...ctx, methodName: 'Post' };
|
23
|
+
await events.onMatch(ctx);
|
24
|
+
return handleEnvelopeReceiverPortPostRequest(ctx, service, data, interceptors);
|
25
|
+
};
|
26
|
+
default:
|
27
|
+
events.onNotFound();
|
28
|
+
const msg = `no handler found`;
|
29
|
+
throw new TwirpError(TwirpErrorCode.BadRoute, msg);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
function handleEnvelopeReceiverPortPostRequest(ctx, service, data, interceptors) {
|
33
|
+
switch (ctx.contentType) {
|
34
|
+
case TwirpContentType.JSON:
|
35
|
+
return handleEnvelopeReceiverPortPostJSON(ctx, service, data, interceptors);
|
36
|
+
case TwirpContentType.Protobuf:
|
37
|
+
return handleEnvelopeReceiverPortPostProtobuf(ctx, service, data, interceptors);
|
38
|
+
default:
|
39
|
+
const msg = 'unexpected Content-Type';
|
40
|
+
throw new TwirpError(TwirpErrorCode.BadRoute, msg);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
async function handleEnvelopeReceiverPortPostJSON(ctx, service, data, interceptors) {
|
44
|
+
let request;
|
45
|
+
let response;
|
46
|
+
try {
|
47
|
+
const body = JSON.parse(data.toString() || '{}');
|
48
|
+
request = Envelope.fromJSON(body);
|
49
|
+
}
|
50
|
+
catch (e) {
|
51
|
+
if (e instanceof Error) {
|
52
|
+
const msg = 'the json request could not be decoded';
|
53
|
+
throw new TwirpError(TwirpErrorCode.Malformed, msg).withCause(e, true);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
if (interceptors && interceptors.length > 0) {
|
57
|
+
const interceptor = chainInterceptors(...interceptors);
|
58
|
+
response = await interceptor(ctx, request, (ctx, inputReq) => {
|
59
|
+
return service.Post(ctx, inputReq);
|
60
|
+
});
|
61
|
+
}
|
62
|
+
else {
|
63
|
+
response = await service.Post(ctx, request);
|
64
|
+
}
|
65
|
+
return JSON.stringify(Empty.toJSON(response));
|
66
|
+
}
|
67
|
+
async function handleEnvelopeReceiverPortPostProtobuf(ctx, service, data, interceptors) {
|
68
|
+
let request;
|
69
|
+
let response;
|
70
|
+
try {
|
71
|
+
request = Envelope.decode(data);
|
72
|
+
}
|
73
|
+
catch (e) {
|
74
|
+
if (e instanceof Error) {
|
75
|
+
const msg = 'the protobuf request could not be decoded';
|
76
|
+
throw new TwirpError(TwirpErrorCode.Malformed, msg).withCause(e, true);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
if (interceptors && interceptors.length > 0) {
|
80
|
+
const interceptor = chainInterceptors(...interceptors);
|
81
|
+
response = await interceptor(ctx, request, (ctx, inputReq) => {
|
82
|
+
return service.Post(ctx, inputReq);
|
83
|
+
});
|
84
|
+
}
|
85
|
+
else {
|
86
|
+
response = await service.Post(ctx, request);
|
87
|
+
}
|
88
|
+
return Buffer.from(Empty.encode(response).finish());
|
89
|
+
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
7
|
-
import { AccountDelete, AppInstall, AppUpgrade, CommentApprove, CommentCreate, CommentDelete, CommentReport, CommentSubmit, CommentUpdate, PostApprove, PostCreate, PostDelete, PostFlairUpdate, PostNsfwUpdate, PostReport, PostSpoilerUpdate, PostSubmit, PostUpdate, SubredditSubscribe, Vote } from
|
8
|
-
import { ModAction } from
|
9
|
-
import { ModMail } from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
|
+
import { AccountDelete, AppInstall, AppUpgrade, CommentApprove, CommentCreate, CommentDelete, CommentReport, CommentSubmit, CommentUpdate, PostApprove, PostCreate, PostDelete, PostFlairUpdate, PostNsfwUpdate, PostReport, PostSpoilerUpdate, PostSubmit, PostUpdate, SubredditSubscribe, Vote } from "../../events/v1alpha/events.js";
|
8
|
+
import { ModAction } from "../../reddit/v2alpha/modaction.js";
|
9
|
+
import { ModMail } from "../../reddit/v2alpha/modmail.js";
|
10
10
|
export interface TriggerEvent {
|
11
11
|
/** UUID for the event */
|
12
12
|
id: string;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"triggers.d.ts","sourceRoot":"","sources":["../../../../../src/types/devvit/triggers/v1alpha/triggers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,GAAG,MAAM,uBAAuB,CAAC;AAGxC,OAAO,EACL,aAAa,EACb,UAAU,EACV,UAAU,EACV,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,UAAU,EACV,eAAe,EACf,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,IAAI,EACL,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAE1D,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,sBAAsB;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACpD,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACpC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,aAAa,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAC5C,cAAc,CAAC,EACX,cAAc,GACd,SAAS,CAAC;IACd,gBAAgB;IAChB,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACnD;AAgCD,eAAO,MAAM,YAAY;;oBAGP,YAAY,WAAU,IAAI,MAAM,GAAyB,IAAI,MAAM;kBA+ErE,IAAI,MAAM,GAAG,UAAU,WAAW,MAAM,GAAG,YAAY;qBA+LpD,GAAG,GAAG,YAAY;oBAkCnB,YAAY,GAAG,OAAO;kBAgFxB,YAAY,YAAY,CAAC,GAAG,YAAY;wBAGlC,YAAY,YAAY,CAAC,GAAG,YAAY;CAuE7D,CAAC;AAIF,KAAK,OAAO,GAAG,IAAI,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpF,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,CAAC,GACvC,CAAC,SAAS,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAChE,CAAC,SAAS,EAAE,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACrD,OAAO,CAAC,CAAC,CAAC,CAAC"}
|
@@ -4,12 +4,12 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { Timestamp } from
|
9
|
-
import { messageTypeRegistry } from
|
10
|
-
import { AccountDelete, AppInstall, AppUpgrade, CommentApprove, CommentCreate, CommentDelete, CommentReport, CommentSubmit, CommentUpdate, PostApprove, PostCreate, PostDelete, PostFlairUpdate, PostNsfwUpdate, PostReport, PostSpoilerUpdate, PostSubmit, PostUpdate, SubredditSubscribe, Vote, } from
|
11
|
-
import { ModAction } from
|
12
|
-
import { ModMail } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { Timestamp } from "../../../google/protobuf/timestamp.js";
|
9
|
+
import { messageTypeRegistry } from "../../../typeRegistry.js";
|
10
|
+
import { AccountDelete, AppInstall, AppUpgrade, CommentApprove, CommentCreate, CommentDelete, CommentReport, CommentSubmit, CommentUpdate, PostApprove, PostCreate, PostDelete, PostFlairUpdate, PostNsfwUpdate, PostReport, PostSpoilerUpdate, PostSubmit, PostUpdate, SubredditSubscribe, Vote, } from "../../events/v1alpha/events.js";
|
11
|
+
import { ModAction } from "../../reddit/v2alpha/modaction.js";
|
12
|
+
import { ModMail } from "../../reddit/v2alpha/modmail.js";
|
13
13
|
function createBaseTriggerEvent() {
|
14
14
|
return {
|
15
15
|
id: "",
|
@@ -3,8 +3,8 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
7
|
-
import { BlockActionType, BlockBorderWidth, BlockHorizontalAlignment, BlockSizeUnit, BlockVerticalAlignment } from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
|
+
import { BlockActionType, BlockBorderWidth, BlockHorizontalAlignment, BlockSizeUnit, BlockVerticalAlignment } from "./enums.js";
|
8
8
|
export interface BlockAlignment {
|
9
9
|
vertical?: BlockVerticalAlignment | undefined;
|
10
10
|
horizontal?: BlockHorizontalAlignment | undefined;
|
@@ -4,10 +4,10 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { Struct } from
|
9
|
-
import { messageTypeRegistry } from
|
10
|
-
import { blockActionTypeFromJSON, blockActionTypeToJSON, blockBorderWidthFromJSON, blockBorderWidthToJSON, blockHorizontalAlignmentFromJSON, blockHorizontalAlignmentToJSON, blockSizeUnitFromJSON, blockSizeUnitToJSON, blockVerticalAlignmentFromJSON, blockVerticalAlignmentToJSON, } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { Struct } from "../../../../google/protobuf/struct.js";
|
9
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
10
|
+
import { blockActionTypeFromJSON, blockActionTypeToJSON, blockBorderWidthFromJSON, blockBorderWidthToJSON, blockHorizontalAlignmentFromJSON, blockHorizontalAlignmentToJSON, blockSizeUnitFromJSON, blockSizeUnitToJSON, blockVerticalAlignmentFromJSON, blockVerticalAlignmentToJSON, } from "./enums.js";
|
11
11
|
function createBaseBlockAlignment() {
|
12
12
|
return { vertical: undefined, horizontal: undefined };
|
13
13
|
}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
7
|
-
import { BlockAction, BlockAlignment, BlockBorder, BlockColor, BlockSize, BlockSizes } from
|
8
|
-
import { BlockAnimationDirection, BlockAnimationLoopMode, BlockAnimationType, BlockAvatarBackground, BlockAvatarFacing, BlockAvatarSize, BlockButtonAppearance, BlockButtonSize, BlockFullSnooSize, BlockGap, BlockIconSize, BlockImageResizeMode, BlockPadding, BlockRadius, BlockSpacerShape, BlockSpacerSize, BlockStackDirection, BlockTextOutline, BlockTextOverflow, BlockTextSize, BlockTextStyle, BlockTextWeight, BlockType } from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
|
+
import { BlockAction, BlockAlignment, BlockBorder, BlockColor, BlockSize, BlockSizes } from "./attributes.js";
|
8
|
+
import { BlockAnimationDirection, BlockAnimationLoopMode, BlockAnimationType, BlockAvatarBackground, BlockAvatarFacing, BlockAvatarSize, BlockButtonAppearance, BlockButtonSize, BlockFullSnooSize, BlockGap, BlockIconSize, BlockImageResizeMode, BlockPadding, BlockRadius, BlockSpacerShape, BlockSpacerSize, BlockStackDirection, BlockTextOutline, BlockTextOverflow, BlockTextSize, BlockTextStyle, BlockTextWeight, BlockType } from "./enums.js";
|
9
9
|
export interface Block {
|
10
10
|
type: BlockType;
|
11
11
|
/**
|
@@ -4,11 +4,11 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { Struct } from
|
9
|
-
import { messageTypeRegistry } from
|
10
|
-
import { BlockAction, BlockAlignment, BlockBorder, BlockColor, BlockSize, BlockSizes } from
|
11
|
-
import { blockAnimationDirectionFromJSON, blockAnimationDirectionToJSON, blockAnimationLoopModeFromJSON, blockAnimationLoopModeToJSON, blockAnimationTypeFromJSON, blockAnimationTypeToJSON, blockAvatarBackgroundFromJSON, blockAvatarBackgroundToJSON, blockAvatarFacingFromJSON, blockAvatarFacingToJSON, blockAvatarSizeFromJSON, blockAvatarSizeToJSON, blockButtonAppearanceFromJSON, blockButtonAppearanceToJSON, blockButtonSizeFromJSON, blockButtonSizeToJSON, blockFullSnooSizeFromJSON, blockFullSnooSizeToJSON, blockGapFromJSON, blockGapToJSON, blockIconSizeFromJSON, blockIconSizeToJSON, blockImageResizeModeFromJSON, blockImageResizeModeToJSON, blockPaddingFromJSON, blockPaddingToJSON, blockRadiusFromJSON, blockRadiusToJSON, blockSpacerShapeFromJSON, blockSpacerShapeToJSON, blockSpacerSizeFromJSON, blockSpacerSizeToJSON, blockStackDirectionFromJSON, blockStackDirectionToJSON, blockTextOutlineFromJSON, blockTextOutlineToJSON, blockTextOverflowFromJSON, blockTextOverflowToJSON, blockTextSizeFromJSON, blockTextSizeToJSON, blockTextStyleFromJSON, blockTextStyleToJSON, blockTextWeightFromJSON, blockTextWeightToJSON, blockTypeFromJSON, blockTypeToJSON, } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { Struct } from "../../../../google/protobuf/struct.js";
|
9
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
10
|
+
import { BlockAction, BlockAlignment, BlockBorder, BlockColor, BlockSize, BlockSizes } from "./attributes.js";
|
11
|
+
import { blockAnimationDirectionFromJSON, blockAnimationDirectionToJSON, blockAnimationLoopModeFromJSON, blockAnimationLoopModeToJSON, blockAnimationTypeFromJSON, blockAnimationTypeToJSON, blockAvatarBackgroundFromJSON, blockAvatarBackgroundToJSON, blockAvatarFacingFromJSON, blockAvatarFacingToJSON, blockAvatarSizeFromJSON, blockAvatarSizeToJSON, blockButtonAppearanceFromJSON, blockButtonAppearanceToJSON, blockButtonSizeFromJSON, blockButtonSizeToJSON, blockFullSnooSizeFromJSON, blockFullSnooSizeToJSON, blockGapFromJSON, blockGapToJSON, blockIconSizeFromJSON, blockIconSizeToJSON, blockImageResizeModeFromJSON, blockImageResizeModeToJSON, blockPaddingFromJSON, blockPaddingToJSON, blockRadiusFromJSON, blockRadiusToJSON, blockSpacerShapeFromJSON, blockSpacerShapeToJSON, blockSpacerSizeFromJSON, blockSpacerSizeToJSON, blockStackDirectionFromJSON, blockStackDirectionToJSON, blockTextOutlineFromJSON, blockTextOutlineToJSON, blockTextOverflowFromJSON, blockTextOverflowToJSON, blockTextSizeFromJSON, blockTextSizeToJSON, blockTextStyleFromJSON, blockTextStyleToJSON, blockTextWeightFromJSON, blockTextWeightToJSON, blockTypeFromJSON, blockTypeToJSON, } from "./enums.js";
|
12
12
|
function createBaseBlock() {
|
13
13
|
return { type: 0, size: undefined, sizes: undefined, config: undefined, actions: [], id: undefined, key: undefined };
|
14
14
|
}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
7
|
-
import { Block } from
|
8
|
-
import { BlockRenderEventType } from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
|
+
import { Block } from "./block.js";
|
8
|
+
import { BlockRenderEventType } from "./enums.js";
|
9
9
|
export interface BlockRenderRequest {
|
10
10
|
/** What triggered this render request */
|
11
11
|
type: BlockRenderEventType;
|
@@ -4,11 +4,11 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { Struct } from
|
9
|
-
import { messageTypeRegistry } from
|
10
|
-
import { Block } from
|
11
|
-
import { blockRenderEventTypeFromJSON, blockRenderEventTypeToJSON } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { Struct } from "../../../../google/protobuf/struct.js";
|
9
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
10
|
+
import { Block } from "./block.js";
|
11
|
+
import { blockRenderEventTypeFromJSON, blockRenderEventTypeToJSON } from "./enums.js";
|
12
12
|
function createBaseBlockRenderRequest() {
|
13
13
|
return { type: 0, id: undefined, data: undefined };
|
14
14
|
}
|
@@ -3,11 +3,11 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
7
|
-
import { UIDimensions } from
|
8
|
-
import { Effect } from
|
9
|
-
import { UIEvent } from
|
10
|
-
import { Block } from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
|
+
import { UIDimensions } from "../../common/v1alpha/common.js";
|
8
|
+
import { Effect } from "../../effects/v1alpha/effect.js";
|
9
|
+
import { UIEvent } from "../../events/v1alpha/event.js";
|
10
|
+
import { Block } from "./block.js";
|
11
11
|
/**
|
12
12
|
* This file encodes a generic protocol for rendering UIs. If you want to embed a UI into Devvit, you should use this protocol.
|
13
13
|
* This protobuf is for the second iteration of Blocks components. It's an extraction of CustomPost to work with any UI surface.
|
@@ -4,13 +4,13 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { Struct } from
|
9
|
-
import { messageTypeRegistry } from
|
10
|
-
import { UIDimensions } from
|
11
|
-
import { Effect } from
|
12
|
-
import { UIEvent } from
|
13
|
-
import { Block } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { Struct } from "../../../../google/protobuf/struct.js";
|
9
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
10
|
+
import { UIDimensions } from "../../common/v1alpha/common.js";
|
11
|
+
import { Effect } from "../../effects/v1alpha/effect.js";
|
12
|
+
import { UIEvent } from "../../events/v1alpha/event.js";
|
13
|
+
import { Block } from "./block.js";
|
14
14
|
function createBaseUIRequest() {
|
15
15
|
return { env: undefined, props: undefined, state: undefined, events: [] };
|
16
16
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
7
|
/**
|
8
8
|
* Dimensions describe the layout characteristics of a custom post within
|
9
9
|
* Devvit. They are used to allow Devvitors to create responsive experiences
|
@@ -4,8 +4,8 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { messageTypeRegistry } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
9
9
|
function createBaseUIDimensions() {
|
10
10
|
return { height: 0, width: 0, scale: 0, fontScale: undefined };
|
11
11
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
7
|
/** Emitted by an app to request a purchase flow by the client */
|
8
8
|
export interface CreateOrderEffect {
|
9
9
|
/** ID of this effect to route the OrderResultEvent to the correct handler */
|
@@ -4,8 +4,8 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { messageTypeRegistry } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
9
9
|
function createBaseCreateOrderEffect() {
|
10
10
|
return { id: "", skus: [], metadata: {} };
|
11
11
|
}
|
@@ -3,15 +3,15 @@
|
|
3
3
|
*
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
|
-
import _m0 from
|
7
|
-
import { CreateOrderEffect } from
|
8
|
-
import { SetIntervalsEffect } from
|
9
|
-
import { NavigateToUrlEffect } from
|
10
|
-
import { RealtimeSubscriptionsEffect } from
|
11
|
-
import { ReloadPartEffect } from
|
12
|
-
import { RerenderEffect } from
|
13
|
-
import { ShowFormEffect } from
|
14
|
-
import { ShowToastEffect } from
|
6
|
+
import _m0 from "protobufjs/minimal.js";
|
7
|
+
import { CreateOrderEffect } from "./create_order.js";
|
8
|
+
import { SetIntervalsEffect } from "./interval.js";
|
9
|
+
import { NavigateToUrlEffect } from "./navigate_to_url.js";
|
10
|
+
import { RealtimeSubscriptionsEffect } from "./realtime_subscriptions.js";
|
11
|
+
import { ReloadPartEffect } from "./reload_part.js";
|
12
|
+
import { RerenderEffect } from "./rerender_ui.js";
|
13
|
+
import { ShowFormEffect } from "./show_form.js";
|
14
|
+
import { ShowToastEffect } from "./show_toast.js";
|
15
15
|
export declare enum EffectType {
|
16
16
|
/** EFFECT_REALTIME_SUB - Notify client to synchronize its realtime subscriptions */
|
17
17
|
EFFECT_REALTIME_SUB = 0,
|
@@ -4,16 +4,16 @@
|
|
4
4
|
* @packageDocumentation
|
5
5
|
*/
|
6
6
|
/* eslint-disable */
|
7
|
-
import _m0 from
|
8
|
-
import { messageTypeRegistry } from
|
9
|
-
import { CreateOrderEffect } from
|
10
|
-
import { SetIntervalsEffect } from
|
11
|
-
import { NavigateToUrlEffect } from
|
12
|
-
import { RealtimeSubscriptionsEffect } from
|
13
|
-
import { ReloadPartEffect } from
|
14
|
-
import { RerenderEffect } from
|
15
|
-
import { ShowFormEffect } from
|
16
|
-
import { ShowToastEffect } from
|
7
|
+
import _m0 from "protobufjs/minimal.js";
|
8
|
+
import { messageTypeRegistry } from "../../../../typeRegistry.js";
|
9
|
+
import { CreateOrderEffect } from "./create_order.js";
|
10
|
+
import { SetIntervalsEffect } from "./interval.js";
|
11
|
+
import { NavigateToUrlEffect } from "./navigate_to_url.js";
|
12
|
+
import { RealtimeSubscriptionsEffect } from "./realtime_subscriptions.js";
|
13
|
+
import { ReloadPartEffect } from "./reload_part.js";
|
14
|
+
import { RerenderEffect } from "./rerender_ui.js";
|
15
|
+
import { ShowFormEffect } from "./show_form.js";
|
16
|
+
import { ShowToastEffect } from "./show_toast.js";
|
17
17
|
export var EffectType;
|
18
18
|
(function (EffectType) {
|
19
19
|
/** EFFECT_REALTIME_SUB - Notify client to synchronize its realtime subscriptions */
|