@devvit/protos 0.12.1-next-2025-09-08-20-55-43-6ce1b439e.0 → 0.12.1-next-2025-09-09-13-45-18-0f0a506a2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/devvit/data/api/admin/v1alpha/organization.d.ts +7 -0
- package/json/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
- package/json/devvit/data/api/v1alpha/admin.d.ts +3 -0
- package/json/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
- package/json/devvit/data/api/v1alpha/filter.d.ts +81 -0
- package/json/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
- package/json/devvit/data/api/v1alpha/filter.js +21 -0
- package/package.json +4 -4
- package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/expression.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/validate.proto +4130 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/automation/v1alpha/event_handlers.proto +105 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/hello/hello.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/payments/v1alpha/payments.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/producer/producer.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_action.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_type.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/post_filter.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/action.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/handler.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/app_settings.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/installation_settings.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/instance_settings.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/shared.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/test/wrappertypes.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/user_configurable/user_configurable.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/webbit/webbit.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/analytics/v1/analytics.proto +32 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/init.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/playtest.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +804 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/fetcher.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +138 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/debug/v1alpha/debug.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/actor/actor_type.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin/waitlist_admin.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin_portal.proto +38 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/app.proto +365 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/categories/categories.proto +60 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/info/app_info.proto +88 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/app_publish_request.proto +121 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +27 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_settings/app_settings.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/app_version.proto +168 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/info/app_version_info.proto +88 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/audit/audit.proto +75 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/auth/auth.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/organization/organization.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/subscription/subscription.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/user/user.proto +44 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/dev_portal.proto +193 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/developer_account/developer_account.proto +46 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/feedback/feedback.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain/fetch_domain.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto +64 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation/installation.proto +230 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation_settings/installation_settings.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/authorization/v1alpha/authorization.proto +45 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/community_drawer/community_drawer.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/media/media.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/nutrition/nutrition.proto +64 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/payments_verification.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/product.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/reddit/redditor.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/waitlist/waitlist.proto +61 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/realtime.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/wqcleanup.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/custom_post_snapshot.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/playtest_subreddit/playtest_subreddit.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/resolvers.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/app_health.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +58 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/triggers.proto +37 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/snapshot.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/subreddit_metadata.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/options/options.proto +98 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/common.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/order.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/product.proto +65 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/assetresolver/assetresolver.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/buildpack/buildpack_common.proto +64 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/clock/clock.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/http/http.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/inspector/inspector.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/kvstore/kvstore.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/logger/logger.proto +116 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/media/media.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/modlog/modlog.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/payments/v1alpha/payments.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +671 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_msg.proto +284 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_svc.proto +120 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_msg.proto +35 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_svc.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +291 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +253 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_msg.proto +214 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_svc.proto +80 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_msg.proto +137 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_svc.proto +178 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_msg.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_svc.proto +45 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_msg.proto +348 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_svc.proto +142 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_msg.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_svc.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_msg.proto +1087 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +196 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_msg.proto +192 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_svc.proto +101 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_msg.proto +383 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_svc.proto +171 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_msg.proto +217 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_svc.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redis/redisapi.proto +434 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/scheduler/scheduler.proto +80 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/settings/v1alpha/settings.proto +33 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/timer/timer.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/useractions/useractions.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v2events/v2events.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/comment.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/common.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_actions/v2alpha/custom_actions.proto +73 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_post/v1alpha/custom_post.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/post.proto +192 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/subreddit.proto +138 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/thing_type.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/user.proto +138 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +30 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +109 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/remote_logger/remote_logger.proto +65 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/bootstrap.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/v1alpha/health.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/bundle.proto +171 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/runtime_common.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/serializable.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/service/bundle_service.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/attributes.proto +69 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/block.proto +212 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/enums.proto +221 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/rendering.proto +27 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/ui.proto +100 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/common/v1alpha/common.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effect_types/v1alpha/realtime_subscription.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/create_order.proto +39 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +71 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/interval.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/navigate_to_url.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/realtime_subscriptions.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/reload_part.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/rerender_ui.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_form.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +150 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/immersive_mode.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/share.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/web_view.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +113 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/handle_ui.proto +30 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/field.proto +134 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/form.proto +27 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/type.proto +32 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/value.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/toast/toast.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/uuid.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/account_gender_category.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/approval_status.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_info_action.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/block_relation_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_sort.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/discussion_type.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/distinguish_type.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/flair_position.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_content_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_visibility.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/promo_layout.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/removed_by_type.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/spam_level.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/subreddit_type.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/verdict.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/vote.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/whitelist_status.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/evaluator/evaluator.proto +203 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/annotations.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +274 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/resources.proto +172 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/auth.proto +180 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/backend.proto +50 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/billing.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/client.proto +99 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +290 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +312 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/config_change.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/consumer.proto +82 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/context.proto +62 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/control.proto +32 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/distribution.proto +212 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/documentation.proto +156 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/endpoint.proto +70 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/error_reason.proto +589 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +180 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_behavior.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_info.proto +106 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/http.proto +317 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/httpbody.proto +75 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/label.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/launch_stage.proto +67 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/log.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/logging.proto +82 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/metric.proto +191 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitored_resource.proto +115 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitoring.proto +88 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/policy.proto +85 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/quota.proto +258 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/resource.proto +299 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/routing.proto +461 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/service.proto +174 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +483 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +295 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +756 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/source_info.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/system_parameter.proto +95 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/usage.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/visibility.proto +113 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/admin/v1/iam.proto +1043 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/iam_policy.proto +148 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/options.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/http_request.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/log_severity.proto +71 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/longrunning/operations.proto +240 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/any.proto +158 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/api.proto +208 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/compiler/plugin.proto +182 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/descriptor.proto +902 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/duration.proto +116 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/empty.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/struct.proto +95 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/type.proto +187 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/code.proto +186 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/error_details.proto +246 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/status.proto +47 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/calendar_period.proto +57 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/color.proto +170 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/date.proto +50 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/datetime.proto +97 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/dayofweek.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/expr.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/fraction.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/latlng.proto +37 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/money.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/month.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/postal_address.proto +135 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/quaternion.proto +95 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/timeofday.proto +44 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/openapi/helper.proto +50 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/annotations.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/openapiv2.proto +759 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +585 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/callback/v1/callback_service.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/event/v1/event.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/experimental/v1/experimental.proto +71 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/analytics/v1/analytics.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/generic/v1/generic.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/loadbalancing/v1/loadbalancing.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/metadata/v1/metadata.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/operation/v1/operation.proto +148 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/publication/v1/publication_service.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/offsets.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/scheduling.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/testing/v1/testing.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/workerpool/v1/workerpool.proto +213 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +446 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account_relations.proto +93 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/cloudevent/v1/cloudevent.proto +67 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/comments/v1/comments.proto +59 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/actor.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_attr_key.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_extensions.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/eventcontext.proto +69 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/links/v1/links.proto +59 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit.proto +86 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit_member_relations.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +805 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/data/engagement/v1/engagement.proto +117 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/ads/v1/ads.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/app_permission.proto +76 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/service.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +39 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/service.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/post.proto +119 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/service.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/metadata_service.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/useractions/v1/useractions.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/cancel_subscription.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/change_payment_method.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +86 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +426 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/contributor_program.proto +40 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/deposit_gold.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +35 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_aggregated_transactions_list.proto +37 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_subscriptions.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_transaction_list.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/revoke_subscription.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +86 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/transfer_subscription.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/environment.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +304 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/events.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/order.proto +80 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +168 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +254 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +293 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +220 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/validate/validate.proto +862 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +26 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +1 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +10 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +2 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +16 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +1 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +1 -1
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +4 -1
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +1 -1
- package/schema/.snootobuf/deps/devvit/dev_portal/v1/installation.proto +12 -0
- package/schema/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +1 -4
- package/schema/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +0 -1
- package/schema/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +0 -3
- package/schema/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +0 -2
- package/schema/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +0 -55
- package/schema/.snootobuf/deps/devvit/runtime/bundle.proto +0 -4
- package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +1 -1
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +1 -2
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +2 -2
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
- package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +0 -14
- package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +0 -4
- package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +2 -5
- package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +2 -2
- package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +2 -16
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/app.proto +44 -0
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/context_action.proto +48 -0
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/error_message.proto +9 -0
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/installation.proto +23 -0
- package/schema/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +4 -3
- package/schema/.snootobuf/deps/reddit/devvit/post/v1/post.proto +31 -7
- package/schema/.snootobuf/deps/reddit/devvit/post/v1/promoted_post.proto +32 -0
- package/schema/.snootobuf/deps/reddit/devvit/post/v1/service.proto +4 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +7 -56
- package/schema/devvit/data/api/v1alpha/filter.proto +68 -0
- package/schema/devvit/dev_portal/data_api/admin/audit/audit.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/auth/auth.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/organization/organization.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/subscription/subscription.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/user/user.proto +2 -0
- package/schema/snootobuf.lock +0 -0
- package/schema/snootobuf.redditapi.lock +0 -0
- package/schema/snootobuf.yaml +2 -4
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts +25 -0
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
- package/types/devvit/data/api/admin/v1alpha/organization.js +122 -0
- package/types/devvit/data/api/v1alpha/admin.d.ts +3 -0
- package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
- package/types/devvit/data/api/v1alpha/admin.js +47 -0
- package/types/devvit/data/api/v1alpha/filter.d.ts +161 -0
- package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
- package/types/devvit/data/api/v1alpha/filter.js +984 -0
- package/types/devvit/dev_portal/dev_portal.d.ts +48 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -0
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
- /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -0
- /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -0
- /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/custom_post.proto +0 -0
- /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/service.proto +0 -0
- /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/subreddit/v1/context_action.proto +0 -0
package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_msg.proto
ADDED
@@ -0,0 +1,214 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.listings;
|
4
|
+
|
5
|
+
import "devvit/plugin/redditapi/common/common_msg.proto";
|
6
|
+
import "google/protobuf/wrappers.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
9
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.listings";
|
10
|
+
|
11
|
+
// Requests
|
12
|
+
|
13
|
+
message GetBestRequest {
|
14
|
+
// Post thing ID
|
15
|
+
// Return Posts in the listing up to this Post (non-inclusive)
|
16
|
+
// Note: Do not use `before` and `after` in the same request
|
17
|
+
// @example "t3_abc123"
|
18
|
+
google.protobuf.StringValue after = 1;
|
19
|
+
// Post thing ID
|
20
|
+
// Return Posts in the listing starting after this Post (non-inclusive)
|
21
|
+
// Note: Do not use `before` and `after` in the same request
|
22
|
+
// @example "t3_abc123"
|
23
|
+
google.protobuf.StringValue before = 2;
|
24
|
+
// The number of items seen so far.
|
25
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
26
|
+
google.protobuf.Int64Value count = 3;
|
27
|
+
// The maximum number of items desired (default: 25, maximum: 100)
|
28
|
+
google.protobuf.Int64Value limit = 4;
|
29
|
+
// Adding the string "all" will show all results regardless of user preferences
|
30
|
+
google.protobuf.StringValue show = 5;
|
31
|
+
}
|
32
|
+
|
33
|
+
message GetSortRequest {
|
34
|
+
// Fetch posts from this subreddit.
|
35
|
+
// Note: If omitted Home is used
|
36
|
+
// @example "AskReddit"
|
37
|
+
google.protobuf.StringValue subreddit = 1;
|
38
|
+
// Sort method
|
39
|
+
// One of: "top", "controversial"
|
40
|
+
string sort = 2;
|
41
|
+
// Post thing ID
|
42
|
+
// Return Posts in the listing up to this Post (non-inclusive)
|
43
|
+
// Note: Do not use `before` and `after` in the same request
|
44
|
+
// @example "t3_abc123"
|
45
|
+
google.protobuf.StringValue after = 3;
|
46
|
+
// Post thing ID
|
47
|
+
// Return Posts in the listing starting after this Post (non-inclusive)
|
48
|
+
// Note: Do not use `before` and `after` in the same request
|
49
|
+
// @example "t3_abc123"
|
50
|
+
google.protobuf.StringValue before = 4;
|
51
|
+
// One of: "num_comments", "new"
|
52
|
+
google.protobuf.Int64Value limit = 5;
|
53
|
+
// The number of items seen so far.
|
54
|
+
// Use when fetching subsequent pages with `before` or `after`, defaults to 0
|
55
|
+
google.protobuf.Int64Value count = 6;
|
56
|
+
// Adding the string "all" will show all results regardless of user preferences
|
57
|
+
google.protobuf.StringValue show = 7;
|
58
|
+
// Show results within the given timeframe (default: "day")
|
59
|
+
// One of: "hour", "day", "week", "month", "year", "all"
|
60
|
+
google.protobuf.StringValue t = 9;
|
61
|
+
}
|
62
|
+
|
63
|
+
message GetCommentsRequest {
|
64
|
+
// Post thing ID without t3_ prefix
|
65
|
+
// @example "abc123" // for: t3_abc123
|
66
|
+
string article = 1;
|
67
|
+
// Comment thing ID without t1_ prefix
|
68
|
+
// Note: If provided this will be the only sub-tree in the listing
|
69
|
+
// @example "def456" // for: t1_def456
|
70
|
+
google.protobuf.StringValue comment = 2;
|
71
|
+
// If `comment` is provided and is not a top-level comment include
|
72
|
+
// up to this amount of parent comments. Range: 0-8
|
73
|
+
google.protobuf.Int64Value context = 3;
|
74
|
+
// Maximum depth of any comment tree in the listing
|
75
|
+
google.protobuf.Int64Value depth = 4;
|
76
|
+
// Maximum comments to include in each sub-tree
|
77
|
+
// Note: This limit is applied to each level of the comment tree
|
78
|
+
google.protobuf.Int64Value limit = 5;
|
79
|
+
// One of: "confidence", "top", "new", "controversial", "old", "random", "qa", "live"
|
80
|
+
google.protobuf.StringValue sort = 6;
|
81
|
+
// If `false` the comment tree is flattened instead of nesting sub-trees in `replies`
|
82
|
+
google.protobuf.BoolValue threaded = 7;
|
83
|
+
// Limit the total number of comments returned to this amount. Range: 0-50
|
84
|
+
// Note: While `limit` sets the maximum comments per sub-tree, `truncate`
|
85
|
+
// counts each comment and its descendents toward the maximum
|
86
|
+
google.protobuf.Int64Value truncate = 8;
|
87
|
+
}
|
88
|
+
|
89
|
+
message GetByIdRequest {
|
90
|
+
// Comma-separated list of Post thing IDs
|
91
|
+
// @example "t3_abc123,t3_def456"
|
92
|
+
string post_ids = 1;
|
93
|
+
}
|
94
|
+
|
95
|
+
message GetDuplicatesRequest {
|
96
|
+
// Post thing ID without t3_ prefix
|
97
|
+
// @example "abc123" // for: t3_abc123
|
98
|
+
string article = 1;
|
99
|
+
// Post thing ID
|
100
|
+
// Return Posts in the listing starting after this Post (non-inclusive)
|
101
|
+
// Note: Do not use `before` and `after` in the same request
|
102
|
+
// @example "t3_abc123"
|
103
|
+
google.protobuf.StringValue before = 2;
|
104
|
+
// Post thing ID
|
105
|
+
// Return Posts in the listing up to this Post (non-inclusive)
|
106
|
+
// Note: Do not use `before` and `after` in the same request
|
107
|
+
// @example "t3_abc123"
|
108
|
+
google.protobuf.StringValue after = 3;
|
109
|
+
// Maximum number of items to include in the response
|
110
|
+
google.protobuf.Int64Value limit = 4;
|
111
|
+
// One of: "num_comments", "new"
|
112
|
+
google.protobuf.StringValue sort = 5;
|
113
|
+
// Limit search to the given subreddit name
|
114
|
+
// @example "AskReddit"
|
115
|
+
google.protobuf.StringValue sr = 6;
|
116
|
+
// The number of items seen so far.
|
117
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
118
|
+
google.protobuf.Int64Value count = 7;
|
119
|
+
// Only return duplicates that are crossposting this post
|
120
|
+
google.protobuf.BoolValue crossposts_only = 8;
|
121
|
+
// Adding the string "all" will show all results regardless of user preferences
|
122
|
+
google.protobuf.StringValue show = 9;
|
123
|
+
}
|
124
|
+
|
125
|
+
message GetHotRequest {
|
126
|
+
// Fetch posts from this subreddit.
|
127
|
+
// Note: If omitted Home is used
|
128
|
+
// @example "AskReddit"
|
129
|
+
google.protobuf.StringValue subreddit = 1;
|
130
|
+
// Post thing ID
|
131
|
+
// Return Posts in the listing starting after this Post (non-inclusive)
|
132
|
+
// Note: Do not use `before` and `after` in the same request
|
133
|
+
// @example "t3_abc123"
|
134
|
+
google.protobuf.StringValue before = 2;
|
135
|
+
// Post thing ID
|
136
|
+
// Return Posts in the listing up to this Post (non-inclusive)
|
137
|
+
// Note: Do not use `before` and `after` in the same request
|
138
|
+
// @example "t3_abc123"
|
139
|
+
google.protobuf.StringValue after = 3;
|
140
|
+
// The maximum number of items desired (default: 25, maximum: 100)
|
141
|
+
google.protobuf.Int64Value limit = 4;
|
142
|
+
// The number of items seen so far.
|
143
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
144
|
+
google.protobuf.Int64Value count = 5;
|
145
|
+
// Adding the string "all" will show all results regardless of user preferences
|
146
|
+
google.protobuf.StringValue show = 6;
|
147
|
+
// If provided filter the results by geographic location
|
148
|
+
// One of: GLOBAL, US, AR, AU, BG, CA, CL, CO, HR, CZ, FI, FR,
|
149
|
+
// DE, GR, HU, IS, IN, IE, IT, JP, MY, MX, NZ, PH, PL,
|
150
|
+
// PT, PR, RO, RS, SG, ES, SE, TW, TH, TR, GB,
|
151
|
+
// US_WA, US_DE, US_DC, US_WI, US_WV, US_HI, US_FL, US_WY,
|
152
|
+
// US_NH, US_NJ, US_NM, US_TX, US_LA, US_NC, US_ND, US_NE,
|
153
|
+
// US_TN, US_NY, US_PA, US_CA, US_NV, US_VA, US_CO, US_AK,
|
154
|
+
// US_AL, US_AR, US_VT, US_IL, US_GA, US_IN, US_IA, US_OK,
|
155
|
+
// US_AZ, US_ID, US_CT, US_ME, US_MD, US_MA, US_OH, US_UT,
|
156
|
+
// US_MO, US_MN, US_MI, US_RI, US_KS, US_MT, US_MS, US_SC,
|
157
|
+
// US_KY, US_OR, US_SD
|
158
|
+
google.protobuf.StringValue g = 7;
|
159
|
+
}
|
160
|
+
|
161
|
+
message GetNewRequest {
|
162
|
+
// Fetch posts from this subreddit.
|
163
|
+
// Note: If omitted Home is used
|
164
|
+
// @example "AskReddit"
|
165
|
+
google.protobuf.StringValue subreddit = 1;
|
166
|
+
// Post thing ID
|
167
|
+
// Return Posts in the listing starting after this Post (non-inclusive)
|
168
|
+
// Note: Do not use `before` and `after` in the same request
|
169
|
+
// @example "t3_abc123"
|
170
|
+
google.protobuf.StringValue before = 2;
|
171
|
+
// Post thing ID
|
172
|
+
// Return Posts in the listing up to this Post (non-inclusive)
|
173
|
+
// Note: Do not use `before` and `after` in the same request
|
174
|
+
// @example "t3_abc123"
|
175
|
+
google.protobuf.StringValue after = 3;
|
176
|
+
// The maximum number of items desired (default: 25, maximum: 100)
|
177
|
+
google.protobuf.Int64Value limit = 4;
|
178
|
+
// The number of items seen so far.
|
179
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
180
|
+
google.protobuf.Int64Value count = 5;
|
181
|
+
// The number of items seen so far.
|
182
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
183
|
+
google.protobuf.StringValue show = 6;
|
184
|
+
}
|
185
|
+
|
186
|
+
message GetRisingRequest {
|
187
|
+
// Fetch posts from this subreddit.
|
188
|
+
// Note: If omitted Home is used
|
189
|
+
// @example "AskReddit"
|
190
|
+
google.protobuf.StringValue subreddit = 1;
|
191
|
+
// Post thing ID
|
192
|
+
// Return Posts in the listing up to this Post (non-inclusive)
|
193
|
+
// Note: Do not use `before` and `after` in the same request
|
194
|
+
// @example "t3_abc123"
|
195
|
+
google.protobuf.StringValue after = 2;
|
196
|
+
// Post thing ID
|
197
|
+
// Return Posts in the listing starting after this Post (non-inclusive)
|
198
|
+
// Note: Do not use `before` and `after` in the same request
|
199
|
+
// @example "t3_abc123"
|
200
|
+
google.protobuf.StringValue before = 3;
|
201
|
+
// The number of items seen so far.
|
202
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
203
|
+
google.protobuf.Int64Value count = 4;
|
204
|
+
// The maximum number of items desired (default: 25, maximum: 100)
|
205
|
+
google.protobuf.Int64Value limit = 5;
|
206
|
+
// The number of items seen so far.
|
207
|
+
// Use when fetching subsequent pages with `before` or `after`.
|
208
|
+
google.protobuf.StringValue show = 6;
|
209
|
+
}
|
210
|
+
|
211
|
+
// Responses
|
212
|
+
message ListingResponse {
|
213
|
+
repeated devvit.plugin.redditapi.common.Listing listings = 1;
|
214
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_svc.proto
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.listings;
|
4
|
+
|
5
|
+
import "devvit/plugin/redditapi/common/common_msg.proto";
|
6
|
+
import "devvit/plugin/redditapi/listings/listings_msg.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
9
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.listings";
|
10
|
+
|
11
|
+
// LISTINGS - https://www.reddit.com/dev/api#section_listings
|
12
|
+
service Listings {
|
13
|
+
// Home listing
|
14
|
+
//
|
15
|
+
// @see {@link https://www.reddit.com/dev/api#GET_best}
|
16
|
+
rpc Best(GetBestRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
17
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
18
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/best.json?after={after}&before={before}&count={count}&limit={limit}&show={show}';
|
19
|
+
}
|
20
|
+
|
21
|
+
// Create a custom listing with the Post IDs provided
|
22
|
+
//
|
23
|
+
// @see {@link https://www.reddit.com/dev/api#GET_by_id_\{names\}}
|
24
|
+
rpc ById(GetByIdRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
25
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
26
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/by_id/{post_ids}.json';
|
27
|
+
}
|
28
|
+
|
29
|
+
// Get a comment tree for a Post
|
30
|
+
//
|
31
|
+
// @see {@link https://www.reddit.com/dev/api#GET_comments_\{article\}}
|
32
|
+
// Note: reddit API returns this in an array of listings. Generated code can't handle this.
|
33
|
+
rpc Comments(GetCommentsRequest) returns (ListingResponse) {
|
34
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
35
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/comments/{article}.json?comment={comment}&context={context}&depth={depth}&limit={limit}&sort={sort}&threaded={threaded}&truncate={truncate}';
|
36
|
+
option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Find duplicate posts that reference the same URL as this Post
|
40
|
+
//
|
41
|
+
// @see {@link https://www.reddit.com/dev/api#GET_duplicates_\{article\}}
|
42
|
+
// Note: reddit API returns this in an array of listings. Generated code can't handle this.
|
43
|
+
rpc Duplicates(GetDuplicatesRequest) returns (ListingResponse) {
|
44
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
45
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/duplicates/{article}.json?before={before}&after={after}&limit={limit}&sort={sort}&sr={sr}&count={count}&crossposts_only={crossposts_only}&show={show}';
|
46
|
+
option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
|
47
|
+
}
|
48
|
+
|
49
|
+
// Listing with Hot sort
|
50
|
+
//
|
51
|
+
// @see {@link https://www.reddit.com/dev/api#GET_hot}
|
52
|
+
rpc Hot(GetHotRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
53
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
54
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/hot.json?after={after}&before={before}&count={count}&limit={limit}&show={show}&g={g}';
|
55
|
+
}
|
56
|
+
|
57
|
+
// Listing with New sort
|
58
|
+
//
|
59
|
+
// @see {@link https://www.reddit.com/dev/api#GET_new}
|
60
|
+
rpc New(GetNewRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
61
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
62
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/new.json?after={after}&before={before}&count={count}&limit={limit}&show={show}';
|
63
|
+
}
|
64
|
+
|
65
|
+
// Listing with Rising sort
|
66
|
+
//
|
67
|
+
// @see {@link https://www.reddit.com/dev/api#GET_rising}
|
68
|
+
rpc Rising(GetRisingRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
69
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
70
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/rising.json?after={after}&before={before}&count={count}&limit={limit}&show={show}';
|
71
|
+
}
|
72
|
+
|
73
|
+
// Listing with Top or Controversial sort
|
74
|
+
//
|
75
|
+
// @see {@link https://www.reddit.com/dev/api#GET_\{sort\}}
|
76
|
+
rpc Sort(GetSortRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
77
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
78
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/{sort}.json?after={after}&before={before}&limit={limit}&count={count}&show={show}&t={t}';
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.moderation;
|
4
|
+
|
5
|
+
import "google/protobuf/wrappers.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
8
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.moderation";
|
9
|
+
|
10
|
+
// Requests
|
11
|
+
message AboutLogRequest {
|
12
|
+
// a modaction thing uuid
|
13
|
+
google.protobuf.StringValue after = 1;
|
14
|
+
// a modaction thing uuid
|
15
|
+
google.protobuf.StringValue before = 2;
|
16
|
+
google.protobuf.Int64Value count = 3;
|
17
|
+
// the maximum number of items desired (default: 25, maximum: 500)
|
18
|
+
google.protobuf.Int64Value limit = 4;
|
19
|
+
// (optional) the string all
|
20
|
+
google.protobuf.StringValue show = 5;
|
21
|
+
// (optional) a moderator filter
|
22
|
+
google.protobuf.StringValue mod = 6;
|
23
|
+
// one of (banuser, unbanuser, spamlink, removelink, approvelink, spamcomment, removecomment,
|
24
|
+
// approvecomment, addmoderator, showcomment, invitemoderator, uninvitemoderator,
|
25
|
+
// acceptmoderatorinvite, removemoderator, addcontributor, removecontributor, editsettings,
|
26
|
+
// editflair, distinguish, marknsfw, wikibanned, wikicontributor, wikiunbanned, wikipagelisted,
|
27
|
+
// removewikicontributor, wikirevise, wikipermlevel, ignorereports, unignorereports,
|
28
|
+
// setpermissions, setsuggestedsort, sticky, unsticky, setcontestmode, unsetcontestmode, lock,
|
29
|
+
// unlock, muteuser, unmuteuser, createrule, editrule, reorderrules, deleterule, spoiler,
|
30
|
+
// unspoiler, modmail_enrollment, community_styling, community_widgets, markoriginalcontent,
|
31
|
+
// collections, events, hidden_award, add_community_topics, remove_community_topics,
|
32
|
+
// create_scheduled_post, edit_scheduled_post, delete_scheduled_post, submit_scheduled_post,
|
33
|
+
// edit_post_requirements, invitesubscriber, submit_content_rating_survey,
|
34
|
+
// adjust_post_crowd_control_level, enable_post_crowd_control_filter,
|
35
|
+
// disable_post_crowd_control_filter, deleteoverriddenclassification, overrideclassification,
|
36
|
+
// reordermoderators, snoozereports, unsnoozereports, addnote, deletenote, addremovalreason,
|
37
|
+
// createremovalreason, updateremovalreason, deleteremovalreason)
|
38
|
+
google.protobuf.StringValue type = 8;
|
39
|
+
// subreddit name without the r/
|
40
|
+
google.protobuf.StringValue subreddit = 9;
|
41
|
+
}
|
42
|
+
|
43
|
+
message AboutLocationRequest {
|
44
|
+
// thing id (e.g t1_15bfi0)
|
45
|
+
google.protobuf.StringValue after = 1;
|
46
|
+
// thing id (e.g t1_15bfi0)
|
47
|
+
google.protobuf.StringValue before = 2;
|
48
|
+
google.protobuf.Int64Value count = 3;
|
49
|
+
// the maximum number of items desired (default: 25, maximum: 100)
|
50
|
+
google.protobuf.Int64Value limit = 4;
|
51
|
+
string location = 5;
|
52
|
+
// one of (links, comments, chat_comments)
|
53
|
+
google.protobuf.StringValue only = 6;
|
54
|
+
// (optional) the string all
|
55
|
+
google.protobuf.StringValue show = 7;
|
56
|
+
// subreddit name without the r/
|
57
|
+
string subreddit = 8;
|
58
|
+
}
|
59
|
+
|
60
|
+
message AcceptModeratorInviteRequest {
|
61
|
+
// subreddit name without the r/
|
62
|
+
string subreddit = 1;
|
63
|
+
}
|
64
|
+
|
65
|
+
message BasicModerationIdRequest {
|
66
|
+
string id = 1;
|
67
|
+
}
|
68
|
+
|
69
|
+
message DistinguishRequest {
|
70
|
+
// one of (yes, no, admin, special)
|
71
|
+
string how = 1;
|
72
|
+
// thing id (e.g t1_15bfi0)
|
73
|
+
string id = 2;
|
74
|
+
// stick the distinguished comment to the top of all comments threads
|
75
|
+
bool sticky = 3;
|
76
|
+
}
|
77
|
+
|
78
|
+
message RemoveRequest {
|
79
|
+
// thing id (e.g t1_15bfi0)
|
80
|
+
string id = 1;
|
81
|
+
// is it spam?
|
82
|
+
bool spam = 2; // TODO: Not required
|
83
|
+
}
|
84
|
+
|
85
|
+
message SnoozeReportsRequest {
|
86
|
+
// thing id (e.g t1_15bfi0)
|
87
|
+
string id = 1;
|
88
|
+
// report reason
|
89
|
+
string reason = 2;
|
90
|
+
}
|
91
|
+
|
92
|
+
message UpdateCrowdControlLevelRequest {
|
93
|
+
// thing id (e.g t1_15bfi0)
|
94
|
+
string id = 1;
|
95
|
+
// an integer between 0 and 3
|
96
|
+
int32 level = 2;
|
97
|
+
}
|
98
|
+
|
99
|
+
message StylesheetRequest {
|
100
|
+
// subreddit name without the r/
|
101
|
+
string subreddit = 1;
|
102
|
+
}
|
103
|
+
|
104
|
+
// Responses
|
105
|
+
message AboutLogResponse {
|
106
|
+
message LogObject {
|
107
|
+
google.protobuf.StringValue description = 1;
|
108
|
+
google.protobuf.StringValue target_body = 2;
|
109
|
+
google.protobuf.StringValue mod_id36 = 3;
|
110
|
+
google.protobuf.Int64Value created_utc = 4;
|
111
|
+
google.protobuf.StringValue subreddit = 5;
|
112
|
+
google.protobuf.StringValue target_title = 6;
|
113
|
+
google.protobuf.StringValue target_permalink = 7;
|
114
|
+
google.protobuf.StringValue subreddit_name_prefixed = 8;
|
115
|
+
google.protobuf.StringValue details = 9;
|
116
|
+
google.protobuf.StringValue action = 10;
|
117
|
+
google.protobuf.StringValue target_author = 11;
|
118
|
+
google.protobuf.StringValue target_fullname = 12;
|
119
|
+
google.protobuf.StringValue sr_id36 = 13;
|
120
|
+
google.protobuf.StringValue id = 14;
|
121
|
+
google.protobuf.StringValue mod = 15;
|
122
|
+
}
|
123
|
+
|
124
|
+
message AboutLogListing {
|
125
|
+
message WrappedLogObject {
|
126
|
+
string kind = 1;
|
127
|
+
LogObject data = 2;
|
128
|
+
}
|
129
|
+
google.protobuf.StringValue after = 1;
|
130
|
+
google.protobuf.StringValue before = 2;
|
131
|
+
repeated WrappedLogObject children = 3;
|
132
|
+
google.protobuf.Int32Value dist = 4;
|
133
|
+
}
|
134
|
+
|
135
|
+
string kind = 1;
|
136
|
+
AboutLogListing data = 2;
|
137
|
+
}
|
@@ -0,0 +1,178 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.moderation;
|
4
|
+
|
5
|
+
import "devvit/plugin/redditapi/common/common_msg.proto";
|
6
|
+
import "devvit/plugin/redditapi/moderation/moderation_msg.proto";
|
7
|
+
import "google/protobuf/empty.proto";
|
8
|
+
import "google/protobuf/wrappers.proto";
|
9
|
+
|
10
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
11
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.moderation";
|
12
|
+
|
13
|
+
// MODERATION - https://www.reddit.com/dev/api#section_moderation
|
14
|
+
service Moderation {
|
15
|
+
// https://www.reddit.com/dev/api#GET_about_log
|
16
|
+
rpc AboutLog(AboutLogRequest) returns (AboutLogResponse) {
|
17
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
18
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/log?after={after}&before={before}&count={count}&limit={limit}&show={show}&mod={mod}&type={type}';
|
19
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
20
|
+
}
|
21
|
+
|
22
|
+
// https://www.reddit.com/dev/api#GET_about_\{location\}
|
23
|
+
rpc AboutLocation(AboutLocationRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
24
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
25
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/{location}?after={after}&before={before}&count={count}&limit={limit}&show={show}&only={only}';
|
26
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
27
|
+
}
|
28
|
+
|
29
|
+
// https://www.reddit.com/dev/api#GET_about_\reports
|
30
|
+
rpc AboutReports(AboutLocationRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
31
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
32
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/reports?after={after}&before={before}&count={count}&limit={limit}&show={show}&only={only}';
|
33
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
34
|
+
}
|
35
|
+
|
36
|
+
// https://www.reddit.com/dev/api#GET_about_\spam
|
37
|
+
rpc AboutSpam(AboutLocationRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
38
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
39
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/spam?after={after}&before={before}&count={count}&limit={limit}&show={show}&only={only}';
|
40
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
41
|
+
}
|
42
|
+
|
43
|
+
// https://www.reddit.com/dev/api#GET_about_\modqueue
|
44
|
+
rpc AboutModqueue(AboutLocationRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
45
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
46
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/modqueue?after={after}&before={before}&count={count}&limit={limit}&show={show}&only={only}';
|
47
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
48
|
+
}
|
49
|
+
|
50
|
+
// https://www.reddit.com/dev/api#GET_about_\unmoderated
|
51
|
+
rpc AboutUnmoderated(AboutLocationRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
52
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
53
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/unmoderated?after={after}&before={before}&count={count}&limit={limit}&show={show}&only={only}';
|
54
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
55
|
+
}
|
56
|
+
|
57
|
+
// https://www.reddit.com/dev/api#GET_about_\edited
|
58
|
+
rpc AboutEdited(AboutLocationRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
59
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
60
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/about/edited?after={after}&before={before}&count={count}&limit={limit}&show={show}&only={only}';
|
61
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
62
|
+
}
|
63
|
+
|
64
|
+
// https://www.reddit.com/dev/api#POST_api_accept_moderator_invite
|
65
|
+
rpc AcceptModeratorInvite(AcceptModeratorInviteRequest) returns (devvit.plugin.redditapi.common.JsonStatus) {
|
66
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
67
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/accept_moderator_invite';
|
68
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_subreddit_context = 'subreddit';
|
69
|
+
}
|
70
|
+
|
71
|
+
// https://www.reddit.com/dev/api#POST_api_approve
|
72
|
+
rpc Approve(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
73
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
74
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/approve';
|
75
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
76
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
77
|
+
}
|
78
|
+
|
79
|
+
// https://www.reddit.com/dev/api#POST_api_distinguish
|
80
|
+
rpc Distinguish(DistinguishRequest) returns (devvit.plugin.redditapi.common.JsonRedditObjects) {
|
81
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
82
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/distinguish';
|
83
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
84
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
85
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
86
|
+
}
|
87
|
+
|
88
|
+
// https://www.reddit.com/dev/api#POST_api_ignore_reports
|
89
|
+
rpc IgnoreReports(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
90
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
91
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/ignore_reports';
|
92
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
93
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
94
|
+
}
|
95
|
+
|
96
|
+
// https://www.reddit.com/dev/api#POST_api_leavecontributor
|
97
|
+
rpc LeaveContributor(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
98
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
99
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/leavecontributor';
|
100
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
101
|
+
}
|
102
|
+
|
103
|
+
// https://www.reddit.com/dev/api#POST_api_leavemoderator
|
104
|
+
rpc LeaveModerator(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
105
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
106
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/leavemoderator';
|
107
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
108
|
+
}
|
109
|
+
|
110
|
+
// https://www.reddit.com/dev/api#POST_api_mute_message_author
|
111
|
+
rpc MuteMessageAuthor(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
112
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
113
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/mute_message_author';
|
114
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
115
|
+
}
|
116
|
+
|
117
|
+
// https://www.reddit.com/dev/api#POST_api_remove
|
118
|
+
rpc Remove(RemoveRequest) returns (google.protobuf.Empty) {
|
119
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
120
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/remove';
|
121
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
122
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
123
|
+
}
|
124
|
+
|
125
|
+
// https://www.reddit.com/dev/api#POST_api_show_comment
|
126
|
+
rpc ShowComment(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
127
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
128
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/show_comment';
|
129
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
130
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
131
|
+
}
|
132
|
+
|
133
|
+
// https://www.reddit.com/dev/api#POST_api_snooze_reports
|
134
|
+
rpc SnoozeReports(SnoozeReportsRequest) returns (google.protobuf.Empty) {
|
135
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
136
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/snooze_reports';
|
137
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
138
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
139
|
+
}
|
140
|
+
|
141
|
+
// https://www.reddit.com/dev/api#POST_api_unignore_reports
|
142
|
+
rpc UnignoreReports(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
143
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
144
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unignore_reports';
|
145
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
146
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
147
|
+
}
|
148
|
+
|
149
|
+
// https://www.reddit.com/dev/api#POST_api_unmute_message_author
|
150
|
+
rpc UnmuteMessageAuthor(BasicModerationIdRequest) returns (google.protobuf.Empty) {
|
151
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
152
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unmute_message_author';
|
153
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
154
|
+
}
|
155
|
+
|
156
|
+
// https://www.reddit.com/dev/api#POST_api_unsnooze_reports
|
157
|
+
rpc UnsnoozeReports(SnoozeReportsRequest) returns (google.protobuf.Empty) {
|
158
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
159
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unsnooze_reports';
|
160
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
161
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
162
|
+
}
|
163
|
+
|
164
|
+
// https://www.reddit.com/dev/api#POST_api_update_crowd_control_level
|
165
|
+
rpc UpdateCrowdControlLevel(UpdateCrowdControlLevelRequest) returns (google.protobuf.Empty) {
|
166
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
167
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/update_crowd_control_level';
|
168
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
169
|
+
option (devvit.plugin.redditapi.common.api_client_config).validate_content_id_context = 'id';
|
170
|
+
}
|
171
|
+
|
172
|
+
// https://www.reddit.com/dev/api#GET_stylesheet
|
173
|
+
rpc Stylesheet(StylesheetRequest) returns (google.protobuf.StringValue) {
|
174
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
175
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/stylesheet';
|
176
|
+
option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
|
177
|
+
}
|
178
|
+
}
|