@devvit/protos 0.11.6 → 0.11.7-next-2025-01-28-641048aff.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +7820 -0
- package/package.json +4 -4
- package/protos.min.js +2 -0
- package/protos.min.js.map +7 -0
- package/schema/.snootobuf/deps/buf/validate/expression.proto +92 -0
- package/schema/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
- package/schema/.snootobuf/deps/buf/validate/validate.proto +4130 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +773 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +100 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
- package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
- package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
- package/schema/.snootobuf/deps/devvit/options/options.proto +98 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +29 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +107 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
- package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
- package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
- package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
- package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
- package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
- package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
- package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
- package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
- package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
- package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
- package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
- package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
- package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
- package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
- package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
- package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
- package/schema/.snootobuf/deps/enum/vote.proto +12 -0
- package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
- package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
- package/schema/.snootobuf/deps/evaluator/evaluator.proto +203 -0
- package/schema/.snootobuf/deps/google/api/annotations.proto +31 -0
- package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +288 -0
- package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +175 -0
- package/schema/.snootobuf/deps/google/api/auth.proto +237 -0
- package/schema/.snootobuf/deps/google/api/backend.proto +185 -0
- package/schema/.snootobuf/deps/google/api/billing.proto +77 -0
- package/schema/.snootobuf/deps/google/api/client.proto +431 -0
- package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +322 -0
- package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +315 -0
- package/schema/.snootobuf/deps/google/api/config_change.proto +84 -0
- package/schema/.snootobuf/deps/google/api/consumer.proto +82 -0
- package/schema/.snootobuf/deps/google/api/context.proto +92 -0
- package/schema/.snootobuf/deps/google/api/control.proto +41 -0
- package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
- package/schema/.snootobuf/deps/google/api/documentation.proto +168 -0
- package/schema/.snootobuf/deps/google/api/endpoint.proto +69 -0
- package/schema/.snootobuf/deps/google/api/error_reason.proto +589 -0
- package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +183 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
- package/schema/.snootobuf/deps/google/api/field_behavior.proto +104 -0
- package/schema/.snootobuf/deps/google/api/field_info.proto +106 -0
- package/schema/.snootobuf/deps/google/api/http.proto +371 -0
- package/schema/.snootobuf/deps/google/api/httpbody.proto +81 -0
- package/schema/.snootobuf/deps/google/api/label.proto +48 -0
- package/schema/.snootobuf/deps/google/api/launch_stage.proto +72 -0
- package/schema/.snootobuf/deps/google/api/log.proto +54 -0
- package/schema/.snootobuf/deps/google/api/logging.proto +81 -0
- package/schema/.snootobuf/deps/google/api/metric.proto +268 -0
- package/schema/.snootobuf/deps/google/api/monitored_resource.proto +130 -0
- package/schema/.snootobuf/deps/google/api/monitoring.proto +107 -0
- package/schema/.snootobuf/deps/google/api/policy.proto +85 -0
- package/schema/.snootobuf/deps/google/api/quota.proto +184 -0
- package/schema/.snootobuf/deps/google/api/resource.proto +243 -0
- package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
- package/schema/.snootobuf/deps/google/api/service.proto +191 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
- package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
- package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +508 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +305 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +793 -0
- package/schema/.snootobuf/deps/google/api/source_info.proto +31 -0
- package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
- package/schema/.snootobuf/deps/google/api/usage.proto +96 -0
- package/schema/.snootobuf/deps/google/api/visibility.proto +113 -0
- package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
- package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
- package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
- package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
- package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
- package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
- package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
- package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
- package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
- package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
- package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
- package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
- package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
- package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
- package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
- package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
- package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
- package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
- package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
- package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
- package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
- package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
- package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
- package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
- package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
- package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
- package/schema/.snootobuf/deps/google/type/color.proto +170 -0
- package/schema/.snootobuf/deps/google/type/date.proto +50 -0
- package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
- package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
- package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
- package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
- package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
- package/schema/.snootobuf/deps/google/type/money.proto +43 -0
- package/schema/.snootobuf/deps/google/type/month.proto +66 -0
- package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
- package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
- package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
- package/schema/.snootobuf/deps/openapi/helper.proto +20 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
- package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +48 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +70 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +11 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +89 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +322 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +48 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +23 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +49 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +195 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
- package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
- package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
- package/schema/.snootobuf/deps/validate/validate.proto +862 -0
- package/schema/devvit/plugin/buildpack/buildpack_common.proto +6 -1
- package/schema/snootobuf.devenv.lock +210 -102
- package/schema/snootobuf.lock +210 -102
- package/schema/snootobuf.redditapi.lock +210 -102
- package/schema/snootobuf.ts.lock +210 -102
- package/types/devvit/dev_portal/dev_portal.d.ts +2 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/plugin/builder/builder.d.ts +4 -0
- package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack.d.ts +8 -0
- package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +3 -0
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.js +37 -1
- package/types/devvit/plugin/linker/linker.d.ts +2 -0
- package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
- package/types/devvit/plugin/linker/resolver.d.ts +2 -0
- package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
@@ -0,0 +1,798 @@
|
|
1
|
+
syntax = "proto3";
|
2
|
+
|
3
|
+
package reddit.coreplatform.links.v1;
|
4
|
+
|
5
|
+
import "reddit/api/metadata/v1/metadata.proto";
|
6
|
+
import "reddit/coreplatform/api/metadata/v1/metadata.proto";
|
7
|
+
import "reddit/coreplatform/comments/v1/comments.proto";
|
8
|
+
import "reddit/coreplatform/common/v1/features.proto";
|
9
|
+
import "reddit/coreplatform/common/v1/lang.proto";
|
10
|
+
import "reddit/coreplatform/common/v1/legal.proto";
|
11
|
+
import "reddit/coreplatform/common/v1/media.proto";
|
12
|
+
import "reddit/coreplatform/common/v1/moderation.proto";
|
13
|
+
import "reddit/coreplatform/common/v1/safety.proto";
|
14
|
+
|
15
|
+
option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/links/v1;links";
|
16
|
+
option java_multiple_files = true;
|
17
|
+
option java_outer_classname = "LinksProto";
|
18
|
+
option java_package = "com.reddit.coreplatform.api.links.v1";
|
19
|
+
|
20
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
21
|
+
message Link {
|
22
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
23
|
+
enum Type {
|
24
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
25
|
+
TYPE_UNSPECIFIED = 0;
|
26
|
+
|
27
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
28
|
+
TYPE_LINK = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
29
|
+
name: "LINK"
|
30
|
+
ordinal: 0,
|
31
|
+
}];
|
32
|
+
|
33
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
34
|
+
TYPE_SELF = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
35
|
+
name: "SELF"
|
36
|
+
ordinal: 1,
|
37
|
+
}];
|
38
|
+
|
39
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
40
|
+
TYPE_ANY = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
41
|
+
name: "ANY"
|
42
|
+
ordinal: 2,
|
43
|
+
}];
|
44
|
+
}
|
45
|
+
|
46
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
47
|
+
enum ContentType {
|
48
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
49
|
+
CONTENT_TYPE_UNSPECIFIED = 0;
|
50
|
+
|
51
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
52
|
+
CONTENT_TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
53
|
+
name: "NULL_VALUE"
|
54
|
+
ordinal: 0,
|
55
|
+
}];
|
56
|
+
|
57
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
58
|
+
CONTENT_TYPE_SHORT_VIDEO = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
59
|
+
name: "SHORT_VIDEO"
|
60
|
+
ordinal: 1,
|
61
|
+
}];
|
62
|
+
|
63
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
64
|
+
// Reddit talk product is deprecated and no longer supported
|
65
|
+
// Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
|
66
|
+
CONTENT_TYPE_LIVE_AUDIO = 3 [
|
67
|
+
deprecated = true,
|
68
|
+
(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
69
|
+
name: "LIVE_AUDIO"
|
70
|
+
ordinal: 2,
|
71
|
+
}
|
72
|
+
];
|
73
|
+
}
|
74
|
+
|
75
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
76
|
+
string id = 1;
|
77
|
+
|
78
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
79
|
+
int64 date = 2;
|
80
|
+
|
81
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
82
|
+
bool deleted = 3;
|
83
|
+
|
84
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
85
|
+
bool spam = 4;
|
86
|
+
|
87
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
88
|
+
int32 ups = 5;
|
89
|
+
|
90
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
91
|
+
int32 downs = 6;
|
92
|
+
|
93
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
94
|
+
string title = 7;
|
95
|
+
|
96
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
97
|
+
string author_id = 8;
|
98
|
+
|
99
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
100
|
+
string subreddit_id = 9;
|
101
|
+
|
102
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
103
|
+
bool nsfw = 10;
|
104
|
+
|
105
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
106
|
+
bool spoiler = 11;
|
107
|
+
|
108
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
109
|
+
string selftext = 12;
|
110
|
+
|
111
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
112
|
+
string url = 13;
|
113
|
+
|
114
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
115
|
+
LinkFlair flair = 14;
|
116
|
+
|
117
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
118
|
+
bool locked = 15;
|
119
|
+
|
120
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
121
|
+
int32 num_comments = 16;
|
122
|
+
|
123
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
124
|
+
string sticky_comment_id = 17;
|
125
|
+
|
126
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
127
|
+
repeated reddit.coreplatform.common.v1.LegalBlock legal_blocks = 18;
|
128
|
+
|
129
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
130
|
+
string thumbnail_url = 19;
|
131
|
+
|
132
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
133
|
+
int32 thumbnail_width = 20;
|
134
|
+
|
135
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
136
|
+
int32 thumbnail_height = 21;
|
137
|
+
|
138
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
139
|
+
bool is_self = 23;
|
140
|
+
|
141
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
142
|
+
optional reddit.coreplatform.common.v1.PreviewObject preview_object = 24;
|
143
|
+
|
144
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
145
|
+
bool is_archive_disabled = 26;
|
146
|
+
|
147
|
+
//Please use is_created_from_ads_ui instead. Decision docs https://docs.google.com/document/d/1XzNJCA_T7Sp8szpef78F4uLA7clSNjajJU9N4HT-5tQ/edit#heading=h.zftlut8pxkvu
|
148
|
+
bool is_promoted = 27 [deprecated = true];
|
149
|
+
|
150
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
151
|
+
bool is_archived = 28;
|
152
|
+
|
153
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
154
|
+
optional reddit.coreplatform.common.v1.MediaObject media_object = 29;
|
155
|
+
|
156
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
157
|
+
bool is_video = 30;
|
158
|
+
|
159
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
160
|
+
int32 display_score = 34;
|
161
|
+
|
162
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
163
|
+
CrossPost crosspost = 35;
|
164
|
+
|
165
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
166
|
+
bool admin_takedown = 36;
|
167
|
+
|
168
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
169
|
+
bool allow_live_comments = 37;
|
170
|
+
|
171
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
172
|
+
reddit.coreplatform.common.v1.ApprovalStatus approval_status = 38;
|
173
|
+
|
174
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
175
|
+
bool approve_disabled = 39;
|
176
|
+
|
177
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
178
|
+
reddit.coreplatform.common.v1.BanInfo ban_info = 40;
|
179
|
+
|
180
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
181
|
+
string content_category = 41;
|
182
|
+
|
183
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
184
|
+
bool contest_mode = 42;
|
185
|
+
|
186
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
187
|
+
int64 cosmetic_downs = 43;
|
188
|
+
|
189
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
190
|
+
int64 cosmetic_ups = 44;
|
191
|
+
|
192
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
193
|
+
reddit.coreplatform.common.v1.DistinguishType distinguished = 45;
|
194
|
+
|
195
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
196
|
+
string domain_override = 46;
|
197
|
+
|
198
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
199
|
+
bool editable = 47;
|
200
|
+
|
201
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
202
|
+
int64 last_edit_date = 48;
|
203
|
+
|
204
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
205
|
+
int64 fake_downs = 49;
|
206
|
+
|
207
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
208
|
+
int64 fake_ups = 50;
|
209
|
+
|
210
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
211
|
+
int32 gildings = 51;
|
212
|
+
|
213
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
214
|
+
bool has_been_stickied = 52;
|
215
|
+
|
216
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
217
|
+
int64 ignored_downs = 53;
|
218
|
+
|
219
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
220
|
+
int64 ignored_ups = 54;
|
221
|
+
|
222
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
223
|
+
bool ignore_reports = 55;
|
224
|
+
|
225
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
226
|
+
bool image_upload = 56;
|
227
|
+
|
228
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
229
|
+
string ip = 57 [(reddit.api.metadata.v1.entity_field_metadata) = {
|
230
|
+
sensitivity_level: SENSITIVITY_LEVEL_PII
|
231
|
+
max_retention: {
|
232
|
+
seconds: 7776000 // 90 Days
|
233
|
+
}
|
234
|
+
}];
|
235
|
+
|
236
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
237
|
+
string keyword_targets = 58;
|
238
|
+
|
239
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
240
|
+
double location_lat = 59;
|
241
|
+
|
242
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
243
|
+
double location_long = 60;
|
244
|
+
|
245
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
246
|
+
string location_name = 61;
|
247
|
+
|
248
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
249
|
+
repeated string media_ids = 62;
|
250
|
+
|
251
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
252
|
+
string media_url = 63;
|
253
|
+
|
254
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
255
|
+
reddit.coreplatform.common.v1.MediaDimension mobile_ad_size = 64;
|
256
|
+
|
257
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
258
|
+
string mobile_ad_url = 65;
|
259
|
+
|
260
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
261
|
+
int32 num_crossposts = 66;
|
262
|
+
|
263
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
264
|
+
bool original_content = 67;
|
265
|
+
|
266
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
267
|
+
repeated string precomputed_sorts = 68 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
|
268
|
+
|
269
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
270
|
+
int32 report_count = 69;
|
271
|
+
|
272
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
273
|
+
bool selftext_is_richtext = 70;
|
274
|
+
|
275
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
276
|
+
bool sendreplies = 71;
|
277
|
+
|
278
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
279
|
+
repeated string server_names = 72;
|
280
|
+
|
281
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
282
|
+
reddit.coreplatform.comments.v1.Comment.Sort suggested_sort = 73;
|
283
|
+
|
284
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
285
|
+
bool unlisted = 74;
|
286
|
+
|
287
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
288
|
+
reddit.coreplatform.common.v1.Verdict verdict = 75;
|
289
|
+
|
290
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
291
|
+
int64 last_scraped = 76;
|
292
|
+
|
293
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
294
|
+
string lang = 77;
|
295
|
+
|
296
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
297
|
+
repeated int32 reports_approved = 78;
|
298
|
+
|
299
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
300
|
+
repeated int32 reports_made = 79;
|
301
|
+
|
302
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
303
|
+
repeated int32 reports_rejected = 80;
|
304
|
+
|
305
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
306
|
+
bool media_only = 81;
|
307
|
+
|
308
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
309
|
+
double abuse_score = 82;
|
310
|
+
|
311
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
312
|
+
double nsfw_score = 83;
|
313
|
+
|
314
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
315
|
+
bool media_is_processed = 84;
|
316
|
+
|
317
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
318
|
+
bool author_request_has_loid = 86;
|
319
|
+
|
320
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
321
|
+
string author_request_organization = 87;
|
322
|
+
|
323
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
324
|
+
bool request_has_loid = 89;
|
325
|
+
|
326
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
327
|
+
string request_organization = 90;
|
328
|
+
|
329
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
330
|
+
string call_to_action = 91;
|
331
|
+
|
332
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
333
|
+
repeated string third_party_trackers = 92;
|
334
|
+
|
335
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
336
|
+
string iframe_embed_url = 93;
|
337
|
+
|
338
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
339
|
+
bool media_override = 94;
|
340
|
+
|
341
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
342
|
+
bool media_autoplay = 95;
|
343
|
+
|
344
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
345
|
+
int32 gildings_silver = 96;
|
346
|
+
|
347
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
348
|
+
int32 gildings_supergold = 97;
|
349
|
+
|
350
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
351
|
+
bool author_request_from_tor = 98;
|
352
|
+
|
353
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
354
|
+
bool request_from_tor = 99;
|
355
|
+
|
356
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
357
|
+
int64 event_start = 100;
|
358
|
+
|
359
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
360
|
+
int64 event_end = 101;
|
361
|
+
|
362
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
363
|
+
bool is_meta = 102;
|
364
|
+
|
365
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
366
|
+
repeated string collection_ids = 103;
|
367
|
+
|
368
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
369
|
+
string delete_message = 104;
|
370
|
+
|
371
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
372
|
+
int64 delete_time = 105;
|
373
|
+
|
374
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
375
|
+
bool expunged = 106;
|
376
|
+
|
377
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
378
|
+
int64 expunge_time = 107;
|
379
|
+
|
380
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
381
|
+
int32 revenue_bucket = 108;
|
382
|
+
|
383
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
384
|
+
int64 revenue_date = 109;
|
385
|
+
|
386
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
387
|
+
bool has_tags = 110;
|
388
|
+
|
389
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
390
|
+
string media_to_expunge = 111;
|
391
|
+
|
392
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
393
|
+
int32 seq_chapter = 112;
|
394
|
+
|
395
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
396
|
+
int32 seq_scene = 113;
|
397
|
+
|
398
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
399
|
+
int32 num_awardings = 114;
|
400
|
+
|
401
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
402
|
+
int64 stream_start = 115;
|
403
|
+
|
404
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
405
|
+
int64 stream_end = 116;
|
406
|
+
|
407
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
408
|
+
DiscussionType discussion_type = 117;
|
409
|
+
|
410
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
411
|
+
GrapeshotClassification in_feed_classification = 118;
|
412
|
+
|
413
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
414
|
+
GrapeshotClassification comments_page_classification = 119;
|
415
|
+
|
416
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
417
|
+
string destination_url = 120;
|
418
|
+
|
419
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
420
|
+
string admin_takedown_reason = 121;
|
421
|
+
|
422
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
423
|
+
bool is_poll = 122;
|
424
|
+
|
425
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
426
|
+
RemovedByType removed_by = 123;
|
427
|
+
|
428
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
429
|
+
reddit.coreplatform.common.v1.RpanVideo rpan_video = 124 [deprecated = true];
|
430
|
+
|
431
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
432
|
+
map<string, double> perspective_scores_title = 125;
|
433
|
+
|
434
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
435
|
+
map<string, double> perspective_scores_selftext = 126;
|
436
|
+
|
437
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
438
|
+
reddit.coreplatform.common.v1.CrowdControlLevel crowd_control_level = 127;
|
439
|
+
|
440
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
441
|
+
bool is_gallery = 128;
|
442
|
+
|
443
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
444
|
+
string og_title = 129;
|
445
|
+
|
446
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
447
|
+
string og_description = 130;
|
448
|
+
|
449
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
450
|
+
bool is_tracking_crossposts = 131;
|
451
|
+
|
452
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
453
|
+
ContentType link_content_type = 132;
|
454
|
+
|
455
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
456
|
+
string short_video_comment_id = 133;
|
457
|
+
|
458
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
459
|
+
bool is_created_from_ads_ui = 134;
|
460
|
+
|
461
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
462
|
+
string prediction_tournament_id = 135;
|
463
|
+
|
464
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
465
|
+
// Reddit talk product is deprecated and no longer supported
|
466
|
+
// Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
|
467
|
+
LiveAudio live_audio = 136 [deprecated = true];
|
468
|
+
|
469
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
470
|
+
bool is_prediction = 137;
|
471
|
+
|
472
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
473
|
+
string cta_media_color = 138;
|
474
|
+
|
475
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
476
|
+
bool crowd_control_filter = 139;
|
477
|
+
|
478
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
479
|
+
reddit.coreplatform.common.v1.SafetyXTag safety_x_tag = 140;
|
480
|
+
|
481
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
482
|
+
enum PromoLayout {
|
483
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
484
|
+
PROMO_LAYOUT_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
485
|
+
name: "UNKNOWN"
|
486
|
+
ordinal: 0,
|
487
|
+
}];
|
488
|
+
|
489
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
490
|
+
PROMO_LAYOUT_SPOTLIGHT_VIDEO = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
491
|
+
name: "SPOTLIGHT_VIDEO"
|
492
|
+
ordinal: 1,
|
493
|
+
}];
|
494
|
+
|
495
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
496
|
+
PROMO_LAYOUT_PRODUCT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
497
|
+
name: "PRODUCT"
|
498
|
+
ordinal: 2,
|
499
|
+
}];
|
500
|
+
}
|
501
|
+
|
502
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
503
|
+
PromoLayout promo_layout = 141;
|
504
|
+
|
505
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
506
|
+
Product product = 142;
|
507
|
+
|
508
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
509
|
+
string ad_supplementary_text_md = 143;
|
510
|
+
|
511
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
512
|
+
reddit.coreplatform.common.v1.SafetyVTag safety_v_tag = 144;
|
513
|
+
|
514
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
515
|
+
PromotedUserPosts ad_promoted_user_posts = 145;
|
516
|
+
|
517
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
518
|
+
repeated reddit.coreplatform.common.v1.DetectedLanguage detected_languages = 146;
|
519
|
+
|
520
|
+
// Contains whether this comment was made "for commercial intent" so clients can
|
521
|
+
// mark this content as being sponsored
|
522
|
+
// Design document: https://docs.google.com/document/d/1gIAwynDBcBKNG8YB38InJo3XEeEKkDcfN5C47_A_vjg/edit#heading=h.ouoexgnkzdml
|
523
|
+
bool is_commercial_communication = 147;
|
524
|
+
|
525
|
+
// Includes metadata for event-type posts like AMAs
|
526
|
+
// Design document: https://docs.google.com/document/d/1UTNKefRe8O2y7lIyBCCxnfrzYU57cJ4FY9ID4xXn2DY/edit
|
527
|
+
PostEventMetadata post_event_metadata = 148;
|
528
|
+
}
|
529
|
+
|
530
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
531
|
+
message LinkFlair {
|
532
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
533
|
+
optional string text = 1;
|
534
|
+
|
535
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
536
|
+
optional string css_class = 2;
|
537
|
+
|
538
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
539
|
+
optional string background_color = 3;
|
540
|
+
|
541
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
542
|
+
optional string template_id = 4;
|
543
|
+
|
544
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
545
|
+
optional string text_color = 5;
|
546
|
+
}
|
547
|
+
|
548
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
549
|
+
enum DiscussionType {
|
550
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
551
|
+
DISCUSSION_TYPE_UNSPECIFIED = 0;
|
552
|
+
|
553
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
554
|
+
DISCUSSION_TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
555
|
+
name: "NULL_VALUE"
|
556
|
+
ordinal: 0,
|
557
|
+
}];
|
558
|
+
|
559
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
560
|
+
DISCUSSION_TYPE_CHAT = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
561
|
+
name: "CHAT"
|
562
|
+
ordinal: 1,
|
563
|
+
}];
|
564
|
+
}
|
565
|
+
|
566
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
567
|
+
message GrapeshotClassification {
|
568
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
569
|
+
repeated string violations = 1 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
|
570
|
+
|
571
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
572
|
+
repeated string segments = 2 [(reddit.coreplatform.api.metadata.v1.thrift_field_metadata) = {is_set: true}];
|
573
|
+
|
574
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
575
|
+
optional int64 last_requested = 3;
|
576
|
+
|
577
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
578
|
+
optional int64 last_modified = 4;
|
579
|
+
}
|
580
|
+
|
581
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
582
|
+
// Reddit talk product is deprecated and no longer supported
|
583
|
+
// Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
|
584
|
+
message LiveAudio {
|
585
|
+
option deprecated = true;
|
586
|
+
|
587
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
588
|
+
optional string room_id = 1;
|
589
|
+
|
590
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
591
|
+
optional bool is_live = 2;
|
592
|
+
|
593
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
594
|
+
optional int32 recording_duration_seconds = 3;
|
595
|
+
|
596
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
597
|
+
AudioRecordingStatus recording_status = 4;
|
598
|
+
|
599
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
600
|
+
optional string recording_hls_url = 5;
|
601
|
+
|
602
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
603
|
+
optional string recording_dash_url = 6;
|
604
|
+
|
605
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
606
|
+
optional string recording_fallback_url = 7;
|
607
|
+
|
608
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
609
|
+
optional AudioRoomStatus room_status = 8;
|
610
|
+
}
|
611
|
+
|
612
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
613
|
+
// Reddit talk product is deprecated and no longer supported
|
614
|
+
// Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
|
615
|
+
enum AudioRecordingStatus {
|
616
|
+
option deprecated = true;
|
617
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
618
|
+
AUDIO_RECORDING_STATUS_UNSPECIFIED = 0;
|
619
|
+
|
620
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
621
|
+
AUDIO_RECORDING_STATUS_NOT_AVAILABLE = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
622
|
+
name: "NOT_AVAILABLE"
|
623
|
+
ordinal: 0,
|
624
|
+
}];
|
625
|
+
|
626
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
627
|
+
AUDIO_RECORDING_STATUS_PROCESSING = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
628
|
+
name: "PROCESSING"
|
629
|
+
ordinal: 1,
|
630
|
+
}];
|
631
|
+
|
632
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
633
|
+
AUDIO_RECORDING_STATUS_AVAILABLE = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
634
|
+
name: "AVAILABLE"
|
635
|
+
ordinal: 2,
|
636
|
+
}];
|
637
|
+
|
638
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
639
|
+
AUDIO_RECORDING_STATUS_REMOVED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
640
|
+
name: "REMOVED"
|
641
|
+
ordinal: 3,
|
642
|
+
}];
|
643
|
+
}
|
644
|
+
|
645
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
646
|
+
// Reddit talk product is deprecated and no longer supported
|
647
|
+
// Related [design doc](https://docs.google.com/document/d/1P0cx18-leGtnq4jJ1GRTaxk-Bx8vzR0AaSYjgqLu0N4/edit#heading=h.ouoexgnkzdml)
|
648
|
+
enum AudioRoomStatus {
|
649
|
+
option deprecated = true;
|
650
|
+
|
651
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
652
|
+
AUDIO_ROOM_STATUS_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
653
|
+
name: "UNSPECIFIED"
|
654
|
+
ordinal: 0,
|
655
|
+
}];
|
656
|
+
|
657
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
658
|
+
AUDIO_ROOM_STATUS_NOT_CREATED = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
659
|
+
name: "NOT_CREATED"
|
660
|
+
ordinal: 1,
|
661
|
+
}];
|
662
|
+
|
663
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
664
|
+
AUDIO_ROOM_STATUS_SCHEDULED = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
665
|
+
name: "SCHEDULED"
|
666
|
+
ordinal: 2,
|
667
|
+
}];
|
668
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
669
|
+
AUDIO_ROOM_STATUS_IN_PROGRESS = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
670
|
+
name: "IN_PROGRESS"
|
671
|
+
ordinal: 3,
|
672
|
+
}];
|
673
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
674
|
+
AUDIO_ROOM_STATUS_ENDED = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
675
|
+
name: "ENDED"
|
676
|
+
ordinal: 4,
|
677
|
+
}];
|
678
|
+
}
|
679
|
+
|
680
|
+
// Specifies what event type this post is
|
681
|
+
enum PostEventType {
|
682
|
+
// No event type was specified or set
|
683
|
+
POST_EVENT_TYPE_UNSPECIFIED = 0 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
684
|
+
name: "UNKNOWN"
|
685
|
+
ordinal: 0,
|
686
|
+
}];
|
687
|
+
|
688
|
+
// Ask Me Anything posts, where hosts answer questions in the comments
|
689
|
+
POST_EVENT_TYPE_AMA = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
690
|
+
name: "AMA"
|
691
|
+
ordinal: 1,
|
692
|
+
}];
|
693
|
+
}
|
694
|
+
|
695
|
+
// Includes metadata for event-type posts like AMAs
|
696
|
+
// Design document: https://docs.google.com/document/d/1UTNKefRe8O2y7lIyBCCxnfrzYU57cJ4FY9ID4xXn2DY/edit
|
697
|
+
message PostEventMetadata {
|
698
|
+
// Distinguishes between different types of event posts
|
699
|
+
PostEventType type = 1;
|
700
|
+
|
701
|
+
// Collaborators are users with special privileges in events (like being able to answer AMA questions)
|
702
|
+
// Design document: https://docs.google.com/document/d/1BYtB8azFDNxQRrL0_lrM_6vEwG3UGBq_eZm9AtVCtBc/edit
|
703
|
+
repeated string collaborator_ids = 2;
|
704
|
+
}
|
705
|
+
|
706
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
707
|
+
message PromotedUserPost {
|
708
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
709
|
+
string post_id = 1;
|
710
|
+
}
|
711
|
+
|
712
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
713
|
+
message PromotedUserPosts {
|
714
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
715
|
+
repeated PromotedUserPost promoted_posts = 1;
|
716
|
+
}
|
717
|
+
|
718
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
719
|
+
message Product {
|
720
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
721
|
+
optional string title = 1;
|
722
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
723
|
+
optional string price = 2;
|
724
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
725
|
+
optional string description = 3;
|
726
|
+
}
|
727
|
+
|
728
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
729
|
+
enum RemovedByType {
|
730
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
731
|
+
REMOVED_BY_TYPE_UNSPECIFIED = 0;
|
732
|
+
|
733
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
734
|
+
REMOVED_BY_TYPE_UNSET = 1 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
735
|
+
name: "NULL_VALUE"
|
736
|
+
ordinal: 0,
|
737
|
+
}];
|
738
|
+
|
739
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
740
|
+
REMOVED_BY_TYPE_COPYRIGHT_TAKEDOWN = 2 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
741
|
+
name: "COPYRIGHT_TAKEDOWN"
|
742
|
+
ordinal: 1,
|
743
|
+
}];
|
744
|
+
|
745
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
746
|
+
REMOVED_BY_TYPE_CONTENT_TAKEDOWN = 3 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
747
|
+
name: "CONTENT_TAKEDOWN"
|
748
|
+
ordinal: 2,
|
749
|
+
}];
|
750
|
+
|
751
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
752
|
+
REMOVED_BY_TYPE_AUTHOR = 4 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
753
|
+
name: "AUTHOR"
|
754
|
+
ordinal: 3,
|
755
|
+
}];
|
756
|
+
|
757
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
758
|
+
REMOVED_BY_TYPE_MODERATOR = 5 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
759
|
+
name: "MODERATOR"
|
760
|
+
ordinal: 4,
|
761
|
+
}];
|
762
|
+
|
763
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
764
|
+
REMOVED_BY_TYPE_COMMUNITY_OPS = 6 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
765
|
+
name: "COMMUNITY_OPS"
|
766
|
+
ordinal: 5,
|
767
|
+
}];
|
768
|
+
|
769
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
770
|
+
REMOVED_BY_TYPE_ANTI_EVIL_OPS = 7 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
771
|
+
name: "ANTI_EVIL_OPS"
|
772
|
+
ordinal: 6,
|
773
|
+
}];
|
774
|
+
|
775
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
776
|
+
REMOVED_BY_TYPE_REDDIT = 8 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
777
|
+
name: "REDDIT"
|
778
|
+
ordinal: 7,
|
779
|
+
}];
|
780
|
+
|
781
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
782
|
+
REMOVED_BY_TYPE_DELETED = 9 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
783
|
+
name: "DELETED"
|
784
|
+
ordinal: 8,
|
785
|
+
}];
|
786
|
+
|
787
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
788
|
+
REMOVED_BY_TYPE_AUTOMOD_FILTERED = 10 [(reddit.coreplatform.api.metadata.v1.thrift_alias) = {
|
789
|
+
name: "AUTOMOD_FILTERED"
|
790
|
+
ordinal: 9,
|
791
|
+
}];
|
792
|
+
}
|
793
|
+
|
794
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
795
|
+
message CrossPost {
|
796
|
+
/* @exclude No documentation present when converted from Thrift to Proto */
|
797
|
+
string root_link_id = 1;
|
798
|
+
}
|