@devvit/protos 0.12.1-next-2025-09-08-20-55-43-6ce1b439e.0 → 0.12.1-next-2025-09-09-13-45-18-0f0a506a2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/devvit/data/api/admin/v1alpha/organization.d.ts +7 -0
- package/json/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
- package/json/devvit/data/api/v1alpha/admin.d.ts +3 -0
- package/json/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
- package/json/devvit/data/api/v1alpha/filter.d.ts +81 -0
- package/json/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
- package/json/devvit/data/api/v1alpha/filter.js +21 -0
- package/package.json +4 -4
- package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/expression.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/buf/validate/validate.proto +4130 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/automation/v1alpha/event_handlers.proto +105 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/hello/hello.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/payments/v1alpha/payments.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/producer/producer.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_action.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/context_type.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/reddit/post_filter.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/action.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/scheduler/handler.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/app_settings.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/installation_settings.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/instance_settings.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/settings/v1alpha/shared.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/test/wrappertypes.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/user_configurable/user_configurable.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/actor/webbit/webbit.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/analytics/v1/analytics.proto +32 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/init.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/cli/playtest.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +804 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/fetcher.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +138 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/debug/v1alpha/debug.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/actor/actor_type.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin/waitlist_admin.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/admin_portal.proto +38 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/app.proto +365 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/categories/categories.proto +60 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app/info/app_info.proto +88 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/app_publish_request.proto +121 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/note/app_publish_request_note.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_publish_request/review/app_publish_request_review.proto +27 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_settings/app_settings.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/app_version.proto +168 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/app_version/info/app_version_info.proto +88 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/audit/audit.proto +75 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/auth/auth.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/organization/organization.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/subscription/subscription.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/data_api/admin/user/user.proto +44 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/dev_portal.proto +193 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/developer_account/developer_account.proto +46 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/feedback/feedback.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain/fetch_domain.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto +64 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation/installation.proto +230 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/installation_settings/installation_settings.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/authorization/v1alpha/authorization.proto +45 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/community_drawer/community_drawer.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/data_api/v1alpha/admin/firehose_monitor.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/internal/media/media.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/nutrition/nutrition.proto +64 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/payments_verification.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/payments/product.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/reddit/redditor.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/dev_portal/waitlist/waitlist.proto +61 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/realtime.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/events/v1alpha/wqcleanup.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/custom_post_snapshot.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/playtest_subreddit/playtest_subreddit.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/resolvers.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/app_health.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +58 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gateway/v1alpha/triggers.proto +37 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/snapshot.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/gql/subreddit_metadata.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/options/options.proto +98 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/common.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/order.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/payments/v1alpha/product.proto +65 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/assetresolver/assetresolver.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/buildpack/buildpack_common.proto +64 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/clock/clock.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/http/http.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/inspector/inspector.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/kvstore/kvstore.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/logger/logger.proto +116 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/media/media.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/modlog/modlog.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/payments/v1alpha/payments.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +671 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_msg.proto +284 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/flair/flair_svc.proto +120 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_msg.proto +35 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/graphql/graphql_svc.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +291 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +253 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_msg.proto +214 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/listings/listings_svc.proto +80 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_msg.proto +137 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/moderation/moderation_svc.proto +178 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_msg.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/modnote/modnote_svc.proto +45 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_msg.proto +348 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/newmodmail/newmodmail_svc.proto +142 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_msg.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/privatemessages/privatemessages_svc.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_msg.proto +1087 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +196 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_msg.proto +192 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/users/users_svc.proto +101 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_msg.proto +383 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_svc.proto +171 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_msg.proto +217 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/wiki/wiki_svc.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redis/redisapi.proto +434 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/scheduler/scheduler.proto +80 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/settings/v1alpha/settings.proto +33 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/timer/timer.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/useractions/useractions.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/v2events/v2events.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/comment.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/common.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_actions/v2alpha/custom_actions.proto +73 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/custom_post/v1alpha/custom_post.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/post.proto +192 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/subreddit.proto +138 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/thing_type.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/user.proto +138 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +30 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +109 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/remote_logger/remote_logger.proto +65 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/bootstrap.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/actor/v1alpha/health.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/bundle.proto +171 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/runtime_common.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/runtime/serializable.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/service/bundle_service.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/attributes.proto +69 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/block.proto +212 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/enums.proto +221 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/rendering.proto +27 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/block_kit/v1beta/ui.proto +100 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/common/v1alpha/common.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effect_types/v1alpha/realtime_subscription.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/create_order.proto +39 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +71 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/interval.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/navigate_to_url.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/realtime_subscriptions.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/reload_part.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/rerender_ui.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_form.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +150 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/immersive_mode.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +104 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/share.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/web_view.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +113 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/handle_ui.proto +30 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/field.proto +134 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/form.proto +27 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/type.proto +32 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/form_builder/v1alpha/value.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/ui/toast/toast.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/devvit/uuid.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/account_gender_category.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/approval_status.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/ban_info_action.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/block_relation_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_sort.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/comment_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/discussion_type.proto +10 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/distinguish_type.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/flair_position.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_content_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/link_visibility.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/promo_layout.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/removed_by_type.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/spam_level.proto +11 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/subreddit_type.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/verdict.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/vote.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/whitelist_status.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/evaluator/evaluator.proto +203 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/annotations.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +274 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/apikeys/v2/resources.proto +172 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/auth.proto +180 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/backend.proto +50 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/billing.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/client.proto +99 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +290 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +312 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/config_change.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/consumer.proto +82 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/context.proto +62 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/control.proto +32 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/distribution.proto +212 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/documentation.proto +156 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/endpoint.proto +70 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/error_reason.proto +589 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +180 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_behavior.proto +84 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/field_info.proto +106 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/http.proto +317 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/httpbody.proto +75 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/label.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/launch_stage.proto +67 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/log.proto +54 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/logging.proto +82 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/metric.proto +191 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitored_resource.proto +115 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/monitoring.proto +88 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/policy.proto +85 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/quota.proto +258 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/resource.proto +299 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/routing.proto +461 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/service.proto +174 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +483 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +295 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +756 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/source_info.proto +31 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/system_parameter.proto +95 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/usage.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/api/visibility.proto +113 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/admin/v1/iam.proto +1043 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/iam_policy.proto +148 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/options.proto +41 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/http_request.proto +91 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/logging/type/log_severity.proto +71 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/longrunning/operations.proto +240 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/any.proto +158 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/api.proto +208 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/compiler/plugin.proto +182 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/descriptor.proto +902 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/duration.proto +116 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/empty.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/struct.proto +95 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/type.proto +187 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/code.proto +186 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/error_details.proto +246 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/rpc/status.proto +47 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/calendar_period.proto +57 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/color.proto +170 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/date.proto +50 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/datetime.proto +97 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/dayofweek.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/expr.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/fraction.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/latlng.proto +37 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/money.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/month.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/postal_address.proto +135 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/quaternion.proto +95 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/google/type/timeofday.proto +44 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/openapi/helper.proto +50 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/annotations.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/protoc-gen-openapiv2/options/openapiv2.proto +759 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +585 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/callback/v1/callback_service.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/event/v1/event.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/experimental/v1/experimental.proto +71 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/analytics/v1/analytics.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/interop/generic/v1/generic.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/loadbalancing/v1/loadbalancing.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/metadata/v1/metadata.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/operation/v1/operation.proto +148 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/publication/v1/publication_service.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/offsets.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/scheduling/v1/scheduling.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/testing/v1/testing.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/cloudroutines/workerpool/v1/workerpool.proto +213 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +446 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/account/v1/account_relations.proto +93 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/cloudevent/v1/cloudevent.proto +67 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/comments/v1/comments.proto +59 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/actor.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_attr_key.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/event_extensions.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/common/v1/eventcontext.proto +69 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/links/v1/links.proto +59 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit.proto +86 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/events/subreddit/v1/subreddit_member_relations.proto +52 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +805 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/data/engagement/v1/engagement.proto +117 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/ads/v1/ads.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/app_permission.proto +76 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/app_permission/v1/service.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +39 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/drawer_games/v1/service.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/post.proto +119 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/post/v1/service.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +92 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/metadata_service.proto +22 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/devvit/useractions/v1/useractions.proto +13 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/cancel_subscription.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/change_payment_method.proto +21 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +86 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +426 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/contributor_program.proto +40 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/deposit_gold.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +35 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_aggregated_transactions_list.proto +37 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +56 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +51 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +24 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_subscriptions.proto +66 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_transaction_list.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +19 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/revoke_subscription.proto +15 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +86 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +55 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/transfer_subscription.proto +16 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/environment.proto +12 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paycommon/v1/order_status_reason.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +304 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/events.proto +14 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/order.proto +80 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +168 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +254 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +43 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +293 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +220 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
- package/schema/.snootobuf/deps/.snootobuf/deps/validate/validate.proto +862 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +26 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +1 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +10 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +2 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +16 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +1 -1
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +1 -1
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +4 -1
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +1 -1
- package/schema/.snootobuf/deps/devvit/dev_portal/v1/installation.proto +12 -0
- package/schema/.snootobuf/deps/devvit/gateway/cache/v1alpha/cache.proto +1 -4
- package/schema/.snootobuf/deps/devvit/gateway/utils/v1alpha/utilities.proto +0 -1
- package/schema/.snootobuf/deps/devvit/plugin/redditapi/common/common_msg.proto +0 -3
- package/schema/.snootobuf/deps/devvit/plugin/redditapi/subreddits/subreddits_svc.proto +0 -2
- package/schema/.snootobuf/deps/devvit/plugin/v1alpha/pushnotif/pushnotif.proto +0 -55
- package/schema/.snootobuf/deps/devvit/runtime/bundle.proto +0 -4
- package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +1 -1
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/app_permission.proto +1 -2
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/effect.proto +2 -2
- package/schema/.snootobuf/deps/devvit/ui/effects/v1alpha/show_toast.proto +18 -0
- package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/context.proto +0 -14
- package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +0 -4
- package/schema/.snootobuf/deps/devvit/ui/effects/web_view/v1alpha/post_message.proto +2 -5
- package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/event.proto +2 -2
- package/schema/.snootobuf/deps/devvit/ui/events/v1alpha/web_view.proto +2 -16
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/app.proto +44 -0
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/context_action.proto +48 -0
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/error_message.proto +9 -0
- package/schema/.snootobuf/deps/reddit/devvit/common/v1/installation.proto +23 -0
- package/schema/.snootobuf/deps/reddit/devvit/drawer_games/v1/drawer_games.proto +4 -3
- package/schema/.snootobuf/deps/reddit/devvit/post/v1/post.proto +31 -7
- package/schema/.snootobuf/deps/reddit/devvit/post/v1/promoted_post.proto +32 -0
- package/schema/.snootobuf/deps/reddit/devvit/post/v1/service.proto +4 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +7 -56
- package/schema/devvit/data/api/v1alpha/filter.proto +68 -0
- package/schema/devvit/dev_portal/data_api/admin/audit/audit.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/auth/auth.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/organization/organization.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/subscription/subscription.proto +2 -0
- package/schema/devvit/dev_portal/data_api/admin/user/user.proto +2 -0
- package/schema/snootobuf.lock +0 -0
- package/schema/snootobuf.redditapi.lock +0 -0
- package/schema/snootobuf.yaml +2 -4
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts +25 -0
- package/types/devvit/data/api/admin/v1alpha/organization.d.ts.map +1 -1
- package/types/devvit/data/api/admin/v1alpha/organization.js +122 -0
- package/types/devvit/data/api/v1alpha/admin.d.ts +3 -0
- package/types/devvit/data/api/v1alpha/admin.d.ts.map +1 -1
- package/types/devvit/data/api/v1alpha/admin.js +47 -0
- package/types/devvit/data/api/v1alpha/filter.d.ts +161 -0
- package/types/devvit/data/api/v1alpha/filter.d.ts.map +1 -0
- package/types/devvit/data/api/v1alpha/filter.js +984 -0
- package/types/devvit/dev_portal/dev_portal.d.ts +48 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts +12 -0
- package/types/devvit/dev_portal/internal/data_api/v1alpha/admin/admin.d.ts.map +1 -1
- /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -0
- /package/schema/.snootobuf/deps/{products-api → .snootobuf/deps/products-api}/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -0
- /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/custom_post.proto +0 -0
- /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/custom_post/v1/service.proto +0 -0
- /package/schema/.snootobuf/deps/{reddit → .snootobuf/deps/reddit}/devvit/subreddit/v1/context_action.proto +0 -0
package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_msg.proto
ADDED
@@ -0,0 +1,383 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.widgets;
|
4
|
+
|
5
|
+
import "devvit/reddit/common.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/redditapi";
|
9
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.widgets";
|
10
|
+
|
11
|
+
message WidgetStyles {
|
12
|
+
google.protobuf.StringValue background_color = 1;
|
13
|
+
google.protobuf.StringValue header_color = 2;
|
14
|
+
}
|
15
|
+
|
16
|
+
message WidgetImage {
|
17
|
+
string url = 1;
|
18
|
+
/** required by can be an empty string */
|
19
|
+
string link_url = 2;
|
20
|
+
int32 height = 3;
|
21
|
+
int32 width = 4;
|
22
|
+
}
|
23
|
+
|
24
|
+
message ImageWidget {
|
25
|
+
string id = 1;
|
26
|
+
string kind = 2;
|
27
|
+
repeated WidgetImage data = 3;
|
28
|
+
string short_name = 4;
|
29
|
+
WidgetStyles styles = 5;
|
30
|
+
google.protobuf.StringValue subreddit = 6;
|
31
|
+
}
|
32
|
+
|
33
|
+
message AddImageWidgetRequest {
|
34
|
+
string subreddit = 1;
|
35
|
+
repeated WidgetImage data = 2;
|
36
|
+
string short_name = 3;
|
37
|
+
WidgetStyles styles = 4;
|
38
|
+
}
|
39
|
+
|
40
|
+
message UpdateImageWidgetRequest {
|
41
|
+
string subreddit = 1;
|
42
|
+
string id = 2;
|
43
|
+
repeated WidgetImage data = 3;
|
44
|
+
string short_name = 4;
|
45
|
+
WidgetStyles styles = 5;
|
46
|
+
}
|
47
|
+
|
48
|
+
message CalendarWidgetConfiguration {
|
49
|
+
int32 num_events = 1;
|
50
|
+
bool show_date = 2;
|
51
|
+
bool show_description = 3;
|
52
|
+
bool show_location = 4;
|
53
|
+
bool show_time = 5;
|
54
|
+
bool show_title = 6;
|
55
|
+
}
|
56
|
+
|
57
|
+
message CalendarWidget {
|
58
|
+
string id = 1;
|
59
|
+
string kind = 2;
|
60
|
+
CalendarWidgetConfiguration configuration = 3;
|
61
|
+
string google_calendar_id = 4;
|
62
|
+
bool requires_sync = 5;
|
63
|
+
string short_name = 6;
|
64
|
+
WidgetStyles styles = 7;
|
65
|
+
}
|
66
|
+
|
67
|
+
message AddCalendarWidgetRequest {
|
68
|
+
string subreddit = 1;
|
69
|
+
CalendarWidgetConfiguration configuration = 2;
|
70
|
+
string google_calendar_id = 3;
|
71
|
+
bool requires_sync = 4;
|
72
|
+
string short_name = 5;
|
73
|
+
WidgetStyles styles = 6;
|
74
|
+
}
|
75
|
+
|
76
|
+
message UpdateCalendarWidgetRequest {
|
77
|
+
string subreddit = 1;
|
78
|
+
string id = 2;
|
79
|
+
CalendarWidgetConfiguration configuration = 3;
|
80
|
+
string google_calendar_id = 4;
|
81
|
+
bool requires_sync = 5;
|
82
|
+
string short_name = 6;
|
83
|
+
WidgetStyles styles = 7;
|
84
|
+
}
|
85
|
+
|
86
|
+
message TextAreaWidget {
|
87
|
+
string id = 1;
|
88
|
+
string kind = 2;
|
89
|
+
string short_name = 3;
|
90
|
+
string text = 4;
|
91
|
+
WidgetStyles styles = 5;
|
92
|
+
}
|
93
|
+
|
94
|
+
message AddTextAreaWidgetRequest {
|
95
|
+
string subreddit = 1;
|
96
|
+
string short_name = 2;
|
97
|
+
string text = 3;
|
98
|
+
WidgetStyles styles = 4;
|
99
|
+
}
|
100
|
+
|
101
|
+
message UpdateTextAreaWidgetRequest {
|
102
|
+
string subreddit = 1;
|
103
|
+
string id = 2;
|
104
|
+
string short_name = 3;
|
105
|
+
string text = 4;
|
106
|
+
WidgetStyles styles = 5;
|
107
|
+
}
|
108
|
+
|
109
|
+
message WidgetButton {
|
110
|
+
message HoverState {
|
111
|
+
string kind = 1;
|
112
|
+
google.protobuf.StringValue color = 2;
|
113
|
+
google.protobuf.StringValue fill_color = 3;
|
114
|
+
google.protobuf.StringValue text = 4;
|
115
|
+
google.protobuf.StringValue text_color = 5;
|
116
|
+
|
117
|
+
google.protobuf.StringValue image_url = 6;
|
118
|
+
google.protobuf.Int32Value height = 7;
|
119
|
+
google.protobuf.Int32Value width = 8;
|
120
|
+
}
|
121
|
+
|
122
|
+
string kind = 1;
|
123
|
+
string text = 2;
|
124
|
+
google.protobuf.StringValue url = 3;
|
125
|
+
google.protobuf.StringValue image_url = 4;
|
126
|
+
google.protobuf.StringValue link_url = 5;
|
127
|
+
google.protobuf.StringValue color = 6;
|
128
|
+
google.protobuf.StringValue fill_color = 7;
|
129
|
+
google.protobuf.StringValue text_color = 8;
|
130
|
+
google.protobuf.Int32Value height = 9;
|
131
|
+
google.protobuf.Int32Value width = 10;
|
132
|
+
HoverState hover_state = 11;
|
133
|
+
}
|
134
|
+
|
135
|
+
message ButtonWidget {
|
136
|
+
string id = 1;
|
137
|
+
string kind = 2;
|
138
|
+
string short_name = 3;
|
139
|
+
string description = 4;
|
140
|
+
repeated WidgetButton buttons = 5;
|
141
|
+
WidgetStyles styles = 6;
|
142
|
+
}
|
143
|
+
|
144
|
+
message AddButtonWidgetRequest {
|
145
|
+
string subreddit = 1;
|
146
|
+
string short_name = 2;
|
147
|
+
string description = 3;
|
148
|
+
repeated WidgetButton buttons = 4;
|
149
|
+
WidgetStyles styles = 5;
|
150
|
+
}
|
151
|
+
|
152
|
+
message UpdateButtonWidgetRequest {
|
153
|
+
string subreddit = 1;
|
154
|
+
string id = 2;
|
155
|
+
string short_name = 3;
|
156
|
+
string description = 4;
|
157
|
+
repeated WidgetButton buttons = 5;
|
158
|
+
WidgetStyles styles = 6;
|
159
|
+
}
|
160
|
+
|
161
|
+
message CommunityListWidget {
|
162
|
+
message CommunityData {
|
163
|
+
string community_icon = 1;
|
164
|
+
string icon_url = 2;
|
165
|
+
bool is_nsfw = 3;
|
166
|
+
bool is_subscribed = 4;
|
167
|
+
string name = 5;
|
168
|
+
string prefixed_name = 6;
|
169
|
+
string primary_color = 7;
|
170
|
+
int32 subscribers = 8;
|
171
|
+
string type = 9;
|
172
|
+
}
|
173
|
+
|
174
|
+
string id = 1;
|
175
|
+
string kind = 2;
|
176
|
+
string short_name = 3;
|
177
|
+
repeated CommunityData data = 4;
|
178
|
+
WidgetStyles styles = 5;
|
179
|
+
}
|
180
|
+
|
181
|
+
message AddCommunityListWidgetRequest {
|
182
|
+
string subreddit = 1;
|
183
|
+
string short_name = 2;
|
184
|
+
repeated string data = 3;
|
185
|
+
WidgetStyles styles = 4;
|
186
|
+
}
|
187
|
+
|
188
|
+
message UpdateCommunityListWidgetRequest {
|
189
|
+
string subreddit = 1;
|
190
|
+
string id = 2;
|
191
|
+
string short_name = 3;
|
192
|
+
repeated string data = 4;
|
193
|
+
WidgetStyles styles = 5;
|
194
|
+
}
|
195
|
+
|
196
|
+
message UpdateCommunityListWidgetResponse {
|
197
|
+
string kind = 1;
|
198
|
+
string short_name = 2;
|
199
|
+
repeated string data = 3;
|
200
|
+
WidgetStyles styles = 4;
|
201
|
+
}
|
202
|
+
|
203
|
+
message PostFlairWidget {
|
204
|
+
string id = 1;
|
205
|
+
string kind = 2;
|
206
|
+
string display = 3;
|
207
|
+
repeated string order = 4;
|
208
|
+
string short_name = 5;
|
209
|
+
WidgetStyles styles = 6;
|
210
|
+
google.protobuf.StringValue subreddit = 7;
|
211
|
+
}
|
212
|
+
|
213
|
+
message AddPostFlairWidgetRequest {
|
214
|
+
string subreddit = 1;
|
215
|
+
string display = 2;
|
216
|
+
repeated string order = 3;
|
217
|
+
string short_name = 4;
|
218
|
+
WidgetStyles styles = 5;
|
219
|
+
}
|
220
|
+
|
221
|
+
message UpdatePostFlairWidgetRequest {
|
222
|
+
string subreddit = 1;
|
223
|
+
string id = 2;
|
224
|
+
string display = 3;
|
225
|
+
repeated string order = 4;
|
226
|
+
string short_name = 5;
|
227
|
+
WidgetStyles styles = 6;
|
228
|
+
}
|
229
|
+
|
230
|
+
message DeleteWidgetRequest {
|
231
|
+
string id = 1;
|
232
|
+
string subreddit = 2;
|
233
|
+
}
|
234
|
+
|
235
|
+
message GetWidgetsRequest {
|
236
|
+
string subreddit = 1;
|
237
|
+
google.protobuf.BoolValue progressive_images = 2;
|
238
|
+
}
|
239
|
+
|
240
|
+
message GetWidgetsResponse {
|
241
|
+
message WidgetOrdering {
|
242
|
+
repeated string order = 1;
|
243
|
+
}
|
244
|
+
|
245
|
+
message Layout {
|
246
|
+
string id_card_widget = 1;
|
247
|
+
WidgetOrdering topbar = 2;
|
248
|
+
WidgetOrdering sidebar = 3;
|
249
|
+
string moderator_widget = 4;
|
250
|
+
}
|
251
|
+
|
252
|
+
message WidgetItem {
|
253
|
+
message Data {
|
254
|
+
google.protobuf.StringValue url = 1;
|
255
|
+
google.protobuf.StringValue link_url = 2;
|
256
|
+
google.protobuf.Int32Value height = 3;
|
257
|
+
google.protobuf.Int32Value width = 4;
|
258
|
+
google.protobuf.StringValue icon_url = 5;
|
259
|
+
google.protobuf.StringValue name = 6;
|
260
|
+
google.protobuf.StringValue prefixed_name = 7;
|
261
|
+
google.protobuf.BoolValue is_subscribed = 8;
|
262
|
+
google.protobuf.StringValue type = 9;
|
263
|
+
google.protobuf.Int64Value subscribers = 10;
|
264
|
+
google.protobuf.StringValue community_icon = 11;
|
265
|
+
google.protobuf.BoolValue is_nsfw = 12;
|
266
|
+
google.protobuf.StringValue text = 13;
|
267
|
+
repeated MenuWidgetItem children = 14;
|
268
|
+
}
|
269
|
+
|
270
|
+
message Moderator {
|
271
|
+
string name = 1;
|
272
|
+
string author_flair_type = 2;
|
273
|
+
string author_flair_text_color = 3;
|
274
|
+
string author_flair_background_color = 4;
|
275
|
+
string author_falir_text = 5;
|
276
|
+
repeated devvit.reddit.AuthorFlairRichText author_flair_richtext = 6;
|
277
|
+
}
|
278
|
+
|
279
|
+
message PostFlairTemplate {
|
280
|
+
string text = 1;
|
281
|
+
repeated devvit.reddit.AuthorFlairRichText richtext = 2;
|
282
|
+
string background_color = 3;
|
283
|
+
string template_id = 4;
|
284
|
+
string text_color = 5;
|
285
|
+
string type = 6;
|
286
|
+
}
|
287
|
+
|
288
|
+
string id = 1;
|
289
|
+
string kind = 2;
|
290
|
+
WidgetStyles styles = 3;
|
291
|
+
string short_name = 4;
|
292
|
+
google.protobuf.StringValue description = 5;
|
293
|
+
repeated Data data = 6;
|
294
|
+
repeated WidgetButton buttons = 7;
|
295
|
+
google.protobuf.Int64Value subscribers_count = 8;
|
296
|
+
google.protobuf.StringValue currently_viewing_text = 9;
|
297
|
+
google.protobuf.Int64Value currently_viewing_count = 10;
|
298
|
+
google.protobuf.StringValue subscribers_text = 11;
|
299
|
+
google.protobuf.BoolValue show_wiki = 12;
|
300
|
+
map<string, PostFlairTemplate> templates = 13;
|
301
|
+
google.protobuf.StringValue display = 14;
|
302
|
+
repeated string order = 15;
|
303
|
+
repeated Moderator mods = 16;
|
304
|
+
google.protobuf.Int64Value total_mods = 17;
|
305
|
+
google.protobuf.StringValue google_calendar_id = 18;
|
306
|
+
google.protobuf.BoolValue requires_sync = 19;
|
307
|
+
CalendarWidgetConfiguration configuration = 20;
|
308
|
+
google.protobuf.StringValue text = 21;
|
309
|
+
google.protobuf.StringValue css = 22;
|
310
|
+
google.protobuf.StringValue stylesheet_url = 23;
|
311
|
+
google.protobuf.Int64Value height = 24;
|
312
|
+
repeated WidgetImage image_data = 25;
|
313
|
+
}
|
314
|
+
|
315
|
+
Layout layout = 1;
|
316
|
+
map<string, WidgetItem> items = 2;
|
317
|
+
}
|
318
|
+
|
319
|
+
message MenuWidgetItem {
|
320
|
+
google.protobuf.StringValue text = 1;
|
321
|
+
google.protobuf.StringValue url = 2;
|
322
|
+
repeated MenuWidgetItem children = 3;
|
323
|
+
}
|
324
|
+
|
325
|
+
message OrderWidgetsRequest {
|
326
|
+
string subreddit = 1;
|
327
|
+
repeated string order = 2;
|
328
|
+
}
|
329
|
+
|
330
|
+
message GetWidgetImageUploadLeaseRequest {
|
331
|
+
string subreddit = 1;
|
332
|
+
string filepath = 2;
|
333
|
+
string mimetype = 3;
|
334
|
+
}
|
335
|
+
|
336
|
+
message GetWidgetImageUploadLeaseResponse {
|
337
|
+
message S3UploadLease {
|
338
|
+
message NameValuePair {
|
339
|
+
string name = 1;
|
340
|
+
string value = 2;
|
341
|
+
}
|
342
|
+
|
343
|
+
string action = 1;
|
344
|
+
repeated NameValuePair fields = 2;
|
345
|
+
}
|
346
|
+
|
347
|
+
S3UploadLease s3_upload_lease = 1;
|
348
|
+
string websocket_url = 2;
|
349
|
+
}
|
350
|
+
|
351
|
+
message CustomWidget {
|
352
|
+
string id = 1;
|
353
|
+
string kind = 2;
|
354
|
+
string short_name = 3;
|
355
|
+
string text = 4;
|
356
|
+
int32 height = 6;
|
357
|
+
string css = 7;
|
358
|
+
repeated WidgetImage image_data = 8;
|
359
|
+
WidgetStyles styles = 9;
|
360
|
+
}
|
361
|
+
|
362
|
+
message AddCustomWidgetRequest {
|
363
|
+
string subreddit = 1;
|
364
|
+
string short_name = 2;
|
365
|
+
string text = 3;
|
366
|
+
int32 height = 4;
|
367
|
+
string css = 5;
|
368
|
+
repeated WidgetImage image_data = 6;
|
369
|
+
WidgetStyles styles = 7;
|
370
|
+
}
|
371
|
+
|
372
|
+
message UpdateCustomWidgetRequest {
|
373
|
+
string subreddit = 1;
|
374
|
+
string id = 2;
|
375
|
+
string short_name = 3;
|
376
|
+
string text = 4;
|
377
|
+
int32 height = 5;
|
378
|
+
string css = 6;
|
379
|
+
repeated WidgetImage image_data = 7;
|
380
|
+
WidgetStyles styles = 8;
|
381
|
+
}
|
382
|
+
|
383
|
+
// TODO: Menu widgets
|
package/schema/.snootobuf/deps/.snootobuf/deps/devvit/plugin/redditapi/widgets/widgets_svc.proto
ADDED
@@ -0,0 +1,171 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package devvit.plugin.redditapi.widgets;
|
4
|
+
|
5
|
+
import "devvit/plugin/redditapi/common/common_msg.proto";
|
6
|
+
import "devvit/plugin/redditapi/widgets/widgets_msg.proto";
|
7
|
+
import "google/protobuf/empty.proto";
|
8
|
+
|
9
|
+
option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/plugin/redditapi";
|
10
|
+
option java_package = "com.reddit.devvit.plugin.redditapi.widgets";
|
11
|
+
|
12
|
+
// WIDGETS - https://www.reddit.com/dev/api#section_widgets
|
13
|
+
service Widgets {
|
14
|
+
// Add a button widget to a subreddit.
|
15
|
+
//
|
16
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
17
|
+
rpc AddButtonWidget(AddButtonWidgetRequest) returns (ButtonWidget) {
|
18
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
19
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
20
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
21
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'button';
|
22
|
+
}
|
23
|
+
// Add an image widget to a subreddit.
|
24
|
+
//
|
25
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
26
|
+
rpc AddImageWidget(AddImageWidgetRequest) returns (ImageWidget) {
|
27
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
28
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
29
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
30
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'image';
|
31
|
+
}
|
32
|
+
// Add a calendar widget to a subreddit.
|
33
|
+
//
|
34
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
35
|
+
rpc AddCalendarWidget(AddCalendarWidgetRequest) returns (CalendarWidget) {
|
36
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
37
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
38
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
39
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'calendar';
|
40
|
+
}
|
41
|
+
// Add a text widget to a subreddit.
|
42
|
+
//
|
43
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
44
|
+
rpc AddTextAreaWidget(AddTextAreaWidgetRequest) returns (TextAreaWidget) {
|
45
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
46
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
47
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
48
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'textarea';
|
49
|
+
}
|
50
|
+
// Add a community list widget to a subreddit.
|
51
|
+
//
|
52
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
53
|
+
rpc AddCommunityListWidget(AddCommunityListWidgetRequest) returns (CommunityListWidget) {
|
54
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
55
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
56
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
57
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'community-list';
|
58
|
+
}
|
59
|
+
// Add a post flair widget to a subreddit.
|
60
|
+
//
|
61
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
62
|
+
rpc AddPostFlairWidget(AddPostFlairWidgetRequest) returns (PostFlairWidget) {
|
63
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
64
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
65
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
66
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'post-flair';
|
67
|
+
}
|
68
|
+
// Add a custom widget to a subreddit. This is an experimental feature.
|
69
|
+
// Custom widgets don't display on mobile devices. Customizations can break at any time
|
70
|
+
//
|
71
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget}
|
72
|
+
rpc AddCustomWidget(AddCustomWidgetRequest) returns (CustomWidget) {
|
73
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
74
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget';
|
75
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
76
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'custom';
|
77
|
+
}
|
78
|
+
// Delete a widget from a subreddit.
|
79
|
+
//
|
80
|
+
// @see {@link https://www.reddit.com/dev/api#DELETE_api_widget_\{widget_id\}}
|
81
|
+
rpc DeleteWidget(DeleteWidgetRequest) returns (google.protobuf.Empty) {
|
82
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'DELETE';
|
83
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
84
|
+
}
|
85
|
+
// Update a button widget on a subreddit.
|
86
|
+
//
|
87
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
88
|
+
rpc UpdateButtonWidget(UpdateButtonWidgetRequest) returns (ButtonWidget) {
|
89
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
90
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
91
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
92
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'button';
|
93
|
+
}
|
94
|
+
// Update an image widget on a subreddit.
|
95
|
+
//
|
96
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
97
|
+
rpc UpdateImageWidget(UpdateImageWidgetRequest) returns (ImageWidget) {
|
98
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
99
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
100
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
101
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'image';
|
102
|
+
}
|
103
|
+
// Update a calendar widget on a subreddit.
|
104
|
+
//
|
105
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
106
|
+
rpc UpdateCalendarWidget(UpdateCalendarWidgetRequest) returns (CalendarWidget) {
|
107
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
108
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
109
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
110
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'calendar';
|
111
|
+
}
|
112
|
+
// Update a text widget on a subreddit.
|
113
|
+
//
|
114
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
115
|
+
rpc UpdateTextAreaWidget(UpdateTextAreaWidgetRequest) returns (TextAreaWidget) {
|
116
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
117
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
118
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
119
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'textarea';
|
120
|
+
}
|
121
|
+
// Update a community list widget on a subreddit.
|
122
|
+
//
|
123
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
124
|
+
rpc UpdateCommunityListWidget(UpdateCommunityListWidgetRequest) returns (UpdateCommunityListWidgetResponse) {
|
125
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
126
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
127
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
128
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'community-list';
|
129
|
+
}
|
130
|
+
// Update a post flair widget on a subreddit.
|
131
|
+
//
|
132
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
133
|
+
rpc UpdatePostFlairWidget(UpdatePostFlairWidgetRequest) returns (PostFlairWidget) {
|
134
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
135
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
136
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
137
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'post-flair';
|
138
|
+
}
|
139
|
+
// Update a custom widget on a subreddit.
|
140
|
+
//
|
141
|
+
// @see {@link https://www.reddit.com/dev/api#PUT_api_widget_\{widget_id\}}
|
142
|
+
rpc UpdateCustomWidget(UpdateCustomWidgetRequest) returns (CustomWidget) {
|
143
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PUT';
|
144
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget/{id}';
|
145
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
146
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_kind_value = 'custom';
|
147
|
+
}
|
148
|
+
// Get an S3 upload lease for a widget image. This is used to upload images for image widgets.
|
149
|
+
//
|
150
|
+
// @see {@link https://www.reddit.com/dev/api#POST_api_widget_image_upload_s3}
|
151
|
+
rpc GetWidgetImageUploadLease(GetWidgetImageUploadLeaseRequest) returns (GetWidgetImageUploadLeaseResponse) {
|
152
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'POST';
|
153
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget_image_upload_s3';
|
154
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_CAMEL;
|
155
|
+
}
|
156
|
+
// Update the order of widgets on a subreddit.
|
157
|
+
//
|
158
|
+
// @see {@link https://www.reddit.com/dev/api#PATCH_api_widget_order_\{section\}}
|
159
|
+
rpc OrderWidgets(OrderWidgetsRequest) returns (google.protobuf.Empty) {
|
160
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'PATCH';
|
161
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widget_order/section';
|
162
|
+
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = JSON_CAMEL;
|
163
|
+
}
|
164
|
+
// Get a list of widgets on a subreddit.
|
165
|
+
//
|
166
|
+
// @see {@link https://www.reddit.com/dev/api#GET_api_widgets}
|
167
|
+
rpc GetWidgets(GetWidgetsRequest) returns (GetWidgetsResponse) {
|
168
|
+
option (devvit.plugin.redditapi.common.api_client_config).method = 'GET';
|
169
|
+
option (devvit.plugin.redditapi.common.api_client_config).path = '/r/{subreddit}/api/widgets';
|
170
|
+
}
|
171
|
+
}
|