@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,101 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.domains.v1;
|
4
|
+
|
5
|
+
import "validate/validate.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/domains/v1;domains";
|
8
|
+
option java_multiple_files = true;
|
9
|
+
option java_outer_classname = "DomainsMetadataServiceProto";
|
10
|
+
option java_package = "com.reddit.coreplatform.api.domains.v1";
|
11
|
+
|
12
|
+
// The domains metadata service exposes APIs for fetching metadata related to domains
|
13
|
+
service DomainsMetadataService {
|
14
|
+
// Check if the requested url has been banned at the domain-level and if it's
|
15
|
+
// publicly banned (shamed) or privately banned.
|
16
|
+
rpc GetDomainBanInfo(GetDomainBanInfoRequest) returns (GetDomainBanInfoResponse) {
|
17
|
+
option idempotency_level = NO_SIDE_EFFECTS;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
// The ban status of the domain
|
22
|
+
enum BanStatus {
|
23
|
+
// Either not banned or just unspecified
|
24
|
+
BAN_STATUS_UNSPECIFIED = 0;
|
25
|
+
|
26
|
+
// The domain has not been banned
|
27
|
+
BAN_STATUS_NOT_BANNED = 1;
|
28
|
+
|
29
|
+
// The domain has been banned, but that fact shouldn't be exposed to users
|
30
|
+
BAN_STATUS_PRIVATELY_BANNED = 2;
|
31
|
+
|
32
|
+
// The domain has been banned and we should let users actively know it's banned
|
33
|
+
BAN_STATUS_PUBLICLY_BANNED = 3;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Ban status, message associated to a domain
|
37
|
+
message DomainBanInfo {
|
38
|
+
// Ban status of this URL
|
39
|
+
BanStatus ban_status = 1;
|
40
|
+
|
41
|
+
// Ban message to be shown when trying to submit a url from that domain
|
42
|
+
string public_ban_message = 2;
|
43
|
+
|
44
|
+
// Internal ban info, for admins only
|
45
|
+
InternalDomainBanInfo internal_info = 3;
|
46
|
+
}
|
47
|
+
|
48
|
+
// All status associated with a given domain, for internal use by admins
|
49
|
+
message InternalDomainBanInfo {
|
50
|
+
// Ban status of this domain without overriding based on regex
|
51
|
+
BanStatus original_ban_status = 1;
|
52
|
+
|
53
|
+
// Internal note written by the banning admin
|
54
|
+
string internal_ban_message = 2;
|
55
|
+
|
56
|
+
// Is the domain also prohibited in markdown links (in self posts, comments, messages)?
|
57
|
+
bool banned_in_markdown = 3;
|
58
|
+
|
59
|
+
// Is the domain also prohibited as an email?
|
60
|
+
bool banned_in_email = 4;
|
61
|
+
|
62
|
+
// Username of the banning admin
|
63
|
+
string banning_admin_username = 5;
|
64
|
+
|
65
|
+
// UTC time zone, string format "YYYY-MM-DD hh:mm"
|
66
|
+
string banned_at_timestamp = 6;
|
67
|
+
|
68
|
+
// If present, the ban only applies to URLs matching this regex
|
69
|
+
string url_regex = 7;
|
70
|
+
|
71
|
+
// Is the domain also prohibited from being manually approved by moderators?
|
72
|
+
bool prohibit_approval = 8;
|
73
|
+
|
74
|
+
// Inspector exemptions regex (matches anywhere)
|
75
|
+
string inspector_exemptions_regex = 9;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Request argument for checking the url to see if the domain has been banned
|
79
|
+
message GetDomainBanInfoRequest {
|
80
|
+
// The list of full urls to check for banned status
|
81
|
+
repeated string urls = 1 [(validate.rules).repeated = {
|
82
|
+
min_items: 1
|
83
|
+
max_items: 100
|
84
|
+
unique: true
|
85
|
+
items: {
|
86
|
+
string: {
|
87
|
+
min_len: 3
|
88
|
+
max_len: 2048
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}];
|
92
|
+
|
93
|
+
// Whether internal info should be included
|
94
|
+
bool include_internal_info = 2;
|
95
|
+
}
|
96
|
+
|
97
|
+
// Response payload for if the url is part of a banned domain
|
98
|
+
message GetDomainBanInfoResponse {
|
99
|
+
// A map of url to the ban status of that url's domain.
|
100
|
+
map<string, DomainBanInfo> ban_info_by_url = 1;
|
101
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account.proto
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.account.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/field_mask.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
import "reddit/coreplatform/account/v1/account.proto";
|
8
|
+
import "reddit/coreplatform/events/common/v1/actor.proto";
|
9
|
+
|
10
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/account/v1;account";
|
11
|
+
option java_multiple_files = true;
|
12
|
+
option java_outer_classname = "AccountProto";
|
13
|
+
option java_package = "com.reddit.coreplatform.events.account.v1";
|
14
|
+
|
15
|
+
// An event which encapsulates a single instance of an account entity modification. A single update event is emitted
|
16
|
+
// per account update, regardless of the number of attributes that are modified. This is not triggered on account
|
17
|
+
// creation, but will be triggered on any subsequent changes to that account.
|
18
|
+
message AccountUpdateEvent {
|
19
|
+
// An account thing entity. All fields on this account instance are eventually consistent, with the exception of those
|
20
|
+
// explicitly referenced by the `updated_fields` field of this message. Updated fields are always strongly consistent
|
21
|
+
// at the moment this event was emitted. Storage of the account model in systems external to core-platform must abide
|
22
|
+
// by the `max_retention` policy defined on any of its fields.
|
23
|
+
reddit.coreplatform.account.v1.Account account = 1;
|
24
|
+
|
25
|
+
// A field mask containing a list of all fields that were updated on the account in this event.
|
26
|
+
// Fields denoted in the field mask are guaranteed to be consistent at the time this event was triggered.
|
27
|
+
// The precision of this mask is limited to only the root fields on a account message. It it makes no guarantee to convey
|
28
|
+
// if or which nested fields may have changed during an update.
|
29
|
+
google.protobuf.FieldMask updated_fields = 2;
|
30
|
+
|
31
|
+
// The actor that triggered this event
|
32
|
+
reddit.coreplatform.events.common.v1.Actor updated_by = 3;
|
33
|
+
|
34
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
35
|
+
// any relevant datastore.
|
36
|
+
google.protobuf.Timestamp updated_at = 4;
|
37
|
+
|
38
|
+
// The version ID of this account update. This is a monotonically increasing integer that is incremented
|
39
|
+
// on every update to this account. On overflow (after 2^31-1 updates), the version ID will reset to 0.
|
40
|
+
int32 version_id = 5;
|
41
|
+
}
|
42
|
+
|
43
|
+
// An event which encapsulates a single instance of a account entity creation. This event will not be triggered
|
44
|
+
// on any subsequent changes to a account.
|
45
|
+
message AccountCreateEvent {
|
46
|
+
// A account thing entity. The fields set on this account instance reflect a combination of the attributes supplied
|
47
|
+
// during the create and the default values for any unset fields. This is an exact representation of the entity at the
|
48
|
+
// time of creation. This event will not reflect any modifications made to a account immediately after creation.
|
49
|
+
// Storage of the account model in systems external to core-platform must abide by the `max_retention` policy defined
|
50
|
+
// on any of its fields.
|
51
|
+
reddit.coreplatform.account.v1.Account account = 1;
|
52
|
+
|
53
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
54
|
+
// any relevant datastore.
|
55
|
+
google.protobuf.Timestamp created_at = 2;
|
56
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.account.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "reddit/coreplatform/account/v1/account_relations.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/account/v1;account";
|
9
|
+
option java_multiple_files = true;
|
10
|
+
option java_outer_classname = "AccountRelationsProto";
|
11
|
+
option java_package = "com.reddit.coreplatform.events.account.v1";
|
12
|
+
|
13
|
+
// An event which encapsulates a single instance of a friend relation entity creation or deletion. A change event
|
14
|
+
// is emitted when a friend relationship is either created or deleted. A friend relation has no attributes and can
|
15
|
+
// only be created or deleted and not modified. In the future if attributes get added to the friend relation,
|
16
|
+
// the change event will start to include update event as well.
|
17
|
+
message FriendRelationChangeEvent {
|
18
|
+
// An event which encapsulates a single friend relation create.
|
19
|
+
message Create {
|
20
|
+
// The friend relation entity created.
|
21
|
+
reddit.coreplatform.account.v1.FriendRelation relation = 1;
|
22
|
+
|
23
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
24
|
+
// any relevant datastore.
|
25
|
+
google.protobuf.Timestamp created_at = 3;
|
26
|
+
}
|
27
|
+
|
28
|
+
// An event which encapsulates a single friend relation delete.
|
29
|
+
message Delete {
|
30
|
+
// The friend relation entity deleted.
|
31
|
+
reddit.coreplatform.account.v1.FriendRelation relation = 1;
|
32
|
+
|
33
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
34
|
+
// any relevant datastore.
|
35
|
+
google.protobuf.Timestamp deleted_at = 3;
|
36
|
+
}
|
37
|
+
|
38
|
+
// A change event is either a create event or a delete event depending on the action that triggered
|
39
|
+
// the event.
|
40
|
+
oneof change {
|
41
|
+
// Event representing a friend relation create. In a change event representing a relationship create,
|
42
|
+
// only create event will be present.
|
43
|
+
Create create = 1;
|
44
|
+
|
45
|
+
// Event representing a friend relation delete. In a change event representing a relationship delete,
|
46
|
+
// only delete event will be present.
|
47
|
+
Delete delete = 2;
|
48
|
+
}
|
49
|
+
|
50
|
+
// Reserved for exposing the actor that triggered this event.
|
51
|
+
reserved 3;
|
52
|
+
}
|
53
|
+
|
54
|
+
// An event which encapsulates a single instance of a block relation entity create or delete. A change event
|
55
|
+
// is emitted when a block relation is created or deleted. A block relation can't be modified as it has no
|
56
|
+
// data attributes. In the future if attributes get added to the block relation, the change event will start to
|
57
|
+
// include update event as well.
|
58
|
+
message BlockRelationChangeEvent {
|
59
|
+
// An event which encapsulates a single block relation create.
|
60
|
+
message Create {
|
61
|
+
// The blocking relation entity created.
|
62
|
+
reddit.coreplatform.account.v1.BlockRelation relation = 1;
|
63
|
+
|
64
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
65
|
+
// any relevant datastore.
|
66
|
+
google.protobuf.Timestamp created_at = 3;
|
67
|
+
}
|
68
|
+
|
69
|
+
// An event which encapsulates a single block relation delete.
|
70
|
+
message Delete {
|
71
|
+
// The block relation entity deleted.
|
72
|
+
reddit.coreplatform.account.v1.BlockRelation relation = 1;
|
73
|
+
|
74
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
75
|
+
// any relevant datastore.
|
76
|
+
google.protobuf.Timestamp deleted_at = 3;
|
77
|
+
}
|
78
|
+
|
79
|
+
// A change event is either a create event or a delete event depending on the action that triggered
|
80
|
+
// the event.
|
81
|
+
oneof change {
|
82
|
+
// Event representing a block relation create. In a change event representing a relationship create,
|
83
|
+
// only create event will be present.
|
84
|
+
Create create = 1;
|
85
|
+
|
86
|
+
// Event representing a block relation delete. In a change event representing a relationship delete,
|
87
|
+
// only delete event will be present.
|
88
|
+
Delete delete = 2;
|
89
|
+
}
|
90
|
+
|
91
|
+
// Reserved for exposing the actor that triggered this event.
|
92
|
+
reserved 3;
|
93
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.cloudevent.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/any.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/cloudevent/v1;cloudevent";
|
9
|
+
option java_multiple_files = true;
|
10
|
+
option java_outer_classname = "CloudeventProto";
|
11
|
+
option java_package = "com.reddit.coreplatform.events.cloudevent.v1";
|
12
|
+
|
13
|
+
// this entire file is copied from https://github.com/cloudevents/sdk-go/blob/main/binding/format/protobuf/v2/pb/cloudevent.proto
|
14
|
+
// unfortunately, the package and option values need to be updated and we need to build the python binding, which doesn't exist
|
15
|
+
|
16
|
+
// CloudEvent is copied from
|
17
|
+
// https://github.com/cloudevents/spec/blob/master/protobuf-format.md.
|
18
|
+
message CloudEvent {
|
19
|
+
// Unique event identifier.
|
20
|
+
string id = 1;
|
21
|
+
// URI of the event source.
|
22
|
+
string source = 2;
|
23
|
+
// Version of the spec in use.
|
24
|
+
string spec_version = 3;
|
25
|
+
// Event type identifier.
|
26
|
+
string type = 4;
|
27
|
+
|
28
|
+
// Optional & Extension Attributes
|
29
|
+
map<string, CloudEventAttributeValue> attributes = 5;
|
30
|
+
|
31
|
+
// CloudEvent Data (Bytes, Text, or Proto)
|
32
|
+
oneof data {
|
33
|
+
// If the event is binary data then the datacontenttype attribute
|
34
|
+
// should be set to an appropriate media-type.
|
35
|
+
bytes binary_data = 6;
|
36
|
+
// If the event is string data then the datacontenttype attribute
|
37
|
+
// should be set to an appropriate media-type such as application/json.
|
38
|
+
string text_data = 7;
|
39
|
+
// If the event is a protobuf then it must be encoded using this Any
|
40
|
+
// type. The datacontenttype attribute should be set to
|
41
|
+
// application/protobuf and the dataschema attribute set to the message
|
42
|
+
// type.
|
43
|
+
google.protobuf.Any proto_data = 8;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
// CloudEventAttribute enables extensions to use any of the seven allowed
|
48
|
+
// data types as the value of an envelope key.
|
49
|
+
message CloudEventAttributeValue {
|
50
|
+
// The value can be any one of these types.
|
51
|
+
oneof attr {
|
52
|
+
// Boolean value.
|
53
|
+
bool ce_boolean = 1;
|
54
|
+
// Integer value.
|
55
|
+
int32 ce_integer = 2;
|
56
|
+
// String value.
|
57
|
+
string ce_string = 3;
|
58
|
+
// Byte string value.
|
59
|
+
bytes ce_bytes = 4;
|
60
|
+
// URI value.
|
61
|
+
string ce_uri = 5;
|
62
|
+
// URI reference value.
|
63
|
+
string ce_uri_ref = 6;
|
64
|
+
// Timestamp value.
|
65
|
+
google.protobuf.Timestamp ce_timestamp = 7;
|
66
|
+
}
|
67
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/comments/v1/comments.proto
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.comments.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/field_mask.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
import "reddit/coreplatform/comments/v1/comments.proto";
|
8
|
+
import "reddit/coreplatform/events/common/v1/actor.proto";
|
9
|
+
|
10
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/comments/v1;comments";
|
11
|
+
option java_multiple_files = true;
|
12
|
+
option java_outer_classname = "CommentsProto";
|
13
|
+
option java_package = "com.reddit.coreplatform.events.comments.v1";
|
14
|
+
|
15
|
+
// An event which encapsulates a single instance of a comment entity modification. A single update event is emitted
|
16
|
+
// per comment update, regardless of the number of attributes that are modified. This is not triggered on comment
|
17
|
+
// creation, but will be triggered on any subsequent changes to that comment.
|
18
|
+
message CommentUpdateEvent {
|
19
|
+
// A comment thing entity. All fields on this comment instance are eventually consistent, with the exception of those
|
20
|
+
// explicitly referenced by the `updated_fields` field of this message. Updated fields are always strongly consistent
|
21
|
+
// at the moment this event was emitted. Storage of the comment model in systems external to core-platform must abide
|
22
|
+
// by the `max_retention` policy defined on any of its fields.
|
23
|
+
reddit.coreplatform.comments.v1.Comment comment = 1;
|
24
|
+
|
25
|
+
// A field mask containing a list of all fields that were updated on the comment in this event.
|
26
|
+
// Fields denoted in the field mask are guaranteed to be consistent at the time this event was triggered.
|
27
|
+
// The precision of this mask is limited to only the root fields on a comment message. It it makes no guarantee to convey
|
28
|
+
// if or which nested fields may have changed during an update.
|
29
|
+
google.protobuf.FieldMask updated_fields = 2;
|
30
|
+
|
31
|
+
// The actor that triggered this event
|
32
|
+
reddit.coreplatform.events.common.v1.Actor updated_by = 3;
|
33
|
+
|
34
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
35
|
+
// any relevant datastore.
|
36
|
+
google.protobuf.Timestamp updated_at = 4;
|
37
|
+
|
38
|
+
// The version ID of this comment update. This is a monotonically increasing integer that is incremented
|
39
|
+
// on every update to this comment. On overflow (after 2^31-1 updates), the version ID will reset to 0.
|
40
|
+
int32 version_id = 5;
|
41
|
+
}
|
42
|
+
|
43
|
+
// An event which encapsulates a single instance of a comment entity creation. This event will not be triggered
|
44
|
+
// on any subsequent changes to a comment.
|
45
|
+
message CommentCreateEvent {
|
46
|
+
// A comment thing entity. The fields set on this comment instance reflect a combination of the attributes supplied
|
47
|
+
// during the create and the default values for any unset fields. This is an exact representation of the entity at the
|
48
|
+
// time of creation. This event will not reflect any modifications made to a comment immediately after creation.
|
49
|
+
// Storage of the comment model in systems external to core-platform must abide by the `max_retention` policy defined
|
50
|
+
// on any of its fields.
|
51
|
+
reddit.coreplatform.comments.v1.Comment comment = 1;
|
52
|
+
|
53
|
+
// The actor that triggered this event
|
54
|
+
reddit.coreplatform.events.common.v1.Actor created_by = 2;
|
55
|
+
|
56
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
57
|
+
// any relevant datastore.
|
58
|
+
google.protobuf.Timestamp created_at = 3;
|
59
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/actor.proto
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.common.v1;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/common/v1";
|
6
|
+
option java_multiple_files = true;
|
7
|
+
option java_outer_classname = "ActorProto";
|
8
|
+
option java_package = "com.reddit.coreplatform.events.common.v1";
|
9
|
+
|
10
|
+
// A reference to an actor which initiated an action. In the case of events, this
|
11
|
+
// is usually the user or service account which performed the action that resulted
|
12
|
+
// in the attributed event being emitted.
|
13
|
+
message Actor {
|
14
|
+
// The entity which triggered an event
|
15
|
+
oneof entity {
|
16
|
+
// The service used to trigger an event. This field will be propagated if the service
|
17
|
+
// account is acting on behalf of itself OR performing an action on behalf of a user.
|
18
|
+
Service service = 1;
|
19
|
+
|
20
|
+
// The user which triggered this action. This field will NOT be populated for actions performed by a service account
|
21
|
+
// acting on behalf of a user. The `service` field will be populated instead.
|
22
|
+
User user = 2;
|
23
|
+
}
|
24
|
+
|
25
|
+
// A message describing a user actor
|
26
|
+
message User {
|
27
|
+
// The id of the user which triggered this action. If the action was trigger by a service account on behalf
|
28
|
+
// of a user, then this field will be populated.
|
29
|
+
string id = 1;
|
30
|
+
}
|
31
|
+
|
32
|
+
// A message describing a service actor
|
33
|
+
message Service {
|
34
|
+
// The service account id used to trigger an event. This id will match the service name used in the edge
|
35
|
+
// context which performed the action.
|
36
|
+
string service_account_id = 1;
|
37
|
+
|
38
|
+
// The id of the user this service assumed when performing the action which triggered an event. If the service
|
39
|
+
// was acting as a super user, then this field will be set to the const `__super__`. If no special permissions
|
40
|
+
// were invoked and the service acted on behalf of itself, then this field will be empty.
|
41
|
+
string on_behalf_of_user = 2;
|
42
|
+
}
|
43
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.common.v1;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/common/v1";
|
6
|
+
option java_multiple_files = true;
|
7
|
+
option java_outer_classname = "EventAttrKeyProto";
|
8
|
+
option java_package = "com.reddit.coreplatform.events.common.v1";
|
9
|
+
|
10
|
+
// Enums to be used as keys for core event related attributes on the CloudEvent
|
11
|
+
// These are deprecated since the string format is not compatible with the CloudEvent attribute key specification
|
12
|
+
enum EventAttrKey {
|
13
|
+
// Default unspecified key, do not use unless catching default cases
|
14
|
+
EVENT_ATTR_KEY_UNSPECIFIED = 0 [deprecated = true];
|
15
|
+
// EventContext key
|
16
|
+
EVENT_ATTR_KEY_EVENTCONTEXT = 1 [deprecated = true];
|
17
|
+
// Event_Extensions key
|
18
|
+
EVENT_ATTR_KEY_EVENT_EXTENSIONS = 2 [deprecated = true];
|
19
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.common.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/any.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/common/v1";
|
8
|
+
option java_multiple_files = true;
|
9
|
+
option java_outer_classname = "EventExtensionsProto";
|
10
|
+
option java_package = "com.reddit.coreplatform.events.common.v1";
|
11
|
+
|
12
|
+
// Wrapper for vote metadata values, used for CloudEvent EventExtensions
|
13
|
+
message VoteMetadata {
|
14
|
+
// Field for upvotes
|
15
|
+
int32 ups = 1;
|
16
|
+
// Field for downvotes
|
17
|
+
int32 downs = 2;
|
18
|
+
}
|
19
|
+
|
20
|
+
// EventExtensions are optionally attached on a CloudEvent's attributes field and are a way to pass contextual metadata
|
21
|
+
// of the event to downstream consumers
|
22
|
+
message EventExtensions {
|
23
|
+
// Extensions are a map of the fully qualified protobuf name to a protobuf payload containing metadata;
|
24
|
+
// payloads above a certain size may be truncated and validation of payloads is left to the end user
|
25
|
+
map<string, google.protobuf.Any> extensions = 1;
|
26
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.common.v1;
|
4
|
+
|
5
|
+
import "reddit/coreplatform/events/common/v1/actor.proto";
|
6
|
+
import "reddit/coreplatform/sensitive/v1/wrappers.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/common/v1";
|
9
|
+
option java_multiple_files = true;
|
10
|
+
option java_outer_classname = "EventcontextProto";
|
11
|
+
option java_package = "com.reddit.coreplatform.events.common.v1";
|
12
|
+
|
13
|
+
// wrapper for geolocation metadata values on the event context
|
14
|
+
message Geolocation {
|
15
|
+
// two-character ISO 3166-1 country code where the request originated from
|
16
|
+
string country_code = 1;
|
17
|
+
}
|
18
|
+
|
19
|
+
// wrapper for device metadata values on the event context
|
20
|
+
message Device {
|
21
|
+
// device ID of the request
|
22
|
+
string id = 1;
|
23
|
+
}
|
24
|
+
|
25
|
+
// wrapper for locale metadata values on the event context
|
26
|
+
message Locale {
|
27
|
+
// IETF language code for the client of the request
|
28
|
+
string code = 1;
|
29
|
+
}
|
30
|
+
|
31
|
+
// wrapper for OAuth2 client values on the event context
|
32
|
+
message OAuthClient {
|
33
|
+
// OAuth client ID of the request
|
34
|
+
string id = 1;
|
35
|
+
// OAuth client type of the request
|
36
|
+
string type = 2;
|
37
|
+
}
|
38
|
+
|
39
|
+
// wrapper for origin values on the event context
|
40
|
+
message OriginService {
|
41
|
+
// name of the service that serves as the origin of the request
|
42
|
+
string name = 1;
|
43
|
+
}
|
44
|
+
|
45
|
+
// ClientIP is a wrapper for the client IP that affected the change represented by this event
|
46
|
+
message ClientIP {
|
47
|
+
// client IP address
|
48
|
+
string value = 1;
|
49
|
+
}
|
50
|
+
|
51
|
+
// EventContext containing metadata values taken from the edge context used when the event was created
|
52
|
+
message EventContext {
|
53
|
+
// geolocation metadata values
|
54
|
+
Geolocation geolocation = 1;
|
55
|
+
// device metadata values
|
56
|
+
Device device = 2;
|
57
|
+
// locale metadata values
|
58
|
+
Locale locale = 3;
|
59
|
+
// oauth client metadata values
|
60
|
+
OAuthClient oauth_client = 4;
|
61
|
+
// origin service metadata values
|
62
|
+
OriginService origin_service = 5;
|
63
|
+
// request ID
|
64
|
+
string request_id = 6;
|
65
|
+
// client IP Address
|
66
|
+
optional reddit.coreplatform.sensitive.v1.SensitiveString client_ip = 7;
|
67
|
+
// actor metadata
|
68
|
+
reddit.coreplatform.events.common.v1.Actor actor = 8;
|
69
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/links/v1/links.proto
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.events.links.v1;
|
4
|
+
|
5
|
+
import "google/protobuf/field_mask.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
import "reddit/coreplatform/events/common/v1/actor.proto";
|
8
|
+
import "reddit/coreplatform/links/v1/links.proto";
|
9
|
+
|
10
|
+
option go_package = "github.snooguts.net/reddit/core-platform-events/go/links/v1;links";
|
11
|
+
option java_multiple_files = true;
|
12
|
+
option java_outer_classname = "LinksProto";
|
13
|
+
option java_package = "com.reddit.coreplatform.events.links.v1";
|
14
|
+
|
15
|
+
// An event which encapsulates a single instance of a link entity modification. A single update event is emitted
|
16
|
+
// per link update, regardless of the number of attributes that are modified. This is not triggered on link
|
17
|
+
// creation, but will be triggered on any subsequent changes to that link.
|
18
|
+
message LinkUpdateEvent {
|
19
|
+
// A link thing entity. All fields on this link instance are eventually consistent, with the exception of those
|
20
|
+
// explicitly referenced by the `updated_fields` field of this message. Updated fields are always strongly consistent
|
21
|
+
// at the moment this event was emitted. Storage of the link model in systems external to core-platform must abide
|
22
|
+
// by the `max_retention` policy defined on any of its fields.
|
23
|
+
reddit.coreplatform.links.v1.Link link = 1;
|
24
|
+
|
25
|
+
// A field mask containing a list of all fields that were updated on the link in this event.
|
26
|
+
// Fields denoted in the field mask are guaranteed to be consistent at the time this event was triggered.
|
27
|
+
// The precision of this mask is limited to only the root fields on a link message. It it makes no guarantee to convey
|
28
|
+
// if or which nested fields may have changed during an update.
|
29
|
+
google.protobuf.FieldMask updated_fields = 2;
|
30
|
+
|
31
|
+
// The actor that triggered this event
|
32
|
+
reddit.coreplatform.events.common.v1.Actor updated_by = 3;
|
33
|
+
|
34
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
35
|
+
// any relevant datastore.
|
36
|
+
google.protobuf.Timestamp updated_at = 4;
|
37
|
+
|
38
|
+
// The version ID of this link update. This is a monotonically increasing integer that is incremented
|
39
|
+
// on every update to this link. On overflow (after 2^31-1 updates), the version ID will reset to 0.
|
40
|
+
int32 version_id = 5;
|
41
|
+
}
|
42
|
+
|
43
|
+
// An event which encapsulates a single instance of a link entity creation. This event will not be triggered
|
44
|
+
// on any subsequent changes to a link.
|
45
|
+
message LinkCreateEvent {
|
46
|
+
// A link thing entity. The fields set on this link instance reflect a combination of the attributes supplied
|
47
|
+
// during the create and the default values for any unset fields. This is an exact representation of the entity at the
|
48
|
+
// time of creation. This event will not reflect any modifications made to a link immediately after creation.
|
49
|
+
// Storage of the link model in systems external to core-platform must abide by the `max_retention` policy defined
|
50
|
+
// on any of its fields.
|
51
|
+
reddit.coreplatform.links.v1.Link link = 1;
|
52
|
+
|
53
|
+
// The actor that triggered this event
|
54
|
+
reddit.coreplatform.events.common.v1.Actor created_by = 2;
|
55
|
+
|
56
|
+
// The UTC timestamp of the instance at which this event was triggered and successfully persisted to
|
57
|
+
// any relevant datastore.
|
58
|
+
google.protobuf.Timestamp created_at = 3;
|
59
|
+
}
|