@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
@@ -0,0 +1,291 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.linksandcomments;
|
4
|
+
|
5
|
+
import "devvit/plugin/redditapi/common/common_msg.proto";
|
6
|
+
import "devvit/reddit/comment.proto";
|
7
|
+
import "devvit/ui/effects/web_view/v1alpha/context.proto";
|
8
|
+
import "google/protobuf/any.proto";
|
9
|
+
import "google/protobuf/struct.proto";
|
10
|
+
import "google/protobuf/wrappers.proto";
|
11
|
+
|
12
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
13
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.linksandcomments";
|
14
|
+
|
15
|
+
// Request Types
|
16
|
+
message CommentRequest {
|
17
|
+
// Rich-text body of the comment. Serialized RTJSON string.
|
18
|
+
// Note: If `richtext_json` is provided, `text` is ignored.
|
19
|
+
// @example '{"document":[{"e":"par","c":[{"e":"text","t":"Hello, world!","f":[[2, 0, 13]]}]}]}'
|
20
|
+
google.protobuf.StringValue richtext_json = 1;
|
21
|
+
// Markdown body of the comment
|
22
|
+
// @example '_Hello, world!_'
|
23
|
+
string text = 2;
|
24
|
+
// Post or Comment thing ID
|
25
|
+
// @example "t3_abc123"
|
26
|
+
string thing_id = 3;
|
27
|
+
// Indicates who the Comment should be created as
|
28
|
+
plugin.redditapi.common.RunAs run_as = 4;
|
29
|
+
}
|
30
|
+
|
31
|
+
message FollowPostRequest {
|
32
|
+
// `true` to follow; `false` to unfollow
|
33
|
+
bool follow = 1;
|
34
|
+
// Post thing ID
|
35
|
+
// @example "t3_abc123"
|
36
|
+
string fullname = 2;
|
37
|
+
}
|
38
|
+
|
39
|
+
message BasicIdRequest {
|
40
|
+
// Thing ID
|
41
|
+
// @example "t1_abc123"
|
42
|
+
string id = 1;
|
43
|
+
}
|
44
|
+
|
45
|
+
message InfoRequest {
|
46
|
+
// List of zero or more Subreddit names to fetch
|
47
|
+
// @example ["AskReddit", "jokes"]
|
48
|
+
repeated string subreddits = 1;
|
49
|
+
// List of zero or more thing IDs to fetch
|
50
|
+
// Note: Must be a Comment (t1), Post (t3), or Subreddit (t5) ID
|
51
|
+
// @example ["t1_abc123", "t3_abc123", "t5_abc123"]
|
52
|
+
repeated string thing_ids = 2;
|
53
|
+
// Any Link Posts that refer to this URL
|
54
|
+
// Note: Providing `url` overrides `subreddits` and `thing_ids`
|
55
|
+
// @example "https://www.reddit.com/"
|
56
|
+
google.protobuf.StringValue url = 3;
|
57
|
+
}
|
58
|
+
|
59
|
+
message MoreChildrenRequest {
|
60
|
+
// List of Comment thing IDs without their "t1_" prefixes
|
61
|
+
// @example ["foo123", "bar456", "baz789"]
|
62
|
+
repeated string children = 1;
|
63
|
+
// Maximum comment depth
|
64
|
+
google.protobuf.Int32Value depth = 2;
|
65
|
+
// Only return the comments explicitly listed in `children`, otherwise return as many as available
|
66
|
+
google.protobuf.BoolValue limit_children = 4;
|
67
|
+
// Post thing ID
|
68
|
+
// @example "t3_abc123"
|
69
|
+
string link_id = 5;
|
70
|
+
// Optional, one of: "confidence", "top", "new", "controversial", "old", "random", "qa", "live"
|
71
|
+
google.protobuf.StringValue sort = 6;
|
72
|
+
|
73
|
+
// Optional, id of the associated MoreChildren object
|
74
|
+
google.protobuf.StringValue id = 7;
|
75
|
+
}
|
76
|
+
|
77
|
+
message ReportRequest {
|
78
|
+
// Additional information attached to the report
|
79
|
+
google.protobuf.StringValue additional_info = 1;
|
80
|
+
// Additional information attached to the report
|
81
|
+
google.protobuf.StringValue custom_text = 2;
|
82
|
+
// Modmail conversation ID to attach to the report for context
|
83
|
+
google.protobuf.StringValue modmail_conv_id = 5;
|
84
|
+
// Free-form reason explaining this report
|
85
|
+
// Note: If reporting Subreddit content the subreddit must have
|
86
|
+
// "allow free-form reports by users" enabled
|
87
|
+
// @see {@link Subreddits.SubredditAboutRules}
|
88
|
+
google.protobuf.StringValue other_reason = 6;
|
89
|
+
// One of: "rule", "site_reason_selected", "other"
|
90
|
+
string reason = 7;
|
91
|
+
// The Subreddit rule this thing is violating
|
92
|
+
google.protobuf.StringValue rule_reason = 8;
|
93
|
+
// The Reddit rule this thing is violating
|
94
|
+
google.protobuf.StringValue site_reason = 9;
|
95
|
+
// Subreddit name; set if reporting a Post or Comment
|
96
|
+
// @example "AskReddit"
|
97
|
+
google.protobuf.StringValue sr_name = 10;
|
98
|
+
// The thing ID being reported. Must be a Post (t3), Comment (t1), or Private Message (t4)
|
99
|
+
// @example "t3_abc123"
|
100
|
+
string thing_id = 11;
|
101
|
+
// List of comma-separated usernames to associate with this report
|
102
|
+
// @example "user1,user2,user3"
|
103
|
+
google.protobuf.StringValue usernames = 12;
|
104
|
+
}
|
105
|
+
|
106
|
+
message ReportAwardRequest {
|
107
|
+
// Award ID from a Post or Comment
|
108
|
+
// @example "award_813b473a-4d74-4933-ba79-a7f1b8b285ef"
|
109
|
+
string award_id = 1;
|
110
|
+
// Reason for this report
|
111
|
+
google.protobuf.StringValue reason = 2;
|
112
|
+
}
|
113
|
+
|
114
|
+
message SaveRequest {
|
115
|
+
// Post or Comment thing ID
|
116
|
+
// @example "t1_abc123"
|
117
|
+
string id = 1;
|
118
|
+
}
|
119
|
+
|
120
|
+
message SendRepliesRequest {
|
121
|
+
// Post or Comment thing ID
|
122
|
+
// @example "t1_abc123"
|
123
|
+
string id = 1;
|
124
|
+
// Boolean to enable reply notifications
|
125
|
+
bool state = 2;
|
126
|
+
}
|
127
|
+
|
128
|
+
message SetContestModeRequest {
|
129
|
+
// Post thing ID
|
130
|
+
// @example "t3_abc123"
|
131
|
+
string id = 1;
|
132
|
+
// Boolean to enable Contest Mode
|
133
|
+
bool state = 2;
|
134
|
+
}
|
135
|
+
|
136
|
+
message SetSubredditStickyRequest {
|
137
|
+
// Post thing ID
|
138
|
+
// @example "t3_abc123"
|
139
|
+
string id = 1;
|
140
|
+
// Which sticky "slot" this Post should take
|
141
|
+
// If the slot is empty or `num` is not set the bottom-most slot will be used
|
142
|
+
// Valid range for subreddits: 1 - 2
|
143
|
+
// Valid range for user profiles: 1 - 4
|
144
|
+
google.protobuf.Int32Value num = 2;
|
145
|
+
// Boolean to set the Post as sticky/pinned
|
146
|
+
bool state = 3;
|
147
|
+
// If the Post is owned by the current user set to `true` to pin
|
148
|
+
// it to their profile instead of the subreddit it was posted in
|
149
|
+
google.protobuf.BoolValue to_profile = 4;
|
150
|
+
}
|
151
|
+
|
152
|
+
message SetSuggestedSortRequest {
|
153
|
+
// Post thing ID
|
154
|
+
// @example "t3_abc123"
|
155
|
+
string id = 1;
|
156
|
+
// One of: "confidence", "top", "new", "controversial", "old", "random", "qa", "live", ""
|
157
|
+
// Note: If left blank the suggested sort order is cleared
|
158
|
+
string sort = 2;
|
159
|
+
}
|
160
|
+
|
161
|
+
message SubmitRequest {
|
162
|
+
// UUID of the collection to add this Post to
|
163
|
+
// @example "813b473a-4d74-4933-ba79-a7f1b8b285ef"
|
164
|
+
google.protobuf.StringValue collection_id = 2;
|
165
|
+
// Flair template ID to use for this Post
|
166
|
+
// @example "813b473a-4d74-4933-ba79-a7f1b8b285ef"
|
167
|
+
google.protobuf.StringValue flair_id = 7;
|
168
|
+
// Custom text to use in the selected flair template if the template
|
169
|
+
// has `text_editable` enabled
|
170
|
+
google.protobuf.StringValue flair_text = 8;
|
171
|
+
// What kind of Post is being created
|
172
|
+
// One of: "link", "self", "image", "video", "videogif", "crosspost"
|
173
|
+
string kind = 9;
|
174
|
+
// Boolean to set the Not-Safe-For-Work tag
|
175
|
+
google.protobuf.BoolValue nsfw = 10;
|
176
|
+
// Rich-text body of the Post. Serialized RTJSON string.
|
177
|
+
// Note: Only used if `kind` is set to "self"
|
178
|
+
// Note: `text` and `richtext_json` cannot both be set
|
179
|
+
// @example '{"document":[{"e":"par","c":[{"e":"text","t":"Hello, world!","f":[[2, 0, 13]]}]}]}'
|
180
|
+
google.protobuf.StringValue richtext_json = 12;
|
181
|
+
// Boolean to enable notifications when a comment is added
|
182
|
+
google.protobuf.BoolValue sendreplies = 13;
|
183
|
+
// Boolean to set the Spoiler tag
|
184
|
+
google.protobuf.BoolValue spoiler = 14;
|
185
|
+
// Subreddit name
|
186
|
+
// @example "AskReddit"
|
187
|
+
string sr = 15;
|
188
|
+
// Markdown body of the Post
|
189
|
+
// Note: Only used if `kind` is set to "self"
|
190
|
+
// Note: `text` and `richtext_json` cannot both be set
|
191
|
+
// @example "_Hello, world!_"
|
192
|
+
google.protobuf.StringValue text = 16;
|
193
|
+
// Post title
|
194
|
+
string title = 17;
|
195
|
+
// The URL this Post refers to if this is a Link Post
|
196
|
+
// Note: If `kind` is "video", "videogif", or "image" this must be set to
|
197
|
+
// the media URL created when the media was uploaded
|
198
|
+
// Note: If `kind` is "self" this is ignored
|
199
|
+
google.protobuf.StringValue url = 18;
|
200
|
+
// If `kind` is "video" or "videogif" this must be set to the thumbnail URL
|
201
|
+
google.protobuf.StringValue video_poster_url = 19;
|
202
|
+
// If `kind` is "crosspost" this must be set to the ID of the post being crossposted
|
203
|
+
google.protobuf.StringValue crosspost_fullname = 20;
|
204
|
+
// Fallback option of a developer platform experience as rich-text
|
205
|
+
google.protobuf.StringValue richtext_fallback = 21;
|
206
|
+
// If `kind` is "image" this must be set to the images URLs
|
207
|
+
google.protobuf.ListValue image_urls = 22;
|
208
|
+
// Indicates who the Post should be submited as
|
209
|
+
plugin.redditapi.common.RunAs run_as = 23;
|
210
|
+
// The UserGeneratedContent attached to the Post
|
211
|
+
plugin.redditapi.common.UserGeneratedContent user_generated_content = 24;
|
212
|
+
// DevvitPostData contains all post data set on the custom post, including internal data and developer-provided data.
|
213
|
+
// Example: { "devvit": { "splash": { "tagLine": "my tagline" } }, "developerData": { "riddle": "hello world" } }
|
214
|
+
devvit.ui.effects.web_view.v1alpha.DevvitPostData post_data = 25;
|
215
|
+
|
216
|
+
// Removed fields
|
217
|
+
reserved 11;
|
218
|
+
reserved "resubmit";
|
219
|
+
}
|
220
|
+
|
221
|
+
message VoteRequest {
|
222
|
+
// One of: -1, 0, 1
|
223
|
+
// Where:
|
224
|
+
// 1 = Upvote
|
225
|
+
// 0 = Cleared
|
226
|
+
// -1 = Downvote
|
227
|
+
int32 dir = 1;
|
228
|
+
// Post or Comment thing ID
|
229
|
+
// @example "t1_abc123"
|
230
|
+
string id = 2;
|
231
|
+
}
|
232
|
+
|
233
|
+
message EditCustomPostRequest {
|
234
|
+
// Post or Comment thing ID
|
235
|
+
// @example "t3_abc123"
|
236
|
+
string thing_id = 1;
|
237
|
+
// Fallback option of a developer custom experience as rich-text
|
238
|
+
optional google.protobuf.StringValue richtext_fallback = 2;
|
239
|
+
// DevvitPostData contains all post data set on the custom post, including internal data and developer-provided data.
|
240
|
+
// Example: { "devvit": { "splash": { "tagLine": "my tagline" } }, "developerData": { "riddle": "hello world" } }
|
241
|
+
optional devvit.ui.effects.web_view.v1alpha.DevvitPostData post_data = 3;
|
242
|
+
}
|
243
|
+
|
244
|
+
message SetCustomPostPreviewRequest {
|
245
|
+
// Post or Comment thing ID
|
246
|
+
// @example "t3_abc123"
|
247
|
+
string thing_id = 1;
|
248
|
+
|
249
|
+
enum BodyType {
|
250
|
+
// Default value. Should not be used for requests.
|
251
|
+
UNKNOWN = 0;
|
252
|
+
// Body is a Blocks rendering, and should be present in `blocks_render_content`.
|
253
|
+
BLOCKS = 1;
|
254
|
+
}
|
255
|
+
BodyType body_type = 2;
|
256
|
+
|
257
|
+
// For body_type=BLOCKS, this is a base64-encoded Block proto.
|
258
|
+
// See: devvit.ui.block_kit.v1beta.Block
|
259
|
+
google.protobuf.StringValue blocks_render_content = 3;
|
260
|
+
}
|
261
|
+
|
262
|
+
// Response Types
|
263
|
+
message JsonWrappedComment {
|
264
|
+
message WrappedComment {
|
265
|
+
string kind = 1;
|
266
|
+
devvit.reddit.Comment data = 2;
|
267
|
+
}
|
268
|
+
message JsonData {
|
269
|
+
repeated WrappedComment things = 1;
|
270
|
+
}
|
271
|
+
message Json {
|
272
|
+
repeated string errors = 1;
|
273
|
+
JsonData data = 2;
|
274
|
+
}
|
275
|
+
Json json = 1;
|
276
|
+
}
|
277
|
+
|
278
|
+
message SubmitResponse {
|
279
|
+
message JsonType {
|
280
|
+
message JsonData {
|
281
|
+
google.protobuf.StringValue url = 1;
|
282
|
+
google.protobuf.Int32Value drafts_count = 2;
|
283
|
+
google.protobuf.StringValue id = 3;
|
284
|
+
google.protobuf.StringValue name = 4;
|
285
|
+
}
|
286
|
+
|
287
|
+
repeated google.protobuf.Any errors = 1;
|
288
|
+
JsonData data = 2;
|
289
|
+
}
|
290
|
+
JsonType json = 4;
|
291
|
+
}
|
@@ -0,0 +1,253 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.linksandcomments;
|
4
|
+
|
5
|
+
import "devvit/plugin/redditapi/common/common_msg.proto";
|
6
|
+
import "devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto";
|
7
|
+
import "google/protobuf/empty.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
10
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.linksandcomments";
|
11
|
+
|
12
|
+
// LINKS & COMMENTS - https://www.reddit.com/dev/api#section_links_and_comments
|
13
|
+
// Note: all endpoints require oauth
|
14
|
+
service LinksAndComments {
|
15
|
+
// Submit a new Comment
|
16
|
+
// Note: `thing_id` refers to the Post or Comment this comment is replying to
|
17
|
+
//
|
18
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_comment}
|
19
|
+
rpc Comment(CommentRequest) returns (JsonWrappedComment) {
|
20
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
21
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/comment';
|
22
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
23
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
24
|
+
option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
|
25
|
+
option (devvit.plugin.redditapi.common.api_client_config).run_as_user_scopes = SUBMIT_COMMENT;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Delete a Post or Comment
|
29
|
+
// Note: `id` must be a single thing ID for a Post or Comment
|
30
|
+
//
|
31
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_del}
|
32
|
+
rpc Del(BasicIdRequest) returns (google.protobuf.Empty) {
|
33
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
34
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/del';
|
35
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
36
|
+
}
|
37
|
+
// Edit the body text of a Comment or Post
|
38
|
+
// Note: `thing_id` refers to the Post or Comment being edited
|
39
|
+
//
|
40
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_editusertext}
|
41
|
+
rpc EditUserText(CommentRequest) returns (JsonWrappedComment) {
|
42
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
43
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/editusertext';
|
44
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
45
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
46
|
+
option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
|
47
|
+
}
|
48
|
+
// Follow or unfollow a Post
|
49
|
+
//
|
50
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_follow_post}
|
51
|
+
rpc FollowPost(FollowPostRequest) returns (google.protobuf.Empty) {
|
52
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
53
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/follow_post';
|
54
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
55
|
+
}
|
56
|
+
// Hide one or more Posts for the user
|
57
|
+
// Note: `id` must be one or more comma-separated Post thing IDs
|
58
|
+
//
|
59
|
+
// @see {@link Unhide}
|
60
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_hide}
|
61
|
+
rpc Hide(BasicIdRequest) returns (google.protobuf.Empty) {
|
62
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
63
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/hide';
|
64
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
65
|
+
}
|
66
|
+
// Get one or more things by ID, Subreddit name, or Link Post URL
|
67
|
+
//
|
68
|
+
// @see {@link https://www.reddit.com/dev/api#GET_api_info}
|
69
|
+
rpc Info(InfoRequest) returns (devvit.plugin.redditapi.common.Listing) {
|
70
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
71
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/info.json?sr_name={subreddits}&id={thing_ids}&url={url}&rtj=1';
|
72
|
+
}
|
73
|
+
// Disable comments for a Post or Comment
|
74
|
+
// Note: `id` must be a single thing ID for a Post or Comment
|
75
|
+
//
|
76
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_lock}
|
77
|
+
rpc Lock(BasicIdRequest) returns (google.protobuf.Empty) {
|
78
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
79
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/lock';
|
80
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
81
|
+
}
|
82
|
+
// Marks a Post as Not-Safe-For-Work
|
83
|
+
//
|
84
|
+
// @see {@link UnmarkNSFW}
|
85
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_marknsfw}
|
86
|
+
rpc MarkNSFW(BasicIdRequest) returns (google.protobuf.Empty) {
|
87
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
88
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/marknsfw';
|
89
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
90
|
+
}
|
91
|
+
// Get more comments from a truncated Comment tree
|
92
|
+
//
|
93
|
+
// A comment tree has been truncated if it ends with an entry of kind "more"
|
94
|
+
// instead of "t1". Use this API to fetch the additional comments listed in
|
95
|
+
// the "children" array of the "more" entry.
|
96
|
+
//
|
97
|
+
// @see {@link https://www.reddit.com/dev/api#GET_api_morechildren}
|
98
|
+
rpc MoreChildren(MoreChildrenRequest) returns (JsonWrappedComment) {
|
99
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
100
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/morechildren?children={children}&depth={depth}&id={id}&limit_children={limit_children}&link_id={link_id}&sort={sort}&api_type=json';
|
101
|
+
option (devvit.plugin.redditapi.common.api_client_config).use_custom_response_parser = true;
|
102
|
+
}
|
103
|
+
// Report a Post, Comment, or Private Message
|
104
|
+
//
|
105
|
+
// If reporting a Post or Comment the report is sent to the moderators of the subreddit for review.
|
106
|
+
// If reporting a Private Message the report is sent to Reddit for review.
|
107
|
+
//
|
108
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_report}
|
109
|
+
rpc Report(ReportRequest) returns (devvit.plugin.redditapi.common.JsonStatus) {
|
110
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
111
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/report';
|
112
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
113
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
114
|
+
}
|
115
|
+
// Report an award to Reddit for review
|
116
|
+
//
|
117
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_report_award}
|
118
|
+
rpc ReportAward(ReportAwardRequest) 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/report_award';
|
121
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
122
|
+
}
|
123
|
+
// Save a Post or Comment to the user's Saved list
|
124
|
+
//
|
125
|
+
// @see {@link Unsave}
|
126
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_save}
|
127
|
+
rpc Save(SaveRequest) returns (google.protobuf.Empty) {
|
128
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
129
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/save';
|
130
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
131
|
+
}
|
132
|
+
// Enable or disable reply notifications for a Post or Comment
|
133
|
+
//
|
134
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_sendreplies}
|
135
|
+
rpc SendReplies(SendRepliesRequest) returns (google.protobuf.Empty) {
|
136
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
137
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/sendreplies';
|
138
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
139
|
+
}
|
140
|
+
// Toggle Contest Mode for a Post's comments
|
141
|
+
//
|
142
|
+
// Contest Mode randomizes the sort order and hides the vote score for comments
|
143
|
+
//
|
144
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_set_contest_mode}
|
145
|
+
rpc SetContestMode(SetContestModeRequest) returns (devvit.plugin.redditapi.common.JsonStatus) {
|
146
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
147
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/set_contest_mode';
|
148
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
149
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
150
|
+
}
|
151
|
+
// Edit or set fields unique to developer platform custom posts
|
152
|
+
rpc EditCustomPost(EditCustomPostRequest) returns (devvit.plugin.redditapi.common.JsonRedditObjects);
|
153
|
+
|
154
|
+
// Update the custom post preview content for a Custom Post.
|
155
|
+
rpc SetCustomPostPreview(SetCustomPostPreviewRequest) returns (google.protobuf.Empty);
|
156
|
+
|
157
|
+
// Set the "sticky" or "pinned" status of a Post
|
158
|
+
//
|
159
|
+
// If the post was created by the current user they can pin the post
|
160
|
+
// to the top of their user profile. Otherwise they must be a moderator
|
161
|
+
// of the subreddit to stick it to the top of the subreddit it was posted in.
|
162
|
+
//
|
163
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_set_subreddit_sticky}
|
164
|
+
rpc SetSubredditSticky(SetSubredditStickyRequest) returns (devvit.plugin.redditapi.common.JsonStatus) {
|
165
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
166
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/set_subreddit_sticky';
|
167
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
168
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
169
|
+
}
|
170
|
+
// Set the default sort order for comments in the given Post
|
171
|
+
//
|
172
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_set_suggested_sort}
|
173
|
+
rpc SetSuggestedSort(SetSuggestedSortRequest) returns (devvit.plugin.redditapi.common.JsonStatus) {
|
174
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
175
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/set_suggested_sort';
|
176
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
177
|
+
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
178
|
+
}
|
179
|
+
// Sets the spoiler tag on a given Post to hide its contents by default
|
180
|
+
// Note: `id` must be a single thing ID for a Post
|
181
|
+
//
|
182
|
+
// @see {@link Unspoiler}
|
183
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_spoiler}
|
184
|
+
rpc Spoiler(BasicIdRequest) returns (google.protobuf.Empty) {
|
185
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
186
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/spoiler';
|
187
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
188
|
+
}
|
189
|
+
// Create a new Post
|
190
|
+
//
|
191
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_submit}
|
192
|
+
//
|
193
|
+
// Note: not specifying ApiClientConfig to avoid automatic generation.
|
194
|
+
// Submit has extra logic that needs to be manually implemented.
|
195
|
+
rpc Submit(SubmitRequest) returns (SubmitResponse);
|
196
|
+
// Create a new Custom Post
|
197
|
+
rpc SubmitCustomPost(SubmitRequest) returns (SubmitResponse);
|
198
|
+
// Unhide one or more Posts for the user
|
199
|
+
// Note: `id` must be one or more comma-separated Post thing IDs
|
200
|
+
//
|
201
|
+
// @see {@link Hide}
|
202
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_unhide}
|
203
|
+
rpc Unhide(BasicIdRequest) returns (google.protobuf.Empty) {
|
204
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
205
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unhide';
|
206
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
207
|
+
}
|
208
|
+
// Enable comments for a Post or Comment
|
209
|
+
// Note: `id` must be a single thing ID for a Post or Comment
|
210
|
+
//
|
211
|
+
// @see {@link Lock}
|
212
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_unlock}
|
213
|
+
rpc Unlock(BasicIdRequest) returns (google.protobuf.Empty) {
|
214
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
215
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unlock';
|
216
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
217
|
+
}
|
218
|
+
// Clears the Not-Safe-For-Work status from a Post
|
219
|
+
//
|
220
|
+
// @see {@link MarkNSFW}
|
221
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_unmarknsfw}
|
222
|
+
rpc UnmarkNSFW(BasicIdRequest) returns (google.protobuf.Empty) {
|
223
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
224
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unmarknsfw';
|
225
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
226
|
+
}
|
227
|
+
// Remove a Post or Comment from the user's Saved list
|
228
|
+
//
|
229
|
+
// @see {@link Save}
|
230
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_unsave}
|
231
|
+
rpc Unsave(BasicIdRequest) returns (google.protobuf.Empty) {
|
232
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
233
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unsave';
|
234
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
235
|
+
}
|
236
|
+
// Clears the spoiler tag on a given Post
|
237
|
+
//
|
238
|
+
// @see {@link Spoiler}
|
239
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_unspoiler}
|
240
|
+
rpc Unspoiler(BasicIdRequest) returns (google.protobuf.Empty) {
|
241
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
242
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/unspoiler';
|
243
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
244
|
+
}
|
245
|
+
// Vote or clear a vote on a Post or Comment
|
246
|
+
//
|
247
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_vote}
|
248
|
+
rpc Vote(VoteRequest) returns (google.protobuf.Empty) {
|
249
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
250
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/api/vote';
|
251
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
252
|
+
}
|
253
|
+
}
|