@devvit/protos 0.10.18 → 0.10.19-next-2024-04-04-e386eee5a.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.
|
3
|
+
"version": "0.10.19-next-2024-04-04-e386eee5a.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.18",
|
44
44
|
"@devvit/repo-tools": "0.10.18",
|
45
|
-
"@devvit/tsconfig": "0.10.
|
45
|
+
"@devvit/tsconfig": "0.10.19-next-2024-04-04-e386eee5a.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": "
|
56
|
+
"gitHead": "df8a38f3136c90a6403a8e6f3632b23b87ba75be"
|
57
57
|
}
|
@@ -23,8 +23,6 @@ enum VoteType {
|
|
23
23
|
|
24
24
|
enum ModActionType {
|
25
25
|
UNKNOWN_MOD_ACTION = 0;
|
26
|
-
APPROVE_POST = 1;
|
27
|
-
APPROVE_COMMENT = 2;
|
28
26
|
EDIT_POST_FLAIR = 3;
|
29
27
|
EDIT_USER_FLAIR = 4;
|
30
28
|
LOCK_POST = 5;
|
@@ -35,6 +33,8 @@ enum ModActionType {
|
|
35
33
|
DISTINGUISH_COMMENT = 10;
|
36
34
|
STICKY_POST = 11;
|
37
35
|
STICKY_COMMENT = 12;
|
36
|
+
reserved 1, 2;
|
37
|
+
reserved "APPROVE_POST", "APPROVE_COMMENT";
|
38
38
|
}
|
39
39
|
|
40
40
|
// Post create event
|
@@ -213,7 +213,7 @@ message ModActionFirehose {
|
|
213
213
|
// Describes the mod action (like editing settings or creating a rule). You will never receive an action of type UNKNOWN_MOD_ACTION.
|
214
214
|
ModActionType action = 2 [
|
215
215
|
(buf.validate.field).required = true,
|
216
|
-
(openapi.field_example) = "
|
216
|
+
(openapi.field_example) = "LOCK_POST"
|
217
217
|
];
|
218
218
|
// Provides the timestamp when the action occurred.
|
219
219
|
google.protobuf.Timestamp actioned_at = 3 [(buf.validate.field).required = true];
|