@echovisionlab/geul-proto 0.1.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/LICENSE.md +6 -0
- package/README.md +6 -0
- package/eslint.config.mjs +15 -0
- package/gen/api/common/v1/common_pb.ts +391 -0
- package/gen/api/common/v1/media_pb.ts +578 -0
- package/gen/api/content/v1/block_catalog.ts +5978 -0
- package/gen/api/content/v1/block_content_pb.ts +11420 -0
- package/gen/api/intra/v1/artist_pb.ts +597 -0
- package/gen/api/intra/v1/campaign_pb.ts +383 -0
- package/gen/api/intra/v1/collaboration_pb.ts +661 -0
- package/gen/api/intra/v1/email_courier_pb.ts +98 -0
- package/gen/api/intra/v1/email_layout_pb.ts +295 -0
- package/gen/api/intra/v1/email_template_pb.ts +384 -0
- package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
- package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
- package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
- package/gen/api/intra/v1/form_pb.ts +276 -0
- package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
- package/gen/api/intra/v1/label_pb.ts +558 -0
- package/gen/api/intra/v1/map_pb.ts +382 -0
- package/gen/api/intra/v1/menu_pb.ts +282 -0
- package/gen/api/intra/v1/og_pb.ts +335 -0
- package/gen/api/intra/v1/page_pb.ts +572 -0
- package/gen/api/intra/v1/post_pb.ts +657 -0
- package/gen/api/intra/v1/post_series_pb.ts +217 -0
- package/gen/api/intra/v1/privacy_pb.ts +384 -0
- package/gen/api/intra/v1/program_event_pb.ts +390 -0
- package/gen/api/intra/v1/release_pb.ts +462 -0
- package/gen/api/intra/v1/terms_pb.ts +384 -0
- package/gen/api/intra/v1/work_pb.ts +477 -0
- package/gen/api/manage/v1/account_pb.ts +1311 -0
- package/gen/api/manage/v1/admin_pb.ts +681 -0
- package/gen/api/manage/v1/ai_pb.ts +2621 -0
- package/gen/api/manage/v1/artist_pb.ts +1271 -0
- package/gen/api/manage/v1/audience_pb.ts +597 -0
- package/gen/api/manage/v1/campaign_pb.ts +1289 -0
- package/gen/api/manage/v1/category_pb.ts +351 -0
- package/gen/api/manage/v1/client_pb.ts +512 -0
- package/gen/api/manage/v1/collaboration_pb.ts +112 -0
- package/gen/api/manage/v1/comment_pb.ts +530 -0
- package/gen/api/manage/v1/common_pb.ts +192 -0
- package/gen/api/manage/v1/email_layout_pb.ts +487 -0
- package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
- package/gen/api/manage/v1/email_template_pb.ts +683 -0
- package/gen/api/manage/v1/events_pb.ts +3251 -0
- package/gen/api/manage/v1/file_pb.ts +2810 -0
- package/gen/api/manage/v1/form_pb.ts +1046 -0
- package/gen/api/manage/v1/format_pb.ts +321 -0
- package/gen/api/manage/v1/genre_pb.ts +340 -0
- package/gen/api/manage/v1/label_pb.ts +1105 -0
- package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
- package/gen/api/manage/v1/map_place_pb.ts +572 -0
- package/gen/api/manage/v1/map_theme_pb.ts +691 -0
- package/gen/api/manage/v1/member_pb.ts +1281 -0
- package/gen/api/manage/v1/menu_pb.ts +535 -0
- package/gen/api/manage/v1/page_pb.ts +894 -0
- package/gen/api/manage/v1/post_pb.ts +1475 -0
- package/gen/api/manage/v1/privacy_pb.ts +518 -0
- package/gen/api/manage/v1/program_event_pb.ts +2234 -0
- package/gen/api/manage/v1/release_pb.ts +1168 -0
- package/gen/api/manage/v1/series_pb.ts +1033 -0
- package/gen/api/manage/v1/share_link_pb.ts +351 -0
- package/gen/api/manage/v1/site_setting_pb.ts +623 -0
- package/gen/api/manage/v1/style_pb.ts +340 -0
- package/gen/api/manage/v1/tag_pb.ts +323 -0
- package/gen/api/manage/v1/terms_pb.ts +517 -0
- package/gen/api/manage/v1/track_pb.ts +543 -0
- package/gen/api/manage/v1/translation_pb.ts +1838 -0
- package/gen/api/manage/v1/work_pb.ts +1662 -0
- package/gen/api/open/v1/account_pb.ts +243 -0
- package/gen/api/open/v1/artist_pb.ts +732 -0
- package/gen/api/open/v1/category_pb.ts +143 -0
- package/gen/api/open/v1/client_pb.ts +190 -0
- package/gen/api/open/v1/file_pb.ts +244 -0
- package/gen/api/open/v1/form_pb.ts +698 -0
- package/gen/api/open/v1/label_pb.ts +512 -0
- package/gen/api/open/v1/manifest_pb.ts +326 -0
- package/gen/api/open/v1/map_place_pb.ts +228 -0
- package/gen/api/open/v1/map_theme_pb.ts +400 -0
- package/gen/api/open/v1/member_pb.ts +200 -0
- package/gen/api/open/v1/newsletter_pb.ts +77 -0
- package/gen/api/open/v1/page_pb.ts +236 -0
- package/gen/api/open/v1/post_pb.ts +834 -0
- package/gen/api/open/v1/privacy_pb.ts +257 -0
- package/gen/api/open/v1/program_event_pb.ts +1024 -0
- package/gen/api/open/v1/release_pb.ts +758 -0
- package/gen/api/open/v1/series_pb.ts +210 -0
- package/gen/api/open/v1/share_link_pb.ts +106 -0
- package/gen/api/open/v1/sitemap_pb.ts +188 -0
- package/gen/api/open/v1/tag_pb.ts +136 -0
- package/gen/api/open/v1/terms_pb.ts +257 -0
- package/gen/api/open/v1/translation_pb.ts +103 -0
- package/gen/api/open/v1/work_pb.ts +904 -0
- package/gen/api/policy/v1/access_pb.ts +105 -0
- package/gen/api/policy/v1/spicedb/artist.ts +101 -0
- package/gen/api/policy/v1/spicedb/audience.ts +64 -0
- package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
- package/gen/api/policy/v1/spicedb/core.ts +196 -0
- package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
- package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
- package/gen/api/policy/v1/spicedb/file.ts +49 -0
- package/gen/api/policy/v1/spicedb/form.ts +54 -0
- package/gen/api/policy/v1/spicedb/internal.ts +350 -0
- package/gen/api/policy/v1/spicedb/label.ts +98 -0
- package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
- package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
- package/gen/api/policy/v1/spicedb/member.ts +47 -0
- package/gen/api/policy/v1/spicedb/menu.ts +48 -0
- package/gen/api/policy/v1/spicedb/page.ts +54 -0
- package/gen/api/policy/v1/spicedb/post.ts +105 -0
- package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
- package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
- package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
- package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
- package/gen/api/policy/v1/spicedb/release.ts +81 -0
- package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
- package/gen/api/policy/v1/spicedb/translation.ts +46 -0
- package/gen/api/policy/v1/spicedb/work.ts +58 -0
- package/package.json +66 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,530 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/manage/v1/comment.proto (package api.manage.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenFile,
|
|
5
|
+
GenMessage,
|
|
6
|
+
GenService,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import {
|
|
9
|
+
fileDesc,
|
|
10
|
+
messageDesc,
|
|
11
|
+
serviceDesc,
|
|
12
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import type { MemberSummary } from "../../common/v1/common_pb.ts";
|
|
14
|
+
import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
|
|
15
|
+
import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
|
|
16
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
17
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
18
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the file api/manage/v1/comment.proto.
|
|
22
|
+
*/
|
|
23
|
+
export const file_api_manage_v1_comment: GenFile =
|
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6OlYxYgZwcm90bzM",
|
|
27
|
+
[
|
|
28
|
+
file_api_common_v1_common,
|
|
29
|
+
file_api_policy_v1_access,
|
|
30
|
+
file_google_protobuf_timestamp,
|
|
31
|
+
],
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* CommentWithAuthor includes author information
|
|
36
|
+
*
|
|
37
|
+
* @generated from message api.manage.v1.CommentWithAuthor
|
|
38
|
+
*/
|
|
39
|
+
export type CommentWithAuthor = Message<"api.manage.v1.CommentWithAuthor"> & {
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: string id = 1;
|
|
42
|
+
*/
|
|
43
|
+
id: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: string post_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
postId: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: optional string parent_id = 3;
|
|
52
|
+
*/
|
|
53
|
+
parentId?: string | undefined;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string content = 4;
|
|
57
|
+
*/
|
|
58
|
+
content: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: bool is_deleted = 5;
|
|
62
|
+
*/
|
|
63
|
+
isDeleted: boolean;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
67
|
+
*/
|
|
68
|
+
createdAt?: Timestamp | undefined;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
72
|
+
*/
|
|
73
|
+
updatedAt?: Timestamp | undefined;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: optional string member_id = 8;
|
|
77
|
+
*/
|
|
78
|
+
memberId?: string | undefined;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: optional api.common.v1.MemberSummary author = 9;
|
|
82
|
+
*/
|
|
83
|
+
author?: MemberSummary | undefined;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message api.manage.v1.CommentWithAuthor.
|
|
88
|
+
* Use `create(CommentWithAuthorSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const CommentWithAuthorSchema: GenMessage<CommentWithAuthor> =
|
|
91
|
+
/*@__PURE__*/
|
|
92
|
+
messageDesc(file_api_manage_v1_comment, 0);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* CommentNode is a comment with nested replies (tree structure)
|
|
96
|
+
*
|
|
97
|
+
* @generated from message api.manage.v1.CommentNode
|
|
98
|
+
*/
|
|
99
|
+
export type CommentNode = Message<"api.manage.v1.CommentNode"> & {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string id = 1;
|
|
102
|
+
*/
|
|
103
|
+
id: string;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string post_id = 2;
|
|
107
|
+
*/
|
|
108
|
+
postId: string;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: optional string parent_id = 3;
|
|
112
|
+
*/
|
|
113
|
+
parentId?: string | undefined;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string content = 4;
|
|
117
|
+
*/
|
|
118
|
+
content: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: bool is_deleted = 5;
|
|
122
|
+
*/
|
|
123
|
+
isDeleted: boolean;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
127
|
+
*/
|
|
128
|
+
createdAt?: Timestamp | undefined;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
132
|
+
*/
|
|
133
|
+
updatedAt?: Timestamp | undefined;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: repeated api.manage.v1.CommentNode replies = 8;
|
|
137
|
+
*/
|
|
138
|
+
replies: CommentNode[];
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Pagination for replies (Reddit-style "load more")
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: bool has_more_replies = 9;
|
|
144
|
+
*/
|
|
145
|
+
hasMoreReplies: boolean;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: int32 total_reply_count = 10;
|
|
149
|
+
*/
|
|
150
|
+
totalReplyCount: number;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: optional string member_id = 11;
|
|
154
|
+
*/
|
|
155
|
+
memberId?: string | undefined;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: optional api.common.v1.MemberSummary author = 12;
|
|
159
|
+
*/
|
|
160
|
+
author?: MemberSummary | undefined;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message api.manage.v1.CommentNode.
|
|
165
|
+
* Use `create(CommentNodeSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const CommentNodeSchema: GenMessage<CommentNode> =
|
|
168
|
+
/*@__PURE__*/
|
|
169
|
+
messageDesc(file_api_manage_v1_comment, 1);
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* ListCommentsByPostRequest
|
|
173
|
+
*
|
|
174
|
+
* @generated from message api.manage.v1.ListCommentsByPostRequest
|
|
175
|
+
*/
|
|
176
|
+
export type ListCommentsByPostRequest =
|
|
177
|
+
Message<"api.manage.v1.ListCommentsByPostRequest"> & {
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string post_id = 1;
|
|
180
|
+
*/
|
|
181
|
+
postId: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Pagination for top-level comments (Reddit-style "load more")
|
|
185
|
+
*
|
|
186
|
+
* Number of top-level comments to fetch (default: 20)
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: int32 limit = 2;
|
|
189
|
+
*/
|
|
190
|
+
limit: number;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Cursor for next page (comment ID)
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: optional string cursor = 3;
|
|
196
|
+
*/
|
|
197
|
+
cursor?: string | undefined;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Pagination for replies within each comment
|
|
201
|
+
*
|
|
202
|
+
* Number of replies per comment (default: 3)
|
|
203
|
+
*
|
|
204
|
+
* @generated from field: int32 reply_limit = 4;
|
|
205
|
+
*/
|
|
206
|
+
replyLimit: number;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Describes the message api.manage.v1.ListCommentsByPostRequest.
|
|
211
|
+
* Use `create(ListCommentsByPostRequestSchema)` to create a new message.
|
|
212
|
+
*/
|
|
213
|
+
export const ListCommentsByPostRequestSchema: GenMessage<ListCommentsByPostRequest> =
|
|
214
|
+
/*@__PURE__*/
|
|
215
|
+
messageDesc(file_api_manage_v1_comment, 2);
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* ListCommentsByPostResponse returns a tree of comments
|
|
219
|
+
*
|
|
220
|
+
* @generated from message api.manage.v1.ListCommentsByPostResponse
|
|
221
|
+
*/
|
|
222
|
+
export type ListCommentsByPostResponse =
|
|
223
|
+
Message<"api.manage.v1.ListCommentsByPostResponse"> & {
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: repeated api.manage.v1.CommentNode comments = 1;
|
|
226
|
+
*/
|
|
227
|
+
comments: CommentNode[];
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Pagination info
|
|
231
|
+
*
|
|
232
|
+
* Cursor for loading more top-level comments
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: optional string next_cursor = 2;
|
|
235
|
+
*/
|
|
236
|
+
nextCursor?: string | undefined;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Whether there are more top-level comments
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: bool has_more = 3;
|
|
242
|
+
*/
|
|
243
|
+
hasMore: boolean;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Total number of top-level comments
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: int32 total_count = 4;
|
|
249
|
+
*/
|
|
250
|
+
totalCount: number;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Describes the message api.manage.v1.ListCommentsByPostResponse.
|
|
255
|
+
* Use `create(ListCommentsByPostResponseSchema)` to create a new message.
|
|
256
|
+
*/
|
|
257
|
+
export const ListCommentsByPostResponseSchema: GenMessage<ListCommentsByPostResponse> =
|
|
258
|
+
/*@__PURE__*/
|
|
259
|
+
messageDesc(file_api_manage_v1_comment, 3);
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* LoadMoreRepliesRequest - Load more replies for a specific comment
|
|
263
|
+
*
|
|
264
|
+
* @generated from message api.manage.v1.LoadMoreRepliesRequest
|
|
265
|
+
*/
|
|
266
|
+
export type LoadMoreRepliesRequest =
|
|
267
|
+
Message<"api.manage.v1.LoadMoreRepliesRequest"> & {
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: string comment_id = 1;
|
|
270
|
+
*/
|
|
271
|
+
commentId: string;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Number of replies to fetch (default: 10)
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: int32 limit = 2;
|
|
277
|
+
*/
|
|
278
|
+
limit: number;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Cursor for next page (reply ID)
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: optional string cursor = 3;
|
|
284
|
+
*/
|
|
285
|
+
cursor?: string | undefined;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message api.manage.v1.LoadMoreRepliesRequest.
|
|
290
|
+
* Use `create(LoadMoreRepliesRequestSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export const LoadMoreRepliesRequestSchema: GenMessage<LoadMoreRepliesRequest> =
|
|
293
|
+
/*@__PURE__*/
|
|
294
|
+
messageDesc(file_api_manage_v1_comment, 4);
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* LoadMoreRepliesResponse
|
|
298
|
+
*
|
|
299
|
+
* @generated from message api.manage.v1.LoadMoreRepliesResponse
|
|
300
|
+
*/
|
|
301
|
+
export type LoadMoreRepliesResponse =
|
|
302
|
+
Message<"api.manage.v1.LoadMoreRepliesResponse"> & {
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: repeated api.manage.v1.CommentNode replies = 1;
|
|
305
|
+
*/
|
|
306
|
+
replies: CommentNode[];
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: optional string next_cursor = 2;
|
|
310
|
+
*/
|
|
311
|
+
nextCursor?: string | undefined;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from field: bool has_more = 3;
|
|
315
|
+
*/
|
|
316
|
+
hasMore: boolean;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @generated from field: int32 total_count = 4;
|
|
320
|
+
*/
|
|
321
|
+
totalCount: number;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Describes the message api.manage.v1.LoadMoreRepliesResponse.
|
|
326
|
+
* Use `create(LoadMoreRepliesResponseSchema)` to create a new message.
|
|
327
|
+
*/
|
|
328
|
+
export const LoadMoreRepliesResponseSchema: GenMessage<LoadMoreRepliesResponse> =
|
|
329
|
+
/*@__PURE__*/
|
|
330
|
+
messageDesc(file_api_manage_v1_comment, 5);
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* CreateCommentRequest
|
|
334
|
+
*
|
|
335
|
+
* @generated from message api.manage.v1.CreateCommentRequest
|
|
336
|
+
*/
|
|
337
|
+
export type CreateCommentRequest =
|
|
338
|
+
Message<"api.manage.v1.CreateCommentRequest"> & {
|
|
339
|
+
/**
|
|
340
|
+
* @generated from field: string post_id = 1;
|
|
341
|
+
*/
|
|
342
|
+
postId: string;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: optional string parent_id = 2;
|
|
346
|
+
*/
|
|
347
|
+
parentId?: string | undefined;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: string content = 3;
|
|
351
|
+
*/
|
|
352
|
+
content: string;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Describes the message api.manage.v1.CreateCommentRequest.
|
|
357
|
+
* Use `create(CreateCommentRequestSchema)` to create a new message.
|
|
358
|
+
*/
|
|
359
|
+
export const CreateCommentRequestSchema: GenMessage<CreateCommentRequest> =
|
|
360
|
+
/*@__PURE__*/
|
|
361
|
+
messageDesc(file_api_manage_v1_comment, 6);
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* CreateCommentResponse
|
|
365
|
+
*
|
|
366
|
+
* @generated from message api.manage.v1.CreateCommentResponse
|
|
367
|
+
*/
|
|
368
|
+
export type CreateCommentResponse =
|
|
369
|
+
Message<"api.manage.v1.CreateCommentResponse"> & {
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: api.manage.v1.CommentWithAuthor comment = 1;
|
|
372
|
+
*/
|
|
373
|
+
comment?: CommentWithAuthor | undefined;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Describes the message api.manage.v1.CreateCommentResponse.
|
|
378
|
+
* Use `create(CreateCommentResponseSchema)` to create a new message.
|
|
379
|
+
*/
|
|
380
|
+
export const CreateCommentResponseSchema: GenMessage<CreateCommentResponse> =
|
|
381
|
+
/*@__PURE__*/
|
|
382
|
+
messageDesc(file_api_manage_v1_comment, 7);
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* UpdateCommentRequest
|
|
386
|
+
*
|
|
387
|
+
* @generated from message api.manage.v1.UpdateCommentRequest
|
|
388
|
+
*/
|
|
389
|
+
export type UpdateCommentRequest =
|
|
390
|
+
Message<"api.manage.v1.UpdateCommentRequest"> & {
|
|
391
|
+
/**
|
|
392
|
+
* @generated from field: string id = 1;
|
|
393
|
+
*/
|
|
394
|
+
id: string;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @generated from field: string content = 2;
|
|
398
|
+
*/
|
|
399
|
+
content: string;
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Describes the message api.manage.v1.UpdateCommentRequest.
|
|
404
|
+
* Use `create(UpdateCommentRequestSchema)` to create a new message.
|
|
405
|
+
*/
|
|
406
|
+
export const UpdateCommentRequestSchema: GenMessage<UpdateCommentRequest> =
|
|
407
|
+
/*@__PURE__*/
|
|
408
|
+
messageDesc(file_api_manage_v1_comment, 8);
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* UpdateCommentResponse
|
|
412
|
+
*
|
|
413
|
+
* @generated from message api.manage.v1.UpdateCommentResponse
|
|
414
|
+
*/
|
|
415
|
+
export type UpdateCommentResponse =
|
|
416
|
+
Message<"api.manage.v1.UpdateCommentResponse"> & {
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: api.manage.v1.CommentWithAuthor comment = 1;
|
|
419
|
+
*/
|
|
420
|
+
comment?: CommentWithAuthor | undefined;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Describes the message api.manage.v1.UpdateCommentResponse.
|
|
425
|
+
* Use `create(UpdateCommentResponseSchema)` to create a new message.
|
|
426
|
+
*/
|
|
427
|
+
export const UpdateCommentResponseSchema: GenMessage<UpdateCommentResponse> =
|
|
428
|
+
/*@__PURE__*/
|
|
429
|
+
messageDesc(file_api_manage_v1_comment, 9);
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* DeleteCommentRequest - performs soft delete
|
|
433
|
+
*
|
|
434
|
+
* @generated from message api.manage.v1.DeleteCommentRequest
|
|
435
|
+
*/
|
|
436
|
+
export type DeleteCommentRequest =
|
|
437
|
+
Message<"api.manage.v1.DeleteCommentRequest"> & {
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: string id = 1;
|
|
440
|
+
*/
|
|
441
|
+
id: string;
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Describes the message api.manage.v1.DeleteCommentRequest.
|
|
446
|
+
* Use `create(DeleteCommentRequestSchema)` to create a new message.
|
|
447
|
+
*/
|
|
448
|
+
export const DeleteCommentRequestSchema: GenMessage<DeleteCommentRequest> =
|
|
449
|
+
/*@__PURE__*/
|
|
450
|
+
messageDesc(file_api_manage_v1_comment, 10);
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* DeleteCommentResponse
|
|
454
|
+
*
|
|
455
|
+
* @generated from message api.manage.v1.DeleteCommentResponse
|
|
456
|
+
*/
|
|
457
|
+
export type DeleteCommentResponse =
|
|
458
|
+
Message<"api.manage.v1.DeleteCommentResponse"> & {
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: bool success = 1;
|
|
461
|
+
*/
|
|
462
|
+
success: boolean;
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* Describes the message api.manage.v1.DeleteCommentResponse.
|
|
467
|
+
* Use `create(DeleteCommentResponseSchema)` to create a new message.
|
|
468
|
+
*/
|
|
469
|
+
export const DeleteCommentResponseSchema: GenMessage<DeleteCommentResponse> =
|
|
470
|
+
/*@__PURE__*/
|
|
471
|
+
messageDesc(file_api_manage_v1_comment, 11);
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* CommentService provides comment management for posts
|
|
475
|
+
*
|
|
476
|
+
* @generated from service api.manage.v1.CommentService
|
|
477
|
+
*/
|
|
478
|
+
export const CommentService: GenService<{
|
|
479
|
+
/**
|
|
480
|
+
* ListCommentsByPost returns comments for a post with pagination (Public)
|
|
481
|
+
* Supports Reddit-style "load more" for both top-level comments and replies
|
|
482
|
+
*
|
|
483
|
+
* @generated from rpc api.manage.v1.CommentService.ListCommentsByPost
|
|
484
|
+
*/
|
|
485
|
+
listCommentsByPost: {
|
|
486
|
+
methodKind: "unary";
|
|
487
|
+
input: typeof ListCommentsByPostRequestSchema;
|
|
488
|
+
output: typeof ListCommentsByPostResponseSchema;
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* LoadMoreReplies returns more replies for a specific comment (Public)
|
|
492
|
+
*
|
|
493
|
+
* @generated from rpc api.manage.v1.CommentService.LoadMoreReplies
|
|
494
|
+
*/
|
|
495
|
+
loadMoreReplies: {
|
|
496
|
+
methodKind: "unary";
|
|
497
|
+
input: typeof LoadMoreRepliesRequestSchema;
|
|
498
|
+
output: typeof LoadMoreRepliesResponseSchema;
|
|
499
|
+
};
|
|
500
|
+
/**
|
|
501
|
+
* CreateComment creates a new comment (Authenticated)
|
|
502
|
+
*
|
|
503
|
+
* @generated from rpc api.manage.v1.CommentService.CreateComment
|
|
504
|
+
*/
|
|
505
|
+
createComment: {
|
|
506
|
+
methodKind: "unary";
|
|
507
|
+
input: typeof CreateCommentRequestSchema;
|
|
508
|
+
output: typeof CreateCommentResponseSchema;
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* UpdateComment updates a comment's content (Author or Admin)
|
|
512
|
+
*
|
|
513
|
+
* @generated from rpc api.manage.v1.CommentService.UpdateComment
|
|
514
|
+
*/
|
|
515
|
+
updateComment: {
|
|
516
|
+
methodKind: "unary";
|
|
517
|
+
input: typeof UpdateCommentRequestSchema;
|
|
518
|
+
output: typeof UpdateCommentResponseSchema;
|
|
519
|
+
};
|
|
520
|
+
/**
|
|
521
|
+
* DeleteComment soft-deletes a comment (Author or Admin)
|
|
522
|
+
*
|
|
523
|
+
* @generated from rpc api.manage.v1.CommentService.DeleteComment
|
|
524
|
+
*/
|
|
525
|
+
deleteComment: {
|
|
526
|
+
methodKind: "unary";
|
|
527
|
+
input: typeof DeleteCommentRequestSchema;
|
|
528
|
+
output: typeof DeleteCommentResponseSchema;
|
|
529
|
+
};
|
|
530
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_comment, 0);
|