@devvit/protos 0.12.0-next-2025-04-29-e6a641649.0 → 0.12.0-next-2025-04-30-5d2b49b36.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 (24) hide show
  1. package/meta.min.json +4 -4
  2. package/package.json +4 -4
  3. package/protos.min.js +1 -1
  4. package/protos.min.js.map +3 -3
  5. package/schema/devvit/plugin/redditapi/common/common_msg.proto +8 -0
  6. package/schema/snootobuf.devenv.lock +505 -331
  7. package/schema/snootobuf.lock +505 -331
  8. package/schema/snootobuf.redditapi.lock +505 -331
  9. package/schema/snootobuf.ts.lock +505 -331
  10. package/types/devvit/plugin/redditapi/common/common_msg.d.ts +10 -0
  11. package/types/devvit/plugin/redditapi/common/common_msg.d.ts.map +1 -1
  12. package/types/devvit/plugin/redditapi/common/common_msg.js +52 -1
  13. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts +4 -0
  14. package/types/devvit/plugin/redditapi/linksandcomments/linksandcomments_svc.d.ts.map +1 -1
  15. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts +16 -0
  16. package/types/devvit/plugin/redditapi/listings/listings_svc.d.ts.map +1 -1
  17. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts +14 -0
  18. package/types/devvit/plugin/redditapi/moderation/moderation_svc.d.ts.map +1 -1
  19. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts +2 -0
  20. package/types/devvit/plugin/redditapi/privatemessages/privatemessages_svc.d.ts.map +1 -1
  21. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts +4 -0
  22. package/types/devvit/plugin/redditapi/subreddits/subreddits_svc.d.ts.map +1 -1
  23. package/types/devvit/plugin/redditapi/users/users_svc.d.ts +2 -0
  24. package/types/devvit/plugin/redditapi/users/users_svc.d.ts.map +1 -1
@@ -442,6 +442,8 @@ message RedditObject {
442
442
  int64 width = 2;
443
443
  // The height of the media in pixels
444
444
  int64 height = 3;
445
+ // Status of the media upload (e.g. "valid", "failed")
446
+ GalleryMediaStatus status = 4;
445
447
  }
446
448
  // List of media (images or gifs) in a gallery post
447
449
  repeated GalleryMedia gallery = 111;
@@ -656,3 +658,9 @@ message UserGeneratedContent {
656
658
  // The imageUrls attached to the content, if any
657
659
  repeated string image_urls = 2;
658
660
  }
661
+
662
+ enum GalleryMediaStatus {
663
+ GALLERY_MEDIA_STATUS_UNSPECIFIED = 0;
664
+ GALLERY_MEDIA_STATUS_VALID = 1;
665
+ GALLERY_MEDIA_STATUS_FAILED = 2;
666
+ }