@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,11 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.gql;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/gql";
|
6
|
+
option java_package = "com.reddit.devvit.gql";
|
7
|
+
|
8
|
+
message CustomPostSnapshot {
|
9
|
+
string snapshot_id = 1;
|
10
|
+
string render_config = 2;
|
11
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.gql;
|
4
|
+
|
5
|
+
import "devvit/actor/reddit/context_action.proto";
|
6
|
+
import "devvit/runtime/bundle.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/gql";
|
9
|
+
option java_package = "com.reddit.devvit.gql";
|
10
|
+
|
11
|
+
// THESE TYPES ARE DEPRECATED.
|
12
|
+
//
|
13
|
+
// This file contains types for the Subreddit.devPlatformMetadata field, which is (as of 2024Q4)
|
14
|
+
// the old way to fetch Devvit metadata for a subreddit.
|
15
|
+
|
16
|
+
message SubredditContextActions {
|
17
|
+
option deprecated = true;
|
18
|
+
|
19
|
+
// LinkedBundle.hostname
|
20
|
+
string actor_hostname = 1;
|
21
|
+
// Return value from ContextAction.GetActions()
|
22
|
+
devvit.actor.reddit.ContextActionList actions = 2;
|
23
|
+
}
|
24
|
+
|
25
|
+
// The subreddit manifest. Nothing to do with gRPC-web or any other kind of
|
26
|
+
// metadata.
|
27
|
+
// base64-encoded in Subreddit.devPlatformMetadata
|
28
|
+
// ([ex](https://gql.reddit.com/?queryGz=eJw1y7EKg0AMANBfKTfpct07dnOoCH5AiU2kES8JXizIcf9eF5e3vZL3aSNE9k5mfR49JGrk5BGyk31JlPFt%2BxTaEmNUuY1XKEi%2FYQWfdUsvckBwaBIn8sPODmYrf8BZ5b5kldDWWv89vSpI&operationName=)).
|
29
|
+
message DevvitSubredditMetadata {
|
30
|
+
option deprecated = true;
|
31
|
+
|
32
|
+
message AppInfo {
|
33
|
+
// Unique identifier
|
34
|
+
string slug = 1;
|
35
|
+
// Display name
|
36
|
+
string name = 2;
|
37
|
+
// Owner user ID. Eg, `t2_1w72`.
|
38
|
+
string owner_id = 4;
|
39
|
+
|
40
|
+
// Owner userName (use owner_id instead)
|
41
|
+
reserved "owner_name";
|
42
|
+
reserved 3;
|
43
|
+
}
|
44
|
+
|
45
|
+
// List of all installed apps for the loaded Subreddit
|
46
|
+
repeated devvit.runtime.LinkedBundle installed_remote_apps = 1;
|
47
|
+
repeated SubredditContextActions context_actions = 2;
|
48
|
+
repeated ErrorMessage errors = 3;
|
49
|
+
repeated AppInfo installed_apps_info = 4;
|
50
|
+
}
|
51
|
+
|
52
|
+
message ErrorMessage {
|
53
|
+
string message = 1;
|
54
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.options;
|
4
|
+
|
5
|
+
import "google/protobuf/descriptor.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/devplatform-api/go/grpc/devvit/options";
|
8
|
+
option java_package = "com.reddit.devvit.options";
|
9
|
+
|
10
|
+
// Data Tier defines the level of data delivered to the client
|
11
|
+
// FIRST_DATA_TIER is the least amount of data, THIRD_DATA_TIER is the most
|
12
|
+
enum DataTier {
|
13
|
+
UNKNOWN_DATA_TIER = 0;
|
14
|
+
FIRST_DATA_TIER = 1;
|
15
|
+
SECOND_DATA_TIER = 2;
|
16
|
+
THIRD_DATA_TIER = 3;
|
17
|
+
}
|
18
|
+
|
19
|
+
enum Selector {
|
20
|
+
DEFAULT = 0 [deprecated = true];
|
21
|
+
TARGET_USER = 1 [deprecated = true];
|
22
|
+
MOD_ACTION_TYPE = 2 [deprecated = true]; // TODO(logan.hanks): Replace this with a field path string
|
23
|
+
}
|
24
|
+
|
25
|
+
extend google.protobuf.MessageOptions {
|
26
|
+
// Specifies the source/action/noun of v2 events that this message can be hydrated from.
|
27
|
+
repeated EventSpec trigger = 50000;
|
28
|
+
|
29
|
+
// Firehose data tier for a message
|
30
|
+
optional DataTier msg_data_tier = 50001;
|
31
|
+
|
32
|
+
optional string source = 51234; // denotes the v2 event "source" field
|
33
|
+
optional string action = 51235; // denotes the v2 event "action" field
|
34
|
+
optional string noun = 51236; // denotes the v2 event "noun" field
|
35
|
+
}
|
36
|
+
|
37
|
+
extend google.protobuf.FieldOptions {
|
38
|
+
// Firehose data tier for a message field
|
39
|
+
optional DataTier field_data_tier = 50000;
|
40
|
+
|
41
|
+
// Provides a hint for hydrating a trigger event from a v2 event.
|
42
|
+
optional Selector selector = 50001 [deprecated = true];
|
43
|
+
|
44
|
+
// the path to hydrate the property from from a v2 event
|
45
|
+
optional string v2_event_path = 50002;
|
46
|
+
|
47
|
+
// the path to hydrate the property from from a trigger event
|
48
|
+
optional string trigger_evt_path = 50003;
|
49
|
+
|
50
|
+
// hydrate using a path to field within the same message (after that field has been hydrated)
|
51
|
+
optional string secondary_hydration_path = 50004;
|
52
|
+
|
53
|
+
// where to deliver a trigger event to
|
54
|
+
optional DeliverTo deliver_to = 50005;
|
55
|
+
|
56
|
+
// firehose event type, maps directly to the stream name in redis
|
57
|
+
optional FirehoseEvent firehose_event_type = 50006;
|
58
|
+
|
59
|
+
// the path to hydrate the property from a intermediate model event
|
60
|
+
optional string im_path = 50007;
|
61
|
+
}
|
62
|
+
|
63
|
+
message EventSpec {
|
64
|
+
string source = 1;
|
65
|
+
string action = 2;
|
66
|
+
string noun = 3;
|
67
|
+
}
|
68
|
+
|
69
|
+
// Delivery locations for events from snooron-worker
|
70
|
+
// Nested in a msg since proto doesn't like repeated enums
|
71
|
+
message DeliverTo {
|
72
|
+
repeated DeliveryLocation to = 1;
|
73
|
+
}
|
74
|
+
|
75
|
+
enum DeliveryLocation {
|
76
|
+
UNKNOWN_DELIVERY_LOCATION = 0;
|
77
|
+
GATEWAY = 1;
|
78
|
+
FIREHOSE = 2;
|
79
|
+
}
|
80
|
+
|
81
|
+
// Event types for firehose
|
82
|
+
// Also maps directly to the stream name in redis
|
83
|
+
enum FirehoseEvent {
|
84
|
+
UNKNOWN_FIREHOSE_EVENT = 0;
|
85
|
+
POST_CREATE = 1;
|
86
|
+
POST_EDIT = 2;
|
87
|
+
POST_DELETE = 3;
|
88
|
+
COMMENT_CREATE = 4;
|
89
|
+
COMMENT_EDIT = 5;
|
90
|
+
COMMENT_DELETE = 6;
|
91
|
+
VOTE = 7;
|
92
|
+
MOD_ACTION = 8;
|
93
|
+
ACCOUNT_DELETE = 9;
|
94
|
+
ERROR = 10;
|
95
|
+
WARNING = 11;
|
96
|
+
POST_APPROVE = 12;
|
97
|
+
COMMENT_APPROVE = 13;
|
98
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.payments.v1alpha;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/payments";
|
6
|
+
option java_package = "com.reddit.devvit.payments";
|
7
|
+
|
8
|
+
// TODO: we may want to pull this directly from the pay protos via snootobuf
|
9
|
+
enum Environment {
|
10
|
+
ENVIRONMENT_UNSPECIFIED = 0;
|
11
|
+
ENVIRONMENT_SANDBOX = 1;
|
12
|
+
ENVIRONMENT_PRODUCTION = 2;
|
13
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.payments.v1alpha;
|
4
|
+
|
5
|
+
import "devvit/payments/v1alpha/common.proto";
|
6
|
+
import "devvit/payments/v1alpha/product.proto";
|
7
|
+
import "google/protobuf/timestamp.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/payments";
|
10
|
+
option java_package = "com.reddit.devvit.payments";
|
11
|
+
|
12
|
+
// Order represents a purchase made by a user
|
13
|
+
message Order {
|
14
|
+
// a unique identifier for the order
|
15
|
+
string id = 1;
|
16
|
+
|
17
|
+
// where the order is in its lifecycle
|
18
|
+
OrderStatus status = 2;
|
19
|
+
|
20
|
+
// when the order was created
|
21
|
+
google.protobuf.Timestamp created_at = 3;
|
22
|
+
|
23
|
+
// when the order was last updated
|
24
|
+
google.protobuf.Timestamp updated_at = 4;
|
25
|
+
|
26
|
+
// the products that were ordered
|
27
|
+
repeated devvit.payments.v1alpha.Product products = 5;
|
28
|
+
|
29
|
+
// whether or not the order was placed in the development sandbox or production
|
30
|
+
devvit.payments.v1alpha.Environment environment = 8;
|
31
|
+
|
32
|
+
// Reserved so we are compatible with internal Payment protos
|
33
|
+
reserved 6, 7;
|
34
|
+
reserved "checkout_action", "status_reason";
|
35
|
+
|
36
|
+
// user-defined metadata about the order
|
37
|
+
map<string, string> metadata = 1001;
|
38
|
+
}
|
39
|
+
|
40
|
+
enum OrderStatus {
|
41
|
+
ORDER_STATUS_UNSPECIFIED = 0;
|
42
|
+
ORDER_STATUS_NEW = 1;
|
43
|
+
ORDER_STATUS_CREATED = 2;
|
44
|
+
ORDER_STATUS_PAID = 3;
|
45
|
+
ORDER_STATUS_DELIVERED = 4;
|
46
|
+
ORDER_STATUS_CANCELED = 5;
|
47
|
+
ORDER_STATUS_REVERTED = 6;
|
48
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.payments.v1alpha;
|
4
|
+
|
5
|
+
import "devvit/payments/v1alpha/common.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/payments";
|
8
|
+
option java_package = "com.reddit.devvit.payments";
|
9
|
+
|
10
|
+
// Mapping from payments API Product : https://github.snooguts.net/reddit/reddit-service-pay-api/blob/main/api/protos/reddit/xpaymentsplatform/payapi/v1/common.proto#L7
|
11
|
+
message Product {
|
12
|
+
// the developer defined identifer for the product
|
13
|
+
string sku = 1001;
|
14
|
+
|
15
|
+
// Human-readable name of the product
|
16
|
+
string name = 3;
|
17
|
+
|
18
|
+
// the price of the product
|
19
|
+
ProductPrice price = 5;
|
20
|
+
|
21
|
+
// whether or not this product is defined for sandbox or production purchases
|
22
|
+
devvit.payments.v1alpha.Environment environment = 20;
|
23
|
+
|
24
|
+
// Human-readable description of the product
|
25
|
+
string description = 21;
|
26
|
+
|
27
|
+
// the accounting treatment of the product
|
28
|
+
AccountingType accounting_type = 23;
|
29
|
+
|
30
|
+
// tags associated with the product
|
31
|
+
map<string, string> product_metadata = 1002;
|
32
|
+
|
33
|
+
// Images associated with the product. The key is the image type and the value
|
34
|
+
// is the asset path (without assets/ or whatever the media directory is). Eg,
|
35
|
+
// `"foo.png"` and `subdir/bar.gif`. Currently, only the `icon` key can
|
36
|
+
// reference images.
|
37
|
+
map<string, string> images = 1003;
|
38
|
+
|
39
|
+
// reserved so we are compatible with internal Payment protos
|
40
|
+
reserved 1, 2, 4, 6 to 11, 22;
|
41
|
+
reserved "id", "product_type", "payment_provider", "base_price", "external_id", "metadata", "generic_metadata", "reddit_gold", "goldpack", "owner_id";
|
42
|
+
}
|
43
|
+
|
44
|
+
message ProductPrice {
|
45
|
+
int32 amount = 1;
|
46
|
+
Currency currency = 2;
|
47
|
+
}
|
48
|
+
|
49
|
+
enum Currency {
|
50
|
+
CURRENCY_UNSPECIFIED = 0;
|
51
|
+
reserved 1 to 199;
|
52
|
+
|
53
|
+
GOLD = 200; // Reddit internal currency
|
54
|
+
}
|
55
|
+
|
56
|
+
enum AccountingType {
|
57
|
+
ACCOUNTING_TYPE_UNSPECIFIED = 0;
|
58
|
+
ACCOUNTING_TYPE_INSTANT = 1; // Used immediately as it is purchased.
|
59
|
+
ACCOUNTING_TYPE_DURABLE = 2; // It grants access indefinitely.
|
60
|
+
ACCOUNTING_TYPE_CONSUMABLE = 3; // User can use the good at any time in the future but it is gone once it's used.
|
61
|
+
ACCOUNTING_TYPE_VALID_FOR_1D = 4; // Consumed over a fixed period of time.
|
62
|
+
ACCOUNTING_TYPE_VALID_FOR_7D = 5;
|
63
|
+
ACCOUNTING_TYPE_VALID_FOR_30D = 6;
|
64
|
+
ACCOUNTING_TYPE_VALID_FOR_1Y = 7;
|
65
|
+
}
|
package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/assetresolver/assetresolver.proto
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.assetresolver;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/assetresolver";
|
6
|
+
option java_package = "com.reddit.devvit.plugin.assetresolver";
|
7
|
+
|
8
|
+
message GetAssetURLRequest {
|
9
|
+
// The path to the asset relative to the /assets directory of the project
|
10
|
+
string path = 1;
|
11
|
+
// If true, look for a webview asset instead of a standard asset
|
12
|
+
optional bool webview = 2;
|
13
|
+
}
|
14
|
+
|
15
|
+
message GetAssetURLResponse {
|
16
|
+
// The full public URL to the asset (including the protocol); empty string if not found.
|
17
|
+
// Example: https://i.redd.it/asdf.png
|
18
|
+
string url = 1;
|
19
|
+
// Whether or not the asset is in the linked bundle. If false, the value in url should
|
20
|
+
// be ignored. (It should also be the empty string.)
|
21
|
+
bool found = 2;
|
22
|
+
}
|
23
|
+
|
24
|
+
message GetMultipleAssetURLsRequest {
|
25
|
+
// The paths to the assets relative to the /assets directory of the project
|
26
|
+
// could be a mix of file paths, and glob patterns
|
27
|
+
repeated string paths = 1;
|
28
|
+
}
|
29
|
+
|
30
|
+
message GetMultipleAssetURLsResponse {
|
31
|
+
message GlobResult {
|
32
|
+
// Whether or not the asset is in the linked bundle. If false, the paths value below should
|
33
|
+
// be ignored. (It should also be an empty array.)
|
34
|
+
bool found = 1;
|
35
|
+
// The full public URL to the asset (including the protocol); empty string if not found.
|
36
|
+
// For studio compatability reasons, this is an array.
|
37
|
+
// Example: ["https://i.redd.it/asdf.png"]
|
38
|
+
repeated string paths = 2;
|
39
|
+
}
|
40
|
+
|
41
|
+
// A map indexed by the paths to the assets relative to the /assets directory of the project
|
42
|
+
// whose values are the full public URLs to the assets (including the protocol)
|
43
|
+
map<string, GlobResult> urls = 1;
|
44
|
+
}
|
45
|
+
|
46
|
+
service AssetResolver {
|
47
|
+
// Gets a public URL for a given asset
|
48
|
+
rpc GetAssetURL(GetAssetURLRequest) returns (GetAssetURLResponse);
|
49
|
+
// Gets the public URLs for multiple assets at the same time
|
50
|
+
rpc GetAssetURLs(GetMultipleAssetURLsRequest) returns (GetMultipleAssetURLsResponse);
|
51
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.buildpack;
|
4
|
+
|
5
|
+
import "devvit/payments/v1alpha/product.proto";
|
6
|
+
import "devvit/runtime/bundle.proto";
|
7
|
+
import "google/protobuf/wrappers.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/buildpack";
|
10
|
+
|
11
|
+
// Actor program and configuration.
|
12
|
+
message Bundle {
|
13
|
+
// See LinkedBundle.code.
|
14
|
+
string code = 1;
|
15
|
+
|
16
|
+
// See LinkedBundle.source_map.
|
17
|
+
google.protobuf.StringValue source_map = 7;
|
18
|
+
|
19
|
+
// This is the the detail on the bundle itself **and** its dependendencies.
|
20
|
+
//
|
21
|
+
// to-do: Can we can rename to "spec" or something like that. This is really
|
22
|
+
// confusing because if you want the Bundle's exported actor name (ie,
|
23
|
+
// `Devvit.init(name, ...)`), you have to ask for it form the dependencies
|
24
|
+
// which doesn't make sense.
|
25
|
+
devvit.runtime.DependencySpec dependencies = 2;
|
26
|
+
|
27
|
+
// Optional information about the environment the code was built in. Outdated
|
28
|
+
// dependencies may indicate an invalid build.
|
29
|
+
devvit.runtime.BuildInfo build_info = 3;
|
30
|
+
|
31
|
+
// Old FileSystem assets.
|
32
|
+
reserved 4;
|
33
|
+
|
34
|
+
// This map contains the contents of the assets directory, rooted at the
|
35
|
+
// assets directory. The keys are the relative paths of the files, and the
|
36
|
+
// values are the devvit asset ids used to look up the asset during upload
|
37
|
+
// e.g. "images/en/banner.jpg": "30d509ee-208d-4b45-86b8-b48ef48cc524",
|
38
|
+
map<string, string> asset_ids = 5;
|
39
|
+
|
40
|
+
// This map contains html assets from the webroot directory for use in a webview.
|
41
|
+
// It has the same structure as asset_ids but is rooted in the webroot directory
|
42
|
+
// and is isolated from regular assets.
|
43
|
+
map<string, string> webview_asset_ids = 6;
|
44
|
+
|
45
|
+
// This field contains configuration needed to enable the Payments capability
|
46
|
+
PaymentsConfig payments_config = 8;
|
47
|
+
|
48
|
+
// The metafile contains the size breakdown of the compiled bundle for analysis
|
49
|
+
optional string metafile = 9;
|
50
|
+
|
51
|
+
// Standalone server implementation, without Blocks rendering or "Devvit Classic".
|
52
|
+
// If provided, this code is expected to be an entry point for an HTTP server that can
|
53
|
+
// handle requests at process.env.WEBBIT_PORT. Present in server (UNIVERSAL)
|
54
|
+
// bundles only.
|
55
|
+
devvit.runtime.ServerBundle server = 10;
|
56
|
+
|
57
|
+
// next 11.
|
58
|
+
}
|
59
|
+
|
60
|
+
message PaymentsConfig {
|
61
|
+
// This map contains products needed by the bundle which will be registered with
|
62
|
+
// the Payments API. The string keys are product skus.
|
63
|
+
map<string, devvit.payments.v1alpha.Product> products = 1;
|
64
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.clock;
|
4
|
+
|
5
|
+
import "google/protobuf/empty.proto";
|
6
|
+
import "google/protobuf/timestamp.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/clock";
|
9
|
+
option java_package = "com.reddit.devvit.plugin.clock";
|
10
|
+
|
11
|
+
service Clock {
|
12
|
+
rpc Now(google.protobuf.Empty) returns (google.protobuf.Timestamp);
|
13
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.http;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/http";
|
6
|
+
option java_outer_classname = "_HTTP";
|
7
|
+
option java_package = "com.reddit.devvit.plugin.http";
|
8
|
+
|
9
|
+
message FetchRequest {
|
10
|
+
string url = 1;
|
11
|
+
RequestData data = 2;
|
12
|
+
}
|
13
|
+
|
14
|
+
message RequestData {
|
15
|
+
string method = 1;
|
16
|
+
map<string, string> headers = 2;
|
17
|
+
bytes body = 3;
|
18
|
+
}
|
19
|
+
|
20
|
+
message FetchResponse {
|
21
|
+
string url = 1;
|
22
|
+
bytes body = 2;
|
23
|
+
int32 status = 3;
|
24
|
+
map<string, string> headers = 4;
|
25
|
+
}
|
26
|
+
|
27
|
+
service HTTP {
|
28
|
+
rpc Fetch(FetchRequest) returns (FetchResponse);
|
29
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.inspector;
|
4
|
+
|
5
|
+
import "devvit/runtime/serializable.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/inspector";
|
8
|
+
option java_package = "com.reddit.devvit.plugin.inspector";
|
9
|
+
|
10
|
+
message InspectorDescription {
|
11
|
+
repeated devvit.runtime.SerializableServiceDefinition provides = 1;
|
12
|
+
string hostname = 2;
|
13
|
+
}
|
14
|
+
|
15
|
+
message InspectorDescriptions {
|
16
|
+
repeated InspectorDescription descriptions = 1;
|
17
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.kvstore;
|
4
|
+
|
5
|
+
import "google/protobuf/empty.proto";
|
6
|
+
|
7
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/kvstore";
|
8
|
+
option java_outer_classname = "_KVStore";
|
9
|
+
option java_package = "com.reddit.devvit.plugin.kvstore";
|
10
|
+
|
11
|
+
message MessageSet {
|
12
|
+
map<string, string> messages = 1;
|
13
|
+
}
|
14
|
+
|
15
|
+
message KeySet {
|
16
|
+
repeated string keys = 1;
|
17
|
+
}
|
18
|
+
|
19
|
+
message ListFilter {
|
20
|
+
string filter = 1;
|
21
|
+
}
|
22
|
+
|
23
|
+
service KVStore {
|
24
|
+
rpc Put(MessageSet) returns (google.protobuf.Empty);
|
25
|
+
rpc Get(KeySet) returns (MessageSet);
|
26
|
+
rpc Del(KeySet) returns (google.protobuf.Empty);
|
27
|
+
rpc List(ListFilter) returns (KeySet);
|
28
|
+
}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.logger;
|
4
|
+
|
5
|
+
import "google/protobuf/timestamp.proto";
|
6
|
+
import "google/protobuf/wrappers.proto";
|
7
|
+
|
8
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/logger";
|
9
|
+
option java_package = "com.reddit.devvit.plugin.logger";
|
10
|
+
|
11
|
+
enum Severity {
|
12
|
+
// Debug logs should never be committed.
|
13
|
+
//
|
14
|
+
// These logs are always enabled in development builds but disabled in
|
15
|
+
// production.
|
16
|
+
DEBUG = 0;
|
17
|
+
// Informational logs should be used to mark significant non-erroneous events.
|
18
|
+
// Little information is significant.
|
19
|
+
//
|
20
|
+
// These logs are enabled by default in development builds but may be
|
21
|
+
// disabled in production.
|
22
|
+
INFO = 1;
|
23
|
+
// Warnings should be reported as long as they do not contain sensitive data.
|
24
|
+
//
|
25
|
+
// These logs are always enabled.
|
26
|
+
WARN = 2;
|
27
|
+
// Errors should always be reported as long as they do not contain sensitive
|
28
|
+
// data.
|
29
|
+
ERROR = 3;
|
30
|
+
// Verbose logs are useful for tracing but usually a hindrance for others not
|
31
|
+
// working where the log is placed. Keep our logs clean and add with care.
|
32
|
+
//
|
33
|
+
// These logs are disabled by default in all environments but can be enabled.
|
34
|
+
VERBOSE = 4;
|
35
|
+
}
|
36
|
+
|
37
|
+
message LogErrorMessage {
|
38
|
+
string message = 1;
|
39
|
+
string name = 2;
|
40
|
+
google.protobuf.StringValue file_name = 3;
|
41
|
+
google.protobuf.UInt32Value line_number = 4;
|
42
|
+
google.protobuf.UInt32Value column_number = 5;
|
43
|
+
google.protobuf.StringValue stack = 6;
|
44
|
+
google.protobuf.Timestamp timestamp = 7;
|
45
|
+
|
46
|
+
// to-do: add labels like LogEventMessage.
|
47
|
+
// Deprecated 2023-01-25: Use labels instead.
|
48
|
+
repeated string tags = 8 [deprecated = true];
|
49
|
+
}
|
50
|
+
|
51
|
+
// A notable event or historical record for analytics and security.
|
52
|
+
//
|
53
|
+
// Do not record sensitive data.
|
54
|
+
message LogEventMessage {
|
55
|
+
// The event kind. Events with the same type are considered instances of that
|
56
|
+
// event. Eg, 'AppLoad' or 'AppHTTPRequest'.
|
57
|
+
//
|
58
|
+
// Unexpected event types may not be logged.
|
59
|
+
string type = 1;
|
60
|
+
|
61
|
+
/** The occurence time. */
|
62
|
+
google.protobuf.Timestamp timestamp = 2;
|
63
|
+
|
64
|
+
// Optional additional indexed information. Eg, 'direction' → 'Up' or
|
65
|
+
// 'appName' → 'com.example.test'.
|
66
|
+
//
|
67
|
+
// Unexpected label keys may be stripped.
|
68
|
+
//
|
69
|
+
// Labels and data are the same except that labels are indexed.
|
70
|
+
map<string, string> labels = 3;
|
71
|
+
|
72
|
+
// Optional additional non-indexed information. Eg, 'dynamicString' → 'abc'
|
73
|
+
// 'verboseDetail' -> '123'.
|
74
|
+
//
|
75
|
+
// Any key-value may safely be included without coordination.
|
76
|
+
//
|
77
|
+
// Labels and data are the same except that labels are indexed.
|
78
|
+
map<string, string> data = 4;
|
79
|
+
}
|
80
|
+
|
81
|
+
message LogMessage {
|
82
|
+
Severity severity = 1;
|
83
|
+
string message = 2;
|
84
|
+
// Most service implementations default to call time if a timestamp is not
|
85
|
+
// provided.
|
86
|
+
google.protobuf.Timestamp timestamp = 3;
|
87
|
+
|
88
|
+
// to-do: add labels like LogEventMessage.
|
89
|
+
// Deprecated 2023-01-25: Use labels instead.
|
90
|
+
repeated string tags = 4 [deprecated = true];
|
91
|
+
}
|
92
|
+
|
93
|
+
service Logger {
|
94
|
+
rpc Error(LogErrorMessage) returns (LogErrorResponse);
|
95
|
+
|
96
|
+
// Record a notable event or historical record for analytics and security.
|
97
|
+
//
|
98
|
+
// @internal
|
99
|
+
rpc Event(LogEventMessage) returns (LogEventResponse);
|
100
|
+
|
101
|
+
rpc Log(LogMessage) returns (LogResponse);
|
102
|
+
|
103
|
+
rpc LogBatch(LogMessages) returns (LogResponse);
|
104
|
+
|
105
|
+
// Send log messages in a stream rather than unary calls.
|
106
|
+
// This can be useful for guaranteeing ordering of received log messages.
|
107
|
+
rpc LogStream(stream LogMessage) returns (LogResponse);
|
108
|
+
}
|
109
|
+
|
110
|
+
message LogMessages {
|
111
|
+
repeated LogMessage messages = 1;
|
112
|
+
}
|
113
|
+
|
114
|
+
message LogErrorResponse {}
|
115
|
+
message LogEventResponse {}
|
116
|
+
message LogResponse {}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.media;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/media";
|
6
|
+
option java_package = "com.reddit.devvit.plugin.media";
|
7
|
+
|
8
|
+
message MediaUploadRequest {
|
9
|
+
string url = 1;
|
10
|
+
string type = 2;
|
11
|
+
}
|
12
|
+
|
13
|
+
message MediaUploadResponse {
|
14
|
+
string media_id = 1;
|
15
|
+
string media_url = 2;
|
16
|
+
}
|
17
|
+
|
18
|
+
service MediaService {
|
19
|
+
rpc Upload(MediaUploadRequest) returns (MediaUploadResponse);
|
20
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.modlog;
|
4
|
+
|
5
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/modlog";
|
6
|
+
option java_outer_classname = "_Modlog";
|
7
|
+
option java_package = "com.reddit.devvit.plugin.modlog";
|
8
|
+
|
9
|
+
message ModlogRequest {
|
10
|
+
// The action (available actions here: https://github.snooguts.net/reddit/reddit-public/blob/master/r2/r2/models/modaction.py#L192)
|
11
|
+
string action = 1;
|
12
|
+
// Optional Details string
|
13
|
+
optional string details = 2;
|
14
|
+
// Optional Description
|
15
|
+
optional string description = 3;
|
16
|
+
// Optional Note
|
17
|
+
optional string note = 4;
|
18
|
+
// Optional action target
|
19
|
+
optional string target = 5;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Generic response interface (mimics response from r2)
|
23
|
+
message ModlogResponse {
|
24
|
+
bool success = 1;
|
25
|
+
}
|
26
|
+
|
27
|
+
// The Modlog plugin allows an app to insert an arbitrary entry
|
28
|
+
// to a subreddit's modlog.
|
29
|
+
service Modlog {
|
30
|
+
rpc Add(ModlogRequest) returns (ModlogResponse);
|
31
|
+
}
|