@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/reddit/coreplatform/api/metadata/v1/metadata.proto
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.api.metadata.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/descriptor.proto";
|
6
|
+
import "google/protobuf/duration.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/thing-api/go/api/metadata/v1;metadata";
|
9
|
+
option java_multiple_files = true;
|
10
|
+
option java_outer_classname = "MetadataProto";
|
11
|
+
option java_package = "com.reddit.coreplatform.api.metadata.v1";
|
12
|
+
|
13
|
+
extend google.protobuf.EnumValueOptions {
|
14
|
+
// This enum option is used to allow us to annotate newer protobuf enums
|
15
|
+
// with a description of what their previous value was in the older thrift
|
16
|
+
// API. Newer proto enums are not 1:1 mapping of their Thrift counterparts
|
17
|
+
// due to differences between the best practices of Thrift and protobuf.
|
18
|
+
ThriftEnumAlias thrift_alias = 78010000;
|
19
|
+
}
|
20
|
+
|
21
|
+
// This message represents a legacy Thrift enum const.
|
22
|
+
message ThriftEnumAlias {
|
23
|
+
// The const name for the enum value
|
24
|
+
string name = 1;
|
25
|
+
// The the ordinal or index number of the enum value
|
26
|
+
int32 ordinal = 2;
|
27
|
+
}
|
28
|
+
|
29
|
+
extend google.protobuf.FieldOptions {
|
30
|
+
// Metadata describing the usage and behavior of API entity fields
|
31
|
+
EntityFieldMetadata entity_field_metadata = 78010001 [deprecated = true];
|
32
|
+
|
33
|
+
// Contains metadata about the thrift equivalent of a field. Used to help assert backward compatibility
|
34
|
+
// when mapping protobuf messages to and from their thrift counterpart.
|
35
|
+
ThriftFieldMetadata thrift_field_metadata = 78010002;
|
36
|
+
}
|
37
|
+
|
38
|
+
// The thing-api metadata for an entity field. This message is used to encapsulate
|
39
|
+
// and document information about thing entities.
|
40
|
+
//
|
41
|
+
// EntityFieldMetadata in this file has been deprecated, use:
|
42
|
+
// https://github.snooguts.net/reddit/reddit-api-metadata
|
43
|
+
message EntityFieldMetadata {
|
44
|
+
option deprecated = true;
|
45
|
+
|
46
|
+
// Level of sensitivity that the data stored in a field should be treated with.
|
47
|
+
enum SensitivityLevel {
|
48
|
+
option deprecated = true;
|
49
|
+
|
50
|
+
// This is a default vault used to convey the absence of a value.
|
51
|
+
SENSITIVITY_LEVEL_UNSPECIFIED = 0;
|
52
|
+
|
53
|
+
// Value to denote fields that should be treated as user PII
|
54
|
+
SENSITIVITY_LEVEL_PII = 1;
|
55
|
+
|
56
|
+
// Value to describe fields that are visible to reddit administrators but not
|
57
|
+
// publicly visible to users.
|
58
|
+
SENSITIVITY_LEVEL_ADMIN = 2;
|
59
|
+
|
60
|
+
// Value to describe fields that are visible to all users regardless of authentication status.
|
61
|
+
SENSITIVITY_LEVEL_PUBLIC = 3;
|
62
|
+
}
|
63
|
+
|
64
|
+
// The sensitivity level of the data stored in the annotated field
|
65
|
+
SensitivityLevel sensitivity_level = 1;
|
66
|
+
|
67
|
+
// An http url to the design doc which documents the purposed and introduction of this field to the API.
|
68
|
+
// New fields added by contributors must have this value populated
|
69
|
+
string design_doc_url = 2;
|
70
|
+
|
71
|
+
// The maximum duration the contents of this field can be cached or stored. After which, its value
|
72
|
+
// must be expunged. This is most commonly used to describe the retention period of fields which store PII.
|
73
|
+
google.protobuf.Duration max_retention = 3;
|
74
|
+
}
|
75
|
+
|
76
|
+
// Represents any metadata about the corresponding field in Thrift schema.
|
77
|
+
message ThriftFieldMetadata {
|
78
|
+
// This field denotes if the legacy thrift representation of the annotated field was of type `set`. We use this field
|
79
|
+
// to ensure backward compatibility when mapping protobuf messages to and from their thrift counterpart since
|
80
|
+
// protobuf does not support the concept of `sets`.
|
81
|
+
bool is_set = 1;
|
82
|
+
}
|
@@ -0,0 +1,221 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.blocking.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/descriptor.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/blocking/v1;blocking";
|
8
|
+
option java_multiple_files = true;
|
9
|
+
option java_outer_classname = "UserBlockingServiceProto";
|
10
|
+
option java_package = "com.reddit.coreplatform.api.blocking.v1";
|
11
|
+
|
12
|
+
// The user blocking service exposes APIs for interacting with user block lists
|
13
|
+
service UserBlockingService {
|
14
|
+
// Add a user to the target users block list. This performs a bidirectional write, where the
|
15
|
+
// blockee is added to the users "blocking" list, and the blocker is added to the blockees
|
16
|
+
// "blocked by" list.
|
17
|
+
rpc BlockUser(BlockUserRequest) returns (BlockUserResponse) {
|
18
|
+
option idempotency_level = IDEMPOTENT;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Remove a user to the target users block list. This performs a bidirectional write, where the
|
22
|
+
// blockee is removed from the users "blocking" list, and the blocker is removed from the blockees
|
23
|
+
// "blocked by" list.
|
24
|
+
rpc UnblockUser(UnblockUserRequest) returns (UnblockUserResponse) {
|
25
|
+
option idempotency_level = IDEMPOTENT;
|
26
|
+
}
|
27
|
+
|
28
|
+
// Retrieve the list of users that are blocking the requested user.
|
29
|
+
rpc GetBlockedByList(GetBlockedByListRequest) returns (GetBlockedByListResponse) {
|
30
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Retrieve the list of users that the requested user has blocked.
|
34
|
+
rpc GetBlockingList(GetBlockingListRequest) returns (GetBlockingListResponse) {
|
35
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Check if the requested user is blocked by or blocking any of the target account ids supplied
|
39
|
+
// This method is more performant than concurrently calling both `IsBlockedByUsers` and `IsBlockingUsers`
|
40
|
+
rpc HasAnyBlockingRelation(HasAnyBlockingRelationRequest) returns (HasAnyBlockingRelationResponse) {
|
41
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
42
|
+
}
|
43
|
+
|
44
|
+
// Check if the requested user is blocked by any of the target account ids supplied
|
45
|
+
rpc IsBlockedByUsers(IsBlockedByUsersRequest) returns (IsBlockedByUsersResponse) {
|
46
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
47
|
+
}
|
48
|
+
|
49
|
+
// Check if the requested user is blocking any of the target account ids supplied
|
50
|
+
rpc IsBlockingUsers(IsBlockingUsersRequest) returns (IsBlockingUsersResponse) {
|
51
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
// The type of blocking relation between two users
|
56
|
+
enum BlockRelationType {
|
57
|
+
// No relation specific
|
58
|
+
BLOCK_RELATION_TYPE_UNSPECIFIED = 0;
|
59
|
+
|
60
|
+
// The relation type used when the subject user is blocking the target user
|
61
|
+
BLOCK_RELATION_TYPE_BLOCKING = 1;
|
62
|
+
|
63
|
+
// The relation type used when the subject user is blocked by the target user
|
64
|
+
BLOCK_RELATION_TYPE_BLOCKED_BY = 2;
|
65
|
+
}
|
66
|
+
|
67
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
68
|
+
message BlockUserRequest {
|
69
|
+
//account_id
|
70
|
+
string account_id = 1;
|
71
|
+
|
72
|
+
//block_target
|
73
|
+
string block_target = 2;
|
74
|
+
}
|
75
|
+
|
76
|
+
// The response message returned by successful calls to the `BlockUser` rpc.
|
77
|
+
message BlockUserResponse {
|
78
|
+
// The unique identifier of the relation entry between the blocker and blocked. This field will always be populated in responses where a block was successfully performed.
|
79
|
+
// Generally, this id has no special meaning outside of the context of core services and should be ignored by clients. Its purpose is mostly to help facilitate migrations in legacy systems which depend blocking implementation details.
|
80
|
+
// Originally added to support R2 blocking migrations due to the way R2 persists blocks in its cache.
|
81
|
+
int64 relation_id = 1;
|
82
|
+
}
|
83
|
+
|
84
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
85
|
+
message GetBlockedAccountIdsResponse {
|
86
|
+
//blocked_account_ids
|
87
|
+
repeated string blocked_account_ids = 1;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
91
|
+
message GetBlockedByAccountIdsResponse {
|
92
|
+
//blocking_account_ids
|
93
|
+
repeated string blocking_account_ids = 1;
|
94
|
+
}
|
95
|
+
|
96
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
97
|
+
message GetBlockedByListRequest {
|
98
|
+
//account_id
|
99
|
+
string account_id = 1;
|
100
|
+
|
101
|
+
//cursor
|
102
|
+
string cursor = 2;
|
103
|
+
|
104
|
+
//limit
|
105
|
+
int32 limit = 3;
|
106
|
+
}
|
107
|
+
|
108
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
109
|
+
message GetBlockedByListResponse {
|
110
|
+
//blocked_by
|
111
|
+
repeated string blocked_by = 1;
|
112
|
+
|
113
|
+
//cursor
|
114
|
+
string cursor = 2;
|
115
|
+
}
|
116
|
+
|
117
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
118
|
+
message GetBlockedIdsForAccountIdsResponse {
|
119
|
+
//account_id_to_blocked_account_ids
|
120
|
+
map<string, BlockedAccountIdList> account_id_to_blocked_account_ids = 1;
|
121
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
122
|
+
message BlockedAccountIdList {
|
123
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
124
|
+
repeated string blocked_account_ids = 1;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
129
|
+
message GetBlockerAccountIdsResponse {
|
130
|
+
//account_ids
|
131
|
+
repeated string account_ids = 1;
|
132
|
+
}
|
133
|
+
|
134
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
135
|
+
message GetBlockingListRequest {
|
136
|
+
//account_id
|
137
|
+
string account_id = 1;
|
138
|
+
|
139
|
+
//cursor
|
140
|
+
string cursor = 2;
|
141
|
+
|
142
|
+
//limit
|
143
|
+
int32 limit = 3;
|
144
|
+
}
|
145
|
+
|
146
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
147
|
+
message GetBlockingListResponse {
|
148
|
+
//is_blocking
|
149
|
+
repeated string is_blocking = 1;
|
150
|
+
|
151
|
+
//cursor
|
152
|
+
string cursor = 2;
|
153
|
+
}
|
154
|
+
|
155
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
156
|
+
message HasAnyBlockingRelationRequest {
|
157
|
+
//account_id
|
158
|
+
string account_id = 1;
|
159
|
+
|
160
|
+
//blocker_ids
|
161
|
+
repeated string blocker_ids = 2;
|
162
|
+
}
|
163
|
+
|
164
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
165
|
+
message HasAnyBlockingRelationResponse {
|
166
|
+
//found_relations
|
167
|
+
repeated string found_relations = 1;
|
168
|
+
|
169
|
+
//relations_by_type
|
170
|
+
map<string, AccountIdList> relations_by_type = 2;
|
171
|
+
|
172
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
173
|
+
message AccountIdList {
|
174
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
175
|
+
repeated string account_id = 1;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
|
179
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
180
|
+
message IsBlockedByUsersRequest {
|
181
|
+
//account_id
|
182
|
+
string account_id = 1;
|
183
|
+
|
184
|
+
//blocker_ids
|
185
|
+
repeated string blocker_ids = 2;
|
186
|
+
}
|
187
|
+
|
188
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
189
|
+
message IsBlockedByUsersResponse {
|
190
|
+
// The is_blocked_by field contains the subset of blocker_ids supplied which are blocking the account_id supplied.
|
191
|
+
// This list can potentially be empty.
|
192
|
+
repeated string is_blocked_by = 1;
|
193
|
+
}
|
194
|
+
|
195
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
196
|
+
message IsBlockingUsersRequest {
|
197
|
+
//account_id
|
198
|
+
string account_id = 1;
|
199
|
+
|
200
|
+
//users
|
201
|
+
repeated string users = 2;
|
202
|
+
}
|
203
|
+
|
204
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
205
|
+
message IsBlockingUsersResponse {
|
206
|
+
// The is_blocking field contains the subset of account ids supplied which are blocked by the account_id supplied.
|
207
|
+
// This list can potentially be empty.
|
208
|
+
repeated string is_blocking = 1;
|
209
|
+
}
|
210
|
+
|
211
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
212
|
+
message UnblockUserRequest {
|
213
|
+
//account_id
|
214
|
+
string account_id = 1;
|
215
|
+
|
216
|
+
//unblock_target
|
217
|
+
string unblock_target = 2;
|
218
|
+
}
|
219
|
+
|
220
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
221
|
+
message UnblockUserResponse {}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.callback.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/any.proto";
|
6
|
+
import "google/protobuf/duration.proto";
|
7
|
+
import "reddit/coreplatform/cloudroutines/event/v1/event.proto";
|
8
|
+
import "reddit/coreplatform/events/cloudevent/v1/cloudevent.proto";
|
9
|
+
|
10
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/callbackpb/v1;callbackpb";
|
11
|
+
|
12
|
+
// RPC Service for working with Cloudroutines callbacks
|
13
|
+
service CallbackService {
|
14
|
+
// Invoke makes an RPC call to the user's registered callback in their application
|
15
|
+
rpc Invoke(InvokeRequest) returns (InvokeResponse) {
|
16
|
+
option idempotency_level = IDEMPOTENT;
|
17
|
+
}
|
18
|
+
|
19
|
+
// TODO(marco.ferrer):12/11/23 we may want to add an RPC that the cloudroutines server can
|
20
|
+
// call when a consumer is in trouble or didnt like the result returned by the callback server
|
21
|
+
// then the sdk can record metrics or change application health, or deregister the callback.
|
22
|
+
}
|
23
|
+
|
24
|
+
// Request message containing the event to be processed by the user's registered callback
|
25
|
+
message InvokeRequest {
|
26
|
+
// CloudEvent compliant event payload
|
27
|
+
reddit.coreplatform.events.cloudevent.v1.CloudEvent event = 1;
|
28
|
+
// Name of the callback function to be invoked
|
29
|
+
string callback_name = 2;
|
30
|
+
}
|
31
|
+
|
32
|
+
// Response message containing the user's registered callback response after processing an event
|
33
|
+
message InvokeResponse {
|
34
|
+
OperationResult result = 1;
|
35
|
+
}
|
36
|
+
|
37
|
+
// OperationResult represents the result of a Cloudroutines operation, currently only a publication result
|
38
|
+
message OperationResult {
|
39
|
+
oneof result {
|
40
|
+
Publication publication = 1;
|
41
|
+
}
|
42
|
+
|
43
|
+
// Publication represents a result of a Cloudroutines operation, consisting of a protobuf message
|
44
|
+
// and message route of the protobuf message
|
45
|
+
message Publication {
|
46
|
+
google.protobuf.Any message = 1;
|
47
|
+
reddit.coreplatform.cloudroutines.event.v1.MessageRoute message_route = 2;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
// A finite set of policies which inform the Cloudroutines server on how to react to an error returned by the SDK server.
|
52
|
+
message FailurePolicy {
|
53
|
+
// Undefined is the default error policy attached to all status errors when no policy was explicitly set
|
54
|
+
// by the user. This policy message enables the Cloudroutines server to detect when errors are surfaced
|
55
|
+
// from the client vs the network infrastructure.
|
56
|
+
message Undefined {}
|
57
|
+
|
58
|
+
// RetryAfter is the failure policy that indicates a message should be retried after the specified duration.
|
59
|
+
// This is the default failure policy applied if no failure policy is found on the callback error.
|
60
|
+
message RetryAfter {
|
61
|
+
google.protobuf.Duration duration = 1;
|
62
|
+
}
|
63
|
+
|
64
|
+
// BlockExecutionis the failure policy that does a best effort attempt at blocking further execution
|
65
|
+
// from the current message. Manual intervention is required.
|
66
|
+
message BlockExecution {
|
67
|
+
string reason = 1;
|
68
|
+
}
|
69
|
+
|
70
|
+
// Skip is the failure policy that indicates the current message can be dropped.
|
71
|
+
message Skip {
|
72
|
+
string reason = 1;
|
73
|
+
}
|
74
|
+
|
75
|
+
// DeadLetterQueue is the failure policy that adds the current message to a DLQ. The message routing
|
76
|
+
// can be set, otherwise defaults will be used based on the message.
|
77
|
+
message DeadLetterQueue {
|
78
|
+
string reason = 1;
|
79
|
+
|
80
|
+
// Message route allows a user to configure the destination for the DLQ message. If no route is defined,
|
81
|
+
// the SDK will infer the default route based on the message's protobuf fullname, eg. `dlq_{proto_full_name}`.
|
82
|
+
reddit.coreplatform.cloudroutines.event.v1.MessageRoute message_route = 2;
|
83
|
+
}
|
84
|
+
|
85
|
+
oneof policy {
|
86
|
+
Undefined undefined = 1;
|
87
|
+
RetryAfter retry_after = 2;
|
88
|
+
BlockExecution block_execution = 3;
|
89
|
+
Skip skip = 4;
|
90
|
+
DeadLetterQueue dead_letter_queue = 5;
|
91
|
+
}
|
92
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.event.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/descriptor.proto";
|
6
|
+
import "reddit/coreplatform/cloudroutines/workerpool/v1/workerpool.proto";
|
7
|
+
import "validate/validate.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/eventpb/v1;eventpb";
|
10
|
+
|
11
|
+
extend google.protobuf.MessageOptions {
|
12
|
+
EventMessageMetadata message = 78110999;
|
13
|
+
}
|
14
|
+
|
15
|
+
extend google.protobuf.FieldOptions {
|
16
|
+
EventFieldMetadata field = 78110999;
|
17
|
+
}
|
18
|
+
|
19
|
+
message EventMessageMetadata {
|
20
|
+
string default_topic = 1;
|
21
|
+
repeated reddit.coreplatform.cloudroutines.workerpool.v1.WorkerPool.Source publication_source_whitelist = 2;
|
22
|
+
}
|
23
|
+
|
24
|
+
message EventFieldMetadata {
|
25
|
+
bool sharding_identifier = 1;
|
26
|
+
string sharding_field_path = 2;
|
27
|
+
}
|
28
|
+
|
29
|
+
message MessageRoute {
|
30
|
+
// Cluster URI is optional. Defaults to the same cluster as the original protobuf message.
|
31
|
+
// This will be mapped internally to the correct publisher.
|
32
|
+
optional string cluster_uri = 1 [(validate.rules).string = {
|
33
|
+
// TODO: figure out the regex on :/?.&=[]
|
34
|
+
// pattern: "^[-_a-zA-Z0-9]+$",
|
35
|
+
min_len: 1
|
36
|
+
max_len: 64
|
37
|
+
}];
|
38
|
+
|
39
|
+
// Topic is optional. Defaults to `dlq_{proto_full_name}`.
|
40
|
+
optional string topic = 2 [(validate.rules).string = {
|
41
|
+
pattern: "^[-_a-zA-Z0-9]+$"
|
42
|
+
min_len: 1
|
43
|
+
max_len: 255
|
44
|
+
}];
|
45
|
+
|
46
|
+
// Partitioning value is optional. Defaults to the annotated field on the original protobuf message.
|
47
|
+
optional string partitioning_value = 3 [(validate.rules).string = {
|
48
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
49
|
+
min_len: 1
|
50
|
+
max_len: 255
|
51
|
+
}];
|
52
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.experimental.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/duration.proto";
|
6
|
+
import "validate/validate.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/experimental/v1;experimentalpb";
|
9
|
+
|
10
|
+
// Ensures that messages are processed in the strict order they are received.
|
11
|
+
// This guarantees the sequence of message execution but may reduce throughput.
|
12
|
+
// This is the default ordering if not specified, so it is not necessary to set this explicitly.
|
13
|
+
//
|
14
|
+
// *Note: If you're using the Python SDK, then KeyMessageOrdering is the default ordering.
|
15
|
+
message StrictMessageOrdering {}
|
16
|
+
|
17
|
+
// Enables out-of-order message execution.
|
18
|
+
// Messages are batched and processed concurrently, increasing throughput but not guaranteeing order of receipt.
|
19
|
+
message LooseMessageOrdering {}
|
20
|
+
|
21
|
+
// Messages are processed concurrently, similar to LooseMessageOrdering, improving throughput.
|
22
|
+
// However, messages with the same Kafka partitioning key will be processed in the order they arrive in.
|
23
|
+
// This allows for controlled parallel processing with guarantees on order based on specific keys.
|
24
|
+
//
|
25
|
+
// *Note: This is the default ordering if not specified when using the Python SDK.
|
26
|
+
message KeyMessageOrdering {}
|
27
|
+
|
28
|
+
// Wrapper struct for all client alert configurations.
|
29
|
+
message AlertConfig {
|
30
|
+
string sdk_version = 1;
|
31
|
+
optional ConsumerLagAlertConfig consumer_lag_alert_config = 2;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Alert configuration for consumer lag. If the entire struct is left blank, the stated defaults are applied; otherwise, all fields must be set.
|
35
|
+
// Currently, this is based off of Burrow's consumer lag metric.
|
36
|
+
message ConsumerLagAlertConfig {
|
37
|
+
// Whether or not the alert is disabled.
|
38
|
+
// Defaults to false.
|
39
|
+
bool disabled = 1;
|
40
|
+
|
41
|
+
// The number of messages the consumer group needs to lag by for the alert to fire.
|
42
|
+
// Defaults to 25000.
|
43
|
+
int64 threshold = 2;
|
44
|
+
|
45
|
+
// How long the alert threshold must be sustained for the alert to fire.
|
46
|
+
// Defaults to 5 minutes. Maximum of 30 minutes.
|
47
|
+
google.protobuf.Duration threshold_duration = 3;
|
48
|
+
|
49
|
+
// Infrared v2 reddit-component name to route the alert to (see https://atlas.snooguts.net/catalog/default/component).
|
50
|
+
// Defaults to an empty value, which will route the alert based on the client namespace.
|
51
|
+
string component_name = 4;
|
52
|
+
}
|
53
|
+
|
54
|
+
message ExperimentalCallbackOptions {
|
55
|
+
// Specifies the delivery order of messages.
|
56
|
+
// Defaults to strict ordering if unset.
|
57
|
+
oneof message_ordering {
|
58
|
+
StrictMessageOrdering strict_ordering = 1;
|
59
|
+
LooseMessageOrdering loose_ordering = 2;
|
60
|
+
KeyMessageOrdering key_ordering = 3;
|
61
|
+
}
|
62
|
+
|
63
|
+
// Wrapper type containing configuration for all client alerts.
|
64
|
+
AlertConfig alert_config = 4;
|
65
|
+
|
66
|
+
// URI representing an arbitrary data source to consume messages from.
|
67
|
+
optional string data_source_uri = 5 [(validate.rules).string = {
|
68
|
+
uri: true
|
69
|
+
max_len: 255
|
70
|
+
}];
|
71
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.interop.analytics.v1;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/interop/analyticspb/v1;analyticspb";
|
6
|
+
|
7
|
+
// A protobuf wrapper for reddit analytics events. Used as a support shim for older, loosely structured
|
8
|
+
// event payloads.
|
9
|
+
message AnalyticsEvent {
|
10
|
+
// The event payload.
|
11
|
+
bytes data = 1;
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.interop.generic.v1;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/interop/genericpb/v1;genericpb";
|
6
|
+
|
7
|
+
// A protobuf wrapper for unprocessed messages. Used as a support shim for events containing raw byte payloads.
|
8
|
+
// DO NOT use this without first contacting #core-events in Slack to discuss your use case.
|
9
|
+
message Message {
|
10
|
+
// The event payload.
|
11
|
+
bytes payload = 1;
|
12
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.loadbalancing.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/duration.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/loadbalancingpb/v1;loadbalancingpb";
|
8
|
+
|
9
|
+
// Configuration for slow start throttling performed by the server on new worker instances.
|
10
|
+
message SlowStartConfig {
|
11
|
+
// The duration of the slow start window. This is the amount of time spent ramping traffic. At the start of the window
|
12
|
+
// traffic is throttled to `min_allow_rate`. At the end of the window, traffic will no longer be throttled.
|
13
|
+
// This value defaults to 15s.
|
14
|
+
google.protobuf.Duration window = 1;
|
15
|
+
|
16
|
+
// The factor used to increase the traffic allowed as the ramp window progresses. An aggression of `1` results in a
|
17
|
+
// linearly increasing allow rate.
|
18
|
+
float ramp_aggression = 2;
|
19
|
+
|
20
|
+
// This value determines how much traffic is allowed to proceed when max throttling is applied. Usually at the start of
|
21
|
+
// the window.
|
22
|
+
float min_allow_rate = 3;
|
23
|
+
}
|
24
|
+
|
25
|
+
// This message is attached to an error status when the request failed due to reaching the concurrency limit.
|
26
|
+
message ConcurrencyLimitReached {
|
27
|
+
// We're not adding any fields for now.
|
28
|
+
}
|
29
|
+
|
30
|
+
// This message is attached to an error status when the request failed due to slow start throttling being applied.
|
31
|
+
// When this error is encountered, the client should retry the request at some point in the future. The new request
|
32
|
+
// will either get routed to another address with less throttling or the current address's allow rate has increased.
|
33
|
+
message SlowStartThrottle {
|
34
|
+
// The address that is being throttled.
|
35
|
+
string address = 1;
|
36
|
+
|
37
|
+
// How long it has been since the worker server was started and entered the ready state.
|
38
|
+
google.protobuf.Duration worker_age = 2;
|
39
|
+
|
40
|
+
// The percentage of requests that are allowed to proceed for this upstream address. This is a float64
|
41
|
+
// between 0.0-1.0.
|
42
|
+
double allow_rate = 3;
|
43
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.metadata.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/descriptor.proto";
|
6
|
+
import "google/protobuf/duration.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/metadatapb/v1;metadatapb";
|
9
|
+
|
10
|
+
extend google.protobuf.MessageOptions {
|
11
|
+
MessageMetadata cloudroutines = 78010999;
|
12
|
+
}
|
13
|
+
|
14
|
+
message MessageMetadata {
|
15
|
+
bool enabled = 1;
|
16
|
+
|
17
|
+
google.protobuf.Duration retention_period = 2;
|
18
|
+
|
19
|
+
int32 partition_qty = 3;
|
20
|
+
}
|