@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.
Files changed (22) hide show
  1. package/meta.min.json +11 -10
  2. package/package.json +6 -6
  3. package/protos.min.js +2 -2
  4. package/protos.min.js.map +3 -3
  5. package/schema/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.proto +8 -0
  6. package/schema/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.proto +2 -0
  7. package/schema/snootobuf.devenv.lock +534 -360
  8. package/schema/snootobuf.lock +534 -360
  9. package/schema/snootobuf.redditapi.lock +534 -360
  10. package/schema/snootobuf.ts.lock +534 -360
  11. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts +18 -0
  12. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.d.ts.map +1 -1
  13. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_msg.js +68 -0
  14. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +411 -105
  15. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
  16. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.js +17 -2
  17. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts +5 -2
  18. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.d.ts.map +1 -1
  19. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp-client.js +14 -2
  20. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts +4 -2
  21. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.twirp.d.ts.map +1 -1
  22. 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