@devvit/public-api 0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0 → 0.11.18-next-2025-06-26-16-57-57-753b2eaee.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.json CHANGED
@@ -283,7 +283,7 @@
283
283
  "format": "esm"
284
284
  },
285
285
  "../protos/dist/types/devvit/reddit/v2alpha/commentv2.js": {
286
- "bytes": 13318,
286
+ "bytes": 13968,
287
287
  "imports": [
288
288
  {
289
289
  "path": "../../node_modules/long/src/long.js",
@@ -320,7 +320,7 @@
320
320
  "format": "esm"
321
321
  },
322
322
  "../protos/dist/types/devvit/reddit/v2alpha/postv2.js": {
323
- "bytes": 49564,
323
+ "bytes": 50849,
324
324
  "imports": [
325
325
  {
326
326
  "path": "../../node_modules/long/src/long.js",
@@ -9883,10 +9883,10 @@
9883
9883
  "bytesInOutput": 2580
9884
9884
  },
9885
9885
  "../protos/dist/types/devvit/reddit/v2alpha/commentv2.js": {
9886
- "bytesInOutput": 11834
9886
+ "bytesInOutput": 12380
9887
9887
  },
9888
9888
  "../protos/dist/types/devvit/reddit/v2alpha/postv2.js": {
9889
- "bytesInOutput": 44123
9889
+ "bytesInOutput": 45233
9890
9890
  },
9891
9891
  "../protos/dist/types/devvit/reddit/v2alpha/flair.js": {
9892
9892
  "bytesInOutput": 8841
@@ -10450,7 +10450,7 @@
10450
10450
  "bytesInOutput": 4418
10451
10451
  }
10452
10452
  },
10453
- "bytes": 12577278
10453
+ "bytes": 12583094
10454
10454
  }
10455
10455
  }
10456
10456
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
3
+ "version": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,18 +30,18 @@
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/metrics": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
34
- "@devvit/protos": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
35
- "@devvit/shared": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
36
- "@devvit/shared-types": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
33
+ "@devvit/metrics": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
34
+ "@devvit/protos": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
35
+ "@devvit/shared": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
36
+ "@devvit/shared-types": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
37
37
  "base64-js": "1.5.1",
38
38
  "clone-deep": "4.0.1",
39
39
  "moderndash": "4.0.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@ampproject/filesize": "4.3.0",
43
- "@devvit/repo-tools": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
44
- "@devvit/tsconfig": "0.11.18-next-2025-06-26-15-24-44-27ef5bd97.0",
43
+ "@devvit/repo-tools": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
44
+ "@devvit/tsconfig": "0.11.18-next-2025-06-26-16-57-57-753b2eaee.0",
45
45
  "@microsoft/api-extractor": "7.41.0",
46
46
  "@reddit/faceplate-ui": "18.0.1",
47
47
  "@types/clone-deep": "4.0.1",
@@ -62,5 +62,5 @@
62
62
  }
63
63
  },
64
64
  "source": "./src/index.ts",
65
- "gitHead": "41b71a78b0e3b443876a98578293ea445f7bda7e"
65
+ "gitHead": "85d0cf724f5f9cb6a02c37acf7ed938d6b8da9ba"
66
66
  }
package/public-api.d.ts CHANGED
@@ -3533,6 +3533,7 @@ declare interface CommentV2 {
3533
3533
  postId: string;
3534
3534
  subredditId: string;
3535
3535
  elementTypes: string[];
3536
+ mediaUrls: string[];
3536
3537
  }
3537
3538
 
3538
3539
  declare const CommentV2: {
@@ -30743,6 +30744,7 @@ declare const OnAutomoderatorFilterCommentDefinition_2: {
30743
30744
  postId?: string;
30744
30745
  subredditId?: string;
30745
30746
  elementTypes?: string[];
30747
+ mediaUrls?: string[];
30746
30748
  } | undefined;
30747
30749
  removedAt?: Date | undefined;
30748
30750
  reason?: string;
@@ -30782,6 +30784,7 @@ declare const OnAutomoderatorFilterCommentDefinition_2: {
30782
30784
  postId?: string;
30783
30785
  subredditId?: string;
30784
30786
  elementTypes?: string[];
30787
+ mediaUrls?: string[];
30785
30788
  } | undefined;
30786
30789
  removedAt?: Date | undefined;
30787
30790
  reason?: string;
@@ -30925,6 +30928,8 @@ declare const OnAutomoderatorFilterPostDefinition_2: {
30925
30928
  unlisted?: boolean;
30926
30929
  galleryImages?: string[];
30927
30930
  isImage?: boolean;
30931
+ mediaUrls?: string[];
30932
+ isClubContent?: boolean;
30928
30933
  } | undefined;
30929
30934
  removedAt?: Date | undefined;
30930
30935
  reason?: string;
@@ -31032,6 +31037,8 @@ declare const OnAutomoderatorFilterPostDefinition_2: {
31032
31037
  unlisted?: boolean;
31033
31038
  galleryImages?: string[];
31034
31039
  isImage?: boolean;
31040
+ mediaUrls?: string[];
31041
+ isClubContent?: boolean;
31035
31042
  } | undefined;
31036
31043
  removedAt?: Date | undefined;
31037
31044
  reason?: string;
@@ -31102,6 +31109,7 @@ declare const OnCommentCreateDefinition: {
31102
31109
  postId?: string;
31103
31110
  subredditId?: string;
31104
31111
  elementTypes?: string[];
31112
+ mediaUrls?: string[];
31105
31113
  } | undefined;
31106
31114
  author?: {
31107
31115
  id?: string;
@@ -31215,6 +31223,8 @@ declare const OnCommentCreateDefinition: {
31215
31223
  unlisted?: boolean;
31216
31224
  galleryImages?: string[];
31217
31225
  isImage?: boolean;
31226
+ mediaUrls?: string[];
31227
+ isClubContent?: boolean;
31218
31228
  } | undefined;
31219
31229
  subreddit?: {
31220
31230
  id?: string;
@@ -31251,6 +31261,7 @@ declare const OnCommentCreateDefinition: {
31251
31261
  postId?: string;
31252
31262
  subredditId?: string;
31253
31263
  elementTypes?: string[];
31264
+ mediaUrls?: string[];
31254
31265
  } | undefined;
31255
31266
  author?: {
31256
31267
  id?: string;
@@ -31364,6 +31375,8 @@ declare const OnCommentCreateDefinition: {
31364
31375
  unlisted?: boolean;
31365
31376
  galleryImages?: string[];
31366
31377
  isImage?: boolean;
31378
+ mediaUrls?: string[];
31379
+ isClubContent?: boolean;
31367
31380
  } | undefined;
31368
31381
  subreddit?: {
31369
31382
  id?: string;
@@ -31550,6 +31563,7 @@ declare const OnCommentReportDefinition: {
31550
31563
  postId?: string;
31551
31564
  subredditId?: string;
31552
31565
  elementTypes?: string[];
31566
+ mediaUrls?: string[];
31553
31567
  } | undefined;
31554
31568
  subreddit?: {
31555
31569
  id?: string;
@@ -31587,6 +31601,7 @@ declare const OnCommentReportDefinition: {
31587
31601
  postId?: string;
31588
31602
  subredditId?: string;
31589
31603
  elementTypes?: string[];
31604
+ mediaUrls?: string[];
31590
31605
  } | undefined;
31591
31606
  subreddit?: {
31592
31607
  id?: string;
@@ -31655,6 +31670,7 @@ declare const OnCommentSubmitDefinition: {
31655
31670
  postId?: string;
31656
31671
  subredditId?: string;
31657
31672
  elementTypes?: string[];
31673
+ mediaUrls?: string[];
31658
31674
  } | undefined;
31659
31675
  author?: {
31660
31676
  id?: string;
@@ -31768,6 +31784,8 @@ declare const OnCommentSubmitDefinition: {
31768
31784
  unlisted?: boolean;
31769
31785
  galleryImages?: string[];
31770
31786
  isImage?: boolean;
31787
+ mediaUrls?: string[];
31788
+ isClubContent?: boolean;
31771
31789
  } | undefined;
31772
31790
  subreddit?: {
31773
31791
  id?: string;
@@ -31804,6 +31822,7 @@ declare const OnCommentSubmitDefinition: {
31804
31822
  postId?: string;
31805
31823
  subredditId?: string;
31806
31824
  elementTypes?: string[];
31825
+ mediaUrls?: string[];
31807
31826
  } | undefined;
31808
31827
  author?: {
31809
31828
  id?: string;
@@ -31917,6 +31936,8 @@ declare const OnCommentSubmitDefinition: {
31917
31936
  unlisted?: boolean;
31918
31937
  galleryImages?: string[];
31919
31938
  isImage?: boolean;
31939
+ mediaUrls?: string[];
31940
+ isClubContent?: boolean;
31920
31941
  } | undefined;
31921
31942
  subreddit?: {
31922
31943
  id?: string;
@@ -31984,6 +32005,7 @@ declare const OnCommentUpdateDefinition: {
31984
32005
  postId?: string;
31985
32006
  subredditId?: string;
31986
32007
  elementTypes?: string[];
32008
+ mediaUrls?: string[];
31987
32009
  } | undefined;
31988
32010
  author?: {
31989
32011
  id?: string;
@@ -32097,6 +32119,8 @@ declare const OnCommentUpdateDefinition: {
32097
32119
  unlisted?: boolean;
32098
32120
  galleryImages?: string[];
32099
32121
  isImage?: boolean;
32122
+ mediaUrls?: string[];
32123
+ isClubContent?: boolean;
32100
32124
  } | undefined;
32101
32125
  previousBody?: string;
32102
32126
  subreddit?: {
@@ -32134,6 +32158,7 @@ declare const OnCommentUpdateDefinition: {
32134
32158
  postId?: string;
32135
32159
  subredditId?: string;
32136
32160
  elementTypes?: string[];
32161
+ mediaUrls?: string[];
32137
32162
  } | undefined;
32138
32163
  author?: {
32139
32164
  id?: string;
@@ -32247,6 +32272,8 @@ declare const OnCommentUpdateDefinition: {
32247
32272
  unlisted?: boolean;
32248
32273
  galleryImages?: string[];
32249
32274
  isImage?: boolean;
32275
+ mediaUrls?: string[];
32276
+ isClubContent?: boolean;
32250
32277
  } | undefined;
32251
32278
  previousBody?: string;
32252
32279
  subreddit?: {
@@ -32375,6 +32402,7 @@ declare const OnModActionDefinition: {
32375
32402
  postId?: string;
32376
32403
  subredditId?: string;
32377
32404
  elementTypes?: string[];
32405
+ mediaUrls?: string[];
32378
32406
  } | undefined;
32379
32407
  targetPost?: {
32380
32408
  id?: string;
@@ -32465,6 +32493,8 @@ declare const OnModActionDefinition: {
32465
32493
  unlisted?: boolean;
32466
32494
  galleryImages?: string[];
32467
32495
  isImage?: boolean;
32496
+ mediaUrls?: string[];
32497
+ isClubContent?: boolean;
32468
32498
  } | undefined;
32469
32499
  }): ModAction_2;
32470
32500
  fromPartial(object: {
@@ -32549,6 +32579,7 @@ declare const OnModActionDefinition: {
32549
32579
  postId?: string;
32550
32580
  subredditId?: string;
32551
32581
  elementTypes?: string[];
32582
+ mediaUrls?: string[];
32552
32583
  } | undefined;
32553
32584
  targetPost?: {
32554
32585
  id?: string;
@@ -32639,6 +32670,8 @@ declare const OnModActionDefinition: {
32639
32670
  unlisted?: boolean;
32640
32671
  galleryImages?: string[];
32641
32672
  isImage?: boolean;
32673
+ mediaUrls?: string[];
32674
+ isClubContent?: boolean;
32642
32675
  } | undefined;
32643
32676
  }): ModAction_2;
32644
32677
  };
@@ -32905,6 +32938,8 @@ declare const OnPostCreateDefinition: {
32905
32938
  unlisted?: boolean;
32906
32939
  galleryImages?: string[];
32907
32940
  isImage?: boolean;
32941
+ mediaUrls?: string[];
32942
+ isClubContent?: boolean;
32908
32943
  } | undefined;
32909
32944
  author?: {
32910
32945
  id?: string;
@@ -33032,6 +33067,8 @@ declare const OnPostCreateDefinition: {
33032
33067
  unlisted?: boolean;
33033
33068
  galleryImages?: string[];
33034
33069
  isImage?: boolean;
33070
+ mediaUrls?: string[];
33071
+ isClubContent?: boolean;
33035
33072
  } | undefined;
33036
33073
  author?: {
33037
33074
  id?: string;
@@ -33305,6 +33342,8 @@ declare const OnPostFlairUpdateDefinition: {
33305
33342
  unlisted?: boolean;
33306
33343
  galleryImages?: string[];
33307
33344
  isImage?: boolean;
33345
+ mediaUrls?: string[];
33346
+ isClubContent?: boolean;
33308
33347
  } | undefined;
33309
33348
  author?: {
33310
33349
  id?: string;
@@ -33432,6 +33471,8 @@ declare const OnPostFlairUpdateDefinition: {
33432
33471
  unlisted?: boolean;
33433
33472
  galleryImages?: string[];
33434
33473
  isImage?: boolean;
33474
+ mediaUrls?: string[];
33475
+ isClubContent?: boolean;
33435
33476
  } | undefined;
33436
33477
  author?: {
33437
33478
  id?: string;
@@ -33590,6 +33631,8 @@ declare const OnPostNsfwUpdateDefinition: {
33590
33631
  unlisted?: boolean;
33591
33632
  galleryImages?: string[];
33592
33633
  isImage?: boolean;
33634
+ mediaUrls?: string[];
33635
+ isClubContent?: boolean;
33593
33636
  } | undefined;
33594
33637
  author?: {
33595
33638
  id?: string;
@@ -33718,6 +33761,8 @@ declare const OnPostNsfwUpdateDefinition: {
33718
33761
  unlisted?: boolean;
33719
33762
  galleryImages?: string[];
33720
33763
  isImage?: boolean;
33764
+ mediaUrls?: string[];
33765
+ isClubContent?: boolean;
33721
33766
  } | undefined;
33722
33767
  author?: {
33723
33768
  id?: string;
@@ -33877,6 +33922,8 @@ declare const OnPostReportDefinition: {
33877
33922
  unlisted?: boolean;
33878
33923
  galleryImages?: string[];
33879
33924
  isImage?: boolean;
33925
+ mediaUrls?: string[];
33926
+ isClubContent?: boolean;
33880
33927
  } | undefined;
33881
33928
  subreddit?: {
33882
33929
  id?: string;
@@ -33982,6 +34029,8 @@ declare const OnPostReportDefinition: {
33982
34029
  unlisted?: boolean;
33983
34030
  galleryImages?: string[];
33984
34031
  isImage?: boolean;
34032
+ mediaUrls?: string[];
34033
+ isClubContent?: boolean;
33985
34034
  } | undefined;
33986
34035
  subreddit?: {
33987
34036
  id?: string;
@@ -34118,6 +34167,8 @@ declare const OnPostSpoilerUpdateDefinition: {
34118
34167
  unlisted?: boolean;
34119
34168
  galleryImages?: string[];
34120
34169
  isImage?: boolean;
34170
+ mediaUrls?: string[];
34171
+ isClubContent?: boolean;
34121
34172
  } | undefined;
34122
34173
  author?: {
34123
34174
  id?: string;
@@ -34246,6 +34297,8 @@ declare const OnPostSpoilerUpdateDefinition: {
34246
34297
  unlisted?: boolean;
34247
34298
  galleryImages?: string[];
34248
34299
  isImage?: boolean;
34300
+ mediaUrls?: string[];
34301
+ isClubContent?: boolean;
34249
34302
  } | undefined;
34250
34303
  author?: {
34251
34304
  id?: string;
@@ -34405,6 +34458,8 @@ declare const OnPostSubmitDefinition: {
34405
34458
  unlisted?: boolean;
34406
34459
  galleryImages?: string[];
34407
34460
  isImage?: boolean;
34461
+ mediaUrls?: string[];
34462
+ isClubContent?: boolean;
34408
34463
  } | undefined;
34409
34464
  author?: {
34410
34465
  id?: string;
@@ -34532,6 +34587,8 @@ declare const OnPostSubmitDefinition: {
34532
34587
  unlisted?: boolean;
34533
34588
  galleryImages?: string[];
34534
34589
  isImage?: boolean;
34590
+ mediaUrls?: string[];
34591
+ isClubContent?: boolean;
34535
34592
  } | undefined;
34536
34593
  author?: {
34537
34594
  id?: string;
@@ -34690,6 +34747,8 @@ declare const OnPostUpdateDefinition: {
34690
34747
  unlisted?: boolean;
34691
34748
  galleryImages?: string[];
34692
34749
  isImage?: boolean;
34750
+ mediaUrls?: string[];
34751
+ isClubContent?: boolean;
34693
34752
  } | undefined;
34694
34753
  author?: {
34695
34754
  id?: string;
@@ -34818,6 +34877,8 @@ declare const OnPostUpdateDefinition: {
34818
34877
  unlisted?: boolean;
34819
34878
  galleryImages?: string[];
34820
34879
  isImage?: boolean;
34880
+ mediaUrls?: string[];
34881
+ isClubContent?: boolean;
34821
34882
  } | undefined;
34822
34883
  author?: {
34823
34884
  id?: string;
@@ -35796,6 +35857,8 @@ declare interface PostV2 {
35796
35857
  galleryImages: string[];
35797
35858
  /** Indicates if the post contains a single image rather than a gallery of multiple images, which is indicated by the is_gallery field. */
35798
35859
  isImage: boolean;
35860
+ mediaUrls: string[];
35861
+ isClubContent: boolean;
35799
35862
  }
35800
35863
 
35801
35864
  declare const PostV2: {