@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,148 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.operation.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "google/rpc/status.proto";
|
7
|
+
import "validate/validate.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/operationpb/v1;operationpb";
|
10
|
+
|
11
|
+
// RPC Service for working with Cloudroutines operations
|
12
|
+
service OperationService {
|
13
|
+
// Poll for the status of an operation
|
14
|
+
rpc PollOperationStatuses(PollOperationStatusesRequest) returns (PollOperationStatusesResponse) {
|
15
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
16
|
+
}
|
17
|
+
|
18
|
+
// Update the status of an operation
|
19
|
+
rpc PublishOperationStatus(PublishOperationStatusRequest) returns (PublishOperationStatusResponse) {
|
20
|
+
option idempotency_level = IDEMPOTENT;
|
21
|
+
}
|
22
|
+
|
23
|
+
// Mark an operation as skippable
|
24
|
+
rpc SkipOperation(SkipOperationRequest) returns (SkipOperationResponse) {
|
25
|
+
option idempotency_level = IDEMPOTENT;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
// Request payload to check the statuses of Cloudroutines operations
|
30
|
+
// This request requires the operationURI, consisting of the fully qualified Cloudroutines callback name and event ID.
|
31
|
+
// If the retention period has elapsed, then requesting a previously valid operation URI will result in
|
32
|
+
// a NOT_FOUND status code being returned.
|
33
|
+
message PollOperationStatusesRequest {
|
34
|
+
// A list of operation URIs (RFC 3986) to request statuses for, each formatted as
|
35
|
+
// `{worker_pool_namespace}:{callback_name}:{eventID}`.
|
36
|
+
repeated string operation_uris = 1 [(validate.rules).repeated = {
|
37
|
+
min_items: 1
|
38
|
+
max_items: 10
|
39
|
+
items: {
|
40
|
+
string: {
|
41
|
+
uri: true
|
42
|
+
min_len: 1
|
43
|
+
max_len: 255
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}];
|
47
|
+
}
|
48
|
+
|
49
|
+
// Response payload to check the statuses of Cloudroutines operations
|
50
|
+
message PollOperationStatusesResponse {
|
51
|
+
// A map of operations by their URI to their statuses
|
52
|
+
map<string, Operation> associated_operations = 2;
|
53
|
+
}
|
54
|
+
|
55
|
+
// Request payload to update the status of a Cloudroutines operation
|
56
|
+
// This request requires the operationURI, consisting of the fully qualified Cloudroutines callback name and event ID.
|
57
|
+
message PublishOperationStatusRequest {
|
58
|
+
// The operation URI (RFC 3986), formatted as `{worker_pool_namespace}:{callback_name}:{eventID}`.
|
59
|
+
string operation_uri = 1 [(validate.rules).string = {
|
60
|
+
uri: true
|
61
|
+
min_len: 1
|
62
|
+
max_len: 255
|
63
|
+
}];
|
64
|
+
|
65
|
+
// The status to update the operation to, must be a valid status (not UNKNOWN). If the operation on the request
|
66
|
+
// is in an initial phase, any provided status value on the request will be ignored and default to UNKNOWN.
|
67
|
+
// Terminal statuses (any status that is not UNKNOWN) cannot be overwritten.
|
68
|
+
google.rpc.Status status = 3;
|
69
|
+
|
70
|
+
// The phase corresponding to the status update for the operation.
|
71
|
+
Phase phase = 4 [(validate.rules).enum = {
|
72
|
+
not_in: [0]
|
73
|
+
}];
|
74
|
+
}
|
75
|
+
|
76
|
+
// Response payload to update the status of a Cloudroutines operation
|
77
|
+
message PublishOperationStatusResponse {}
|
78
|
+
|
79
|
+
// Request payload to mark an operation as skippable
|
80
|
+
message SkipOperationRequest {
|
81
|
+
// The operation URI (RFC 3986), formatted as `{worker_pool_namespace}:{callback_name}:{eventID}`.
|
82
|
+
string operation_uri = 1 [(validate.rules).string = {
|
83
|
+
uri: true
|
84
|
+
min_len: 1
|
85
|
+
max_len: 255
|
86
|
+
}];
|
87
|
+
}
|
88
|
+
|
89
|
+
// Response payload to mark an operation as skippable
|
90
|
+
message SkipOperationResponse {}
|
91
|
+
|
92
|
+
// Phase represents the individual states a Cloudroutines operation can be in throughout its lifecycle.
|
93
|
+
enum Phase {
|
94
|
+
// No status was specified or set.
|
95
|
+
PHASE_UNSPECIFIED = 0;
|
96
|
+
|
97
|
+
// An operation is acknowledged by the system but not processed yet. The initial state.
|
98
|
+
PHASE_PENDING = 1;
|
99
|
+
|
100
|
+
// An operation has started processing within the system. Used only for long running operations.
|
101
|
+
PHASE_IN_PROGRESS = 2;
|
102
|
+
|
103
|
+
// An operation has successfully processed or ended up in an unrecoverable error state.
|
104
|
+
PHASE_COMPLETED = 3;
|
105
|
+
}
|
106
|
+
|
107
|
+
// An operation represents the Cloudroutines operation state including its current status.
|
108
|
+
// Due to the nature of Cloudroutines, these are eventually consistent values.
|
109
|
+
message Operation {
|
110
|
+
// The operation URI, formatted as `{worker_pool_namespace}:{callback_name}:{eventID}`.
|
111
|
+
// TODO: fix regex
|
112
|
+
string uri = 1 [(validate.rules).string = {
|
113
|
+
// pattern: "^[-_.a-zA-Z0-9]+$",
|
114
|
+
min_len: 1
|
115
|
+
max_len: 255
|
116
|
+
}];
|
117
|
+
|
118
|
+
// The phase of the operation.
|
119
|
+
Phase phase = 2;
|
120
|
+
|
121
|
+
// Operations that complete successfully will have a status `OK`. Any other status code indicates failure.
|
122
|
+
// Status will only be populated when phase is completed. If an operation produces any metadata or results,
|
123
|
+
// they will be available as additional details on the status.
|
124
|
+
google.rpc.Status status = 3;
|
125
|
+
|
126
|
+
// Time when the operation expires from both the event queue and status store.
|
127
|
+
google.protobuf.Timestamp expires_at = 4;
|
128
|
+
}
|
129
|
+
|
130
|
+
// Used internally within Cloudroutines to asynchronously store the given operation
|
131
|
+
message StoreOperationStatus {
|
132
|
+
// The event ID, a unique identifier for an event.
|
133
|
+
string event_id = 1 [(validate.rules).string = {
|
134
|
+
min_len: 1
|
135
|
+
max_len: 255
|
136
|
+
}];
|
137
|
+
|
138
|
+
// The fully qualified Cloudroutines callback name (worker pool namespace + callback name) that processed the operation.
|
139
|
+
string fq_callback_name = 2 [(validate.rules).string = {
|
140
|
+
ignore_empty: true
|
141
|
+
// pattern: "^[-_.a-zA-Z0-9]+$",
|
142
|
+
min_len: 1
|
143
|
+
max_len: 255
|
144
|
+
}];
|
145
|
+
|
146
|
+
// The status to update the operation to, must be a valid status (not UNKNOWN).
|
147
|
+
google.rpc.Status status = 3;
|
148
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.publication.v1;
|
4
|
+
|
5
|
+
import "reddit/coreplatform/events/cloudevent/v1/cloudevent.proto";
|
6
|
+
import "validate/validate.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/publicationpb/v1;publicationpb";
|
9
|
+
|
10
|
+
service PublicationService {
|
11
|
+
// PublishEvent makes an RPC call to the Cloudroutines server to publish the given event at the given topic
|
12
|
+
rpc PublishEvent(PublishEventRequest) returns (PublishEventResponse) {
|
13
|
+
option idempotency_level = IDEMPOTENT;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
// Request message containing the event to be published by the user's registered callback
|
18
|
+
// Server performs checks to ensure the request parameters are valid:
|
19
|
+
// event type and topic are compatible, key is provided if topic is ordered
|
20
|
+
message PublishEventRequest {
|
21
|
+
// CloudEvent compliant event payload
|
22
|
+
reddit.coreplatform.events.cloudevent.v1.CloudEvent event = 1 [(validate.rules).message.required = true];
|
23
|
+
|
24
|
+
// Topic to publish the given event to. Typically, this is the fully qualified message name of the event.
|
25
|
+
string topic = 2 [(validate.rules).string = {
|
26
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
27
|
+
min_len: 1
|
28
|
+
max_len: 255
|
29
|
+
}];
|
30
|
+
|
31
|
+
// Value to use as the partition key (used for ordering) when publishing the given event.
|
32
|
+
// Must be set to guarantee ordering within a partition, if no ordering is necessary, then pass the event ID.
|
33
|
+
string partition_key = 3 [(validate.rules).string = {
|
34
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
35
|
+
min_len: 1
|
36
|
+
max_len: 255
|
37
|
+
}];
|
38
|
+
}
|
39
|
+
|
40
|
+
// Response message containing the published event details
|
41
|
+
message PublishEventResponse {
|
42
|
+
// Event detail information
|
43
|
+
EventDetails event_details = 1;
|
44
|
+
}
|
45
|
+
|
46
|
+
// Message containing the published event details
|
47
|
+
message EventDetails {
|
48
|
+
// The event ID, a unique identifier of the event published
|
49
|
+
string event_id = 1;
|
50
|
+
|
51
|
+
// The topic the event was published to
|
52
|
+
string topic = 2;
|
53
|
+
|
54
|
+
// The partition key the event was published to
|
55
|
+
string partition_key = 3;
|
56
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.scheduling.v1;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/schedulingpb/v1;schedulingpb";
|
6
|
+
|
7
|
+
message DataSourceOffsetRange {
|
8
|
+
message KafkaTopicOffsetRange {
|
9
|
+
string topic = 1;
|
10
|
+
map<int32, int64> start_offset_by_partition = 2;
|
11
|
+
map<int32, int64> end_offset_by_partition = 3;
|
12
|
+
}
|
13
|
+
|
14
|
+
oneof offset_range {
|
15
|
+
KafkaTopicOffsetRange kafka_topic_offset_range = 1;
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.scheduling.v1;
|
4
|
+
|
5
|
+
import "reddit/coreplatform/events/cloudevent/v1/cloudevent.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/schedulingpb/v1;schedulingpb";
|
8
|
+
|
9
|
+
service SchedulerService {
|
10
|
+
rpc ScheduleTask(ScheduleTaskRequest) returns (ScheduleTaskResponse) {
|
11
|
+
option idempotency_level = IDEMPOTENT;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
message TaskReference {
|
16
|
+
string id = 1;
|
17
|
+
}
|
18
|
+
|
19
|
+
message ScheduleTaskRequest {
|
20
|
+
reddit.coreplatform.events.cloudevent.v1.CloudEvent event = 1;
|
21
|
+
}
|
22
|
+
|
23
|
+
message ScheduleTaskResponse {
|
24
|
+
TaskReference task_reference = 1;
|
25
|
+
}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.testing.v1;
|
4
|
+
|
5
|
+
import "reddit/coreplatform/cloudroutines/event/v1/event.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/testingpb/v1;testingpb";
|
8
|
+
|
9
|
+
// Request message containing the event to be processed by the user's registered event handler
|
10
|
+
message ExampleEvent {
|
11
|
+
string user_id = 1 [(reddit.coreplatform.cloudroutines.event.v1.field) = {sharding_identifier: true}];
|
12
|
+
|
13
|
+
string subreddit_id = 2;
|
14
|
+
}
|
15
|
+
|
16
|
+
message ExampleTask {
|
17
|
+
string user_id = 1 [(reddit.coreplatform.cloudroutines.event.v1.field) = {sharding_identifier: true}];
|
18
|
+
|
19
|
+
string greeting = 2;
|
20
|
+
}
|
21
|
+
|
22
|
+
message ExampleCustomizedEvent {
|
23
|
+
option (reddit.coreplatform.cloudroutines.event.v1.message) = {
|
24
|
+
default_topic: "my_existing_topic"
|
25
|
+
publication_source_whitelist: [
|
26
|
+
{
|
27
|
+
deployment_reference: {
|
28
|
+
name: "reddit-service-cloudroutines-dummy-client"
|
29
|
+
namespace: "reddit-service-cloudroutines"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
]
|
33
|
+
};
|
34
|
+
|
35
|
+
string subreddit_id = 1 [(reddit.coreplatform.cloudroutines.event.v1.field) = {sharding_identifier: true}];
|
36
|
+
}
|
37
|
+
|
38
|
+
message ExampleCustomizedNestedEvent {
|
39
|
+
message Relation {
|
40
|
+
string relation_id = 1;
|
41
|
+
RelationDetails details = 2;
|
42
|
+
}
|
43
|
+
|
44
|
+
message RelationDetails {
|
45
|
+
string thing1_id = 1; // this is the sharding identifier
|
46
|
+
string thing2_id = 2;
|
47
|
+
int64 int64_field = 3;
|
48
|
+
repeated string repeated_string_field = 4;
|
49
|
+
float float_field = 5;
|
50
|
+
}
|
51
|
+
|
52
|
+
string event_id = 1;
|
53
|
+
|
54
|
+
Relation relation = 2 [(reddit.coreplatform.cloudroutines.event.v1.field) = {
|
55
|
+
sharding_identifier: true
|
56
|
+
sharding_field_path: "details.thing1_id"
|
57
|
+
}];
|
58
|
+
|
59
|
+
int64 int64_field = 3;
|
60
|
+
repeated string repeated_string_field = 4;
|
61
|
+
float float_field = 5;
|
62
|
+
}
|
63
|
+
|
64
|
+
message ExampleDLQEvent {
|
65
|
+
string user_id = 1 [(reddit.coreplatform.cloudroutines.event.v1.field) = {sharding_identifier: true}];
|
66
|
+
|
67
|
+
string subreddit_id = 2;
|
68
|
+
}
|
69
|
+
|
70
|
+
message ExampleResult {
|
71
|
+
string greeting = 1;
|
72
|
+
}
|
@@ -0,0 +1,213 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.cloudroutines.workerpool.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/any.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
import "google/rpc/status.proto";
|
8
|
+
import "reddit/coreplatform/cloudroutines/experimental/v1/experimental.proto";
|
9
|
+
import "reddit/coreplatform/cloudroutines/scheduling/v1/offsets.proto";
|
10
|
+
import "validate/validate.proto";
|
11
|
+
|
12
|
+
option go_package = "github.snooguts.net/reddit/cloudroutines/go/workerpoolpb/v1;workerpoolpb";
|
13
|
+
|
14
|
+
service WorkerPoolService {
|
15
|
+
// RegisterWorkerPoolVersion handles the registration of new workers to a given pool.
|
16
|
+
// Responses contain a mapping of callback names to corresponding error statuses encountered during registration.
|
17
|
+
// Problematic callbacks will be omitted from registration and returned in the response errors map.
|
18
|
+
rpc RegisterWorkerPoolVersion(RegisterWorkerPoolVersionRequest) returns (RegisterWorkerPoolVersionResponse) {
|
19
|
+
option idempotency_level = IDEMPOTENT;
|
20
|
+
}
|
21
|
+
|
22
|
+
// ReplayCallbackWithWindow will trigger Cloudroutines to redeliver messages published within the specified time
|
23
|
+
// window to the specified callback. If the time window falls outside of the topic retention window, then no messages will
|
24
|
+
// be delivered and an error is returned.
|
25
|
+
rpc ReplayCallbackWithWindow(ReplayCallbackWithWindowRequest) returns (ReplayCallbackWithWindowResponse) {
|
26
|
+
option idempotency_level = IDEMPOTENT;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
message ReplayWindow {
|
31
|
+
google.protobuf.Timestamp start = 1;
|
32
|
+
google.protobuf.Timestamp end = 2;
|
33
|
+
}
|
34
|
+
|
35
|
+
message ReplayCallbackWithWindowRequest {
|
36
|
+
string callback_namespace = 1 [(validate.rules).string = {
|
37
|
+
pattern: "^[-a-zA-Z0-9]+$"
|
38
|
+
min_len: 1
|
39
|
+
max_len: 255
|
40
|
+
}];
|
41
|
+
string callback_name = 2 [(validate.rules).string = {
|
42
|
+
pattern: "^[_a-zA-Z0-9]+$"
|
43
|
+
min_len: 1
|
44
|
+
max_len: 255
|
45
|
+
}];
|
46
|
+
|
47
|
+
ReplayWindow replay_window = 3;
|
48
|
+
}
|
49
|
+
|
50
|
+
message ReplayCallbackWithWindowResponse {
|
51
|
+
reddit.coreplatform.cloudroutines.scheduling.v1.DataSourceOffsetRange window_offset_range = 1;
|
52
|
+
}
|
53
|
+
|
54
|
+
message RegisterWorkerPoolVersionRequest {
|
55
|
+
// Reference to the worker pool that the worker is registering to.
|
56
|
+
WorkerPool.Source worker_pool_source = 1;
|
57
|
+
|
58
|
+
WorkerPool.Version worker_pool_version = 2;
|
59
|
+
|
60
|
+
// Unique ID of the worker instance.
|
61
|
+
// This must match the pod name of the caller.
|
62
|
+
string worker_id = 3 [(validate.rules).string = {
|
63
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
64
|
+
min_len: 1
|
65
|
+
max_len: 255
|
66
|
+
}];
|
67
|
+
}
|
68
|
+
|
69
|
+
message CallbackInfo {
|
70
|
+
// The name of the callback
|
71
|
+
string name = 1 [(validate.rules).string = {
|
72
|
+
pattern: "^[_a-zA-Z0-9]+$"
|
73
|
+
min_len: 1
|
74
|
+
max_len: 255
|
75
|
+
}];
|
76
|
+
|
77
|
+
string request_full_name = 2;
|
78
|
+
|
79
|
+
// The kafka topic that the callback wants to handle.
|
80
|
+
// If empty, the kafka topic will default to the fullname of the message descriptor.
|
81
|
+
string source_topic = 3 [(validate.rules).string = {
|
82
|
+
ignore_empty: true
|
83
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
84
|
+
max_len: 255
|
85
|
+
}];
|
86
|
+
|
87
|
+
// Configuration for experimental callback settings and features.
|
88
|
+
// Not recommended for general usage.
|
89
|
+
experimental.v1.ExperimentalCallbackOptions experimental_options = 4;
|
90
|
+
|
91
|
+
// A list of extensions which influence the scheduling decisions and consumer behavior. This
|
92
|
+
// field is meant to be populated only by the Cloudroutines scheduler. Attempts to configure this
|
93
|
+
// outside of the scheduler should fail immediately.
|
94
|
+
repeated google.protobuf.Any internal_scheduling_extensions = 5;
|
95
|
+
}
|
96
|
+
|
97
|
+
message RegisterWorkerPoolVersionResponse {
|
98
|
+
// Mapping of callback names to error statuses encountered during registration.
|
99
|
+
map<string, google.rpc.Status> errors = 1;
|
100
|
+
}
|
101
|
+
|
102
|
+
// Used internally within Cloudroutines to asynchronously update worker discovery information.
|
103
|
+
message WorkerPoolEvent {
|
104
|
+
message RegisterVersion {
|
105
|
+
WorkerPool.Source source = 1;
|
106
|
+
WorkerPool.Version version = 2;
|
107
|
+
|
108
|
+
// The unique identifier for the member of the worker pool which triggered this registration event. If blank,
|
109
|
+
// this the event was triggered by internal automation or a state resync. This value is usually the pod name.
|
110
|
+
string worker_id = 3;
|
111
|
+
}
|
112
|
+
|
113
|
+
message EvictVersion {
|
114
|
+
WorkerPool.Source source = 1;
|
115
|
+
WorkerPool.Version version = 2;
|
116
|
+
}
|
117
|
+
|
118
|
+
message EvictPool {
|
119
|
+
WorkerPool.Source source = 1;
|
120
|
+
}
|
121
|
+
|
122
|
+
oneof event {
|
123
|
+
RegisterVersion register_version = 1;
|
124
|
+
EvictVersion evict_version = 2;
|
125
|
+
EvictPool evict_pool = 3;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
message WorkerPool {
|
130
|
+
message Source {
|
131
|
+
oneof source {
|
132
|
+
// Reference to the deployment that the worker pool is associated with.
|
133
|
+
// Contains separate fields for the deployment name and namespace.
|
134
|
+
DeploymentReference deployment_reference = 1;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
message Version {
|
139
|
+
// The version of the worker pool. By default this is the pod template hash which we use as the
|
140
|
+
// version identifier for a set of pods. When dynamic reloading is enabled, we have to use the
|
141
|
+
// computed hash of the callback contents.
|
142
|
+
string id = 1 [(validate.rules).string = {
|
143
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
144
|
+
min_len: 1
|
145
|
+
max_len: 255
|
146
|
+
}];
|
147
|
+
|
148
|
+
// The port that the workers are listening on.
|
149
|
+
int32 port = 3 [(validate.rules).int32 = {
|
150
|
+
gte: 1
|
151
|
+
lte: 65535
|
152
|
+
}];
|
153
|
+
// The list of callbacks that the worker pool is able to handle.
|
154
|
+
map<string, CallbackInfo> callbacks = 4 [(validate.rules).map = {min_pairs: 1}];
|
155
|
+
|
156
|
+
google.protobuf.Any workload_extension = 5;
|
157
|
+
|
158
|
+
// Optional version id of the deployment or workload this version struct is associated with. This field is
|
159
|
+
// used when dynamic reloading of callbacks is configured.
|
160
|
+
string workload_version_id = 6;
|
161
|
+
}
|
162
|
+
|
163
|
+
Source source = 1;
|
164
|
+
|
165
|
+
map<string, Version> versions = 2;
|
166
|
+
}
|
167
|
+
|
168
|
+
message DeploymentReference {
|
169
|
+
// The name of the deployment.
|
170
|
+
string name = 1 [(validate.rules).string = {
|
171
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
172
|
+
min_len: 1
|
173
|
+
max_len: 255
|
174
|
+
}];
|
175
|
+
// The namespace of the deployment.
|
176
|
+
string namespace = 2 [(validate.rules).string = {
|
177
|
+
pattern: "^[-_.a-zA-Z0-9]+$"
|
178
|
+
min_len: 1
|
179
|
+
max_len: 255
|
180
|
+
}];
|
181
|
+
}
|
182
|
+
|
183
|
+
message EinhornWorkloadExtension {
|
184
|
+
message PortRange {
|
185
|
+
int32 start = 1 [(validate.rules).int32 = {
|
186
|
+
gte: 1
|
187
|
+
lte: 65535
|
188
|
+
}];
|
189
|
+
int32 end = 2 [(validate.rules).int32 = {
|
190
|
+
gte: 1
|
191
|
+
lte: 65535
|
192
|
+
}];
|
193
|
+
}
|
194
|
+
|
195
|
+
// The port range that the worker pool is listening on.
|
196
|
+
PortRange port_range = 1;
|
197
|
+
}
|
198
|
+
|
199
|
+
message MonocerosWorkloadExtension {
|
200
|
+
message PortRange {
|
201
|
+
int32 start = 1 [(validate.rules).int32 = {
|
202
|
+
gte: 1
|
203
|
+
lte: 65535
|
204
|
+
}];
|
205
|
+
int32 end = 2 [(validate.rules).int32 = {
|
206
|
+
gte: 1
|
207
|
+
lte: 65535
|
208
|
+
}];
|
209
|
+
}
|
210
|
+
|
211
|
+
// The port range that the worker pool is listening on.
|
212
|
+
PortRange port_range = 1;
|
213
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.comments.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/descriptor.proto";
|
6
|
+
import "reddit/coreplatform/comments/v1/comments.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/comments/v1;comments";
|
9
|
+
option java_multiple_files = true;
|
10
|
+
option java_outer_classname = "CommentTreeProto";
|
11
|
+
option java_package = "com.reddit.coreplatform.api.comments.v1";
|
12
|
+
|
13
|
+
// Message representing a comment tree. This is not a traditional tree or graph.
|
14
|
+
// A CommentTree is represented via a list of Nodes.
|
15
|
+
// Each of which may contain a Comment Thing model, comment id, or a cursor to sub-segment of the tree.
|
16
|
+
message CommentTree {
|
17
|
+
// Enum with possible max_comments/max_depth cached/precomputed comment tree sizes
|
18
|
+
enum PrecomputedTreeView {
|
19
|
+
// the default value is unspecified so usage of this enum must be explicit when supplying a value
|
20
|
+
PRECOMPUTED_TREE_VIEW_UNSPECIFIED = 0;
|
21
|
+
// logged out user - 200 max_comments / 5 max_depth
|
22
|
+
PRECOMPUTED_TREE_VIEW_LOGGED_OUT = 1;
|
23
|
+
// logged in user - 500 max_comments / 5 max_depth
|
24
|
+
PRECOMPUTED_TREE_VIEW_DEFAULT = 2;
|
25
|
+
// the user has Gold/Premium - 1500 max_comments / 7 max_depth
|
26
|
+
PRECOMPUTED_TREE_VIEW_GOLD = 3;
|
27
|
+
// user viewing on Shreddit - 10 max_comments / 2 max_depth
|
28
|
+
PRECOMPUTED_TREE_VIEW_SHREDDIT = 4;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Filters comments based on conditions when generating a CommentTree
|
32
|
+
enum Filter {
|
33
|
+
// No filtering will be applied
|
34
|
+
FILTER_UNSPECIFIED = 0;
|
35
|
+
|
36
|
+
// Only include comments which have a response by the OP or a collaborator
|
37
|
+
FILTER_ANSWERED = 1;
|
38
|
+
// Only include comments which do not have a response by the OP or a collaborator
|
39
|
+
FILTER_UNANSWERED = 2;
|
40
|
+
}
|
41
|
+
|
42
|
+
// LoadMoreComments represents a pointer to a comment tree subset that was hidden because of size/depth limitations or content relevancy.
|
43
|
+
message LoadMoreComments {
|
44
|
+
// A reference to a subset of a CommentTree
|
45
|
+
string cursor = 1;
|
46
|
+
// The number of comments the cursor points to
|
47
|
+
int32 num_comments = 2;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Node represents a comment node (hydrated or non-hydrated) or a LoadMoreComments cursor.
|
51
|
+
message Node {
|
52
|
+
// The depth of this comment node from overall tree. This is the distance between
|
53
|
+
// this node and the root node of the comment tree.
|
54
|
+
int32 depth = 1;
|
55
|
+
|
56
|
+
// The t1 Thing Comment id of the parent of this comment. If this comment
|
57
|
+
// has no parent, then this field will be an empty string.
|
58
|
+
string parent_id = 2;
|
59
|
+
|
60
|
+
// The value of this (comment) Node.
|
61
|
+
oneof value {
|
62
|
+
// A fully hydrated Comment Thing model. This field will only be populated if the
|
63
|
+
// client requested the tree nodes to be hydrated.
|
64
|
+
Comment comment = 3;
|
65
|
+
|
66
|
+
// A t1 Thing Comment id that represents a comment. This field is populated if *no* comment hydration was requested.
|
67
|
+
string comment_id = 4;
|
68
|
+
|
69
|
+
// A reference to a comment tree subset. This node is used to represent
|
70
|
+
// a tree node for comments that are part of the tree but need to be loaded
|
71
|
+
// separately due to response size limitations or content relevancy.
|
72
|
+
LoadMoreComments load_more_comments = 5;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
// An ordered list of the nodes that this comment tree segment is comprised of
|
77
|
+
repeated Node nodes = 1;
|
78
|
+
}
|