@devvit/protos 0.10.18-next-2024-03-14-158a30fc2.0 → 0.10.18-next-2024-03-14-057a55d34.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/protos",
3
- "version": "0.10.18-next-2024-03-14-158a30fc2.0",
3
+ "version": "0.10.18-next-2024-03-14-057a55d34.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@devvit/eslint-config": "0.10.17",
44
44
  "@devvit/repo-tools": "0.10.17",
45
- "@devvit/tsconfig": "0.10.18-next-2024-03-14-158a30fc2.0",
45
+ "@devvit/tsconfig": "0.10.18-next-2024-03-14-057a55d34.0",
46
46
  "eslint": "8.9.0",
47
47
  "glob": "10.3.10",
48
48
  "ts-proto-kmx-2": "1.129.4",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "directory": "dist"
55
55
  },
56
- "gitHead": "2cd2dfaab603053f7c917873282108f8a7a9bf90"
56
+ "gitHead": "406fe54d93f2ab78e716bc1960cf844413d6d306"
57
57
  }
@@ -533,6 +533,11 @@ message CommentFirehose {
533
533
  (buf.validate.field).string.prefix = "/r/",
534
534
  (openapi.field_example) = "/r/RedditEng/comments/1798o2e/comment/k5kbkod/"
535
535
  ];
536
+ // Comment element types, which can be animated-gif, img, text, link, or a combination of types, such as ['animated-gif', 'text', 'link']. Note that animated-gif and img cannot be combined.
537
+ repeated string element_types = 12 [
538
+ (devvit.options.trigger_evt_path) = "comment.element_types",
539
+ (openapi.field_example) = "['animated-gif', 'text']"
540
+ ];
536
541
 
537
542
  // removed fields
538
543
  reserved 5, 6;
@@ -25,4 +25,5 @@ message CommentV2 {
25
25
  bool has_media = 17;
26
26
  string post_id = 18;
27
27
  string subreddit_id = 19;
28
+ repeated string element_types = 20;
28
29
  }