lemmy-js-client 0.17.0-rc.6 → 0.17.0-rc.60

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,16 +15,16 @@ export declare enum UserOperation {
15
15
  EditComment = 9,
16
16
  DeleteComment = 10,
17
17
  RemoveComment = 11,
18
- MarkCommentAsRead = 12,
19
- SaveComment = 13,
20
- CreateCommentLike = 14,
21
- GetPosts = 15,
22
- CreatePostLike = 16,
23
- EditPost = 17,
24
- DeletePost = 18,
25
- RemovePost = 19,
26
- LockPost = 20,
27
- StickyPost = 21,
18
+ SaveComment = 12,
19
+ CreateCommentLike = 13,
20
+ GetPosts = 14,
21
+ CreatePostLike = 15,
22
+ EditPost = 16,
23
+ DeletePost = 17,
24
+ RemovePost = 18,
25
+ LockPost = 19,
26
+ FeaturePost = 20,
27
+ MarkPostAsRead = 21,
28
28
  SavePost = 22,
29
29
  EditCommunity = 23,
30
30
  DeleteCommunity = 24,
@@ -34,65 +34,78 @@ export declare enum UserOperation {
34
34
  GetReplies = 28,
35
35
  GetPersonMentions = 29,
36
36
  MarkPersonMentionAsRead = 30,
37
- GetModlog = 31,
38
- BanFromCommunity = 32,
39
- AddModToCommunity = 33,
40
- CreateSite = 34,
41
- EditSite = 35,
42
- GetSite = 36,
43
- AddAdmin = 37,
44
- GetUnreadRegistrationApplicationCount = 38,
45
- ListRegistrationApplications = 39,
46
- ApproveRegistrationApplication = 40,
47
- BanPerson = 41,
48
- GetBannedPersons = 42,
49
- Search = 43,
50
- ResolveObject = 44,
51
- MarkAllAsRead = 45,
52
- SaveUserSettings = 46,
53
- TransferCommunity = 47,
54
- LeaveAdmin = 48,
55
- DeleteAccount = 49,
56
- PasswordReset = 50,
57
- PasswordChange = 51,
58
- CreatePrivateMessage = 52,
59
- EditPrivateMessage = 53,
60
- DeletePrivateMessage = 54,
61
- MarkPrivateMessageAsRead = 55,
62
- GetPrivateMessages = 56,
63
- UserJoin = 57,
64
- GetComments = 58,
65
- GetSiteConfig = 59,
66
- SaveSiteConfig = 60,
67
- PostJoin = 61,
68
- CommunityJoin = 62,
69
- ChangePassword = 63,
70
- GetSiteMetadata = 64,
71
- BlockCommunity = 65,
72
- BlockPerson = 66,
73
- CreateCommentReport = 67,
74
- ResolveCommentReport = 68,
75
- ListCommentReports = 69,
76
- CreatePostReport = 70,
77
- ResolvePostReport = 71,
78
- ListPostReports = 72,
79
- GetReportCount = 73,
80
- GetUnreadCount = 74,
81
- VerifyEmail = 75
37
+ MarkCommentReplyAsRead = 31,
38
+ GetModlog = 32,
39
+ BanFromCommunity = 33,
40
+ AddModToCommunity = 34,
41
+ CreateSite = 35,
42
+ EditSite = 36,
43
+ GetSite = 37,
44
+ AddAdmin = 38,
45
+ GetUnreadRegistrationApplicationCount = 39,
46
+ ListRegistrationApplications = 40,
47
+ ApproveRegistrationApplication = 41,
48
+ BanPerson = 42,
49
+ GetBannedPersons = 43,
50
+ Search = 44,
51
+ ResolveObject = 45,
52
+ MarkAllAsRead = 46,
53
+ SaveUserSettings = 47,
54
+ TransferCommunity = 48,
55
+ LeaveAdmin = 49,
56
+ DeleteAccount = 50,
57
+ PasswordReset = 51,
58
+ PasswordChange = 52,
59
+ CreatePrivateMessage = 53,
60
+ EditPrivateMessage = 54,
61
+ DeletePrivateMessage = 55,
62
+ MarkPrivateMessageAsRead = 56,
63
+ CreatePrivateMessageReport = 57,
64
+ ResolvePrivateMessageReport = 58,
65
+ ListPrivateMessageReports = 59,
66
+ GetPrivateMessages = 60,
67
+ UserJoin = 61,
68
+ GetComments = 62,
69
+ PostJoin = 63,
70
+ CommunityJoin = 64,
71
+ ChangePassword = 65,
72
+ GetSiteMetadata = 66,
73
+ BlockCommunity = 67,
74
+ BlockPerson = 68,
75
+ PurgePerson = 69,
76
+ PurgeCommunity = 70,
77
+ PurgePost = 71,
78
+ PurgeComment = 72,
79
+ CreateCommentReport = 73,
80
+ ResolveCommentReport = 74,
81
+ ListCommentReports = 75,
82
+ CreatePostReport = 76,
83
+ ResolvePostReport = 77,
84
+ ListPostReports = 78,
85
+ GetReportCount = 79,
86
+ GetUnreadCount = 80,
87
+ VerifyEmail = 81
82
88
  }
83
89
  /**
84
- * Different sort types used in lemmy.
90
+ * Different post sort types used in lemmy.
85
91
  */
86
92
  export declare enum SortType {
87
93
  /**
88
- * Posts sorted by the most recent comment.
94
+ * Posts sorted by hot, but bumped by new comments up to 2 days
89
95
  */
90
96
  Active = "Active",
91
97
  /**
92
- * Posts sorted by the published time.
98
+ * Posts sorted by a decaying rank.
93
99
  */
94
100
  Hot = "Hot",
101
+ /**
102
+ * Posts sorted by the published time.
103
+ */
95
104
  New = "New",
105
+ /**
106
+ * Posts sorted by the published time ascending
107
+ */
108
+ Old = "Old",
96
109
  /**
97
110
  * The top posts for this last day.
98
111
  */
@@ -122,6 +135,27 @@ export declare enum SortType {
122
135
  */
123
136
  NewComments = "NewComments"
124
137
  }
138
+ /**
139
+ * Different comment sort types used in lemmy.
140
+ */
141
+ export declare enum CommentSortType {
142
+ /**
143
+ * Comments sorted by a decaying rank.
144
+ */
145
+ Hot = "Hot",
146
+ /**
147
+ * Comments sorted by top score.
148
+ */
149
+ Top = "Top",
150
+ /**
151
+ * Comments sorted by new.
152
+ */
153
+ New = "New",
154
+ /**
155
+ * Comments sorted by old.
156
+ */
157
+ Old = "Old"
158
+ }
125
159
  /**
126
160
  * The different listing types for post and comment fetches.
127
161
  */
@@ -143,37 +177,40 @@ export declare enum SearchType {
143
177
  Url = "Url"
144
178
  }
145
179
  /**
146
- * A websocket response. Includes the return type.
147
- * Can be used like:
148
- *
149
- * ```ts
150
- * if (op == UserOperation.Search) {
151
- * let data = wsJsonToRes<SearchResponse>(msg).data;
152
- * }
153
- * ```
180
+ * Mod log action types
154
181
  */
155
- export interface WebSocketResponse<ResponseType> {
156
- op: UserOperation;
157
- /**
158
- * This contains the data for a websocket response.
159
- *
160
- * The correct response type if given is in [[LemmyHttp]].
161
- */
162
- data: ResponseType;
182
+ export declare enum ModlogActionType {
183
+ All = "All",
184
+ ModRemovePost = "ModRemovePost",
185
+ ModLockPost = "ModLockPost",
186
+ ModFeaturePost = "ModFeaturePost",
187
+ ModRemoveComment = "ModRemoveComment",
188
+ ModRemoveCommunity = "ModRemoveCommunity",
189
+ ModBanFromCommunity = "ModBanFromCommunity",
190
+ ModAddCommunity = "ModAddCommunity",
191
+ ModTransferCommunity = "ModTransferCommunity",
192
+ ModAdd = "ModAdd",
193
+ ModBan = "ModBan",
194
+ ModHideCommunity = "ModHideCommunity",
195
+ AdminPurgePerson = "AdminPurgePerson",
196
+ AdminPurgeCommunity = "AdminPurgeCommunity",
197
+ AdminPurgePost = "AdminPurgePost",
198
+ AdminPurgeComment = "AdminPurgeComment"
163
199
  }
164
200
  /**
165
- * A websocket JSON response that includes the errors.
201
+ * Different Subscribed states
166
202
  */
167
- export interface WebSocketJsonResponse<ResponseType> {
168
- op?: string;
169
- /**
170
- * This contains the data for a websocket response.
171
- *
172
- * The correct response type if given is in [[LemmyHttp]].
173
- */
174
- data?: ResponseType;
175
- error?: string;
176
- reconnect?: boolean;
203
+ export declare enum SubscribedType {
204
+ Subscribed = "Subscribed",
205
+ NotSubscribed = "NotSubscribed",
206
+ Pending = "Pending"
207
+ }
208
+ /**
209
+ * Different Subscribed states
210
+ */
211
+ export declare enum PostFeatureType {
212
+ Local = "Local",
213
+ Community = "Community"
177
214
  }
178
215
  /**
179
216
  * A holder for a site's metadata ( such as opengraph tags ), used for post links.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchType = exports.ListingType = exports.SortType = exports.UserOperation = exports.VERSION = void 0;
3
+ exports.PostFeatureType = exports.SubscribedType = exports.ModlogActionType = exports.SearchType = exports.ListingType = exports.CommentSortType = exports.SortType = exports.UserOperation = exports.VERSION = void 0;
4
4
  exports.VERSION = "v3";
5
5
  /**
6
6
  * All of the websocket operations available.
@@ -19,16 +19,16 @@ var UserOperation;
19
19
  UserOperation[UserOperation["EditComment"] = 9] = "EditComment";
20
20
  UserOperation[UserOperation["DeleteComment"] = 10] = "DeleteComment";
21
21
  UserOperation[UserOperation["RemoveComment"] = 11] = "RemoveComment";
22
- UserOperation[UserOperation["MarkCommentAsRead"] = 12] = "MarkCommentAsRead";
23
- UserOperation[UserOperation["SaveComment"] = 13] = "SaveComment";
24
- UserOperation[UserOperation["CreateCommentLike"] = 14] = "CreateCommentLike";
25
- UserOperation[UserOperation["GetPosts"] = 15] = "GetPosts";
26
- UserOperation[UserOperation["CreatePostLike"] = 16] = "CreatePostLike";
27
- UserOperation[UserOperation["EditPost"] = 17] = "EditPost";
28
- UserOperation[UserOperation["DeletePost"] = 18] = "DeletePost";
29
- UserOperation[UserOperation["RemovePost"] = 19] = "RemovePost";
30
- UserOperation[UserOperation["LockPost"] = 20] = "LockPost";
31
- UserOperation[UserOperation["StickyPost"] = 21] = "StickyPost";
22
+ UserOperation[UserOperation["SaveComment"] = 12] = "SaveComment";
23
+ UserOperation[UserOperation["CreateCommentLike"] = 13] = "CreateCommentLike";
24
+ UserOperation[UserOperation["GetPosts"] = 14] = "GetPosts";
25
+ UserOperation[UserOperation["CreatePostLike"] = 15] = "CreatePostLike";
26
+ UserOperation[UserOperation["EditPost"] = 16] = "EditPost";
27
+ UserOperation[UserOperation["DeletePost"] = 17] = "DeletePost";
28
+ UserOperation[UserOperation["RemovePost"] = 18] = "RemovePost";
29
+ UserOperation[UserOperation["LockPost"] = 19] = "LockPost";
30
+ UserOperation[UserOperation["FeaturePost"] = 20] = "FeaturePost";
31
+ UserOperation[UserOperation["MarkPostAsRead"] = 21] = "MarkPostAsRead";
32
32
  UserOperation[UserOperation["SavePost"] = 22] = "SavePost";
33
33
  UserOperation[UserOperation["EditCommunity"] = 23] = "EditCommunity";
34
34
  UserOperation[UserOperation["DeleteCommunity"] = 24] = "DeleteCommunity";
@@ -38,66 +38,79 @@ var UserOperation;
38
38
  UserOperation[UserOperation["GetReplies"] = 28] = "GetReplies";
39
39
  UserOperation[UserOperation["GetPersonMentions"] = 29] = "GetPersonMentions";
40
40
  UserOperation[UserOperation["MarkPersonMentionAsRead"] = 30] = "MarkPersonMentionAsRead";
41
- UserOperation[UserOperation["GetModlog"] = 31] = "GetModlog";
42
- UserOperation[UserOperation["BanFromCommunity"] = 32] = "BanFromCommunity";
43
- UserOperation[UserOperation["AddModToCommunity"] = 33] = "AddModToCommunity";
44
- UserOperation[UserOperation["CreateSite"] = 34] = "CreateSite";
45
- UserOperation[UserOperation["EditSite"] = 35] = "EditSite";
46
- UserOperation[UserOperation["GetSite"] = 36] = "GetSite";
47
- UserOperation[UserOperation["AddAdmin"] = 37] = "AddAdmin";
48
- UserOperation[UserOperation["GetUnreadRegistrationApplicationCount"] = 38] = "GetUnreadRegistrationApplicationCount";
49
- UserOperation[UserOperation["ListRegistrationApplications"] = 39] = "ListRegistrationApplications";
50
- UserOperation[UserOperation["ApproveRegistrationApplication"] = 40] = "ApproveRegistrationApplication";
51
- UserOperation[UserOperation["BanPerson"] = 41] = "BanPerson";
52
- UserOperation[UserOperation["GetBannedPersons"] = 42] = "GetBannedPersons";
53
- UserOperation[UserOperation["Search"] = 43] = "Search";
54
- UserOperation[UserOperation["ResolveObject"] = 44] = "ResolveObject";
55
- UserOperation[UserOperation["MarkAllAsRead"] = 45] = "MarkAllAsRead";
56
- UserOperation[UserOperation["SaveUserSettings"] = 46] = "SaveUserSettings";
57
- UserOperation[UserOperation["TransferCommunity"] = 47] = "TransferCommunity";
58
- UserOperation[UserOperation["LeaveAdmin"] = 48] = "LeaveAdmin";
59
- UserOperation[UserOperation["DeleteAccount"] = 49] = "DeleteAccount";
60
- UserOperation[UserOperation["PasswordReset"] = 50] = "PasswordReset";
61
- UserOperation[UserOperation["PasswordChange"] = 51] = "PasswordChange";
62
- UserOperation[UserOperation["CreatePrivateMessage"] = 52] = "CreatePrivateMessage";
63
- UserOperation[UserOperation["EditPrivateMessage"] = 53] = "EditPrivateMessage";
64
- UserOperation[UserOperation["DeletePrivateMessage"] = 54] = "DeletePrivateMessage";
65
- UserOperation[UserOperation["MarkPrivateMessageAsRead"] = 55] = "MarkPrivateMessageAsRead";
66
- UserOperation[UserOperation["GetPrivateMessages"] = 56] = "GetPrivateMessages";
67
- UserOperation[UserOperation["UserJoin"] = 57] = "UserJoin";
68
- UserOperation[UserOperation["GetComments"] = 58] = "GetComments";
69
- UserOperation[UserOperation["GetSiteConfig"] = 59] = "GetSiteConfig";
70
- UserOperation[UserOperation["SaveSiteConfig"] = 60] = "SaveSiteConfig";
71
- UserOperation[UserOperation["PostJoin"] = 61] = "PostJoin";
72
- UserOperation[UserOperation["CommunityJoin"] = 62] = "CommunityJoin";
73
- UserOperation[UserOperation["ChangePassword"] = 63] = "ChangePassword";
74
- UserOperation[UserOperation["GetSiteMetadata"] = 64] = "GetSiteMetadata";
75
- UserOperation[UserOperation["BlockCommunity"] = 65] = "BlockCommunity";
76
- UserOperation[UserOperation["BlockPerson"] = 66] = "BlockPerson";
77
- UserOperation[UserOperation["CreateCommentReport"] = 67] = "CreateCommentReport";
78
- UserOperation[UserOperation["ResolveCommentReport"] = 68] = "ResolveCommentReport";
79
- UserOperation[UserOperation["ListCommentReports"] = 69] = "ListCommentReports";
80
- UserOperation[UserOperation["CreatePostReport"] = 70] = "CreatePostReport";
81
- UserOperation[UserOperation["ResolvePostReport"] = 71] = "ResolvePostReport";
82
- UserOperation[UserOperation["ListPostReports"] = 72] = "ListPostReports";
83
- UserOperation[UserOperation["GetReportCount"] = 73] = "GetReportCount";
84
- UserOperation[UserOperation["GetUnreadCount"] = 74] = "GetUnreadCount";
85
- UserOperation[UserOperation["VerifyEmail"] = 75] = "VerifyEmail";
41
+ UserOperation[UserOperation["MarkCommentReplyAsRead"] = 31] = "MarkCommentReplyAsRead";
42
+ UserOperation[UserOperation["GetModlog"] = 32] = "GetModlog";
43
+ UserOperation[UserOperation["BanFromCommunity"] = 33] = "BanFromCommunity";
44
+ UserOperation[UserOperation["AddModToCommunity"] = 34] = "AddModToCommunity";
45
+ UserOperation[UserOperation["CreateSite"] = 35] = "CreateSite";
46
+ UserOperation[UserOperation["EditSite"] = 36] = "EditSite";
47
+ UserOperation[UserOperation["GetSite"] = 37] = "GetSite";
48
+ UserOperation[UserOperation["AddAdmin"] = 38] = "AddAdmin";
49
+ UserOperation[UserOperation["GetUnreadRegistrationApplicationCount"] = 39] = "GetUnreadRegistrationApplicationCount";
50
+ UserOperation[UserOperation["ListRegistrationApplications"] = 40] = "ListRegistrationApplications";
51
+ UserOperation[UserOperation["ApproveRegistrationApplication"] = 41] = "ApproveRegistrationApplication";
52
+ UserOperation[UserOperation["BanPerson"] = 42] = "BanPerson";
53
+ UserOperation[UserOperation["GetBannedPersons"] = 43] = "GetBannedPersons";
54
+ UserOperation[UserOperation["Search"] = 44] = "Search";
55
+ UserOperation[UserOperation["ResolveObject"] = 45] = "ResolveObject";
56
+ UserOperation[UserOperation["MarkAllAsRead"] = 46] = "MarkAllAsRead";
57
+ UserOperation[UserOperation["SaveUserSettings"] = 47] = "SaveUserSettings";
58
+ UserOperation[UserOperation["TransferCommunity"] = 48] = "TransferCommunity";
59
+ UserOperation[UserOperation["LeaveAdmin"] = 49] = "LeaveAdmin";
60
+ UserOperation[UserOperation["DeleteAccount"] = 50] = "DeleteAccount";
61
+ UserOperation[UserOperation["PasswordReset"] = 51] = "PasswordReset";
62
+ UserOperation[UserOperation["PasswordChange"] = 52] = "PasswordChange";
63
+ UserOperation[UserOperation["CreatePrivateMessage"] = 53] = "CreatePrivateMessage";
64
+ UserOperation[UserOperation["EditPrivateMessage"] = 54] = "EditPrivateMessage";
65
+ UserOperation[UserOperation["DeletePrivateMessage"] = 55] = "DeletePrivateMessage";
66
+ UserOperation[UserOperation["MarkPrivateMessageAsRead"] = 56] = "MarkPrivateMessageAsRead";
67
+ UserOperation[UserOperation["CreatePrivateMessageReport"] = 57] = "CreatePrivateMessageReport";
68
+ UserOperation[UserOperation["ResolvePrivateMessageReport"] = 58] = "ResolvePrivateMessageReport";
69
+ UserOperation[UserOperation["ListPrivateMessageReports"] = 59] = "ListPrivateMessageReports";
70
+ UserOperation[UserOperation["GetPrivateMessages"] = 60] = "GetPrivateMessages";
71
+ UserOperation[UserOperation["UserJoin"] = 61] = "UserJoin";
72
+ UserOperation[UserOperation["GetComments"] = 62] = "GetComments";
73
+ UserOperation[UserOperation["PostJoin"] = 63] = "PostJoin";
74
+ UserOperation[UserOperation["CommunityJoin"] = 64] = "CommunityJoin";
75
+ UserOperation[UserOperation["ChangePassword"] = 65] = "ChangePassword";
76
+ UserOperation[UserOperation["GetSiteMetadata"] = 66] = "GetSiteMetadata";
77
+ UserOperation[UserOperation["BlockCommunity"] = 67] = "BlockCommunity";
78
+ UserOperation[UserOperation["BlockPerson"] = 68] = "BlockPerson";
79
+ UserOperation[UserOperation["PurgePerson"] = 69] = "PurgePerson";
80
+ UserOperation[UserOperation["PurgeCommunity"] = 70] = "PurgeCommunity";
81
+ UserOperation[UserOperation["PurgePost"] = 71] = "PurgePost";
82
+ UserOperation[UserOperation["PurgeComment"] = 72] = "PurgeComment";
83
+ UserOperation[UserOperation["CreateCommentReport"] = 73] = "CreateCommentReport";
84
+ UserOperation[UserOperation["ResolveCommentReport"] = 74] = "ResolveCommentReport";
85
+ UserOperation[UserOperation["ListCommentReports"] = 75] = "ListCommentReports";
86
+ UserOperation[UserOperation["CreatePostReport"] = 76] = "CreatePostReport";
87
+ UserOperation[UserOperation["ResolvePostReport"] = 77] = "ResolvePostReport";
88
+ UserOperation[UserOperation["ListPostReports"] = 78] = "ListPostReports";
89
+ UserOperation[UserOperation["GetReportCount"] = 79] = "GetReportCount";
90
+ UserOperation[UserOperation["GetUnreadCount"] = 80] = "GetUnreadCount";
91
+ UserOperation[UserOperation["VerifyEmail"] = 81] = "VerifyEmail";
86
92
  })(UserOperation = exports.UserOperation || (exports.UserOperation = {}));
87
93
  /**
88
- * Different sort types used in lemmy.
94
+ * Different post sort types used in lemmy.
89
95
  */
90
96
  var SortType;
91
97
  (function (SortType) {
92
98
  /**
93
- * Posts sorted by the most recent comment.
99
+ * Posts sorted by hot, but bumped by new comments up to 2 days
94
100
  */
95
101
  SortType["Active"] = "Active";
96
102
  /**
97
- * Posts sorted by the published time.
103
+ * Posts sorted by a decaying rank.
98
104
  */
99
105
  SortType["Hot"] = "Hot";
106
+ /**
107
+ * Posts sorted by the published time.
108
+ */
100
109
  SortType["New"] = "New";
110
+ /**
111
+ * Posts sorted by the published time ascending
112
+ */
113
+ SortType["Old"] = "Old";
101
114
  /**
102
115
  * The top posts for this last day.
103
116
  */
@@ -127,6 +140,28 @@ var SortType;
127
140
  */
128
141
  SortType["NewComments"] = "NewComments";
129
142
  })(SortType = exports.SortType || (exports.SortType = {}));
143
+ /**
144
+ * Different comment sort types used in lemmy.
145
+ */
146
+ var CommentSortType;
147
+ (function (CommentSortType) {
148
+ /**
149
+ * Comments sorted by a decaying rank.
150
+ */
151
+ CommentSortType["Hot"] = "Hot";
152
+ /**
153
+ * Comments sorted by top score.
154
+ */
155
+ CommentSortType["Top"] = "Top";
156
+ /**
157
+ * Comments sorted by new.
158
+ */
159
+ CommentSortType["New"] = "New";
160
+ /**
161
+ * Comments sorted by old.
162
+ */
163
+ CommentSortType["Old"] = "Old";
164
+ })(CommentSortType = exports.CommentSortType || (exports.CommentSortType = {}));
130
165
  /**
131
166
  * The different listing types for post and comment fetches.
132
167
  */
@@ -149,3 +184,42 @@ var SearchType;
149
184
  SearchType["Users"] = "Users";
150
185
  SearchType["Url"] = "Url";
151
186
  })(SearchType = exports.SearchType || (exports.SearchType = {}));
187
+ /**
188
+ * Mod log action types
189
+ */
190
+ var ModlogActionType;
191
+ (function (ModlogActionType) {
192
+ ModlogActionType["All"] = "All";
193
+ ModlogActionType["ModRemovePost"] = "ModRemovePost";
194
+ ModlogActionType["ModLockPost"] = "ModLockPost";
195
+ ModlogActionType["ModFeaturePost"] = "ModFeaturePost";
196
+ ModlogActionType["ModRemoveComment"] = "ModRemoveComment";
197
+ ModlogActionType["ModRemoveCommunity"] = "ModRemoveCommunity";
198
+ ModlogActionType["ModBanFromCommunity"] = "ModBanFromCommunity";
199
+ ModlogActionType["ModAddCommunity"] = "ModAddCommunity";
200
+ ModlogActionType["ModTransferCommunity"] = "ModTransferCommunity";
201
+ ModlogActionType["ModAdd"] = "ModAdd";
202
+ ModlogActionType["ModBan"] = "ModBan";
203
+ ModlogActionType["ModHideCommunity"] = "ModHideCommunity";
204
+ ModlogActionType["AdminPurgePerson"] = "AdminPurgePerson";
205
+ ModlogActionType["AdminPurgeCommunity"] = "AdminPurgeCommunity";
206
+ ModlogActionType["AdminPurgePost"] = "AdminPurgePost";
207
+ ModlogActionType["AdminPurgeComment"] = "AdminPurgeComment";
208
+ })(ModlogActionType = exports.ModlogActionType || (exports.ModlogActionType = {}));
209
+ /**
210
+ * Different Subscribed states
211
+ */
212
+ var SubscribedType;
213
+ (function (SubscribedType) {
214
+ SubscribedType["Subscribed"] = "Subscribed";
215
+ SubscribedType["NotSubscribed"] = "NotSubscribed";
216
+ SubscribedType["Pending"] = "Pending";
217
+ })(SubscribedType = exports.SubscribedType || (exports.SubscribedType = {}));
218
+ /**
219
+ * Different Subscribed states
220
+ */
221
+ var PostFeatureType;
222
+ (function (PostFeatureType) {
223
+ PostFeatureType["Local"] = "Local";
224
+ PostFeatureType["Community"] = "Community";
225
+ })(PostFeatureType = exports.PostFeatureType || (exports.PostFeatureType = {}));