@devvit/protos 0.11.0-next-2024-09-16-ca6f9d3b8.0 → 0.11.0-next-2024-09-16-9f0c9c317.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/meta.min.json +11 -10
- package/package.json +6 -6
- package/protos.min.js +2 -2
- package/protos.min.js.map +3 -3
- package/schema/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +8 -0
- package/schema/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +2 -0
- package/schema/snootobuf.devenv.lock +534 -360
- package/schema/snootobuf.lock +534 -360
- package/schema/snootobuf.redditapi.lock +534 -360
- package/schema/snootobuf.ts.lock +534 -360
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +18 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +68 -0
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +411 -105
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +17 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +5 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +14 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +4 -2
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -1
- package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.js +68 -2
@@ -217,6 +217,14 @@ message VoteRequest {
|
|
217
217
|
string id = 2;
|
218
218
|
}
|
219
219
|
|
220
|
+
message EditCustomPostRequest {
|
221
|
+
// Post or Comment thing ID
|
222
|
+
// @example "t3_abc123"
|
223
|
+
string thing_id = 1;
|
224
|
+
// Fallback option of a developer custom experience as rich-text
|
225
|
+
optional google.protobuf.StringValue richtext_fallback = 2;
|
226
|
+
}
|
227
|
+
|
220
228
|
// Response Types
|
221
229
|
message JsonWrappedComment {
|
222
230
|
message WrappedComment {
|
@@ -147,6 +147,8 @@ service LinksAndComments {
|
|
147
147
|
option (devvit.plugin.redditapi.common.api_client_config).request_body_type = FORM_SNAKE;
|
148
148
|
option (devvit.plugin.redditapi.common.api_client_config).enforce_json = true;
|
149
149
|
}
|
150
|
+
// Edit or set fields unique to developer platform custom posts
|
151
|
+
rpc EditCustomPost(EditCustomPostRequest) returns (devvit.plugin.redditapi.common.JsonRedditObjects);
|
150
152
|
// Set the "sticky" or "pinned" status of a Post
|
151
153
|
//
|
152
154
|
// If the post was created by the current user they can pin the post
|