@devvit/protos 0.11.0-next-2024-07-24-1be38cc96.0 → 0.11.0-next-2024-07-25-e11c6b2a8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/meta.min.json +117 -156
- package/package.json +7 -6
- package/protos.min.js +2 -2
- package/protos.min.js.map +4 -4
- package/schema/.snootobuf/.gitIgnoreMe +1 -0
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/audit.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/auth.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/organization.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/service.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/subscription.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/admin/v1alpha/ui.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/admin.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/delivery.proto +13 -7
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/filter.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/firehose.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/data/api/v1alpha/intake.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/events/v1alpha/events.proto +2 -2
- package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +17 -0
- package/schema/{devvit → .snootobuf/deps/devvit}/options/options.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/commentv2.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/flair.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/modaction.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/modmail.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/postv2.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/subredditv2.proto +1 -1
- package/schema/{devvit → .snootobuf/deps/devvit}/reddit/v2alpha/userv2.proto +1 -1
- package/schema/{devvit/data → .snootobuf/deps/devvit}/triggers/v1alpha/triggers.proto +2 -1
- package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
- package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
- package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
- package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
- package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
- package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
- package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
- package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
- package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
- package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
- package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
- package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
- package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
- package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
- package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
- package/schema/.snootobuf/deps/enum/vote.proto +12 -0
- package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
- package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
- package/schema/.snootobuf/deps/evaluator/evaluator.proto +112 -0
- package/schema/.snootobuf/deps/google/api/auth.proto +181 -0
- package/schema/.snootobuf/deps/google/api/backend.proto +51 -0
- package/schema/.snootobuf/deps/google/api/billing.proto +67 -0
- package/schema/{google → .snootobuf/deps/google}/api/client.proto +37 -37
- package/schema/.snootobuf/deps/google/api/config_change.proto +85 -0
- package/schema/.snootobuf/deps/google/api/consumer.proto +83 -0
- package/schema/.snootobuf/deps/google/api/context.proto +63 -0
- package/schema/.snootobuf/deps/google/api/control.proto +33 -0
- package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
- package/schema/.snootobuf/deps/google/api/documentation.proto +157 -0
- package/schema/.snootobuf/deps/google/api/endpoint.proto +71 -0
- package/schema/{google → .snootobuf/deps/google}/api/field_behavior.proto +23 -17
- package/schema/{google → .snootobuf/deps/google}/api/http.proto +1 -0
- package/schema/.snootobuf/deps/google/api/httpbody.proto +76 -0
- package/schema/.snootobuf/deps/google/api/label.proto +49 -0
- package/schema/.snootobuf/deps/google/api/launch_stage.proto +67 -0
- package/schema/.snootobuf/deps/google/api/log.proto +55 -0
- package/schema/.snootobuf/deps/google/api/logging.proto +83 -0
- package/schema/.snootobuf/deps/google/api/metric.proto +192 -0
- package/schema/.snootobuf/deps/google/api/monitored_resource.proto +116 -0
- package/schema/.snootobuf/deps/google/api/monitoring.proto +89 -0
- package/schema/.snootobuf/deps/google/api/quota.proto +259 -0
- package/schema/.snootobuf/deps/google/api/resource.proto +299 -0
- package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
- package/schema/.snootobuf/deps/google/api/service.proto +175 -0
- package/schema/.snootobuf/deps/google/api/source_info.proto +32 -0
- package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
- package/schema/.snootobuf/deps/google/api/usage.proto +92 -0
- package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
- package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
- package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
- package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
- package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
- package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
- package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
- package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
- package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
- package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
- package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
- package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
- package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
- package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
- package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
- package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
- package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
- package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
- package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
- package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
- package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
- package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
- package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
- package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
- package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
- package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
- package/schema/.snootobuf/deps/google/type/color.proto +170 -0
- package/schema/.snootobuf/deps/google/type/date.proto +50 -0
- package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
- package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
- package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
- package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
- package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
- package/schema/.snootobuf/deps/google/type/money.proto +43 -0
- package/schema/.snootobuf/deps/google/type/month.proto +66 -0
- package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
- package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
- package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
- package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +69 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +289 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +54 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +32 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +144 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
- package/schema/.snootobuf/deps/validate/validate.proto +862 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/automation/v1alpha/event_handlers.client.ts +597 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/automation/v1alpha/event_handlers.ts +191 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/bot/bot.client.ts +49 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/bot/bot.ts +340 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/hello/hello.client.ts +42 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/hello/hello.ts +99 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/payments/v1alpha/payments.client.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/payments/v1alpha/payments.ts +334 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/permissions/permissions.ts +324 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/producer/producer.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/producer/producer.ts +174 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_action.client.ts +58 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_action.ts +679 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/context_type.ts +22 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/post_filter.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/reddit/post_filter.ts +131 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/action.ts +84 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/handler.client.ts +43 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/scheduler/handler.ts +12 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/app_settings.client.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/app_settings.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/installation_settings.client.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/installation_settings.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/instance_settings.client.ts +68 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/instance_settings.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/settings/v1alpha/shared.ts +311 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/streams.client.ts +82 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/streams.ts +77 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/wrappertypes.client.ts +120 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/test/wrappertypes.ts +25 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/user_configurable/user_configurable.client.ts +63 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/actor/user_configurable/user_configurable.ts +284 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/cli/playtest.ts +323 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/debug/v1alpha/debug.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/debug/v1alpha/debug.ts +143 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/actor/actor_type.ts +94 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/admin/waitlist_admin.client.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/admin/waitlist_admin.ts +659 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/app.ts +2060 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/categories/categories.ts +146 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app/info/app_info.ts +389 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/app_publish_request.ts +970 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/note/app_publish_request_note.ts +257 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_publish_request/review/app_publish_request_review.ts +336 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_settings/app_settings.ts +571 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_version/app_version.ts +1161 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/app_version/info/app_version_info.ts +397 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/audit/audit.ts +646 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/auth/auth.ts +458 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/organization/organization.ts +347 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/data_api/admin/subscription/subscription.ts +982 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.client.ts +1071 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/dev_portal.ts +222 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/feedback/feedback.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation/installation.ts +1882 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation_settings/installation_settings.ts +575 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/authorization/v1alpha/authorization.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/authorization/v1alpha/authorization.ts +394 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.client.ts +118 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.ts +27 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.ts +180 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/media/media.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/internal/media/media.ts +162 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/nutrition/nutrition.ts +245 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/reddit/redditor.ts +98 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/waitlist/waitlist.client.ts +84 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/waitlist/waitlist.ts +455 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/realtime.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/realtime.ts +149 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/events/v1alpha/wqcleanup.ts +68 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/custom_post_snapshot.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/custom_post_snapshot.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/resolvers.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/resolvers.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/utils/v1alpha/utilities.client.ts +114 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/utils/v1alpha/utilities.ts +475 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/v1alpha/triggers.client.ts +96 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gateway/v1alpha/triggers.ts +256 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gql/snapshot.ts +80 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/gql/subreddit_metadata.ts +312 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/common.ts +22 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/order.ts +208 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/payments/v1alpha/product.ts +241 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/assetresolver/assetresolver.client.ts +58 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/assetresolver/assetresolver.ts +380 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/builder/builder.client.ts +57 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/builder/builder.ts +102 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack.client.ts +57 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack.ts +13 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/buildpack_common.ts +705 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/buildpack/filesystem.ts +168 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/clock/clock.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/clock/clock.ts +12 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/http/http.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/http/http.ts +294 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/inspector/inspector.client.ts +51 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/inspector/inspector.ts +304 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/kvstore/kvstore.client.ts +72 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/kvstore/kvstore.ts +209 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/linker.client.ts +51 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/linker.ts +89 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/resolver.client.ts +80 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/linker/resolver.ts +198 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/logger/logger.client.ts +83 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/logger/logger.ts +608 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/media/media.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/media/media.ts +155 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/modlog/modlog.client.ts +43 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/modlog/modlog.ts +187 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/payments/v1alpha/payments.client.ts +81 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/payments/v1alpha/payments.ts +476 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/common/common_msg.ts +3641 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_msg.ts +2310 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_svc.client.ts +270 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/flair/flair_svc.ts +43 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_msg.ts +224 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_svc.client.ts +63 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/graphql/graphql_svc.ts +14 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.ts +1869 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.client.ts +571 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.ts +52 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_msg.ts +1156 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_svc.client.ts +194 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/listings/listings_svc.ts +27 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_msg.ts +1231 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_svc.client.ts +373 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/moderation/moderation_svc.ts +46 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_msg.ts +1025 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_svc.client.ts +112 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/modnote/modnote_svc.ts +23 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_msg.ts +4135 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_svc.client.ts +351 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/newmodmail/newmodmail_svc.ts +52 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_msg.ts +1040 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_svc.client.ts +207 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/postcollections/postcollections_svc.ts +34 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_msg.ts +380 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_svc.client.ts +186 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/privatemessages/privatemessages_svc.ts +25 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_msg.ts +11280 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_svc.client.ts +480 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/subreddits/subreddits_svc.ts +71 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_msg.ts +1820 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_svc.client.ts +247 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/users/users_svc.ts +42 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_msg.ts +4766 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_svc.client.ts +401 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/widgets/widgets_svc.ts +56 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_msg.ts +1786 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_svc.client.ts +236 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapi/wiki/wiki_svc.ts +35 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapiv2/redditapiv2.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redditapiv2/redditapiv2.ts +15 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redis/redisapi.client.ts +518 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/redis/redisapi.ts +3347 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/scheduler/scheduler.client.ts +89 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/scheduler/scheduler.ts +575 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/settings/v1alpha/settings.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/settings/v1alpha/settings.ts +235 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/streambroker/streambroker.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/streambroker/streambroker.ts +169 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/timer/timer.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/timer/timer.ts +76 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/v2events/v2events.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/plugin/v2events/v2events.ts +312 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/comment.ts +963 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/common.ts +1099 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_actions/v2alpha/custom_actions.client.ts +50 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_actions/v2alpha/custom_actions.ts +527 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_post/v1alpha/custom_post.client.ts +79 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/custom_post/v1alpha/custom_post.ts +340 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/post.ts +2063 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/subreddit.ts +1374 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/thing_type.ts +36 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/reddit/user.ts +1418 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/remote_logger/remote_logger.client.ts +78 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/remote_logger/remote_logger.ts +538 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/bootstrap.client.ts +56 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/bootstrap.ts +13 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/echo.client.ts +36 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/echo.ts +11 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/runtime.client.ts +53 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/runtime.ts +78 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/supervisor.client.ts +87 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/supervisor.ts +92 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/v1alpha/health.client.ts +37 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/actor/v1alpha/health.ts +87 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/bundle.ts +859 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/envelope.ts +230 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/runtime_common.ts +251 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/runtime/serializable.ts +232 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/bundle_service.client.ts +57 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/bundle_service.ts +82 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/envelope_service.client.ts +41 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/service/envelope_service.ts +12 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/attributes.ts +642 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/block.ts +1656 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/enums.ts +602 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/rendering.ts +157 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/block_kit/v1beta/ui.ts +354 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/common/v1alpha/common.ts +116 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/create_order.ts +217 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/effect.ts +266 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/interval.ts +169 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/navigate_to_url.ts +81 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/realtime_subscriptions.ts +156 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/reload_part.ts +349 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/rerender_ui.ts +71 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/show_form.ts +162 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/effects/v1alpha/show_toast.ts +104 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/event.ts +697 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/handle_ui.client.ts +39 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/events/v1alpha/handle_ui.ts +160 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/field.ts +974 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/form.ts +134 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/type.ts +56 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/form_builder/v1alpha/value.ts +359 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/ui/toast/toast.ts +314 -0
- package/schema/.snootobuf/output/devenv_ts_files/devvit/uuid.ts +70 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/any.ts +322 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/descriptor.ts +3475 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/duration.ts +231 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/empty.ts +81 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/struct.ts +482 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/timestamp.ts +290 -0
- package/schema/.snootobuf/output/devenv_ts_files/google/protobuf/wrappers.ts +752 -0
- package/schema/devvit/dev_portal/admin/waitlist_admin.proto +2 -0
- package/schema/devvit/dev_portal/app/app.proto +2 -0
- package/schema/devvit/dev_portal/app_publish_request/app_publish_request.proto +2 -0
- package/schema/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +2 -0
- package/schema/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +2 -0
- package/schema/devvit/dev_portal/app_settings/app_settings.proto +2 -0
- package/schema/devvit/dev_portal/dev_portal.proto +2 -0
- package/schema/devvit/dev_portal/feedback/feedback.proto +2 -0
- package/schema/devvit/dev_portal/installation_settings/installation_settings.proto +2 -0
- package/schema/devvit/dev_portal/nutrition/nutrition.proto +2 -0
- package/schema/devvit/dev_portal/waitlist/waitlist.proto +2 -0
- package/schema/devvit/gateway/v1alpha/triggers.proto +1 -1
- package/schema/snootobuf.devenv.lock +0 -0
- package/schema/snootobuf.devenv.yaml +15 -0
- package/schema/snootobuf.lock +0 -0
- package/schema/snootobuf.redditapi.lock +0 -0
- package/schema/snootobuf.redditapi.yaml +14 -0
- package/schema/snootobuf.ts.lock +0 -0
- package/schema/snootobuf.ts.yaml +35 -0
- package/schema/snootobuf.yaml +49 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.d.ts +6 -6
- package/types/devvit/actor/automation/v1alpha/event_handlers.js +5 -5
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.d.ts +342 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp-client.js +466 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.d.ts +175 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.d.ts.map +1 -0
- package/types/devvit/actor/automation/v1alpha/event_handlers.twirp.js +1833 -0
- package/types/devvit/actor/bot/bot.d.ts +2 -2
- package/types/devvit/actor/bot/bot.js +3 -3
- package/types/devvit/actor/bot/bot.twirp-client.d.ts +23 -0
- package/types/devvit/actor/bot/bot.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/bot/bot.twirp-client.js +36 -0
- package/types/devvit/actor/bot/bot.twirp.d.ts +15 -0
- package/types/devvit/actor/bot/bot.twirp.d.ts.map +1 -0
- package/types/devvit/actor/bot/bot.twirp.js +154 -0
- package/types/devvit/actor/hello/hello.d.ts +1 -1
- package/types/devvit/actor/hello/hello.js +2 -2
- package/types/devvit/actor/hello/hello.twirp-client.d.ts +19 -0
- package/types/devvit/actor/hello/hello.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/hello/hello.twirp-client.js +23 -0
- package/types/devvit/actor/hello/hello.twirp.d.ts +12 -0
- package/types/devvit/actor/hello/hello.twirp.d.ts.map +1 -0
- package/types/devvit/actor/hello/hello.twirp.js +88 -0
- package/types/devvit/actor/payments/v1alpha/payments.d.ts +2 -2
- package/types/devvit/actor/payments/v1alpha/payments.js +3 -3
- package/types/devvit/actor/payments/v1alpha/payments.twirp-client.d.ts +22 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp-client.js +35 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp.d.ts +14 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp.d.ts.map +1 -0
- package/types/devvit/actor/payments/v1alpha/payments.twirp.js +156 -0
- package/types/devvit/actor/permissions/permissions.d.ts +1 -1
- package/types/devvit/actor/permissions/permissions.js +2 -2
- package/types/devvit/actor/producer/producer.d.ts +1 -1
- package/types/devvit/actor/producer/producer.js +2 -2
- package/types/devvit/actor/producer/producer.twirp-client.d.ts +19 -0
- package/types/devvit/actor/producer/producer.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/producer/producer.twirp-client.js +23 -0
- package/types/devvit/actor/producer/producer.twirp.d.ts +12 -0
- package/types/devvit/actor/producer/producer.twirp.d.ts.map +1 -0
- package/types/devvit/actor/producer/producer.twirp.js +88 -0
- package/types/devvit/actor/reddit/context_action.d.ts +6 -6
- package/types/devvit/actor/reddit/context_action.js +7 -7
- package/types/devvit/actor/reddit/context_action.twirp-client.d.ts +23 -0
- package/types/devvit/actor/reddit/context_action.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/reddit/context_action.twirp-client.js +36 -0
- package/types/devvit/actor/reddit/context_action.twirp.d.ts +15 -0
- package/types/devvit/actor/reddit/context_action.twirp.d.ts.map +1 -0
- package/types/devvit/actor/reddit/context_action.twirp.js +157 -0
- package/types/devvit/actor/reddit/post_filter.d.ts +2 -2
- package/types/devvit/actor/reddit/post_filter.js +3 -3
- package/types/devvit/actor/reddit/post_filter.twirp-client.d.ts +19 -0
- package/types/devvit/actor/reddit/post_filter.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/reddit/post_filter.twirp-client.js +23 -0
- package/types/devvit/actor/reddit/post_filter.twirp.d.ts +12 -0
- package/types/devvit/actor/reddit/post_filter.twirp.d.ts.map +1 -0
- package/types/devvit/actor/reddit/post_filter.twirp.js +88 -0
- package/types/devvit/actor/scheduler/action.d.ts +1 -1
- package/types/devvit/actor/scheduler/action.js +3 -3
- package/types/devvit/actor/scheduler/handler.d.ts +3 -3
- package/types/devvit/actor/scheduler/handler.js +3 -3
- package/types/devvit/actor/scheduler/handler.twirp-client.d.ts +20 -0
- package/types/devvit/actor/scheduler/handler.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/scheduler/handler.twirp-client.js +24 -0
- package/types/devvit/actor/scheduler/handler.twirp.d.ts +13 -0
- package/types/devvit/actor/scheduler/handler.twirp.d.ts.map +1 -0
- package/types/devvit/actor/scheduler/handler.twirp.js +91 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.d.ts +2 -2
- package/types/devvit/actor/settings/v1alpha/app_settings.js +2 -2
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.d.ts +22 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp-client.js +35 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp.d.ts +14 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/app_settings.twirp.js +156 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.d.ts +2 -2
- package/types/devvit/actor/settings/v1alpha/installation_settings.js +2 -2
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.d.ts +22 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp-client.js +35 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.d.ts +14 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/installation_settings.twirp.js +156 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.d.ts +2 -2
- package/types/devvit/actor/settings/v1alpha/instance_settings.js +2 -2
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.d.ts +22 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp-client.js +35 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.d.ts +14 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.d.ts.map +1 -0
- package/types/devvit/actor/settings/v1alpha/instance_settings.twirp.js +156 -0
- package/types/devvit/actor/settings/v1alpha/shared.d.ts +3 -3
- package/types/devvit/actor/settings/v1alpha/shared.js +4 -4
- package/types/devvit/actor/test/streams.d.ts +1 -1
- package/types/devvit/actor/test/streams.js +2 -2
- package/types/devvit/actor/test/streams.twirp-client.d.ts +25 -0
- package/types/devvit/actor/test/streams.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/test/streams.twirp-client.js +47 -0
- package/types/devvit/actor/test/streams.twirp.d.ts +16 -0
- package/types/devvit/actor/test/streams.twirp.d.ts.map +1 -0
- package/types/devvit/actor/test/streams.twirp.js +222 -0
- package/types/devvit/actor/test/wrappertypes.d.ts +2 -2
- package/types/devvit/actor/test/wrappertypes.js +2 -2
- package/types/devvit/actor/test/wrappertypes.twirp-client.d.ts +40 -0
- package/types/devvit/actor/test/wrappertypes.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/test/wrappertypes.twirp-client.js +107 -0
- package/types/devvit/actor/test/wrappertypes.twirp.d.ts +26 -0
- package/types/devvit/actor/test/wrappertypes.twirp.d.ts.map +1 -0
- package/types/devvit/actor/test/wrappertypes.twirp.js +552 -0
- package/types/devvit/actor/user_configurable/user_configurable.d.ts +2 -2
- package/types/devvit/actor/user_configurable/user_configurable.js +3 -3
- package/types/devvit/actor/user_configurable/user_configurable.twirp-client.d.ts +23 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp-client.d.ts.map +1 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp-client.js +36 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp.d.ts +15 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp.d.ts.map +1 -0
- package/types/devvit/actor/user_configurable/user_configurable.twirp.js +157 -0
- package/types/devvit/cli/playtest.d.ts +2 -2
- package/types/devvit/cli/playtest.js +3 -3
- package/types/devvit/data/api/v1alpha/admin.d.ts +4 -4
- package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
- package/types/devvit/data/api/v1alpha/admin.js +6 -6
- package/types/devvit/debug/v1alpha/debug.d.ts +1 -1
- package/types/devvit/debug/v1alpha/debug.js +2 -2
- package/types/devvit/debug/v1alpha/debug.twirp-client.d.ts +19 -0
- package/types/devvit/debug/v1alpha/debug.twirp-client.d.ts.map +1 -0
- package/types/devvit/debug/v1alpha/debug.twirp-client.js +23 -0
- package/types/devvit/debug/v1alpha/debug.twirp.d.ts +12 -0
- package/types/devvit/debug/v1alpha/debug.twirp.d.ts.map +1 -0
- package/types/devvit/debug/v1alpha/debug.twirp.js +88 -0
- package/types/devvit/dev_portal/actor/actor_type.d.ts +1 -1
- package/types/devvit/dev_portal/actor/actor_type.js +2 -2
- package/types/devvit/dev_portal/admin/waitlist_admin.d.ts +3 -3
- package/types/devvit/dev_portal/admin/waitlist_admin.js +5 -5
- package/types/devvit/dev_portal/app/app.d.ts +4 -4
- package/types/devvit/dev_portal/app/app.js +6 -6
- package/types/devvit/dev_portal/app/info/app_info.d.ts +4 -4
- package/types/devvit/dev_portal/app/info/app_info.js +6 -6
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.d.ts +6 -6
- package/types/devvit/dev_portal/app_publish_request/app_publish_request.js +8 -8
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.d.ts +2 -2
- package/types/devvit/dev_portal/app_publish_request/note/app_publish_request_note.js +4 -4
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.d.ts +2 -2
- package/types/devvit/dev_portal/app_publish_request/review/app_publish_request_review.js +4 -4
- package/types/devvit/dev_portal/app_settings/app_settings.d.ts +3 -3
- package/types/devvit/dev_portal/app_settings/app_settings.js +4 -4
- package/types/devvit/dev_portal/app_version/app_version.d.ts +7 -7
- package/types/devvit/dev_portal/app_version/app_version.js +9 -9
- package/types/devvit/dev_portal/app_version/info/app_version_info.d.ts +1 -1
- package/types/devvit/dev_portal/app_version/info/app_version_info.js +4 -4
- package/types/devvit/dev_portal/data_api/admin/audit/audit.d.ts +1 -1
- package/types/devvit/dev_portal/data_api/admin/audit/audit.js +3 -3
- package/types/devvit/dev_portal/data_api/admin/auth/auth.d.ts +3 -3
- package/types/devvit/dev_portal/data_api/admin/auth/auth.js +5 -5
- package/types/devvit/dev_portal/data_api/admin/organization/organization.d.ts +2 -2
- package/types/devvit/dev_portal/data_api/admin/organization/organization.js +3 -3
- package/types/devvit/dev_portal/data_api/admin/subscription/subscription.d.ts +4 -4
- package/types/devvit/dev_portal/data_api/admin/subscription/subscription.js +5 -5
- package/types/devvit/dev_portal/dev_portal.d.ts +20 -20
- package/types/devvit/dev_portal/dev_portal.js +20 -20
- package/types/devvit/dev_portal/feedback/feedback.d.ts +1 -1
- package/types/devvit/dev_portal/feedback/feedback.js +2 -2
- package/types/devvit/dev_portal/installation/installation.d.ts +4 -4
- package/types/devvit/dev_portal/installation/installation.js +8 -8
- package/types/devvit/dev_portal/installation_settings/installation_settings.d.ts +3 -3
- package/types/devvit/dev_portal/installation_settings/installation_settings.js +4 -4
- package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.d.ts +2 -2
- package/types/devvit/dev_portal/internal/authorization/v1alpha/authorization.js +3 -3
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +5 -5
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.js +5 -5
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.d.ts +2 -2
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.js +3 -3
- package/types/devvit/dev_portal/internal/media/media.d.ts +1 -1
- package/types/devvit/dev_portal/internal/media/media.js +2 -2
- package/types/devvit/dev_portal/nutrition/nutrition.d.ts +1 -1
- package/types/devvit/dev_portal/nutrition/nutrition.js +2 -2
- package/types/devvit/dev_portal/reddit/redditor.d.ts +1 -1
- package/types/devvit/dev_portal/reddit/redditor.js +2 -2
- package/types/devvit/dev_portal/waitlist/waitlist.d.ts +3 -3
- package/types/devvit/dev_portal/waitlist/waitlist.js +5 -5
- package/types/devvit/events/v1alpha/events.d.ts +6 -6
- package/types/devvit/events/v1alpha/events.d.ts.map +1 -1
- package/types/devvit/events/v1alpha/events.js +17 -17
- package/types/devvit/events/v1alpha/realtime.d.ts +2 -2
- package/types/devvit/events/v1alpha/realtime.js +4 -4
- package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts +23 -0
- package/types/devvit/events/v1alpha/realtime.twirp-client.d.ts.map +1 -0
- package/types/devvit/events/v1alpha/realtime.twirp-client.js +36 -0
- package/types/devvit/events/v1alpha/realtime.twirp.d.ts +15 -0
- package/types/devvit/events/v1alpha/realtime.twirp.d.ts.map +1 -0
- package/types/devvit/events/v1alpha/realtime.twirp.js +157 -0
- package/types/devvit/events/v1alpha/wqcleanup.d.ts +1 -1
- package/types/devvit/events/v1alpha/wqcleanup.js +2 -2
- package/types/devvit/gateway/custom_post_snapshot.d.ts +2 -2
- package/types/devvit/gateway/custom_post_snapshot.js +3 -3
- package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts +20 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp-client.js +24 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts +13 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/custom_post_snapshot.twirp.js +91 -0
- package/types/devvit/gateway/resolvers.d.ts +2 -2
- package/types/devvit/gateway/resolvers.js +3 -3
- package/types/devvit/gateway/resolvers.twirp-client.d.ts +20 -0
- package/types/devvit/gateway/resolvers.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/resolvers.twirp-client.js +24 -0
- package/types/devvit/gateway/resolvers.twirp.d.ts +13 -0
- package/types/devvit/gateway/resolvers.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/resolvers.twirp.js +91 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.d.ts +1 -1
- package/types/devvit/gateway/utils/v1alpha/utilities.js +2 -2
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts +47 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp-client.js +93 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts +28 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/utils/v1alpha/utilities.twirp.js +440 -0
- package/types/devvit/gateway/v1alpha/triggers.d.ts +8 -8
- package/types/devvit/gateway/v1alpha/triggers.d.ts.map +1 -1
- package/types/devvit/gateway/v1alpha/triggers.js +5 -5
- package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts +37 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp-client.d.ts.map +1 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp-client.js +86 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts +25 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp.d.ts.map +1 -0
- package/types/devvit/gateway/v1alpha/triggers.twirp.js +423 -0
- package/types/devvit/gql/snapshot.d.ts +1 -1
- package/types/devvit/gql/snapshot.js +2 -2
- package/types/devvit/gql/subreddit_metadata.d.ts +3 -3
- package/types/devvit/gql/subreddit_metadata.js +4 -4
- package/types/devvit/options/options.d.ts +1 -1
- package/types/devvit/options/options.js +2 -2
- package/types/devvit/payments/v1alpha/order.d.ts +3 -3
- package/types/devvit/payments/v1alpha/order.js +5 -5
- package/types/devvit/payments/v1alpha/product.d.ts +2 -2
- package/types/devvit/payments/v1alpha/product.js +3 -3
- package/types/devvit/plugin/assetresolver/assetresolver.d.ts +1 -1
- package/types/devvit/plugin/assetresolver/assetresolver.js +2 -2
- package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts +22 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp-client.js +35 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts +14 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/assetresolver/assetresolver.twirp.js +156 -0
- package/types/devvit/plugin/builder/builder.d.ts +3 -3
- package/types/devvit/plugin/builder/builder.js +4 -4
- package/types/devvit/plugin/builder/builder.twirp-client.d.ts +23 -0
- package/types/devvit/plugin/builder/builder.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/builder/builder.twirp-client.js +36 -0
- package/types/devvit/plugin/builder/builder.twirp.d.ts +15 -0
- package/types/devvit/plugin/builder/builder.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/builder/builder.twirp.js +154 -0
- package/types/devvit/plugin/buildpack/buildpack.d.ts +2 -2
- package/types/devvit/plugin/buildpack/buildpack.js +2 -2
- package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts +22 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp-client.js +35 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts +14 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/buildpack/buildpack.twirp.js +156 -0
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +4 -4
- package/types/devvit/plugin/buildpack/buildpack_common.js +6 -6
- package/types/devvit/plugin/buildpack/filesystem.d.ts +1 -1
- package/types/devvit/plugin/buildpack/filesystem.js +2 -2
- package/types/devvit/plugin/clock/clock.d.ts +3 -3
- package/types/devvit/plugin/clock/clock.js +3 -3
- package/types/devvit/plugin/clock/clock.twirp-client.d.ts +20 -0
- package/types/devvit/plugin/clock/clock.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/clock/clock.twirp-client.js +24 -0
- package/types/devvit/plugin/clock/clock.twirp.d.ts +13 -0
- package/types/devvit/plugin/clock/clock.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/clock/clock.twirp.js +89 -0
- package/types/devvit/plugin/http/http.d.ts +1 -1
- package/types/devvit/plugin/http/http.js +2 -2
- package/types/devvit/plugin/http/http.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/http/http.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/http/http.twirp-client.js +23 -0
- package/types/devvit/plugin/http/http.twirp.d.ts +12 -0
- package/types/devvit/plugin/http/http.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/http/http.twirp.js +88 -0
- package/types/devvit/plugin/inspector/inspector.d.ts +3 -3
- package/types/devvit/plugin/inspector/inspector.js +4 -4
- package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts +23 -0
- package/types/devvit/plugin/inspector/inspector.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/inspector/inspector.twirp-client.js +36 -0
- package/types/devvit/plugin/inspector/inspector.twirp.d.ts +15 -0
- package/types/devvit/plugin/inspector/inspector.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/inspector/inspector.twirp.js +157 -0
- package/types/devvit/plugin/kvstore/kvstore.d.ts +2 -2
- package/types/devvit/plugin/kvstore/kvstore.js +3 -3
- package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts +29 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp-client.js +60 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts +19 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/kvstore/kvstore.twirp.js +289 -0
- package/types/devvit/plugin/linker/linker.d.ts +4 -4
- package/types/devvit/plugin/linker/linker.js +5 -5
- package/types/devvit/plugin/linker/linker.twirp-client.d.ts +20 -0
- package/types/devvit/plugin/linker/linker.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/linker/linker.twirp-client.js +24 -0
- package/types/devvit/plugin/linker/linker.twirp.d.ts +13 -0
- package/types/devvit/plugin/linker/linker.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/linker/linker.twirp.js +89 -0
- package/types/devvit/plugin/linker/resolver.d.ts +5 -5
- package/types/devvit/plugin/linker/resolver.js +6 -6
- package/types/devvit/plugin/linker/resolver.twirp-client.d.ts +29 -0
- package/types/devvit/plugin/linker/resolver.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/linker/resolver.twirp-client.js +51 -0
- package/types/devvit/plugin/linker/resolver.twirp.d.ts +20 -0
- package/types/devvit/plugin/linker/resolver.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/linker/resolver.twirp.js +226 -0
- package/types/devvit/plugin/logger/logger.d.ts +1 -1
- package/types/devvit/plugin/logger/logger.js +4 -4
- package/types/devvit/plugin/media/media.d.ts +1 -1
- package/types/devvit/plugin/media/media.js +2 -2
- package/types/devvit/plugin/media/media.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/media/media.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/media/media.twirp-client.js +23 -0
- package/types/devvit/plugin/media/media.twirp.d.ts +12 -0
- package/types/devvit/plugin/media/media.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/media/media.twirp.js +88 -0
- package/types/devvit/plugin/modlog/modlog.d.ts +1 -1
- package/types/devvit/plugin/modlog/modlog.js +2 -2
- package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/modlog/modlog.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/modlog/modlog.twirp-client.js +23 -0
- package/types/devvit/plugin/modlog/modlog.twirp.d.ts +12 -0
- package/types/devvit/plugin/modlog/modlog.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/modlog/modlog.twirp.js +88 -0
- package/types/devvit/plugin/payments/v1alpha/payments.d.ts +3 -3
- package/types/devvit/plugin/payments/v1alpha/payments.js +5 -5
- package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts +25 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp-client.js +47 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts +16 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/payments/v1alpha/payments.twirp.js +222 -0
- package/types/devvit/plugin/redditapi/common/common_msg.d.ts +3 -3
- package/types/devvit/plugin/redditapi/common/common_msg.js +6 -6
- package/types/devvit/plugin/redditapi/flair/flair_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/flair/flair_msg.js +3 -3
- package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts +17 -17
- package/types/devvit/plugin/redditapi/flair/flair_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/flair/flair_svc.js +47 -126
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts +60 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp-client.js +181 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts +40 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/flair/flair_svc.twirp.js +950 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/graphql/graphql_msg.js +3 -3
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.d.ts +2 -2
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.js +2 -2
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts +22 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp-client.js +35 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts +14 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/graphql/graphql_svc.twirp.js +156 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +3 -3
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +5 -5
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +27 -27
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +89 -388
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +90 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +301 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +60 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.js +1610 -0
- package/types/devvit/plugin/redditapi/listings/listings_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/listings/listings_msg.js +4 -4
- package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +11 -11
- package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/listings/listings_svc.js +21 -55
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts +41 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp-client.js +108 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts +27 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/listings/listings_svc.twirp.js +553 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/moderation/moderation_msg.js +3 -3
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +28 -28
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.js +81 -361
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts +85 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp-client.js +278 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts +57 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/moderation/moderation_svc.twirp.js +1479 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/modnote/modnote_msg.js +3 -3
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts +8 -8
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.js +14 -59
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts +32 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp-client.js +72 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts +21 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/modnote/modnote_svc.twirp.js +355 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_msg.js +4 -4
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts +21 -21
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.js +46 -142
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts +77 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp-client.js +252 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts +51 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/newmodmail/newmodmail_svc.twirp.js +1345 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/postcollections/postcollections_msg.js +4 -4
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.d.ts +3 -3
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.js +3 -3
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts +50 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp-client.js +144 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts +33 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/postcollections/postcollections_svc.twirp.js +751 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.d.ts +1 -1
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_msg.js +3 -3
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +14 -14
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.js +34 -101
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts +48 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp-client.js +133 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts +32 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.twirp.js +686 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.d.ts +3 -3
- package/types/devvit/plugin/redditapi/subreddits/subreddits_msg.js +5 -5
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +32 -32
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.js +73 -243
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts +100 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp-client.js +338 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts +67 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.twirp.js +1809 -0
- package/types/devvit/plugin/redditapi/users/users_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/users/users_msg.js +4 -4
- package/types/devvit/plugin/redditapi/users/users_svc.d.ts +17 -17
- package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/users/users_svc.js +39 -144
- package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts +58 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp-client.js +170 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts +39 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/users/users_svc.twirp.js +885 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/widgets/widgets_msg.js +4 -4
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts +21 -21
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.js +69 -298
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts +71 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp-client.js +228 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts +47 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/widgets/widgets_svc.twirp.js +1213 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_msg.d.ts +2 -2
- package/types/devvit/plugin/redditapi/wiki/wiki_msg.js +4 -4
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts +13 -18
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.js +28 -79
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts +47 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp-client.js +132 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts +31 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapi/wiki/wiki_svc.twirp.js +685 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.d.ts +4 -4
- package/types/devvit/plugin/redditapiv2/redditapiv2.js +4 -4
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts +24 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp-client.js +37 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts +16 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redditapiv2/redditapiv2.twirp.js +158 -0
- package/types/devvit/plugin/redis/redisapi.d.ts +3 -3
- package/types/devvit/plugin/redis/redisapi.js +4 -4
- package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts +126 -0
- package/types/devvit/plugin/redis/redisapi.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/redis/redisapi.twirp-client.js +445 -0
- package/types/devvit/plugin/redis/redisapi.twirp.d.ts +84 -0
- package/types/devvit/plugin/redis/redisapi.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/redis/redisapi.twirp.js +2402 -0
- package/types/devvit/plugin/scheduler/scheduler.d.ts +4 -4
- package/types/devvit/plugin/scheduler/scheduler.js +6 -6
- package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts +26 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp-client.js +48 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts +17 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/scheduler/scheduler.twirp.js +223 -0
- package/types/devvit/plugin/settings/v1alpha/settings.d.ts +2 -2
- package/types/devvit/plugin/settings/v1alpha/settings.js +4 -4
- package/types/devvit/plugin/streambroker/streambroker.d.ts +2 -2
- package/types/devvit/plugin/streambroker/streambroker.js +3 -3
- package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts +23 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp-client.js +36 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts +15 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/streambroker/streambroker.twirp.js +157 -0
- package/types/devvit/plugin/timer/timer.d.ts +2 -2
- package/types/devvit/plugin/timer/timer.js +3 -3
- package/types/devvit/plugin/timer/timer.twirp-client.d.ts +20 -0
- package/types/devvit/plugin/timer/timer.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/timer/timer.twirp-client.js +24 -0
- package/types/devvit/plugin/timer/timer.twirp.d.ts +13 -0
- package/types/devvit/plugin/timer/timer.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/timer/timer.twirp.js +89 -0
- package/types/devvit/plugin/v2events/v2events.d.ts +1 -1
- package/types/devvit/plugin/v2events/v2events.js +2 -2
- package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts +19 -0
- package/types/devvit/plugin/v2events/v2events.twirp-client.d.ts.map +1 -0
- package/types/devvit/plugin/v2events/v2events.twirp-client.js +23 -0
- package/types/devvit/plugin/v2events/v2events.twirp.d.ts +12 -0
- package/types/devvit/plugin/v2events/v2events.twirp.d.ts.map +1 -0
- package/types/devvit/plugin/v2events/v2events.twirp.js +88 -0
- package/types/devvit/reddit/comment.d.ts +2 -2
- package/types/devvit/reddit/comment.js +5 -5
- package/types/devvit/reddit/common.d.ts +1 -1
- package/types/devvit/reddit/common.js +3 -3
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.d.ts +3 -3
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.js +5 -5
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts +22 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.d.ts.map +1 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp-client.js +35 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts +14 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.d.ts.map +1 -0
- package/types/devvit/reddit/custom_actions/v2alpha/custom_actions.twirp.js +156 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +4 -4
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.js +6 -6
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts +26 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.d.ts.map +1 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp-client.js +48 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts +17 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.d.ts.map +1 -0
- package/types/devvit/reddit/custom_post/v1alpha/custom_post.twirp.js +223 -0
- package/types/devvit/reddit/post.d.ts +2 -2
- package/types/devvit/reddit/post.js +5 -5
- package/types/devvit/reddit/subreddit.d.ts +2 -2
- package/types/devvit/reddit/subreddit.js +4 -4
- package/types/devvit/reddit/user.d.ts +2 -2
- package/types/devvit/reddit/user.js +4 -4
- package/types/devvit/reddit/v2alpha/commentv2.d.ts +1 -1
- package/types/devvit/reddit/v2alpha/commentv2.js +2 -2
- package/types/devvit/reddit/v2alpha/flair.d.ts +1 -1
- package/types/devvit/reddit/v2alpha/flair.js +2 -2
- package/types/devvit/reddit/v2alpha/modaction.d.ts +5 -5
- package/types/devvit/reddit/v2alpha/modaction.js +7 -7
- package/types/devvit/reddit/v2alpha/modmail.d.ts +3 -3
- package/types/devvit/reddit/v2alpha/modmail.js +5 -5
- package/types/devvit/reddit/v2alpha/postv2.d.ts +2 -2
- package/types/devvit/reddit/v2alpha/postv2.js +3 -3
- package/types/devvit/reddit/v2alpha/subredditv2.d.ts +1 -1
- package/types/devvit/reddit/v2alpha/subredditv2.js +2 -2
- package/types/devvit/reddit/v2alpha/userv2.d.ts +2 -2
- package/types/devvit/reddit/v2alpha/userv2.js +3 -3
- package/types/devvit/remote_logger/remote_logger.d.ts +2 -2
- package/types/devvit/remote_logger/remote_logger.js +4 -4
- package/types/devvit/runtime/actor/bootstrap.d.ts +3 -3
- package/types/devvit/runtime/actor/bootstrap.js +3 -3
- package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts +23 -0
- package/types/devvit/runtime/actor/bootstrap.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/bootstrap.twirp-client.js +36 -0
- package/types/devvit/runtime/actor/bootstrap.twirp.d.ts +15 -0
- package/types/devvit/runtime/actor/bootstrap.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/bootstrap.twirp.js +157 -0
- package/types/devvit/runtime/actor/echo.d.ts +2 -2
- package/types/devvit/runtime/actor/echo.js +2 -2
- package/types/devvit/runtime/actor/echo.twirp-client.d.ts +19 -0
- package/types/devvit/runtime/actor/echo.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/echo.twirp-client.js +23 -0
- package/types/devvit/runtime/actor/echo.twirp.d.ts +12 -0
- package/types/devvit/runtime/actor/echo.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/echo.twirp.js +88 -0
- package/types/devvit/runtime/actor/runtime.d.ts +3 -3
- package/types/devvit/runtime/actor/runtime.js +4 -4
- package/types/devvit/runtime/actor/runtime.twirp-client.d.ts +24 -0
- package/types/devvit/runtime/actor/runtime.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/runtime.twirp-client.js +37 -0
- package/types/devvit/runtime/actor/runtime.twirp.d.ts +16 -0
- package/types/devvit/runtime/actor/runtime.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/runtime.twirp.js +158 -0
- package/types/devvit/runtime/actor/supervisor.d.ts +4 -4
- package/types/devvit/runtime/actor/supervisor.js +5 -5
- package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts +28 -0
- package/types/devvit/runtime/actor/supervisor.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/supervisor.twirp-client.js +50 -0
- package/types/devvit/runtime/actor/supervisor.twirp.d.ts +19 -0
- package/types/devvit/runtime/actor/supervisor.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/supervisor.twirp.js +225 -0
- package/types/devvit/runtime/actor/v1alpha/health.d.ts +2 -2
- package/types/devvit/runtime/actor/v1alpha/health.js +4 -4
- package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts +20 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp-client.d.ts.map +1 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp-client.js +24 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts +13 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp.d.ts.map +1 -0
- package/types/devvit/runtime/actor/v1alpha/health.twirp.js +89 -0
- package/types/devvit/runtime/bundle.d.ts +2 -2
- package/types/devvit/runtime/bundle.js +5 -5
- package/types/devvit/runtime/envelope.d.ts +2 -2
- package/types/devvit/runtime/envelope.js +4 -4
- package/types/devvit/runtime/runtime_common.d.ts +1 -1
- package/types/devvit/runtime/runtime_common.js +3 -3
- package/types/devvit/runtime/serializable.d.ts +1 -1
- package/types/devvit/runtime/serializable.js +2 -2
- package/types/devvit/service/bundle_service.d.ts +3 -3
- package/types/devvit/service/bundle_service.js +4 -4
- package/types/devvit/service/bundle_service.twirp-client.d.ts +24 -0
- package/types/devvit/service/bundle_service.twirp-client.d.ts.map +1 -0
- package/types/devvit/service/bundle_service.twirp-client.js +37 -0
- package/types/devvit/service/bundle_service.twirp.d.ts +16 -0
- package/types/devvit/service/bundle_service.twirp.d.ts.map +1 -0
- package/types/devvit/service/bundle_service.twirp.js +158 -0
- package/types/devvit/service/envelope_service.d.ts +3 -3
- package/types/devvit/service/envelope_service.js +3 -3
- package/types/devvit/service/envelope_service.twirp-client.d.ts +20 -0
- package/types/devvit/service/envelope_service.twirp-client.d.ts.map +1 -0
- package/types/devvit/service/envelope_service.twirp-client.js +24 -0
- package/types/devvit/service/envelope_service.twirp.d.ts +13 -0
- package/types/devvit/service/envelope_service.twirp.d.ts.map +1 -0
- package/types/devvit/service/envelope_service.twirp.js +89 -0
- package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.d.ts +4 -4
- package/types/devvit/triggers/v1alpha/triggers.d.ts.map +1 -0
- package/types/devvit/{data/triggers → triggers}/v1alpha/triggers.js +6 -6
- package/types/devvit/ui/block_kit/v1beta/attributes.d.ts +2 -2
- package/types/devvit/ui/block_kit/v1beta/attributes.js +4 -4
- package/types/devvit/ui/block_kit/v1beta/block.d.ts +3 -3
- package/types/devvit/ui/block_kit/v1beta/block.js +5 -5
- package/types/devvit/ui/block_kit/v1beta/rendering.d.ts +3 -3
- package/types/devvit/ui/block_kit/v1beta/rendering.js +5 -5
- package/types/devvit/ui/block_kit/v1beta/ui.d.ts +5 -5
- package/types/devvit/ui/block_kit/v1beta/ui.js +7 -7
- package/types/devvit/ui/common/v1alpha/common.d.ts +1 -1
- package/types/devvit/ui/common/v1alpha/common.js +2 -2
- package/types/devvit/ui/effects/v1alpha/create_order.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/create_order.js +2 -2
- package/types/devvit/ui/effects/v1alpha/effect.d.ts +9 -9
- package/types/devvit/ui/effects/v1alpha/effect.js +10 -10
- package/types/devvit/ui/effects/v1alpha/interval.d.ts +2 -2
- package/types/devvit/ui/effects/v1alpha/interval.js +4 -4
- package/types/devvit/ui/effects/v1alpha/navigate_to_url.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/navigate_to_url.js +2 -2
- package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.d.ts +2 -2
- package/types/devvit/ui/effects/v1alpha/realtime_subscriptions.js +3 -3
- package/types/devvit/ui/effects/v1alpha/reload_part.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/reload_part.js +2 -2
- package/types/devvit/ui/effects/v1alpha/rerender_ui.d.ts +1 -1
- package/types/devvit/ui/effects/v1alpha/rerender_ui.js +2 -2
- package/types/devvit/ui/effects/v1alpha/show_form.d.ts +3 -3
- package/types/devvit/ui/effects/v1alpha/show_form.js +4 -4
- package/types/devvit/ui/effects/v1alpha/show_toast.d.ts +2 -2
- package/types/devvit/ui/effects/v1alpha/show_toast.js +3 -3
- package/types/devvit/ui/events/v1alpha/event.d.ts +5 -5
- package/types/devvit/ui/events/v1alpha/event.js +8 -8
- package/types/devvit/ui/events/v1alpha/handle_ui.d.ts +3 -3
- package/types/devvit/ui/events/v1alpha/handle_ui.js +5 -5
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts +19 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.d.ts.map +1 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp-client.js +23 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts +12 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp.d.ts.map +1 -0
- package/types/devvit/ui/events/v1alpha/handle_ui.twirp.js +88 -0
- package/types/devvit/ui/form_builder/v1alpha/field.d.ts +3 -3
- package/types/devvit/ui/form_builder/v1alpha/field.js +4 -4
- package/types/devvit/ui/form_builder/v1alpha/form.d.ts +2 -2
- package/types/devvit/ui/form_builder/v1alpha/form.js +3 -3
- package/types/devvit/ui/form_builder/v1alpha/value.d.ts +2 -2
- package/types/devvit/ui/form_builder/v1alpha/value.js +3 -3
- package/types/devvit/ui/toast/toast.d.ts +1 -1
- package/types/devvit/ui/toast/toast.js +2 -2
- package/types/devvit/uuid.d.ts +1 -1
- package/types/devvit/uuid.js +2 -2
- package/types/google/protobuf/any.d.ts +5 -10
- package/types/google/protobuf/any.d.ts.map +1 -1
- package/types/google/protobuf/any.js +2 -2
- package/types/google/protobuf/descriptor.d.ts +39 -435
- package/types/google/protobuf/descriptor.d.ts.map +1 -1
- package/types/google/protobuf/descriptor.js +101 -1605
- package/types/google/protobuf/duration.d.ts +1 -1
- package/types/google/protobuf/duration.js +2 -2
- package/types/google/protobuf/empty.d.ts +1 -1
- package/types/google/protobuf/empty.js +2 -2
- package/types/google/protobuf/struct.d.ts +2 -2
- package/types/google/protobuf/struct.js +3 -3
- package/types/google/protobuf/timestamp.d.ts +2 -2
- package/types/google/protobuf/timestamp.js +2 -2
- package/types/google/protobuf/wrappers.d.ts +1 -1
- package/types/google/protobuf/wrappers.js +2 -2
- package/types/typeRegistry.d.ts +1 -1
- package/schema/buf.strict.yaml +0 -7
- package/schema/buf.yaml +0 -8
- package/types/devvit/data/api/admin/v1alpha/audit.d.ts +0 -159
- package/types/devvit/data/api/admin/v1alpha/audit.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/audit.js +0 -776
- package/types/devvit/data/api/admin/v1alpha/auth.d.ts +0 -127
- package/types/devvit/data/api/admin/v1alpha/auth.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/auth.js +0 -599
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts +0 -122
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/organization.js +0 -522
- package/types/devvit/data/api/admin/v1alpha/service.d.ts +0 -855
- package/types/devvit/data/api/admin/v1alpha/service.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/service.js +0 -254
- package/types/devvit/data/api/admin/v1alpha/subscription.d.ts +0 -167
- package/types/devvit/data/api/admin/v1alpha/subscription.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/subscription.js +0 -885
- package/types/devvit/data/api/admin/v1alpha/ui.d.ts +0 -52
- package/types/devvit/data/api/admin/v1alpha/ui.d.ts.map +0 -1
- package/types/devvit/data/api/admin/v1alpha/ui.js +0 -198
- package/types/devvit/data/api/v1alpha/filter.d.ts +0 -160
- package/types/devvit/data/api/v1alpha/filter.d.ts.map +0 -1
- package/types/devvit/data/api/v1alpha/filter.js +0 -983
- package/types/devvit/data/api/v1alpha/intake.d.ts +0 -85
- package/types/devvit/data/api/v1alpha/intake.d.ts.map +0 -1
- package/types/devvit/data/api/v1alpha/intake.js +0 -160
- package/types/devvit/data/triggers/v1alpha/triggers.d.ts.map +0 -1
- /package/schema/{buf → .snootobuf/deps/buf}/validate/expression.proto +0 -0
- /package/schema/{buf → .snootobuf/deps/buf}/validate/priv/private.proto +0 -0
- /package/schema/{buf → .snootobuf/deps/buf}/validate/validate.proto +0 -0
- /package/schema/{google → .snootobuf/deps/google}/api/annotations.proto +0 -0
- /package/schema/{openapi → .snootobuf/deps/openapi}/helper.proto +0 -0
package/schema/.snootobuf/output/devenv_ts_files/devvit/dev_portal/installation/installation.ts
ADDED
@@ -0,0 +1,1882 @@
|
|
1
|
+
// @generated by protobuf-ts 2.9.3
|
2
|
+
// @generated from protobuf file "devvit/dev_portal/installation/installation.proto" (package "devvit.dev_portal.installation", syntax proto3)
|
3
|
+
// tslint:disable
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
6
|
+
import { WireType } from "@protobuf-ts/runtime";
|
7
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
8
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
9
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
10
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
11
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
12
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
13
|
+
import { AppInfo } from "../app/info/app_info";
|
14
|
+
import { AppVersionInfo } from "../app_version/info/app_version_info";
|
15
|
+
import { ThingType } from "../../reddit/thing_type";
|
16
|
+
import { Timestamp } from "../../../google/protobuf/timestamp";
|
17
|
+
import { BoolValue } from "../../../google/protobuf/wrappers";
|
18
|
+
import { Struct } from "../../../google/protobuf/struct";
|
19
|
+
import { InstallationType } from "../app_version/info/app_version_info";
|
20
|
+
import { StringValue } from "../../../google/protobuf/wrappers";
|
21
|
+
// endregion
|
22
|
+
|
23
|
+
/**
|
24
|
+
* @generated from protobuf message devvit.dev_portal.installation.OptionalUpgradeStrategy
|
25
|
+
*/
|
26
|
+
export interface OptionalUpgradeStrategy {
|
27
|
+
/**
|
28
|
+
* @generated from protobuf field: devvit.dev_portal.installation.UpgradeStrategy value = 1;
|
29
|
+
*/
|
30
|
+
value: UpgradeStrategy;
|
31
|
+
}
|
32
|
+
// region Request parameters
|
33
|
+
|
34
|
+
/**
|
35
|
+
* Used to install an app
|
36
|
+
*
|
37
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationCreationRequest
|
38
|
+
*/
|
39
|
+
export interface InstallationCreationRequest {
|
40
|
+
/**
|
41
|
+
* What app version are you installing?
|
42
|
+
*
|
43
|
+
* @generated from protobuf field: string app_version_id = 1;
|
44
|
+
*/
|
45
|
+
appVersionId: string;
|
46
|
+
/**
|
47
|
+
* Who should this app run as? If not present, will be run by the user installing the app.
|
48
|
+
*
|
49
|
+
* @generated from protobuf field: google.protobuf.StringValue run_as = 3;
|
50
|
+
*/
|
51
|
+
runAs?: StringValue;
|
52
|
+
/**
|
53
|
+
* What type of install is this?
|
54
|
+
*
|
55
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 4;
|
56
|
+
*/
|
57
|
+
type: InstallationType;
|
58
|
+
/**
|
59
|
+
* The subreddit or user to install on. For subreddits, this is either the
|
60
|
+
* subreddit name (**with** "r/" prefix) or its t5 ID. Eg, `r/beta` or
|
61
|
+
* `t5_15e`. For users, this is the username (**with** "u/" prefix) or the t2 ID.
|
62
|
+
*
|
63
|
+
* @generated from protobuf field: string location = 5;
|
64
|
+
*/
|
65
|
+
location: string;
|
66
|
+
/**
|
67
|
+
* What is the installation's upgrade strategy?
|
68
|
+
*
|
69
|
+
* @generated from protobuf field: devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 6;
|
70
|
+
*/
|
71
|
+
upgradeStrategy: UpgradeStrategy;
|
72
|
+
/**
|
73
|
+
* If applicable, what is the configuration for that upgrade strategy?
|
74
|
+
*
|
75
|
+
* @generated from protobuf field: google.protobuf.Struct upgrade_strategy_config = 7;
|
76
|
+
*/
|
77
|
+
upgradeStrategyConfig?: Struct;
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* Used to update an existing installation's information.
|
81
|
+
* If a field is optional, omitting it will leave its value unchanged.
|
82
|
+
*
|
83
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationUpdateRequest
|
84
|
+
*/
|
85
|
+
export interface InstallationUpdateRequest {
|
86
|
+
/**
|
87
|
+
* What is the ID of the installation you want to change?
|
88
|
+
*
|
89
|
+
* @generated from protobuf field: string id = 1;
|
90
|
+
*/
|
91
|
+
id: string;
|
92
|
+
/**
|
93
|
+
* Who should this app run as? If not present, will be run by the user installing the app.
|
94
|
+
*
|
95
|
+
* @generated from protobuf field: google.protobuf.StringValue run_as = 3;
|
96
|
+
*/
|
97
|
+
runAs?: StringValue;
|
98
|
+
// installed_by, install type, location, and version are not editable
|
99
|
+
|
100
|
+
/**
|
101
|
+
* What is the installation's upgrade strategy?
|
102
|
+
*
|
103
|
+
* @generated from protobuf field: devvit.dev_portal.installation.OptionalUpgradeStrategy upgrade_strategy = 4;
|
104
|
+
*/
|
105
|
+
upgradeStrategy?: OptionalUpgradeStrategy;
|
106
|
+
/**
|
107
|
+
* If applicable, what is the configuration for that upgrade strategy?
|
108
|
+
*
|
109
|
+
* @generated from protobuf field: google.protobuf.Struct upgrade_strategy_config = 5;
|
110
|
+
*/
|
111
|
+
upgradeStrategyConfig?: Struct;
|
112
|
+
/**
|
113
|
+
* * Disable this installation of the app?
|
114
|
+
*
|
115
|
+
* @generated from protobuf field: google.protobuf.BoolValue is_enabled = 6;
|
116
|
+
*/
|
117
|
+
isEnabled?: BoolValue;
|
118
|
+
}
|
119
|
+
/**
|
120
|
+
* Used to upgrade an existing installation to a newer version.
|
121
|
+
*
|
122
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeRequest
|
123
|
+
*/
|
124
|
+
export interface InstallationUpgradeRequest {
|
125
|
+
/**
|
126
|
+
* What is the ID of the installation you want to change?
|
127
|
+
*
|
128
|
+
* @generated from protobuf field: string id = 1;
|
129
|
+
*/
|
130
|
+
id: string;
|
131
|
+
/**
|
132
|
+
* What version of the app are you upgrading to? (NOTE: This must be a version of
|
133
|
+
* the same app, and must be a later version than the one currently installed.)
|
134
|
+
* If not given, we will upgrade you to the latest non-prerelease version of the app.
|
135
|
+
*
|
136
|
+
* @generated from protobuf field: google.protobuf.StringValue app_version_id = 2;
|
137
|
+
*/
|
138
|
+
appVersionId?: StringValue;
|
139
|
+
}
|
140
|
+
/**
|
141
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeManyRequest
|
142
|
+
*/
|
143
|
+
export interface InstallationUpgradeManyRequest {
|
144
|
+
/**
|
145
|
+
* What are the IDs of the installations you want to change?
|
146
|
+
*
|
147
|
+
* @generated from protobuf field: repeated string ids = 1;
|
148
|
+
*/
|
149
|
+
ids: string[];
|
150
|
+
/**
|
151
|
+
* What version of the app are you upgrading them all to? (NOTE: This must be a version
|
152
|
+
* of the same app, and must be a later version than the one currently installed.)
|
153
|
+
*
|
154
|
+
* @generated from protobuf field: string app_version_id = 2;
|
155
|
+
*/
|
156
|
+
appVersionId: string;
|
157
|
+
}
|
158
|
+
/**
|
159
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetByAppNameAndInstallLocationRequest
|
160
|
+
*/
|
161
|
+
export interface GetByAppNameAndInstallLocationRequest {
|
162
|
+
/**
|
163
|
+
* What is the slug of the app you're looking for?
|
164
|
+
*
|
165
|
+
* @generated from protobuf field: string slug = 1;
|
166
|
+
*/
|
167
|
+
slug: string;
|
168
|
+
/**
|
169
|
+
* What type of install are you looking for?
|
170
|
+
*
|
171
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 2;
|
172
|
+
*/
|
173
|
+
type: InstallationType;
|
174
|
+
/**
|
175
|
+
* What is the install location?
|
176
|
+
*
|
177
|
+
* @generated from protobuf field: string location = 3;
|
178
|
+
*/
|
179
|
+
location: string;
|
180
|
+
}
|
181
|
+
/**
|
182
|
+
* Used to get all installs in a given location
|
183
|
+
*
|
184
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetAllWithInstallLocationRequest
|
185
|
+
*/
|
186
|
+
export interface GetAllWithInstallLocationRequest {
|
187
|
+
/**
|
188
|
+
* What type of install are you looking for?
|
189
|
+
*
|
190
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 1;
|
191
|
+
*/
|
192
|
+
type: InstallationType;
|
193
|
+
/**
|
194
|
+
* What is the install location?
|
195
|
+
*
|
196
|
+
* @generated from protobuf field: string location = 2;
|
197
|
+
*/
|
198
|
+
location: string;
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* Used to get all installs made by a given user
|
202
|
+
*
|
203
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetAllWithInstallerRequest
|
204
|
+
*/
|
205
|
+
export interface GetAllWithInstallerRequest {
|
206
|
+
/**
|
207
|
+
* Whose installs are you looking for? (Can be a t2_ ID or a username, with or without `u/`)
|
208
|
+
*
|
209
|
+
* @generated from protobuf field: string installed_by = 1;
|
210
|
+
*/
|
211
|
+
installedBy: string;
|
212
|
+
}
|
213
|
+
/**
|
214
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetAllWithAppRequest
|
215
|
+
*/
|
216
|
+
export interface GetAllWithAppRequest {
|
217
|
+
/**
|
218
|
+
* @generated from protobuf field: string id = 1;
|
219
|
+
*/
|
220
|
+
id: string;
|
221
|
+
/**
|
222
|
+
* @generated from protobuf field: optional uint32 take = 2;
|
223
|
+
*/
|
224
|
+
take?: number;
|
225
|
+
/**
|
226
|
+
* @generated from protobuf field: optional uint32 skip = 3;
|
227
|
+
*/
|
228
|
+
skip?: number;
|
229
|
+
}
|
230
|
+
/**
|
231
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetInstallationHistoryRequest
|
232
|
+
*/
|
233
|
+
export interface GetInstallationHistoryRequest {
|
234
|
+
/**
|
235
|
+
* What type of install are you looking for?
|
236
|
+
*
|
237
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 1;
|
238
|
+
*/
|
239
|
+
type: InstallationType;
|
240
|
+
/**
|
241
|
+
* What is the install location?
|
242
|
+
*
|
243
|
+
* @generated from protobuf field: string location = 2;
|
244
|
+
*/
|
245
|
+
location: string;
|
246
|
+
/**
|
247
|
+
* What is the slug of the app you're looking for?
|
248
|
+
*
|
249
|
+
* @generated from protobuf field: string slug = 3;
|
250
|
+
*/
|
251
|
+
slug: string;
|
252
|
+
/**
|
253
|
+
* Beginning of the time window. Leaving null implies searching from the beginning
|
254
|
+
*
|
255
|
+
* @generated from protobuf field: google.protobuf.Timestamp from = 4;
|
256
|
+
*/
|
257
|
+
from?: Timestamp;
|
258
|
+
/**
|
259
|
+
* End of the time window. Leaving null implies searching until the end
|
260
|
+
*
|
261
|
+
* @generated from protobuf field: google.protobuf.Timestamp to = 5;
|
262
|
+
*/
|
263
|
+
to?: Timestamp;
|
264
|
+
/**
|
265
|
+
* How many items to take?
|
266
|
+
*
|
267
|
+
* @generated from protobuf field: optional uint32 take = 6;
|
268
|
+
*/
|
269
|
+
take?: number;
|
270
|
+
/**
|
271
|
+
* Order in desc order?
|
272
|
+
*
|
273
|
+
* @generated from protobuf field: optional bool desc = 7;
|
274
|
+
*/
|
275
|
+
desc?: boolean;
|
276
|
+
}
|
277
|
+
// endregion
|
278
|
+
|
279
|
+
// region Response types
|
280
|
+
|
281
|
+
/**
|
282
|
+
* Contains the details of an installation. For field documentation, refer to the Prisma schema.
|
283
|
+
*
|
284
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationInfo
|
285
|
+
*/
|
286
|
+
export interface InstallationInfo {
|
287
|
+
/**
|
288
|
+
* @generated from protobuf field: string id = 1;
|
289
|
+
*/
|
290
|
+
id: string;
|
291
|
+
/**
|
292
|
+
* string installed_by = 2; // Removed; see DX-2225
|
293
|
+
*
|
294
|
+
* @generated from protobuf field: devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 3;
|
295
|
+
*/
|
296
|
+
upgradeStrategy: UpgradeStrategy;
|
297
|
+
/**
|
298
|
+
* @generated from protobuf field: google.protobuf.Struct upgrade_strategy_config = 4;
|
299
|
+
*/
|
300
|
+
upgradeStrategyConfig?: Struct;
|
301
|
+
/**
|
302
|
+
* @generated from protobuf field: google.protobuf.StringValue run_as = 6;
|
303
|
+
*/
|
304
|
+
runAs?: StringValue;
|
305
|
+
/**
|
306
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 7;
|
307
|
+
*/
|
308
|
+
type: InstallationType;
|
309
|
+
/**
|
310
|
+
* @generated from protobuf field: devvit.dev_portal.installation.InstallationLocationInfo location = 8;
|
311
|
+
*/
|
312
|
+
location?: InstallationLocationInfo;
|
313
|
+
/**
|
314
|
+
* @generated from protobuf field: bool is_enabled = 9;
|
315
|
+
*/
|
316
|
+
isEnabled: boolean;
|
317
|
+
}
|
318
|
+
/**
|
319
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationLocationInfo
|
320
|
+
*/
|
321
|
+
export interface InstallationLocationInfo {
|
322
|
+
/**
|
323
|
+
* Thing ID; eg, `"t5_2qh0u"` for r/pics.
|
324
|
+
*
|
325
|
+
* @generated from protobuf field: string id = 1;
|
326
|
+
*/
|
327
|
+
id: string;
|
328
|
+
/**
|
329
|
+
* Thing name; eg, `"pics"` for r/pics.
|
330
|
+
*
|
331
|
+
* @generated from protobuf field: string name = 2;
|
332
|
+
*/
|
333
|
+
name: string;
|
334
|
+
/**
|
335
|
+
* Thing type; eg, `5`, the second character in `t5_2qh0u` for r/pics.
|
336
|
+
*
|
337
|
+
* @generated from protobuf field: devvit.reddit.ThingType type = 3;
|
338
|
+
*/
|
339
|
+
type: ThingType;
|
340
|
+
/**
|
341
|
+
* @generated from protobuf field: google.protobuf.StringValue icon = 4;
|
342
|
+
*/
|
343
|
+
icon?: StringValue;
|
344
|
+
/**
|
345
|
+
* @generated from protobuf field: bool is_nsfw = 5;
|
346
|
+
*/
|
347
|
+
isNsfw: boolean;
|
348
|
+
/**
|
349
|
+
* True if subreddit is private and the user isn't a member, or is not visible to viewer for any other reason.
|
350
|
+
*
|
351
|
+
* @generated from protobuf field: bool is_unavailable = 6;
|
352
|
+
*/
|
353
|
+
isUnavailable: boolean;
|
354
|
+
}
|
355
|
+
/**
|
356
|
+
* Contains details of an installation, as well as what version was installed.
|
357
|
+
*
|
358
|
+
* @generated from protobuf message devvit.dev_portal.installation.FullInstallationInfo
|
359
|
+
*/
|
360
|
+
export interface FullInstallationInfo {
|
361
|
+
/**
|
362
|
+
* @generated from protobuf field: devvit.dev_portal.installation.InstallationInfo installation = 1;
|
363
|
+
*/
|
364
|
+
installation?: InstallationInfo;
|
365
|
+
/**
|
366
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2;
|
367
|
+
*/
|
368
|
+
appVersion?: AppVersionInfo;
|
369
|
+
/**
|
370
|
+
* @generated from protobuf field: devvit.dev_portal.app.info.AppInfo app = 3;
|
371
|
+
*/
|
372
|
+
app?: AppInfo;
|
373
|
+
}
|
374
|
+
/**
|
375
|
+
* Contains multiple installations.
|
376
|
+
*
|
377
|
+
* @generated from protobuf message devvit.dev_portal.installation.MultipleInstallationsResponse
|
378
|
+
*/
|
379
|
+
export interface MultipleInstallationsResponse {
|
380
|
+
/**
|
381
|
+
* @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationInfo installations = 1;
|
382
|
+
*/
|
383
|
+
installations: InstallationInfo[];
|
384
|
+
}
|
385
|
+
/**
|
386
|
+
* Contains multiple installations and their app versions.
|
387
|
+
*
|
388
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetAllWithAppResponse
|
389
|
+
*/
|
390
|
+
export interface GetAllWithAppResponse {
|
391
|
+
/**
|
392
|
+
* @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationWithAppVersion installations = 1;
|
393
|
+
*/
|
394
|
+
installations: InstallationWithAppVersion[];
|
395
|
+
}
|
396
|
+
/**
|
397
|
+
* An app installation with its matching app version info.
|
398
|
+
*
|
399
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationWithAppVersion
|
400
|
+
*/
|
401
|
+
export interface InstallationWithAppVersion {
|
402
|
+
/**
|
403
|
+
* @generated from protobuf field: devvit.dev_portal.installation.InstallationInfo installation = 1;
|
404
|
+
*/
|
405
|
+
installation?: InstallationInfo;
|
406
|
+
/**
|
407
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2;
|
408
|
+
*/
|
409
|
+
appVersion?: AppVersionInfo;
|
410
|
+
}
|
411
|
+
/**
|
412
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse
|
413
|
+
*/
|
414
|
+
export interface InstallationUpgradeManyResponse {
|
415
|
+
/**
|
416
|
+
* @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails details = 1;
|
417
|
+
*/
|
418
|
+
details: InstallationUpgradeManyResponse_InstallationUpgradeDetails[];
|
419
|
+
}
|
420
|
+
/**
|
421
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails
|
422
|
+
*/
|
423
|
+
export interface InstallationUpgradeManyResponse_InstallationUpgradeDetails {
|
424
|
+
/**
|
425
|
+
* @generated from protobuf field: string id = 1;
|
426
|
+
*/
|
427
|
+
id: string;
|
428
|
+
/**
|
429
|
+
* @generated from protobuf field: bool success = 2;
|
430
|
+
*/
|
431
|
+
success: boolean;
|
432
|
+
/**
|
433
|
+
* @generated from protobuf field: optional string error = 3;
|
434
|
+
*/
|
435
|
+
error?: string;
|
436
|
+
}
|
437
|
+
/**
|
438
|
+
* Location details of an install including type of location, id, and name. (subreddit or user)
|
439
|
+
*
|
440
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationLocationDetails
|
441
|
+
*/
|
442
|
+
export interface InstallationLocationDetails {
|
443
|
+
/**
|
444
|
+
* @generated from protobuf field: devvit.dev_portal.app_version.info.InstallationType type = 1;
|
445
|
+
*/
|
446
|
+
type: InstallationType;
|
447
|
+
/**
|
448
|
+
* The thing ID of the valid install location
|
449
|
+
*
|
450
|
+
* @generated from protobuf field: string thing_id = 2;
|
451
|
+
*/
|
452
|
+
thingId: string;
|
453
|
+
/**
|
454
|
+
* The name of the valid install location
|
455
|
+
*
|
456
|
+
* @generated from protobuf field: string name = 3;
|
457
|
+
*/
|
458
|
+
name: string;
|
459
|
+
}
|
460
|
+
/**
|
461
|
+
* @generated from protobuf message devvit.dev_portal.installation.InstallationHistoryEvent
|
462
|
+
*/
|
463
|
+
export interface InstallationHistoryEvent {
|
464
|
+
/**
|
465
|
+
* Who triggered this event? t2_id of the user
|
466
|
+
*
|
467
|
+
* @generated from protobuf field: string user_id = 1;
|
468
|
+
*/
|
469
|
+
userId: string;
|
470
|
+
/**
|
471
|
+
* What kind of event what it?
|
472
|
+
*
|
473
|
+
* @generated from protobuf field: devvit.dev_portal.installation.InstallationHistoryEventName name = 2;
|
474
|
+
*/
|
475
|
+
name: InstallationHistoryEventName;
|
476
|
+
/**
|
477
|
+
* What are the details of the event?
|
478
|
+
*
|
479
|
+
* @generated from protobuf field: map<string, string> details = 3;
|
480
|
+
*/
|
481
|
+
details: {
|
482
|
+
[key: string]: string;
|
483
|
+
};
|
484
|
+
/**
|
485
|
+
* When did this event occur?
|
486
|
+
*
|
487
|
+
* @generated from protobuf field: google.protobuf.Timestamp created_at = 4;
|
488
|
+
*/
|
489
|
+
createdAt?: Timestamp;
|
490
|
+
}
|
491
|
+
/**
|
492
|
+
* @generated from protobuf message devvit.dev_portal.installation.GetInstallationHistoryResponse
|
493
|
+
*/
|
494
|
+
export interface GetInstallationHistoryResponse {
|
495
|
+
/**
|
496
|
+
* The events that occurred during the window specified by the request query
|
497
|
+
*
|
498
|
+
* @generated from protobuf field: repeated devvit.dev_portal.installation.InstallationHistoryEvent events = 1;
|
499
|
+
*/
|
500
|
+
events: InstallationHistoryEvent[];
|
501
|
+
/**
|
502
|
+
* Total number of events associated with the installation
|
503
|
+
*
|
504
|
+
* @generated from protobuf field: uint32 total_events = 8;
|
505
|
+
*/
|
506
|
+
totalEvents: number;
|
507
|
+
}
|
508
|
+
// region Enums
|
509
|
+
|
510
|
+
/**
|
511
|
+
* @generated from protobuf enum devvit.dev_portal.installation.UpgradeStrategy
|
512
|
+
*/
|
513
|
+
export enum UpgradeStrategy {
|
514
|
+
/**
|
515
|
+
* @generated from protobuf enum value: MANUAL = 0;
|
516
|
+
*/
|
517
|
+
MANUAL = 0,
|
518
|
+
/**
|
519
|
+
* @generated from protobuf enum value: AUTOMATIC = 1;
|
520
|
+
*/
|
521
|
+
AUTOMATIC = 1
|
522
|
+
}
|
523
|
+
/**
|
524
|
+
* @generated from protobuf enum devvit.dev_portal.installation.InstallationHistoryEventName
|
525
|
+
*/
|
526
|
+
export enum InstallationHistoryEventName {
|
527
|
+
/**
|
528
|
+
* @generated from protobuf enum value: INSTALLED = 0;
|
529
|
+
*/
|
530
|
+
INSTALLED = 0,
|
531
|
+
/**
|
532
|
+
* @generated from protobuf enum value: UNINSTALLED = 1;
|
533
|
+
*/
|
534
|
+
UNINSTALLED = 1,
|
535
|
+
/**
|
536
|
+
* @generated from protobuf enum value: UPGRADED = 2;
|
537
|
+
*/
|
538
|
+
UPGRADED = 2,
|
539
|
+
/**
|
540
|
+
* @generated from protobuf enum value: UPDATED = 3;
|
541
|
+
*/
|
542
|
+
UPDATED = 3,
|
543
|
+
/**
|
544
|
+
* @generated from protobuf enum value: BANNED = 4;
|
545
|
+
*/
|
546
|
+
BANNED = 4,
|
547
|
+
/**
|
548
|
+
* @generated from protobuf enum value: UNBANNED = 5;
|
549
|
+
*/
|
550
|
+
UNBANNED = 5
|
551
|
+
}
|
552
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
553
|
+
class OptionalUpgradeStrategy$Type extends MessageType<OptionalUpgradeStrategy> {
|
554
|
+
constructor() {
|
555
|
+
super("devvit.dev_portal.installation.OptionalUpgradeStrategy", [
|
556
|
+
{ no: 1, name: "value", kind: "enum", T: () => ["devvit.dev_portal.installation.UpgradeStrategy", UpgradeStrategy] }
|
557
|
+
]);
|
558
|
+
}
|
559
|
+
create(value?: PartialMessage<OptionalUpgradeStrategy>): OptionalUpgradeStrategy {
|
560
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
561
|
+
message.value = 0;
|
562
|
+
if (value !== undefined)
|
563
|
+
reflectionMergePartial<OptionalUpgradeStrategy>(this, message, value);
|
564
|
+
return message;
|
565
|
+
}
|
566
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OptionalUpgradeStrategy): OptionalUpgradeStrategy {
|
567
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
568
|
+
while (reader.pos < end) {
|
569
|
+
let [fieldNo, wireType] = reader.tag();
|
570
|
+
switch (fieldNo) {
|
571
|
+
case /* devvit.dev_portal.installation.UpgradeStrategy value */ 1:
|
572
|
+
message.value = reader.int32();
|
573
|
+
break;
|
574
|
+
default:
|
575
|
+
let u = options.readUnknownField;
|
576
|
+
if (u === "throw")
|
577
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
578
|
+
let d = reader.skip(wireType);
|
579
|
+
if (u !== false)
|
580
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
581
|
+
}
|
582
|
+
}
|
583
|
+
return message;
|
584
|
+
}
|
585
|
+
internalBinaryWrite(message: OptionalUpgradeStrategy, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
586
|
+
/* devvit.dev_portal.installation.UpgradeStrategy value = 1; */
|
587
|
+
if (message.value !== 0)
|
588
|
+
writer.tag(1, WireType.Varint).int32(message.value);
|
589
|
+
let u = options.writeUnknownFields;
|
590
|
+
if (u !== false)
|
591
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
592
|
+
return writer;
|
593
|
+
}
|
594
|
+
}
|
595
|
+
/**
|
596
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.OptionalUpgradeStrategy
|
597
|
+
*/
|
598
|
+
export const OptionalUpgradeStrategy = new OptionalUpgradeStrategy$Type();
|
599
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
600
|
+
class InstallationCreationRequest$Type extends MessageType<InstallationCreationRequest> {
|
601
|
+
constructor() {
|
602
|
+
super("devvit.dev_portal.installation.InstallationCreationRequest", [
|
603
|
+
{ no: 1, name: "app_version_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
604
|
+
{ no: 3, name: "run_as", kind: "message", T: () => StringValue },
|
605
|
+
{ no: 4, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
|
606
|
+
{ no: 5, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
607
|
+
{ no: 6, name: "upgrade_strategy", kind: "enum", T: () => ["devvit.dev_portal.installation.UpgradeStrategy", UpgradeStrategy] },
|
608
|
+
{ no: 7, name: "upgrade_strategy_config", kind: "message", T: () => Struct }
|
609
|
+
]);
|
610
|
+
}
|
611
|
+
create(value?: PartialMessage<InstallationCreationRequest>): InstallationCreationRequest {
|
612
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
613
|
+
message.appVersionId = "";
|
614
|
+
message.type = 0;
|
615
|
+
message.location = "";
|
616
|
+
message.upgradeStrategy = 0;
|
617
|
+
if (value !== undefined)
|
618
|
+
reflectionMergePartial<InstallationCreationRequest>(this, message, value);
|
619
|
+
return message;
|
620
|
+
}
|
621
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationCreationRequest): InstallationCreationRequest {
|
622
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
623
|
+
while (reader.pos < end) {
|
624
|
+
let [fieldNo, wireType] = reader.tag();
|
625
|
+
switch (fieldNo) {
|
626
|
+
case /* string app_version_id */ 1:
|
627
|
+
message.appVersionId = reader.string();
|
628
|
+
break;
|
629
|
+
case /* google.protobuf.StringValue run_as */ 3:
|
630
|
+
message.runAs = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.runAs);
|
631
|
+
break;
|
632
|
+
case /* devvit.dev_portal.app_version.info.InstallationType type */ 4:
|
633
|
+
message.type = reader.int32();
|
634
|
+
break;
|
635
|
+
case /* string location */ 5:
|
636
|
+
message.location = reader.string();
|
637
|
+
break;
|
638
|
+
case /* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy */ 6:
|
639
|
+
message.upgradeStrategy = reader.int32();
|
640
|
+
break;
|
641
|
+
case /* google.protobuf.Struct upgrade_strategy_config */ 7:
|
642
|
+
message.upgradeStrategyConfig = Struct.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategyConfig);
|
643
|
+
break;
|
644
|
+
default:
|
645
|
+
let u = options.readUnknownField;
|
646
|
+
if (u === "throw")
|
647
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
648
|
+
let d = reader.skip(wireType);
|
649
|
+
if (u !== false)
|
650
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
651
|
+
}
|
652
|
+
}
|
653
|
+
return message;
|
654
|
+
}
|
655
|
+
internalBinaryWrite(message: InstallationCreationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
656
|
+
/* string app_version_id = 1; */
|
657
|
+
if (message.appVersionId !== "")
|
658
|
+
writer.tag(1, WireType.LengthDelimited).string(message.appVersionId);
|
659
|
+
/* google.protobuf.StringValue run_as = 3; */
|
660
|
+
if (message.runAs)
|
661
|
+
StringValue.internalBinaryWrite(message.runAs, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
662
|
+
/* devvit.dev_portal.app_version.info.InstallationType type = 4; */
|
663
|
+
if (message.type !== 0)
|
664
|
+
writer.tag(4, WireType.Varint).int32(message.type);
|
665
|
+
/* string location = 5; */
|
666
|
+
if (message.location !== "")
|
667
|
+
writer.tag(5, WireType.LengthDelimited).string(message.location);
|
668
|
+
/* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 6; */
|
669
|
+
if (message.upgradeStrategy !== 0)
|
670
|
+
writer.tag(6, WireType.Varint).int32(message.upgradeStrategy);
|
671
|
+
/* google.protobuf.Struct upgrade_strategy_config = 7; */
|
672
|
+
if (message.upgradeStrategyConfig)
|
673
|
+
Struct.internalBinaryWrite(message.upgradeStrategyConfig, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
674
|
+
let u = options.writeUnknownFields;
|
675
|
+
if (u !== false)
|
676
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
677
|
+
return writer;
|
678
|
+
}
|
679
|
+
}
|
680
|
+
/**
|
681
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationCreationRequest
|
682
|
+
*/
|
683
|
+
export const InstallationCreationRequest = new InstallationCreationRequest$Type();
|
684
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
685
|
+
class InstallationUpdateRequest$Type extends MessageType<InstallationUpdateRequest> {
|
686
|
+
constructor() {
|
687
|
+
super("devvit.dev_portal.installation.InstallationUpdateRequest", [
|
688
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
689
|
+
{ no: 3, name: "run_as", kind: "message", T: () => StringValue },
|
690
|
+
{ no: 4, name: "upgrade_strategy", kind: "message", T: () => OptionalUpgradeStrategy },
|
691
|
+
{ no: 5, name: "upgrade_strategy_config", kind: "message", T: () => Struct },
|
692
|
+
{ no: 6, name: "is_enabled", kind: "message", T: () => BoolValue }
|
693
|
+
]);
|
694
|
+
}
|
695
|
+
create(value?: PartialMessage<InstallationUpdateRequest>): InstallationUpdateRequest {
|
696
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
697
|
+
message.id = "";
|
698
|
+
if (value !== undefined)
|
699
|
+
reflectionMergePartial<InstallationUpdateRequest>(this, message, value);
|
700
|
+
return message;
|
701
|
+
}
|
702
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpdateRequest): InstallationUpdateRequest {
|
703
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
704
|
+
while (reader.pos < end) {
|
705
|
+
let [fieldNo, wireType] = reader.tag();
|
706
|
+
switch (fieldNo) {
|
707
|
+
case /* string id */ 1:
|
708
|
+
message.id = reader.string();
|
709
|
+
break;
|
710
|
+
case /* google.protobuf.StringValue run_as */ 3:
|
711
|
+
message.runAs = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.runAs);
|
712
|
+
break;
|
713
|
+
case /* devvit.dev_portal.installation.OptionalUpgradeStrategy upgrade_strategy */ 4:
|
714
|
+
message.upgradeStrategy = OptionalUpgradeStrategy.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategy);
|
715
|
+
break;
|
716
|
+
case /* google.protobuf.Struct upgrade_strategy_config */ 5:
|
717
|
+
message.upgradeStrategyConfig = Struct.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategyConfig);
|
718
|
+
break;
|
719
|
+
case /* google.protobuf.BoolValue is_enabled */ 6:
|
720
|
+
message.isEnabled = BoolValue.internalBinaryRead(reader, reader.uint32(), options, message.isEnabled);
|
721
|
+
break;
|
722
|
+
default:
|
723
|
+
let u = options.readUnknownField;
|
724
|
+
if (u === "throw")
|
725
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
726
|
+
let d = reader.skip(wireType);
|
727
|
+
if (u !== false)
|
728
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
729
|
+
}
|
730
|
+
}
|
731
|
+
return message;
|
732
|
+
}
|
733
|
+
internalBinaryWrite(message: InstallationUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
734
|
+
/* string id = 1; */
|
735
|
+
if (message.id !== "")
|
736
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
737
|
+
/* google.protobuf.StringValue run_as = 3; */
|
738
|
+
if (message.runAs)
|
739
|
+
StringValue.internalBinaryWrite(message.runAs, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
740
|
+
/* devvit.dev_portal.installation.OptionalUpgradeStrategy upgrade_strategy = 4; */
|
741
|
+
if (message.upgradeStrategy)
|
742
|
+
OptionalUpgradeStrategy.internalBinaryWrite(message.upgradeStrategy, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
743
|
+
/* google.protobuf.Struct upgrade_strategy_config = 5; */
|
744
|
+
if (message.upgradeStrategyConfig)
|
745
|
+
Struct.internalBinaryWrite(message.upgradeStrategyConfig, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
746
|
+
/* google.protobuf.BoolValue is_enabled = 6; */
|
747
|
+
if (message.isEnabled)
|
748
|
+
BoolValue.internalBinaryWrite(message.isEnabled, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
749
|
+
let u = options.writeUnknownFields;
|
750
|
+
if (u !== false)
|
751
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
752
|
+
return writer;
|
753
|
+
}
|
754
|
+
}
|
755
|
+
/**
|
756
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpdateRequest
|
757
|
+
*/
|
758
|
+
export const InstallationUpdateRequest = new InstallationUpdateRequest$Type();
|
759
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
760
|
+
class InstallationUpgradeRequest$Type extends MessageType<InstallationUpgradeRequest> {
|
761
|
+
constructor() {
|
762
|
+
super("devvit.dev_portal.installation.InstallationUpgradeRequest", [
|
763
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
764
|
+
{ no: 2, name: "app_version_id", kind: "message", T: () => StringValue }
|
765
|
+
]);
|
766
|
+
}
|
767
|
+
create(value?: PartialMessage<InstallationUpgradeRequest>): InstallationUpgradeRequest {
|
768
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
769
|
+
message.id = "";
|
770
|
+
if (value !== undefined)
|
771
|
+
reflectionMergePartial<InstallationUpgradeRequest>(this, message, value);
|
772
|
+
return message;
|
773
|
+
}
|
774
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeRequest): InstallationUpgradeRequest {
|
775
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
776
|
+
while (reader.pos < end) {
|
777
|
+
let [fieldNo, wireType] = reader.tag();
|
778
|
+
switch (fieldNo) {
|
779
|
+
case /* string id */ 1:
|
780
|
+
message.id = reader.string();
|
781
|
+
break;
|
782
|
+
case /* google.protobuf.StringValue app_version_id */ 2:
|
783
|
+
message.appVersionId = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.appVersionId);
|
784
|
+
break;
|
785
|
+
default:
|
786
|
+
let u = options.readUnknownField;
|
787
|
+
if (u === "throw")
|
788
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
789
|
+
let d = reader.skip(wireType);
|
790
|
+
if (u !== false)
|
791
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
792
|
+
}
|
793
|
+
}
|
794
|
+
return message;
|
795
|
+
}
|
796
|
+
internalBinaryWrite(message: InstallationUpgradeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
797
|
+
/* string id = 1; */
|
798
|
+
if (message.id !== "")
|
799
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
800
|
+
/* google.protobuf.StringValue app_version_id = 2; */
|
801
|
+
if (message.appVersionId)
|
802
|
+
StringValue.internalBinaryWrite(message.appVersionId, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
803
|
+
let u = options.writeUnknownFields;
|
804
|
+
if (u !== false)
|
805
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
806
|
+
return writer;
|
807
|
+
}
|
808
|
+
}
|
809
|
+
/**
|
810
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeRequest
|
811
|
+
*/
|
812
|
+
export const InstallationUpgradeRequest = new InstallationUpgradeRequest$Type();
|
813
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
814
|
+
class InstallationUpgradeManyRequest$Type extends MessageType<InstallationUpgradeManyRequest> {
|
815
|
+
constructor() {
|
816
|
+
super("devvit.dev_portal.installation.InstallationUpgradeManyRequest", [
|
817
|
+
{ no: 1, name: "ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
818
|
+
{ no: 2, name: "app_version_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
819
|
+
]);
|
820
|
+
}
|
821
|
+
create(value?: PartialMessage<InstallationUpgradeManyRequest>): InstallationUpgradeManyRequest {
|
822
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
823
|
+
message.ids = [];
|
824
|
+
message.appVersionId = "";
|
825
|
+
if (value !== undefined)
|
826
|
+
reflectionMergePartial<InstallationUpgradeManyRequest>(this, message, value);
|
827
|
+
return message;
|
828
|
+
}
|
829
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeManyRequest): InstallationUpgradeManyRequest {
|
830
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
831
|
+
while (reader.pos < end) {
|
832
|
+
let [fieldNo, wireType] = reader.tag();
|
833
|
+
switch (fieldNo) {
|
834
|
+
case /* repeated string ids */ 1:
|
835
|
+
message.ids.push(reader.string());
|
836
|
+
break;
|
837
|
+
case /* string app_version_id */ 2:
|
838
|
+
message.appVersionId = reader.string();
|
839
|
+
break;
|
840
|
+
default:
|
841
|
+
let u = options.readUnknownField;
|
842
|
+
if (u === "throw")
|
843
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
844
|
+
let d = reader.skip(wireType);
|
845
|
+
if (u !== false)
|
846
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
847
|
+
}
|
848
|
+
}
|
849
|
+
return message;
|
850
|
+
}
|
851
|
+
internalBinaryWrite(message: InstallationUpgradeManyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
852
|
+
/* repeated string ids = 1; */
|
853
|
+
for (let i = 0; i < message.ids.length; i++)
|
854
|
+
writer.tag(1, WireType.LengthDelimited).string(message.ids[i]);
|
855
|
+
/* string app_version_id = 2; */
|
856
|
+
if (message.appVersionId !== "")
|
857
|
+
writer.tag(2, WireType.LengthDelimited).string(message.appVersionId);
|
858
|
+
let u = options.writeUnknownFields;
|
859
|
+
if (u !== false)
|
860
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
861
|
+
return writer;
|
862
|
+
}
|
863
|
+
}
|
864
|
+
/**
|
865
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeManyRequest
|
866
|
+
*/
|
867
|
+
export const InstallationUpgradeManyRequest = new InstallationUpgradeManyRequest$Type();
|
868
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
869
|
+
class GetByAppNameAndInstallLocationRequest$Type extends MessageType<GetByAppNameAndInstallLocationRequest> {
|
870
|
+
constructor() {
|
871
|
+
super("devvit.dev_portal.installation.GetByAppNameAndInstallLocationRequest", [
|
872
|
+
{ no: 1, name: "slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
873
|
+
{ no: 2, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
|
874
|
+
{ no: 3, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
875
|
+
]);
|
876
|
+
}
|
877
|
+
create(value?: PartialMessage<GetByAppNameAndInstallLocationRequest>): GetByAppNameAndInstallLocationRequest {
|
878
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
879
|
+
message.slug = "";
|
880
|
+
message.type = 0;
|
881
|
+
message.location = "";
|
882
|
+
if (value !== undefined)
|
883
|
+
reflectionMergePartial<GetByAppNameAndInstallLocationRequest>(this, message, value);
|
884
|
+
return message;
|
885
|
+
}
|
886
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetByAppNameAndInstallLocationRequest): GetByAppNameAndInstallLocationRequest {
|
887
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
888
|
+
while (reader.pos < end) {
|
889
|
+
let [fieldNo, wireType] = reader.tag();
|
890
|
+
switch (fieldNo) {
|
891
|
+
case /* string slug */ 1:
|
892
|
+
message.slug = reader.string();
|
893
|
+
break;
|
894
|
+
case /* devvit.dev_portal.app_version.info.InstallationType type */ 2:
|
895
|
+
message.type = reader.int32();
|
896
|
+
break;
|
897
|
+
case /* string location */ 3:
|
898
|
+
message.location = reader.string();
|
899
|
+
break;
|
900
|
+
default:
|
901
|
+
let u = options.readUnknownField;
|
902
|
+
if (u === "throw")
|
903
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
904
|
+
let d = reader.skip(wireType);
|
905
|
+
if (u !== false)
|
906
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
907
|
+
}
|
908
|
+
}
|
909
|
+
return message;
|
910
|
+
}
|
911
|
+
internalBinaryWrite(message: GetByAppNameAndInstallLocationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
912
|
+
/* string slug = 1; */
|
913
|
+
if (message.slug !== "")
|
914
|
+
writer.tag(1, WireType.LengthDelimited).string(message.slug);
|
915
|
+
/* devvit.dev_portal.app_version.info.InstallationType type = 2; */
|
916
|
+
if (message.type !== 0)
|
917
|
+
writer.tag(2, WireType.Varint).int32(message.type);
|
918
|
+
/* string location = 3; */
|
919
|
+
if (message.location !== "")
|
920
|
+
writer.tag(3, WireType.LengthDelimited).string(message.location);
|
921
|
+
let u = options.writeUnknownFields;
|
922
|
+
if (u !== false)
|
923
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
924
|
+
return writer;
|
925
|
+
}
|
926
|
+
}
|
927
|
+
/**
|
928
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetByAppNameAndInstallLocationRequest
|
929
|
+
*/
|
930
|
+
export const GetByAppNameAndInstallLocationRequest = new GetByAppNameAndInstallLocationRequest$Type();
|
931
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
932
|
+
class GetAllWithInstallLocationRequest$Type extends MessageType<GetAllWithInstallLocationRequest> {
|
933
|
+
constructor() {
|
934
|
+
super("devvit.dev_portal.installation.GetAllWithInstallLocationRequest", [
|
935
|
+
{ no: 1, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
|
936
|
+
{ no: 2, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
937
|
+
]);
|
938
|
+
}
|
939
|
+
create(value?: PartialMessage<GetAllWithInstallLocationRequest>): GetAllWithInstallLocationRequest {
|
940
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
941
|
+
message.type = 0;
|
942
|
+
message.location = "";
|
943
|
+
if (value !== undefined)
|
944
|
+
reflectionMergePartial<GetAllWithInstallLocationRequest>(this, message, value);
|
945
|
+
return message;
|
946
|
+
}
|
947
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithInstallLocationRequest): GetAllWithInstallLocationRequest {
|
948
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
949
|
+
while (reader.pos < end) {
|
950
|
+
let [fieldNo, wireType] = reader.tag();
|
951
|
+
switch (fieldNo) {
|
952
|
+
case /* devvit.dev_portal.app_version.info.InstallationType type */ 1:
|
953
|
+
message.type = reader.int32();
|
954
|
+
break;
|
955
|
+
case /* string location */ 2:
|
956
|
+
message.location = reader.string();
|
957
|
+
break;
|
958
|
+
default:
|
959
|
+
let u = options.readUnknownField;
|
960
|
+
if (u === "throw")
|
961
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
962
|
+
let d = reader.skip(wireType);
|
963
|
+
if (u !== false)
|
964
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
965
|
+
}
|
966
|
+
}
|
967
|
+
return message;
|
968
|
+
}
|
969
|
+
internalBinaryWrite(message: GetAllWithInstallLocationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
970
|
+
/* devvit.dev_portal.app_version.info.InstallationType type = 1; */
|
971
|
+
if (message.type !== 0)
|
972
|
+
writer.tag(1, WireType.Varint).int32(message.type);
|
973
|
+
/* string location = 2; */
|
974
|
+
if (message.location !== "")
|
975
|
+
writer.tag(2, WireType.LengthDelimited).string(message.location);
|
976
|
+
let u = options.writeUnknownFields;
|
977
|
+
if (u !== false)
|
978
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
979
|
+
return writer;
|
980
|
+
}
|
981
|
+
}
|
982
|
+
/**
|
983
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithInstallLocationRequest
|
984
|
+
*/
|
985
|
+
export const GetAllWithInstallLocationRequest = new GetAllWithInstallLocationRequest$Type();
|
986
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
987
|
+
class GetAllWithInstallerRequest$Type extends MessageType<GetAllWithInstallerRequest> {
|
988
|
+
constructor() {
|
989
|
+
super("devvit.dev_portal.installation.GetAllWithInstallerRequest", [
|
990
|
+
{ no: 1, name: "installed_by", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
991
|
+
]);
|
992
|
+
}
|
993
|
+
create(value?: PartialMessage<GetAllWithInstallerRequest>): GetAllWithInstallerRequest {
|
994
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
995
|
+
message.installedBy = "";
|
996
|
+
if (value !== undefined)
|
997
|
+
reflectionMergePartial<GetAllWithInstallerRequest>(this, message, value);
|
998
|
+
return message;
|
999
|
+
}
|
1000
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithInstallerRequest): GetAllWithInstallerRequest {
|
1001
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1002
|
+
while (reader.pos < end) {
|
1003
|
+
let [fieldNo, wireType] = reader.tag();
|
1004
|
+
switch (fieldNo) {
|
1005
|
+
case /* string installed_by */ 1:
|
1006
|
+
message.installedBy = reader.string();
|
1007
|
+
break;
|
1008
|
+
default:
|
1009
|
+
let u = options.readUnknownField;
|
1010
|
+
if (u === "throw")
|
1011
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1012
|
+
let d = reader.skip(wireType);
|
1013
|
+
if (u !== false)
|
1014
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1015
|
+
}
|
1016
|
+
}
|
1017
|
+
return message;
|
1018
|
+
}
|
1019
|
+
internalBinaryWrite(message: GetAllWithInstallerRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1020
|
+
/* string installed_by = 1; */
|
1021
|
+
if (message.installedBy !== "")
|
1022
|
+
writer.tag(1, WireType.LengthDelimited).string(message.installedBy);
|
1023
|
+
let u = options.writeUnknownFields;
|
1024
|
+
if (u !== false)
|
1025
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1026
|
+
return writer;
|
1027
|
+
}
|
1028
|
+
}
|
1029
|
+
/**
|
1030
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithInstallerRequest
|
1031
|
+
*/
|
1032
|
+
export const GetAllWithInstallerRequest = new GetAllWithInstallerRequest$Type();
|
1033
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1034
|
+
class GetAllWithAppRequest$Type extends MessageType<GetAllWithAppRequest> {
|
1035
|
+
constructor() {
|
1036
|
+
super("devvit.dev_portal.installation.GetAllWithAppRequest", [
|
1037
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1038
|
+
{ no: 2, name: "take", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
1039
|
+
{ no: 3, name: "skip", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ }
|
1040
|
+
]);
|
1041
|
+
}
|
1042
|
+
create(value?: PartialMessage<GetAllWithAppRequest>): GetAllWithAppRequest {
|
1043
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1044
|
+
message.id = "";
|
1045
|
+
if (value !== undefined)
|
1046
|
+
reflectionMergePartial<GetAllWithAppRequest>(this, message, value);
|
1047
|
+
return message;
|
1048
|
+
}
|
1049
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithAppRequest): GetAllWithAppRequest {
|
1050
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1051
|
+
while (reader.pos < end) {
|
1052
|
+
let [fieldNo, wireType] = reader.tag();
|
1053
|
+
switch (fieldNo) {
|
1054
|
+
case /* string id */ 1:
|
1055
|
+
message.id = reader.string();
|
1056
|
+
break;
|
1057
|
+
case /* optional uint32 take */ 2:
|
1058
|
+
message.take = reader.uint32();
|
1059
|
+
break;
|
1060
|
+
case /* optional uint32 skip */ 3:
|
1061
|
+
message.skip = reader.uint32();
|
1062
|
+
break;
|
1063
|
+
default:
|
1064
|
+
let u = options.readUnknownField;
|
1065
|
+
if (u === "throw")
|
1066
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1067
|
+
let d = reader.skip(wireType);
|
1068
|
+
if (u !== false)
|
1069
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1070
|
+
}
|
1071
|
+
}
|
1072
|
+
return message;
|
1073
|
+
}
|
1074
|
+
internalBinaryWrite(message: GetAllWithAppRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1075
|
+
/* string id = 1; */
|
1076
|
+
if (message.id !== "")
|
1077
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
1078
|
+
/* optional uint32 take = 2; */
|
1079
|
+
if (message.take !== undefined)
|
1080
|
+
writer.tag(2, WireType.Varint).uint32(message.take);
|
1081
|
+
/* optional uint32 skip = 3; */
|
1082
|
+
if (message.skip !== undefined)
|
1083
|
+
writer.tag(3, WireType.Varint).uint32(message.skip);
|
1084
|
+
let u = options.writeUnknownFields;
|
1085
|
+
if (u !== false)
|
1086
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1087
|
+
return writer;
|
1088
|
+
}
|
1089
|
+
}
|
1090
|
+
/**
|
1091
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithAppRequest
|
1092
|
+
*/
|
1093
|
+
export const GetAllWithAppRequest = new GetAllWithAppRequest$Type();
|
1094
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1095
|
+
class GetInstallationHistoryRequest$Type extends MessageType<GetInstallationHistoryRequest> {
|
1096
|
+
constructor() {
|
1097
|
+
super("devvit.dev_portal.installation.GetInstallationHistoryRequest", [
|
1098
|
+
{ no: 1, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
|
1099
|
+
{ no: 2, name: "location", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1100
|
+
{ no: 3, name: "slug", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1101
|
+
{ no: 4, name: "from", kind: "message", T: () => Timestamp },
|
1102
|
+
{ no: 5, name: "to", kind: "message", T: () => Timestamp },
|
1103
|
+
{ no: 6, name: "take", kind: "scalar", opt: true, T: 13 /*ScalarType.UINT32*/ },
|
1104
|
+
{ no: 7, name: "desc", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
|
1105
|
+
]);
|
1106
|
+
}
|
1107
|
+
create(value?: PartialMessage<GetInstallationHistoryRequest>): GetInstallationHistoryRequest {
|
1108
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1109
|
+
message.type = 0;
|
1110
|
+
message.location = "";
|
1111
|
+
message.slug = "";
|
1112
|
+
if (value !== undefined)
|
1113
|
+
reflectionMergePartial<GetInstallationHistoryRequest>(this, message, value);
|
1114
|
+
return message;
|
1115
|
+
}
|
1116
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetInstallationHistoryRequest): GetInstallationHistoryRequest {
|
1117
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1118
|
+
while (reader.pos < end) {
|
1119
|
+
let [fieldNo, wireType] = reader.tag();
|
1120
|
+
switch (fieldNo) {
|
1121
|
+
case /* devvit.dev_portal.app_version.info.InstallationType type */ 1:
|
1122
|
+
message.type = reader.int32();
|
1123
|
+
break;
|
1124
|
+
case /* string location */ 2:
|
1125
|
+
message.location = reader.string();
|
1126
|
+
break;
|
1127
|
+
case /* string slug */ 3:
|
1128
|
+
message.slug = reader.string();
|
1129
|
+
break;
|
1130
|
+
case /* google.protobuf.Timestamp from */ 4:
|
1131
|
+
message.from = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.from);
|
1132
|
+
break;
|
1133
|
+
case /* google.protobuf.Timestamp to */ 5:
|
1134
|
+
message.to = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.to);
|
1135
|
+
break;
|
1136
|
+
case /* optional uint32 take */ 6:
|
1137
|
+
message.take = reader.uint32();
|
1138
|
+
break;
|
1139
|
+
case /* optional bool desc */ 7:
|
1140
|
+
message.desc = reader.bool();
|
1141
|
+
break;
|
1142
|
+
default:
|
1143
|
+
let u = options.readUnknownField;
|
1144
|
+
if (u === "throw")
|
1145
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1146
|
+
let d = reader.skip(wireType);
|
1147
|
+
if (u !== false)
|
1148
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1149
|
+
}
|
1150
|
+
}
|
1151
|
+
return message;
|
1152
|
+
}
|
1153
|
+
internalBinaryWrite(message: GetInstallationHistoryRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1154
|
+
/* devvit.dev_portal.app_version.info.InstallationType type = 1; */
|
1155
|
+
if (message.type !== 0)
|
1156
|
+
writer.tag(1, WireType.Varint).int32(message.type);
|
1157
|
+
/* string location = 2; */
|
1158
|
+
if (message.location !== "")
|
1159
|
+
writer.tag(2, WireType.LengthDelimited).string(message.location);
|
1160
|
+
/* string slug = 3; */
|
1161
|
+
if (message.slug !== "")
|
1162
|
+
writer.tag(3, WireType.LengthDelimited).string(message.slug);
|
1163
|
+
/* google.protobuf.Timestamp from = 4; */
|
1164
|
+
if (message.from)
|
1165
|
+
Timestamp.internalBinaryWrite(message.from, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1166
|
+
/* google.protobuf.Timestamp to = 5; */
|
1167
|
+
if (message.to)
|
1168
|
+
Timestamp.internalBinaryWrite(message.to, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
1169
|
+
/* optional uint32 take = 6; */
|
1170
|
+
if (message.take !== undefined)
|
1171
|
+
writer.tag(6, WireType.Varint).uint32(message.take);
|
1172
|
+
/* optional bool desc = 7; */
|
1173
|
+
if (message.desc !== undefined)
|
1174
|
+
writer.tag(7, WireType.Varint).bool(message.desc);
|
1175
|
+
let u = options.writeUnknownFields;
|
1176
|
+
if (u !== false)
|
1177
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1178
|
+
return writer;
|
1179
|
+
}
|
1180
|
+
}
|
1181
|
+
/**
|
1182
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetInstallationHistoryRequest
|
1183
|
+
*/
|
1184
|
+
export const GetInstallationHistoryRequest = new GetInstallationHistoryRequest$Type();
|
1185
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1186
|
+
class InstallationInfo$Type extends MessageType<InstallationInfo> {
|
1187
|
+
constructor() {
|
1188
|
+
super("devvit.dev_portal.installation.InstallationInfo", [
|
1189
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1190
|
+
{ no: 3, name: "upgrade_strategy", kind: "enum", T: () => ["devvit.dev_portal.installation.UpgradeStrategy", UpgradeStrategy] },
|
1191
|
+
{ no: 4, name: "upgrade_strategy_config", kind: "message", T: () => Struct },
|
1192
|
+
{ no: 6, name: "run_as", kind: "message", T: () => StringValue },
|
1193
|
+
{ no: 7, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
|
1194
|
+
{ no: 8, name: "location", kind: "message", T: () => InstallationLocationInfo },
|
1195
|
+
{ no: 9, name: "is_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
1196
|
+
]);
|
1197
|
+
}
|
1198
|
+
create(value?: PartialMessage<InstallationInfo>): InstallationInfo {
|
1199
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1200
|
+
message.id = "";
|
1201
|
+
message.upgradeStrategy = 0;
|
1202
|
+
message.type = 0;
|
1203
|
+
message.isEnabled = false;
|
1204
|
+
if (value !== undefined)
|
1205
|
+
reflectionMergePartial<InstallationInfo>(this, message, value);
|
1206
|
+
return message;
|
1207
|
+
}
|
1208
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationInfo): InstallationInfo {
|
1209
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1210
|
+
while (reader.pos < end) {
|
1211
|
+
let [fieldNo, wireType] = reader.tag();
|
1212
|
+
switch (fieldNo) {
|
1213
|
+
case /* string id */ 1:
|
1214
|
+
message.id = reader.string();
|
1215
|
+
break;
|
1216
|
+
case /* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy */ 3:
|
1217
|
+
message.upgradeStrategy = reader.int32();
|
1218
|
+
break;
|
1219
|
+
case /* google.protobuf.Struct upgrade_strategy_config */ 4:
|
1220
|
+
message.upgradeStrategyConfig = Struct.internalBinaryRead(reader, reader.uint32(), options, message.upgradeStrategyConfig);
|
1221
|
+
break;
|
1222
|
+
case /* google.protobuf.StringValue run_as */ 6:
|
1223
|
+
message.runAs = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.runAs);
|
1224
|
+
break;
|
1225
|
+
case /* devvit.dev_portal.app_version.info.InstallationType type */ 7:
|
1226
|
+
message.type = reader.int32();
|
1227
|
+
break;
|
1228
|
+
case /* devvit.dev_portal.installation.InstallationLocationInfo location */ 8:
|
1229
|
+
message.location = InstallationLocationInfo.internalBinaryRead(reader, reader.uint32(), options, message.location);
|
1230
|
+
break;
|
1231
|
+
case /* bool is_enabled */ 9:
|
1232
|
+
message.isEnabled = reader.bool();
|
1233
|
+
break;
|
1234
|
+
default:
|
1235
|
+
let u = options.readUnknownField;
|
1236
|
+
if (u === "throw")
|
1237
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1238
|
+
let d = reader.skip(wireType);
|
1239
|
+
if (u !== false)
|
1240
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
return message;
|
1244
|
+
}
|
1245
|
+
internalBinaryWrite(message: InstallationInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1246
|
+
/* string id = 1; */
|
1247
|
+
if (message.id !== "")
|
1248
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
1249
|
+
/* devvit.dev_portal.installation.UpgradeStrategy upgrade_strategy = 3; */
|
1250
|
+
if (message.upgradeStrategy !== 0)
|
1251
|
+
writer.tag(3, WireType.Varint).int32(message.upgradeStrategy);
|
1252
|
+
/* google.protobuf.Struct upgrade_strategy_config = 4; */
|
1253
|
+
if (message.upgradeStrategyConfig)
|
1254
|
+
Struct.internalBinaryWrite(message.upgradeStrategyConfig, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1255
|
+
/* google.protobuf.StringValue run_as = 6; */
|
1256
|
+
if (message.runAs)
|
1257
|
+
StringValue.internalBinaryWrite(message.runAs, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
1258
|
+
/* devvit.dev_portal.app_version.info.InstallationType type = 7; */
|
1259
|
+
if (message.type !== 0)
|
1260
|
+
writer.tag(7, WireType.Varint).int32(message.type);
|
1261
|
+
/* devvit.dev_portal.installation.InstallationLocationInfo location = 8; */
|
1262
|
+
if (message.location)
|
1263
|
+
InstallationLocationInfo.internalBinaryWrite(message.location, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
1264
|
+
/* bool is_enabled = 9; */
|
1265
|
+
if (message.isEnabled !== false)
|
1266
|
+
writer.tag(9, WireType.Varint).bool(message.isEnabled);
|
1267
|
+
let u = options.writeUnknownFields;
|
1268
|
+
if (u !== false)
|
1269
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1270
|
+
return writer;
|
1271
|
+
}
|
1272
|
+
}
|
1273
|
+
/**
|
1274
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationInfo
|
1275
|
+
*/
|
1276
|
+
export const InstallationInfo = new InstallationInfo$Type();
|
1277
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1278
|
+
class InstallationLocationInfo$Type extends MessageType<InstallationLocationInfo> {
|
1279
|
+
constructor() {
|
1280
|
+
super("devvit.dev_portal.installation.InstallationLocationInfo", [
|
1281
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1282
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1283
|
+
{ no: 3, name: "type", kind: "enum", T: () => ["devvit.reddit.ThingType", ThingType] },
|
1284
|
+
{ no: 4, name: "icon", kind: "message", T: () => StringValue },
|
1285
|
+
{ no: 5, name: "is_nsfw", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
1286
|
+
{ no: 6, name: "is_unavailable", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
1287
|
+
]);
|
1288
|
+
}
|
1289
|
+
create(value?: PartialMessage<InstallationLocationInfo>): InstallationLocationInfo {
|
1290
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1291
|
+
message.id = "";
|
1292
|
+
message.name = "";
|
1293
|
+
message.type = 0;
|
1294
|
+
message.isNsfw = false;
|
1295
|
+
message.isUnavailable = false;
|
1296
|
+
if (value !== undefined)
|
1297
|
+
reflectionMergePartial<InstallationLocationInfo>(this, message, value);
|
1298
|
+
return message;
|
1299
|
+
}
|
1300
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationLocationInfo): InstallationLocationInfo {
|
1301
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1302
|
+
while (reader.pos < end) {
|
1303
|
+
let [fieldNo, wireType] = reader.tag();
|
1304
|
+
switch (fieldNo) {
|
1305
|
+
case /* string id */ 1:
|
1306
|
+
message.id = reader.string();
|
1307
|
+
break;
|
1308
|
+
case /* string name */ 2:
|
1309
|
+
message.name = reader.string();
|
1310
|
+
break;
|
1311
|
+
case /* devvit.reddit.ThingType type */ 3:
|
1312
|
+
message.type = reader.int32();
|
1313
|
+
break;
|
1314
|
+
case /* google.protobuf.StringValue icon */ 4:
|
1315
|
+
message.icon = StringValue.internalBinaryRead(reader, reader.uint32(), options, message.icon);
|
1316
|
+
break;
|
1317
|
+
case /* bool is_nsfw */ 5:
|
1318
|
+
message.isNsfw = reader.bool();
|
1319
|
+
break;
|
1320
|
+
case /* bool is_unavailable */ 6:
|
1321
|
+
message.isUnavailable = reader.bool();
|
1322
|
+
break;
|
1323
|
+
default:
|
1324
|
+
let u = options.readUnknownField;
|
1325
|
+
if (u === "throw")
|
1326
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1327
|
+
let d = reader.skip(wireType);
|
1328
|
+
if (u !== false)
|
1329
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
return message;
|
1333
|
+
}
|
1334
|
+
internalBinaryWrite(message: InstallationLocationInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1335
|
+
/* string id = 1; */
|
1336
|
+
if (message.id !== "")
|
1337
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
1338
|
+
/* string name = 2; */
|
1339
|
+
if (message.name !== "")
|
1340
|
+
writer.tag(2, WireType.LengthDelimited).string(message.name);
|
1341
|
+
/* devvit.reddit.ThingType type = 3; */
|
1342
|
+
if (message.type !== 0)
|
1343
|
+
writer.tag(3, WireType.Varint).int32(message.type);
|
1344
|
+
/* google.protobuf.StringValue icon = 4; */
|
1345
|
+
if (message.icon)
|
1346
|
+
StringValue.internalBinaryWrite(message.icon, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1347
|
+
/* bool is_nsfw = 5; */
|
1348
|
+
if (message.isNsfw !== false)
|
1349
|
+
writer.tag(5, WireType.Varint).bool(message.isNsfw);
|
1350
|
+
/* bool is_unavailable = 6; */
|
1351
|
+
if (message.isUnavailable !== false)
|
1352
|
+
writer.tag(6, WireType.Varint).bool(message.isUnavailable);
|
1353
|
+
let u = options.writeUnknownFields;
|
1354
|
+
if (u !== false)
|
1355
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1356
|
+
return writer;
|
1357
|
+
}
|
1358
|
+
}
|
1359
|
+
/**
|
1360
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationLocationInfo
|
1361
|
+
*/
|
1362
|
+
export const InstallationLocationInfo = new InstallationLocationInfo$Type();
|
1363
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1364
|
+
class FullInstallationInfo$Type extends MessageType<FullInstallationInfo> {
|
1365
|
+
constructor() {
|
1366
|
+
super("devvit.dev_portal.installation.FullInstallationInfo", [
|
1367
|
+
{ no: 1, name: "installation", kind: "message", T: () => InstallationInfo },
|
1368
|
+
{ no: 2, name: "app_version", kind: "message", T: () => AppVersionInfo },
|
1369
|
+
{ no: 3, name: "app", kind: "message", T: () => AppInfo }
|
1370
|
+
]);
|
1371
|
+
}
|
1372
|
+
create(value?: PartialMessage<FullInstallationInfo>): FullInstallationInfo {
|
1373
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1374
|
+
if (value !== undefined)
|
1375
|
+
reflectionMergePartial<FullInstallationInfo>(this, message, value);
|
1376
|
+
return message;
|
1377
|
+
}
|
1378
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FullInstallationInfo): FullInstallationInfo {
|
1379
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1380
|
+
while (reader.pos < end) {
|
1381
|
+
let [fieldNo, wireType] = reader.tag();
|
1382
|
+
switch (fieldNo) {
|
1383
|
+
case /* devvit.dev_portal.installation.InstallationInfo installation */ 1:
|
1384
|
+
message.installation = InstallationInfo.internalBinaryRead(reader, reader.uint32(), options, message.installation);
|
1385
|
+
break;
|
1386
|
+
case /* devvit.dev_portal.app_version.info.AppVersionInfo app_version */ 2:
|
1387
|
+
message.appVersion = AppVersionInfo.internalBinaryRead(reader, reader.uint32(), options, message.appVersion);
|
1388
|
+
break;
|
1389
|
+
case /* devvit.dev_portal.app.info.AppInfo app */ 3:
|
1390
|
+
message.app = AppInfo.internalBinaryRead(reader, reader.uint32(), options, message.app);
|
1391
|
+
break;
|
1392
|
+
default:
|
1393
|
+
let u = options.readUnknownField;
|
1394
|
+
if (u === "throw")
|
1395
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1396
|
+
let d = reader.skip(wireType);
|
1397
|
+
if (u !== false)
|
1398
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1399
|
+
}
|
1400
|
+
}
|
1401
|
+
return message;
|
1402
|
+
}
|
1403
|
+
internalBinaryWrite(message: FullInstallationInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1404
|
+
/* devvit.dev_portal.installation.InstallationInfo installation = 1; */
|
1405
|
+
if (message.installation)
|
1406
|
+
InstallationInfo.internalBinaryWrite(message.installation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1407
|
+
/* devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2; */
|
1408
|
+
if (message.appVersion)
|
1409
|
+
AppVersionInfo.internalBinaryWrite(message.appVersion, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1410
|
+
/* devvit.dev_portal.app.info.AppInfo app = 3; */
|
1411
|
+
if (message.app)
|
1412
|
+
AppInfo.internalBinaryWrite(message.app, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
1413
|
+
let u = options.writeUnknownFields;
|
1414
|
+
if (u !== false)
|
1415
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1416
|
+
return writer;
|
1417
|
+
}
|
1418
|
+
}
|
1419
|
+
/**
|
1420
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.FullInstallationInfo
|
1421
|
+
*/
|
1422
|
+
export const FullInstallationInfo = new FullInstallationInfo$Type();
|
1423
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1424
|
+
class MultipleInstallationsResponse$Type extends MessageType<MultipleInstallationsResponse> {
|
1425
|
+
constructor() {
|
1426
|
+
super("devvit.dev_portal.installation.MultipleInstallationsResponse", [
|
1427
|
+
{ no: 1, name: "installations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationInfo }
|
1428
|
+
]);
|
1429
|
+
}
|
1430
|
+
create(value?: PartialMessage<MultipleInstallationsResponse>): MultipleInstallationsResponse {
|
1431
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1432
|
+
message.installations = [];
|
1433
|
+
if (value !== undefined)
|
1434
|
+
reflectionMergePartial<MultipleInstallationsResponse>(this, message, value);
|
1435
|
+
return message;
|
1436
|
+
}
|
1437
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MultipleInstallationsResponse): MultipleInstallationsResponse {
|
1438
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1439
|
+
while (reader.pos < end) {
|
1440
|
+
let [fieldNo, wireType] = reader.tag();
|
1441
|
+
switch (fieldNo) {
|
1442
|
+
case /* repeated devvit.dev_portal.installation.InstallationInfo installations */ 1:
|
1443
|
+
message.installations.push(InstallationInfo.internalBinaryRead(reader, reader.uint32(), options));
|
1444
|
+
break;
|
1445
|
+
default:
|
1446
|
+
let u = options.readUnknownField;
|
1447
|
+
if (u === "throw")
|
1448
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1449
|
+
let d = reader.skip(wireType);
|
1450
|
+
if (u !== false)
|
1451
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1452
|
+
}
|
1453
|
+
}
|
1454
|
+
return message;
|
1455
|
+
}
|
1456
|
+
internalBinaryWrite(message: MultipleInstallationsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1457
|
+
/* repeated devvit.dev_portal.installation.InstallationInfo installations = 1; */
|
1458
|
+
for (let i = 0; i < message.installations.length; i++)
|
1459
|
+
InstallationInfo.internalBinaryWrite(message.installations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1460
|
+
let u = options.writeUnknownFields;
|
1461
|
+
if (u !== false)
|
1462
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1463
|
+
return writer;
|
1464
|
+
}
|
1465
|
+
}
|
1466
|
+
/**
|
1467
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.MultipleInstallationsResponse
|
1468
|
+
*/
|
1469
|
+
export const MultipleInstallationsResponse = new MultipleInstallationsResponse$Type();
|
1470
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1471
|
+
class GetAllWithAppResponse$Type extends MessageType<GetAllWithAppResponse> {
|
1472
|
+
constructor() {
|
1473
|
+
super("devvit.dev_portal.installation.GetAllWithAppResponse", [
|
1474
|
+
{ no: 1, name: "installations", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationWithAppVersion }
|
1475
|
+
]);
|
1476
|
+
}
|
1477
|
+
create(value?: PartialMessage<GetAllWithAppResponse>): GetAllWithAppResponse {
|
1478
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1479
|
+
message.installations = [];
|
1480
|
+
if (value !== undefined)
|
1481
|
+
reflectionMergePartial<GetAllWithAppResponse>(this, message, value);
|
1482
|
+
return message;
|
1483
|
+
}
|
1484
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetAllWithAppResponse): GetAllWithAppResponse {
|
1485
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1486
|
+
while (reader.pos < end) {
|
1487
|
+
let [fieldNo, wireType] = reader.tag();
|
1488
|
+
switch (fieldNo) {
|
1489
|
+
case /* repeated devvit.dev_portal.installation.InstallationWithAppVersion installations */ 1:
|
1490
|
+
message.installations.push(InstallationWithAppVersion.internalBinaryRead(reader, reader.uint32(), options));
|
1491
|
+
break;
|
1492
|
+
default:
|
1493
|
+
let u = options.readUnknownField;
|
1494
|
+
if (u === "throw")
|
1495
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1496
|
+
let d = reader.skip(wireType);
|
1497
|
+
if (u !== false)
|
1498
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
return message;
|
1502
|
+
}
|
1503
|
+
internalBinaryWrite(message: GetAllWithAppResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1504
|
+
/* repeated devvit.dev_portal.installation.InstallationWithAppVersion installations = 1; */
|
1505
|
+
for (let i = 0; i < message.installations.length; i++)
|
1506
|
+
InstallationWithAppVersion.internalBinaryWrite(message.installations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1507
|
+
let u = options.writeUnknownFields;
|
1508
|
+
if (u !== false)
|
1509
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1510
|
+
return writer;
|
1511
|
+
}
|
1512
|
+
}
|
1513
|
+
/**
|
1514
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetAllWithAppResponse
|
1515
|
+
*/
|
1516
|
+
export const GetAllWithAppResponse = new GetAllWithAppResponse$Type();
|
1517
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1518
|
+
class InstallationWithAppVersion$Type extends MessageType<InstallationWithAppVersion> {
|
1519
|
+
constructor() {
|
1520
|
+
super("devvit.dev_portal.installation.InstallationWithAppVersion", [
|
1521
|
+
{ no: 1, name: "installation", kind: "message", T: () => InstallationInfo },
|
1522
|
+
{ no: 2, name: "app_version", kind: "message", T: () => AppVersionInfo }
|
1523
|
+
]);
|
1524
|
+
}
|
1525
|
+
create(value?: PartialMessage<InstallationWithAppVersion>): InstallationWithAppVersion {
|
1526
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1527
|
+
if (value !== undefined)
|
1528
|
+
reflectionMergePartial<InstallationWithAppVersion>(this, message, value);
|
1529
|
+
return message;
|
1530
|
+
}
|
1531
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationWithAppVersion): InstallationWithAppVersion {
|
1532
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1533
|
+
while (reader.pos < end) {
|
1534
|
+
let [fieldNo, wireType] = reader.tag();
|
1535
|
+
switch (fieldNo) {
|
1536
|
+
case /* devvit.dev_portal.installation.InstallationInfo installation */ 1:
|
1537
|
+
message.installation = InstallationInfo.internalBinaryRead(reader, reader.uint32(), options, message.installation);
|
1538
|
+
break;
|
1539
|
+
case /* devvit.dev_portal.app_version.info.AppVersionInfo app_version */ 2:
|
1540
|
+
message.appVersion = AppVersionInfo.internalBinaryRead(reader, reader.uint32(), options, message.appVersion);
|
1541
|
+
break;
|
1542
|
+
default:
|
1543
|
+
let u = options.readUnknownField;
|
1544
|
+
if (u === "throw")
|
1545
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1546
|
+
let d = reader.skip(wireType);
|
1547
|
+
if (u !== false)
|
1548
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1549
|
+
}
|
1550
|
+
}
|
1551
|
+
return message;
|
1552
|
+
}
|
1553
|
+
internalBinaryWrite(message: InstallationWithAppVersion, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1554
|
+
/* devvit.dev_portal.installation.InstallationInfo installation = 1; */
|
1555
|
+
if (message.installation)
|
1556
|
+
InstallationInfo.internalBinaryWrite(message.installation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1557
|
+
/* devvit.dev_portal.app_version.info.AppVersionInfo app_version = 2; */
|
1558
|
+
if (message.appVersion)
|
1559
|
+
AppVersionInfo.internalBinaryWrite(message.appVersion, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
1560
|
+
let u = options.writeUnknownFields;
|
1561
|
+
if (u !== false)
|
1562
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1563
|
+
return writer;
|
1564
|
+
}
|
1565
|
+
}
|
1566
|
+
/**
|
1567
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationWithAppVersion
|
1568
|
+
*/
|
1569
|
+
export const InstallationWithAppVersion = new InstallationWithAppVersion$Type();
|
1570
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1571
|
+
class InstallationUpgradeManyResponse$Type extends MessageType<InstallationUpgradeManyResponse> {
|
1572
|
+
constructor() {
|
1573
|
+
super("devvit.dev_portal.installation.InstallationUpgradeManyResponse", [
|
1574
|
+
{ no: 1, name: "details", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationUpgradeManyResponse_InstallationUpgradeDetails }
|
1575
|
+
]);
|
1576
|
+
}
|
1577
|
+
create(value?: PartialMessage<InstallationUpgradeManyResponse>): InstallationUpgradeManyResponse {
|
1578
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1579
|
+
message.details = [];
|
1580
|
+
if (value !== undefined)
|
1581
|
+
reflectionMergePartial<InstallationUpgradeManyResponse>(this, message, value);
|
1582
|
+
return message;
|
1583
|
+
}
|
1584
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeManyResponse): InstallationUpgradeManyResponse {
|
1585
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1586
|
+
while (reader.pos < end) {
|
1587
|
+
let [fieldNo, wireType] = reader.tag();
|
1588
|
+
switch (fieldNo) {
|
1589
|
+
case /* repeated devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails details */ 1:
|
1590
|
+
message.details.push(InstallationUpgradeManyResponse_InstallationUpgradeDetails.internalBinaryRead(reader, reader.uint32(), options));
|
1591
|
+
break;
|
1592
|
+
default:
|
1593
|
+
let u = options.readUnknownField;
|
1594
|
+
if (u === "throw")
|
1595
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1596
|
+
let d = reader.skip(wireType);
|
1597
|
+
if (u !== false)
|
1598
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1599
|
+
}
|
1600
|
+
}
|
1601
|
+
return message;
|
1602
|
+
}
|
1603
|
+
internalBinaryWrite(message: InstallationUpgradeManyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1604
|
+
/* repeated devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails details = 1; */
|
1605
|
+
for (let i = 0; i < message.details.length; i++)
|
1606
|
+
InstallationUpgradeManyResponse_InstallationUpgradeDetails.internalBinaryWrite(message.details[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1607
|
+
let u = options.writeUnknownFields;
|
1608
|
+
if (u !== false)
|
1609
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1610
|
+
return writer;
|
1611
|
+
}
|
1612
|
+
}
|
1613
|
+
/**
|
1614
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse
|
1615
|
+
*/
|
1616
|
+
export const InstallationUpgradeManyResponse = new InstallationUpgradeManyResponse$Type();
|
1617
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1618
|
+
class InstallationUpgradeManyResponse_InstallationUpgradeDetails$Type extends MessageType<InstallationUpgradeManyResponse_InstallationUpgradeDetails> {
|
1619
|
+
constructor() {
|
1620
|
+
super("devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails", [
|
1621
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1622
|
+
{ no: 2, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
1623
|
+
{ no: 3, name: "error", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
1624
|
+
]);
|
1625
|
+
}
|
1626
|
+
create(value?: PartialMessage<InstallationUpgradeManyResponse_InstallationUpgradeDetails>): InstallationUpgradeManyResponse_InstallationUpgradeDetails {
|
1627
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1628
|
+
message.id = "";
|
1629
|
+
message.success = false;
|
1630
|
+
if (value !== undefined)
|
1631
|
+
reflectionMergePartial<InstallationUpgradeManyResponse_InstallationUpgradeDetails>(this, message, value);
|
1632
|
+
return message;
|
1633
|
+
}
|
1634
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationUpgradeManyResponse_InstallationUpgradeDetails): InstallationUpgradeManyResponse_InstallationUpgradeDetails {
|
1635
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1636
|
+
while (reader.pos < end) {
|
1637
|
+
let [fieldNo, wireType] = reader.tag();
|
1638
|
+
switch (fieldNo) {
|
1639
|
+
case /* string id */ 1:
|
1640
|
+
message.id = reader.string();
|
1641
|
+
break;
|
1642
|
+
case /* bool success */ 2:
|
1643
|
+
message.success = reader.bool();
|
1644
|
+
break;
|
1645
|
+
case /* optional string error */ 3:
|
1646
|
+
message.error = reader.string();
|
1647
|
+
break;
|
1648
|
+
default:
|
1649
|
+
let u = options.readUnknownField;
|
1650
|
+
if (u === "throw")
|
1651
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1652
|
+
let d = reader.skip(wireType);
|
1653
|
+
if (u !== false)
|
1654
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1655
|
+
}
|
1656
|
+
}
|
1657
|
+
return message;
|
1658
|
+
}
|
1659
|
+
internalBinaryWrite(message: InstallationUpgradeManyResponse_InstallationUpgradeDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1660
|
+
/* string id = 1; */
|
1661
|
+
if (message.id !== "")
|
1662
|
+
writer.tag(1, WireType.LengthDelimited).string(message.id);
|
1663
|
+
/* bool success = 2; */
|
1664
|
+
if (message.success !== false)
|
1665
|
+
writer.tag(2, WireType.Varint).bool(message.success);
|
1666
|
+
/* optional string error = 3; */
|
1667
|
+
if (message.error !== undefined)
|
1668
|
+
writer.tag(3, WireType.LengthDelimited).string(message.error);
|
1669
|
+
let u = options.writeUnknownFields;
|
1670
|
+
if (u !== false)
|
1671
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1672
|
+
return writer;
|
1673
|
+
}
|
1674
|
+
}
|
1675
|
+
/**
|
1676
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationUpgradeManyResponse.InstallationUpgradeDetails
|
1677
|
+
*/
|
1678
|
+
export const InstallationUpgradeManyResponse_InstallationUpgradeDetails = new InstallationUpgradeManyResponse_InstallationUpgradeDetails$Type();
|
1679
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1680
|
+
class InstallationLocationDetails$Type extends MessageType<InstallationLocationDetails> {
|
1681
|
+
constructor() {
|
1682
|
+
super("devvit.dev_portal.installation.InstallationLocationDetails", [
|
1683
|
+
{ no: 1, name: "type", kind: "enum", T: () => ["devvit.dev_portal.app_version.info.InstallationType", InstallationType] },
|
1684
|
+
{ no: 2, name: "thing_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1685
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
1686
|
+
]);
|
1687
|
+
}
|
1688
|
+
create(value?: PartialMessage<InstallationLocationDetails>): InstallationLocationDetails {
|
1689
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1690
|
+
message.type = 0;
|
1691
|
+
message.thingId = "";
|
1692
|
+
message.name = "";
|
1693
|
+
if (value !== undefined)
|
1694
|
+
reflectionMergePartial<InstallationLocationDetails>(this, message, value);
|
1695
|
+
return message;
|
1696
|
+
}
|
1697
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationLocationDetails): InstallationLocationDetails {
|
1698
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1699
|
+
while (reader.pos < end) {
|
1700
|
+
let [fieldNo, wireType] = reader.tag();
|
1701
|
+
switch (fieldNo) {
|
1702
|
+
case /* devvit.dev_portal.app_version.info.InstallationType type */ 1:
|
1703
|
+
message.type = reader.int32();
|
1704
|
+
break;
|
1705
|
+
case /* string thing_id */ 2:
|
1706
|
+
message.thingId = reader.string();
|
1707
|
+
break;
|
1708
|
+
case /* string name */ 3:
|
1709
|
+
message.name = reader.string();
|
1710
|
+
break;
|
1711
|
+
default:
|
1712
|
+
let u = options.readUnknownField;
|
1713
|
+
if (u === "throw")
|
1714
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1715
|
+
let d = reader.skip(wireType);
|
1716
|
+
if (u !== false)
|
1717
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1718
|
+
}
|
1719
|
+
}
|
1720
|
+
return message;
|
1721
|
+
}
|
1722
|
+
internalBinaryWrite(message: InstallationLocationDetails, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1723
|
+
/* devvit.dev_portal.app_version.info.InstallationType type = 1; */
|
1724
|
+
if (message.type !== 0)
|
1725
|
+
writer.tag(1, WireType.Varint).int32(message.type);
|
1726
|
+
/* string thing_id = 2; */
|
1727
|
+
if (message.thingId !== "")
|
1728
|
+
writer.tag(2, WireType.LengthDelimited).string(message.thingId);
|
1729
|
+
/* string name = 3; */
|
1730
|
+
if (message.name !== "")
|
1731
|
+
writer.tag(3, WireType.LengthDelimited).string(message.name);
|
1732
|
+
let u = options.writeUnknownFields;
|
1733
|
+
if (u !== false)
|
1734
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1735
|
+
return writer;
|
1736
|
+
}
|
1737
|
+
}
|
1738
|
+
/**
|
1739
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationLocationDetails
|
1740
|
+
*/
|
1741
|
+
export const InstallationLocationDetails = new InstallationLocationDetails$Type();
|
1742
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1743
|
+
class InstallationHistoryEvent$Type extends MessageType<InstallationHistoryEvent> {
|
1744
|
+
constructor() {
|
1745
|
+
super("devvit.dev_portal.installation.InstallationHistoryEvent", [
|
1746
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
1747
|
+
{ no: 2, name: "name", kind: "enum", T: () => ["devvit.dev_portal.installation.InstallationHistoryEventName", InstallationHistoryEventName] },
|
1748
|
+
{ no: 3, name: "details", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
|
1749
|
+
{ no: 4, name: "created_at", kind: "message", T: () => Timestamp }
|
1750
|
+
]);
|
1751
|
+
}
|
1752
|
+
create(value?: PartialMessage<InstallationHistoryEvent>): InstallationHistoryEvent {
|
1753
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1754
|
+
message.userId = "";
|
1755
|
+
message.name = 0;
|
1756
|
+
message.details = {};
|
1757
|
+
if (value !== undefined)
|
1758
|
+
reflectionMergePartial<InstallationHistoryEvent>(this, message, value);
|
1759
|
+
return message;
|
1760
|
+
}
|
1761
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstallationHistoryEvent): InstallationHistoryEvent {
|
1762
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1763
|
+
while (reader.pos < end) {
|
1764
|
+
let [fieldNo, wireType] = reader.tag();
|
1765
|
+
switch (fieldNo) {
|
1766
|
+
case /* string user_id */ 1:
|
1767
|
+
message.userId = reader.string();
|
1768
|
+
break;
|
1769
|
+
case /* devvit.dev_portal.installation.InstallationHistoryEventName name */ 2:
|
1770
|
+
message.name = reader.int32();
|
1771
|
+
break;
|
1772
|
+
case /* map<string, string> details */ 3:
|
1773
|
+
this.binaryReadMap3(message.details, reader, options);
|
1774
|
+
break;
|
1775
|
+
case /* google.protobuf.Timestamp created_at */ 4:
|
1776
|
+
message.createdAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);
|
1777
|
+
break;
|
1778
|
+
default:
|
1779
|
+
let u = options.readUnknownField;
|
1780
|
+
if (u === "throw")
|
1781
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1782
|
+
let d = reader.skip(wireType);
|
1783
|
+
if (u !== false)
|
1784
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1785
|
+
}
|
1786
|
+
}
|
1787
|
+
return message;
|
1788
|
+
}
|
1789
|
+
private binaryReadMap3(map: InstallationHistoryEvent["details"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
1790
|
+
let len = reader.uint32(), end = reader.pos + len, key: keyof InstallationHistoryEvent["details"] | undefined, val: InstallationHistoryEvent["details"][any] | undefined;
|
1791
|
+
while (reader.pos < end) {
|
1792
|
+
let [fieldNo, wireType] = reader.tag();
|
1793
|
+
switch (fieldNo) {
|
1794
|
+
case 1:
|
1795
|
+
key = reader.string();
|
1796
|
+
break;
|
1797
|
+
case 2:
|
1798
|
+
val = reader.string();
|
1799
|
+
break;
|
1800
|
+
default: throw new globalThis.Error("unknown map entry field for field devvit.dev_portal.installation.InstallationHistoryEvent.details");
|
1801
|
+
}
|
1802
|
+
}
|
1803
|
+
map[key ?? ""] = val ?? "";
|
1804
|
+
}
|
1805
|
+
internalBinaryWrite(message: InstallationHistoryEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1806
|
+
/* string user_id = 1; */
|
1807
|
+
if (message.userId !== "")
|
1808
|
+
writer.tag(1, WireType.LengthDelimited).string(message.userId);
|
1809
|
+
/* devvit.dev_portal.installation.InstallationHistoryEventName name = 2; */
|
1810
|
+
if (message.name !== 0)
|
1811
|
+
writer.tag(2, WireType.Varint).int32(message.name);
|
1812
|
+
/* map<string, string> details = 3; */
|
1813
|
+
for (let k of globalThis.Object.keys(message.details))
|
1814
|
+
writer.tag(3, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.details[k]).join();
|
1815
|
+
/* google.protobuf.Timestamp created_at = 4; */
|
1816
|
+
if (message.createdAt)
|
1817
|
+
Timestamp.internalBinaryWrite(message.createdAt, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
1818
|
+
let u = options.writeUnknownFields;
|
1819
|
+
if (u !== false)
|
1820
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1821
|
+
return writer;
|
1822
|
+
}
|
1823
|
+
}
|
1824
|
+
/**
|
1825
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.InstallationHistoryEvent
|
1826
|
+
*/
|
1827
|
+
export const InstallationHistoryEvent = new InstallationHistoryEvent$Type();
|
1828
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
1829
|
+
class GetInstallationHistoryResponse$Type extends MessageType<GetInstallationHistoryResponse> {
|
1830
|
+
constructor() {
|
1831
|
+
super("devvit.dev_portal.installation.GetInstallationHistoryResponse", [
|
1832
|
+
{ no: 1, name: "events", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => InstallationHistoryEvent },
|
1833
|
+
{ no: 8, name: "total_events", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
1834
|
+
]);
|
1835
|
+
}
|
1836
|
+
create(value?: PartialMessage<GetInstallationHistoryResponse>): GetInstallationHistoryResponse {
|
1837
|
+
const message = globalThis.Object.create((this.messagePrototype!));
|
1838
|
+
message.events = [];
|
1839
|
+
message.totalEvents = 0;
|
1840
|
+
if (value !== undefined)
|
1841
|
+
reflectionMergePartial<GetInstallationHistoryResponse>(this, message, value);
|
1842
|
+
return message;
|
1843
|
+
}
|
1844
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetInstallationHistoryResponse): GetInstallationHistoryResponse {
|
1845
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
1846
|
+
while (reader.pos < end) {
|
1847
|
+
let [fieldNo, wireType] = reader.tag();
|
1848
|
+
switch (fieldNo) {
|
1849
|
+
case /* repeated devvit.dev_portal.installation.InstallationHistoryEvent events */ 1:
|
1850
|
+
message.events.push(InstallationHistoryEvent.internalBinaryRead(reader, reader.uint32(), options));
|
1851
|
+
break;
|
1852
|
+
case /* uint32 total_events */ 8:
|
1853
|
+
message.totalEvents = reader.uint32();
|
1854
|
+
break;
|
1855
|
+
default:
|
1856
|
+
let u = options.readUnknownField;
|
1857
|
+
if (u === "throw")
|
1858
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
1859
|
+
let d = reader.skip(wireType);
|
1860
|
+
if (u !== false)
|
1861
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
1862
|
+
}
|
1863
|
+
}
|
1864
|
+
return message;
|
1865
|
+
}
|
1866
|
+
internalBinaryWrite(message: GetInstallationHistoryResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
1867
|
+
/* repeated devvit.dev_portal.installation.InstallationHistoryEvent events = 1; */
|
1868
|
+
for (let i = 0; i < message.events.length; i++)
|
1869
|
+
InstallationHistoryEvent.internalBinaryWrite(message.events[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
1870
|
+
/* uint32 total_events = 8; */
|
1871
|
+
if (message.totalEvents !== 0)
|
1872
|
+
writer.tag(8, WireType.Varint).uint32(message.totalEvents);
|
1873
|
+
let u = options.writeUnknownFields;
|
1874
|
+
if (u !== false)
|
1875
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
1876
|
+
return writer;
|
1877
|
+
}
|
1878
|
+
}
|
1879
|
+
/**
|
1880
|
+
* @generated MessageType for protobuf message devvit.dev_portal.installation.GetInstallationHistoryResponse
|
1881
|
+
*/
|
1882
|
+
export const GetInstallationHistoryResponse = new GetInstallationHistoryResponse$Type();
|