@opsee/mcp-server 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/bin/opsee-mcp.js +21 -0
- package/gen/api/v1/account_pb.d.ts +393 -0
- package/gen/api/v1/account_pb.js +111 -0
- package/gen/api/v1/activity_log_pb.d.ts +297 -0
- package/gen/api/v1/activity_log_pb.js +89 -0
- package/gen/api/v1/ai_run_status_pb.d.ts +237 -0
- package/gen/api/v1/ai_run_status_pb.js +89 -0
- package/gen/api/v1/ai_unit_category_pb.d.ts +237 -0
- package/gen/api/v1/ai_unit_category_pb.js +89 -0
- package/gen/api/v1/ai_unit_stage_pb.d.ts +347 -0
- package/gen/api/v1/ai_unit_stage_pb.js +117 -0
- package/gen/api/v1/ai_unit_status_pb.d.ts +237 -0
- package/gen/api/v1/ai_unit_status_pb.js +89 -0
- package/gen/api/v1/ai_workflow_run_pb.d.ts +542 -0
- package/gen/api/v1/ai_workflow_run_pb.js +159 -0
- package/gen/api/v1/ai_workflow_unit_pb.d.ts +431 -0
- package/gen/api/v1/ai_workflow_unit_pb.js +103 -0
- package/gen/api/v1/attachment_pb.d.ts +297 -0
- package/gen/api/v1/attachment_pb.js +89 -0
- package/gen/api/v1/billing_pb.d.ts +1206 -0
- package/gen/api/v1/billing_pb.js +288 -0
- package/gen/api/v1/board_column_pb.d.ts +282 -0
- package/gen/api/v1/board_column_pb.js +89 -0
- package/gen/api/v1/board_pb.d.ts +296 -0
- package/gen/api/v1/board_pb.js +96 -0
- package/gen/api/v1/comment_pb.d.ts +277 -0
- package/gen/api/v1/comment_pb.js +89 -0
- package/gen/api/v1/company_pb.d.ts +452 -0
- package/gen/api/v1/company_pb.js +110 -0
- package/gen/api/v1/component_pb.d.ts +267 -0
- package/gen/api/v1/component_pb.js +89 -0
- package/gen/api/v1/contact_pb.d.ts +58 -0
- package/gen/api/v1/contact_pb.js +28 -0
- package/gen/api/v1/country_pb.d.ts +257 -0
- package/gen/api/v1/country_pb.js +89 -0
- package/gen/api/v1/credit_transaction_pb.d.ts +277 -0
- package/gen/api/v1/credit_transaction_pb.js +89 -0
- package/gen/api/v1/cycle_pb.d.ts +281 -0
- package/gen/api/v1/cycle_pb.js +87 -0
- package/gen/api/v1/deployment_pb.d.ts +277 -0
- package/gen/api/v1/deployment_pb.js +89 -0
- package/gen/api/v1/doc_page_pb.d.ts +505 -0
- package/gen/api/v1/doc_page_pb.js +138 -0
- package/gen/api/v1/doc_page_version_pb.d.ts +287 -0
- package/gen/api/v1/doc_page_version_pb.js +89 -0
- package/gen/api/v1/doc_space_pb.d.ts +297 -0
- package/gen/api/v1/doc_space_pb.js +89 -0
- package/gen/api/v1/document_link_pb.d.ts +174 -0
- package/gen/api/v1/document_link_pb.js +61 -0
- package/gen/api/v1/document_pb.d.ts +548 -0
- package/gen/api/v1/document_pb.js +152 -0
- package/gen/api/v1/environment_pb.d.ts +277 -0
- package/gen/api/v1/environment_pb.js +89 -0
- package/gen/api/v1/filter_pb.d.ts +66 -0
- package/gen/api/v1/filter_pb.js +26 -0
- package/gen/api/v1/label_pb.d.ts +267 -0
- package/gen/api/v1/label_pb.js +89 -0
- package/gen/api/v1/models_pb.d.ts +3137 -0
- package/gen/api/v1/models_pb.js +357 -0
- package/gen/api/v1/notification_pb.d.ts +317 -0
- package/gen/api/v1/notification_pb.js +89 -0
- package/gen/api/v1/orchestrator_pb.d.ts +1813 -0
- package/gen/api/v1/orchestrator_pb.js +353 -0
- package/gen/api/v1/pagination_pb.d.ts +92 -0
- package/gen/api/v1/pagination_pb.js +33 -0
- package/gen/api/v1/permission_pb.d.ts +222 -0
- package/gen/api/v1/permission_pb.js +89 -0
- package/gen/api/v1/preference_pb.d.ts +109 -0
- package/gen/api/v1/preference_pb.js +42 -0
- package/gen/api/v1/project_membership_pb.d.ts +321 -0
- package/gen/api/v1/project_membership_pb.js +103 -0
- package/gen/api/v1/project_pb.d.ts +473 -0
- package/gen/api/v1/project_pb.js +145 -0
- package/gen/api/v1/reporting_pb.d.ts +1481 -0
- package/gen/api/v1/reporting_pb.js +373 -0
- package/gen/api/v1/role_pb.d.ts +252 -0
- package/gen/api/v1/role_pb.js +101 -0
- package/gen/api/v1/subscription_pb.d.ts +307 -0
- package/gen/api/v1/subscription_pb.js +89 -0
- package/gen/api/v1/swagger_pb.d.ts +11 -0
- package/gen/api/v1/swagger_pb.js +13 -0
- package/gen/api/v1/task_component_pb.d.ts +242 -0
- package/gen/api/v1/task_component_pb.js +89 -0
- package/gen/api/v1/task_contributor_pb.d.ts +252 -0
- package/gen/api/v1/task_contributor_pb.js +89 -0
- package/gen/api/v1/task_doc_page_pb.d.ts +186 -0
- package/gen/api/v1/task_doc_page_pb.js +73 -0
- package/gen/api/v1/task_document_pb.d.ts +186 -0
- package/gen/api/v1/task_document_pb.js +73 -0
- package/gen/api/v1/task_label_pb.d.ts +242 -0
- package/gen/api/v1/task_label_pb.js +89 -0
- package/gen/api/v1/task_pb.d.ts +780 -0
- package/gen/api/v1/task_pb.js +173 -0
- package/gen/api/v1/task_priority_pb.d.ts +267 -0
- package/gen/api/v1/task_priority_pb.js +89 -0
- package/gen/api/v1/task_repository_pb.d.ts +242 -0
- package/gen/api/v1/task_repository_pb.js +89 -0
- package/gen/api/v1/task_type_pb.d.ts +277 -0
- package/gen/api/v1/task_type_pb.js +89 -0
- package/gen/api/v1/test_run_pb.d.ts +277 -0
- package/gen/api/v1/test_run_pb.js +89 -0
- package/gen/api/v1/user_pb.d.ts +366 -0
- package/gen/api/v1/user_pb.js +117 -0
- package/gen/api/v1/vcs_connection_pb.d.ts +964 -0
- package/gen/api/v1/vcs_connection_pb.js +228 -0
- package/gen/api/v1/vcs_integration_pb.d.ts +479 -0
- package/gen/api/v1/vcs_integration_pb.js +125 -0
- package/gen/api/v1/vcs_pb.d.ts +36 -0
- package/gen/api/v1/vcs_pb.js +24 -0
- package/gen/api/v1/view_pb.d.ts +337 -0
- package/gen/api/v1/view_pb.js +102 -0
- package/gen/google/api/annotations_pb.d.ts +34 -0
- package/gen/google/api/annotations_pb.js +36 -0
- package/gen/google/api/http_pb.d.ts +477 -0
- package/gen/google/api/http_pb.js +47 -0
- package/gen/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
- package/gen/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
- package/gen/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
- package/gen/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
- package/gen/validate/validate_pb.d.ts +1953 -0
- package/gen/validate/validate_pb.js +223 -0
- package/package.json +37 -0
- package/src/auth/credentials.ts +65 -0
- package/src/auth/login.ts +96 -0
- package/src/auth/manager.ts +49 -0
- package/src/client/api.ts +91 -0
- package/src/index.ts +13 -0
- package/src/server.ts +26 -0
- package/src/tools/cycles.ts +77 -0
- package/src/tools/docs.ts +148 -0
- package/src/tools/projects.ts +40 -0
- package/src/tools/repositories.ts +41 -0
- package/src/tools/task-metadata.ts +96 -0
- package/src/tools/tasks.ts +228 -0
- package/src/tools/user.ts +33 -0
- package/src/utils/format.ts +141 -0
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/board.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Pagination } from "./pagination_pb";
|
|
8
|
+
import type { FilterOptions } from "./filter_pb";
|
|
9
|
+
import type { Board } from "./models_pb";
|
|
10
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file api/v1/board.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_api_v1_board: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Request definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from message api.v1.AddBoardRequest
|
|
21
|
+
*/
|
|
22
|
+
export declare type AddBoardRequest = Message<"api.v1.AddBoardRequest"> & {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string name = 1;
|
|
25
|
+
*/
|
|
26
|
+
name: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: optional string description = 2;
|
|
30
|
+
*/
|
|
31
|
+
description?: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: int32 display_order = 3;
|
|
35
|
+
*/
|
|
36
|
+
displayOrder: number;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: bool is_active = 4;
|
|
40
|
+
*/
|
|
41
|
+
isActive: boolean;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: uint32 project_id = 5;
|
|
45
|
+
*/
|
|
46
|
+
projectId: number;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message api.v1.AddBoardRequest.
|
|
51
|
+
* Use `create(AddBoardRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const AddBoardRequestSchema: GenMessage<AddBoardRequest>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message api.v1.EditBoardRequest
|
|
57
|
+
*/
|
|
58
|
+
export declare type EditBoardRequest = Message<"api.v1.EditBoardRequest"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: uint32 id = 1;
|
|
61
|
+
*/
|
|
62
|
+
id: number;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string name = 2;
|
|
66
|
+
*/
|
|
67
|
+
name: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: optional string description = 3;
|
|
71
|
+
*/
|
|
72
|
+
description?: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: int32 display_order = 4;
|
|
76
|
+
*/
|
|
77
|
+
displayOrder: number;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: bool is_active = 5;
|
|
81
|
+
*/
|
|
82
|
+
isActive: boolean;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: uint32 project_id = 6;
|
|
86
|
+
*/
|
|
87
|
+
projectId: number;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message api.v1.EditBoardRequest.
|
|
92
|
+
* Use `create(EditBoardRequestSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export declare const EditBoardRequestSchema: GenMessage<EditBoardRequest>;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from message api.v1.GetBoardRequest
|
|
98
|
+
*/
|
|
99
|
+
export declare type GetBoardRequest = Message<"api.v1.GetBoardRequest"> & {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: uint32 id = 1;
|
|
102
|
+
*/
|
|
103
|
+
id: number;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message api.v1.GetBoardRequest.
|
|
108
|
+
* Use `create(GetBoardRequestSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const GetBoardRequestSchema: GenMessage<GetBoardRequest>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message api.v1.GetBoardByUUIDRequest
|
|
114
|
+
*/
|
|
115
|
+
export declare type GetBoardByUUIDRequest = Message<"api.v1.GetBoardByUUIDRequest"> & {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string uuid = 1;
|
|
118
|
+
*/
|
|
119
|
+
uuid: string;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message api.v1.GetBoardByUUIDRequest.
|
|
124
|
+
* Use `create(GetBoardByUUIDRequestSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export declare const GetBoardByUUIDRequestSchema: GenMessage<GetBoardByUUIDRequest>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from message api.v1.GetBoardsRequest
|
|
130
|
+
*/
|
|
131
|
+
export declare type GetBoardsRequest = Message<"api.v1.GetBoardsRequest"> & {
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: uint32 project_id = 1;
|
|
134
|
+
*/
|
|
135
|
+
projectId: number;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
139
|
+
*/
|
|
140
|
+
pagination?: Pagination;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: api.v1.FilterOptions filter_options = 3;
|
|
144
|
+
*/
|
|
145
|
+
filterOptions?: FilterOptions;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Describes the message api.v1.GetBoardsRequest.
|
|
150
|
+
* Use `create(GetBoardsRequestSchema)` to create a new message.
|
|
151
|
+
*/
|
|
152
|
+
export declare const GetBoardsRequestSchema: GenMessage<GetBoardsRequest>;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message api.v1.DeleteBoardRequest
|
|
156
|
+
*/
|
|
157
|
+
export declare type DeleteBoardRequest = Message<"api.v1.DeleteBoardRequest"> & {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: uint32 id = 1;
|
|
160
|
+
*/
|
|
161
|
+
id: number;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message api.v1.DeleteBoardRequest.
|
|
166
|
+
* Use `create(DeleteBoardRequestSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export declare const DeleteBoardRequestSchema: GenMessage<DeleteBoardRequest>;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Response definitions
|
|
172
|
+
*
|
|
173
|
+
* @generated from message api.v1.GetBoardsResponse
|
|
174
|
+
*/
|
|
175
|
+
export declare type GetBoardsResponse = Message<"api.v1.GetBoardsResponse"> & {
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: repeated api.v1.Board boards = 1;
|
|
178
|
+
*/
|
|
179
|
+
boards: Board[];
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
183
|
+
*/
|
|
184
|
+
pagination?: Pagination;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Describes the message api.v1.GetBoardsResponse.
|
|
189
|
+
* Use `create(GetBoardsResponseSchema)` to create a new message.
|
|
190
|
+
*/
|
|
191
|
+
export declare const GetBoardsResponseSchema: GenMessage<GetBoardsResponse>;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message api.v1.AddBoardResponse
|
|
195
|
+
*/
|
|
196
|
+
export declare type AddBoardResponse = Message<"api.v1.AddBoardResponse"> & {
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: api.v1.Board board = 1;
|
|
199
|
+
*/
|
|
200
|
+
board?: Board;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Describes the message api.v1.AddBoardResponse.
|
|
205
|
+
* Use `create(AddBoardResponseSchema)` to create a new message.
|
|
206
|
+
*/
|
|
207
|
+
export declare const AddBoardResponseSchema: GenMessage<AddBoardResponse>;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from message api.v1.EditBoardResponse
|
|
211
|
+
*/
|
|
212
|
+
export declare type EditBoardResponse = Message<"api.v1.EditBoardResponse"> & {
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: api.v1.Board board = 1;
|
|
215
|
+
*/
|
|
216
|
+
board?: Board;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Describes the message api.v1.EditBoardResponse.
|
|
221
|
+
* Use `create(EditBoardResponseSchema)` to create a new message.
|
|
222
|
+
*/
|
|
223
|
+
export declare const EditBoardResponseSchema: GenMessage<EditBoardResponse>;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message api.v1.GetBoardResponse
|
|
227
|
+
*/
|
|
228
|
+
export declare type GetBoardResponse = Message<"api.v1.GetBoardResponse"> & {
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: api.v1.Board board = 1;
|
|
231
|
+
*/
|
|
232
|
+
board?: Board;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Describes the message api.v1.GetBoardResponse.
|
|
237
|
+
* Use `create(GetBoardResponseSchema)` to create a new message.
|
|
238
|
+
*/
|
|
239
|
+
export declare const GetBoardResponseSchema: GenMessage<GetBoardResponse>;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Service definition
|
|
243
|
+
*
|
|
244
|
+
* @generated from service api.v1.BoardService
|
|
245
|
+
*/
|
|
246
|
+
export declare const BoardService: GenService<{
|
|
247
|
+
/**
|
|
248
|
+
* @generated from rpc api.v1.BoardService.AddBoard
|
|
249
|
+
*/
|
|
250
|
+
addBoard: {
|
|
251
|
+
methodKind: "unary";
|
|
252
|
+
input: typeof AddBoardRequestSchema;
|
|
253
|
+
output: typeof AddBoardResponseSchema;
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
* @generated from rpc api.v1.BoardService.EditBoard
|
|
257
|
+
*/
|
|
258
|
+
editBoard: {
|
|
259
|
+
methodKind: "unary";
|
|
260
|
+
input: typeof EditBoardRequestSchema;
|
|
261
|
+
output: typeof EditBoardResponseSchema;
|
|
262
|
+
},
|
|
263
|
+
/**
|
|
264
|
+
* @generated from rpc api.v1.BoardService.GetBoard
|
|
265
|
+
*/
|
|
266
|
+
getBoard: {
|
|
267
|
+
methodKind: "unary";
|
|
268
|
+
input: typeof GetBoardRequestSchema;
|
|
269
|
+
output: typeof GetBoardResponseSchema;
|
|
270
|
+
},
|
|
271
|
+
/**
|
|
272
|
+
* @generated from rpc api.v1.BoardService.GetBoardByUUID
|
|
273
|
+
*/
|
|
274
|
+
getBoardByUUID: {
|
|
275
|
+
methodKind: "unary";
|
|
276
|
+
input: typeof GetBoardByUUIDRequestSchema;
|
|
277
|
+
output: typeof GetBoardResponseSchema;
|
|
278
|
+
},
|
|
279
|
+
/**
|
|
280
|
+
* @generated from rpc api.v1.BoardService.GetBoards
|
|
281
|
+
*/
|
|
282
|
+
getBoards: {
|
|
283
|
+
methodKind: "unary";
|
|
284
|
+
input: typeof GetBoardsRequestSchema;
|
|
285
|
+
output: typeof GetBoardsResponseSchema;
|
|
286
|
+
},
|
|
287
|
+
/**
|
|
288
|
+
* @generated from rpc api.v1.BoardService.DeleteBoard
|
|
289
|
+
*/
|
|
290
|
+
deleteBoard: {
|
|
291
|
+
methodKind: "unary";
|
|
292
|
+
input: typeof DeleteBoardRequestSchema;
|
|
293
|
+
output: typeof EmptySchema;
|
|
294
|
+
},
|
|
295
|
+
}>;
|
|
296
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/board.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_google_api_annotations } from "../../google/api/annotations_pb";
|
|
8
|
+
import { file_validate_validate } from "../../validate/validate_pb";
|
|
9
|
+
import { file_api_v1_pagination } from "./pagination_pb";
|
|
10
|
+
import { file_api_v1_filter } from "./filter_pb";
|
|
11
|
+
import { file_api_v1_models } from "./models_pb";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file api/v1/board.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_api_v1_board = /*@__PURE__*/
|
|
17
|
+
fileDesc("ChJhcGkvdjEvYm9hcmQucHJvdG8SBmF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filter, file_api_v1_models]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message api.v1.AddBoardRequest.
|
|
21
|
+
* Use `create(AddBoardRequestSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const AddBoardRequestSchema = /*@__PURE__*/
|
|
24
|
+
messageDesc(file_api_v1_board, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message api.v1.EditBoardRequest.
|
|
28
|
+
* Use `create(EditBoardRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const EditBoardRequestSchema = /*@__PURE__*/
|
|
31
|
+
messageDesc(file_api_v1_board, 1);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message api.v1.GetBoardRequest.
|
|
35
|
+
* Use `create(GetBoardRequestSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export const GetBoardRequestSchema = /*@__PURE__*/
|
|
38
|
+
messageDesc(file_api_v1_board, 2);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message api.v1.GetBoardByUUIDRequest.
|
|
42
|
+
* Use `create(GetBoardByUUIDRequestSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const GetBoardByUUIDRequestSchema = /*@__PURE__*/
|
|
45
|
+
messageDesc(file_api_v1_board, 3);
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message api.v1.GetBoardsRequest.
|
|
49
|
+
* Use `create(GetBoardsRequestSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const GetBoardsRequestSchema = /*@__PURE__*/
|
|
52
|
+
messageDesc(file_api_v1_board, 4);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message api.v1.DeleteBoardRequest.
|
|
56
|
+
* Use `create(DeleteBoardRequestSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export const DeleteBoardRequestSchema = /*@__PURE__*/
|
|
59
|
+
messageDesc(file_api_v1_board, 5);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.v1.GetBoardsResponse.
|
|
63
|
+
* Use `create(GetBoardsResponseSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const GetBoardsResponseSchema = /*@__PURE__*/
|
|
66
|
+
messageDesc(file_api_v1_board, 6);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.v1.AddBoardResponse.
|
|
70
|
+
* Use `create(AddBoardResponseSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export const AddBoardResponseSchema = /*@__PURE__*/
|
|
73
|
+
messageDesc(file_api_v1_board, 7);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message api.v1.EditBoardResponse.
|
|
77
|
+
* Use `create(EditBoardResponseSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const EditBoardResponseSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_api_v1_board, 8);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message api.v1.GetBoardResponse.
|
|
84
|
+
* Use `create(GetBoardResponseSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const GetBoardResponseSchema = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_api_v1_board, 9);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Service definition
|
|
91
|
+
*
|
|
92
|
+
* @generated from service api.v1.BoardService
|
|
93
|
+
*/
|
|
94
|
+
export const BoardService = /*@__PURE__*/
|
|
95
|
+
serviceDesc(file_api_v1_board, 0);
|
|
96
|
+
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/comment.proto (package api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Pagination } from "./pagination_pb";
|
|
8
|
+
import type { FilterOptions } from "./filter_pb";
|
|
9
|
+
import type { Comment } from "./models_pb";
|
|
10
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file api/v1/comment.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_api_v1_comment: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Request definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from message api.v1.AddCommentRequest
|
|
21
|
+
*/
|
|
22
|
+
export declare type AddCommentRequest = Message<"api.v1.AddCommentRequest"> & {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string content = 1;
|
|
25
|
+
*/
|
|
26
|
+
content: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: bool is_internal = 2;
|
|
30
|
+
*/
|
|
31
|
+
isInternal: boolean;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: optional uint32 task_id = 3;
|
|
35
|
+
*/
|
|
36
|
+
taskId?: number;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: optional uint32 doc_page_id = 4;
|
|
40
|
+
*/
|
|
41
|
+
docPageId?: number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: uint32 user_id = 5;
|
|
45
|
+
*/
|
|
46
|
+
userId: number;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message api.v1.AddCommentRequest.
|
|
51
|
+
* Use `create(AddCommentRequestSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const AddCommentRequestSchema: GenMessage<AddCommentRequest>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from message api.v1.EditCommentRequest
|
|
57
|
+
*/
|
|
58
|
+
export declare type EditCommentRequest = Message<"api.v1.EditCommentRequest"> & {
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: uint32 id = 1;
|
|
61
|
+
*/
|
|
62
|
+
id: number;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string content = 2;
|
|
66
|
+
*/
|
|
67
|
+
content: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: bool is_internal = 3;
|
|
71
|
+
*/
|
|
72
|
+
isInternal: boolean;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: optional uint32 task_id = 4;
|
|
76
|
+
*/
|
|
77
|
+
taskId?: number;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: optional uint32 doc_page_id = 5;
|
|
81
|
+
*/
|
|
82
|
+
docPageId?: number;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: uint32 user_id = 6;
|
|
86
|
+
*/
|
|
87
|
+
userId: number;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the message api.v1.EditCommentRequest.
|
|
92
|
+
* Use `create(EditCommentRequestSchema)` to create a new message.
|
|
93
|
+
*/
|
|
94
|
+
export declare const EditCommentRequestSchema: GenMessage<EditCommentRequest>;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from message api.v1.GetCommentRequest
|
|
98
|
+
*/
|
|
99
|
+
export declare type GetCommentRequest = Message<"api.v1.GetCommentRequest"> & {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: uint32 id = 1;
|
|
102
|
+
*/
|
|
103
|
+
id: number;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message api.v1.GetCommentRequest.
|
|
108
|
+
* Use `create(GetCommentRequestSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
export declare const GetCommentRequestSchema: GenMessage<GetCommentRequest>;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message api.v1.GetCommentsRequest
|
|
114
|
+
*/
|
|
115
|
+
export declare type GetCommentsRequest = Message<"api.v1.GetCommentsRequest"> & {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: api.v1.Pagination pagination = 1;
|
|
118
|
+
*/
|
|
119
|
+
pagination?: Pagination;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: api.v1.FilterOptions filter_options = 2;
|
|
123
|
+
*/
|
|
124
|
+
filterOptions?: FilterOptions;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: optional uint32 task_id = 3;
|
|
128
|
+
*/
|
|
129
|
+
taskId?: number;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: optional uint32 doc_page_id = 4;
|
|
133
|
+
*/
|
|
134
|
+
docPageId?: number;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message api.v1.GetCommentsRequest.
|
|
139
|
+
* Use `create(GetCommentsRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const GetCommentsRequestSchema: GenMessage<GetCommentsRequest>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from message api.v1.DeleteCommentRequest
|
|
145
|
+
*/
|
|
146
|
+
export declare type DeleteCommentRequest = Message<"api.v1.DeleteCommentRequest"> & {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: uint32 id = 1;
|
|
149
|
+
*/
|
|
150
|
+
id: number;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes the message api.v1.DeleteCommentRequest.
|
|
155
|
+
* Use `create(DeleteCommentRequestSchema)` to create a new message.
|
|
156
|
+
*/
|
|
157
|
+
export declare const DeleteCommentRequestSchema: GenMessage<DeleteCommentRequest>;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Response definitions
|
|
161
|
+
*
|
|
162
|
+
* @generated from message api.v1.GetCommentsResponse
|
|
163
|
+
*/
|
|
164
|
+
export declare type GetCommentsResponse = Message<"api.v1.GetCommentsResponse"> & {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: repeated api.v1.Comment comments = 1;
|
|
167
|
+
*/
|
|
168
|
+
comments: Comment[];
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
172
|
+
*/
|
|
173
|
+
pagination?: Pagination;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message api.v1.GetCommentsResponse.
|
|
178
|
+
* Use `create(GetCommentsResponseSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const GetCommentsResponseSchema: GenMessage<GetCommentsResponse>;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message api.v1.AddCommentResponse
|
|
184
|
+
*/
|
|
185
|
+
export declare type AddCommentResponse = Message<"api.v1.AddCommentResponse"> & {
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: api.v1.Comment comment = 1;
|
|
188
|
+
*/
|
|
189
|
+
comment?: Comment;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Describes the message api.v1.AddCommentResponse.
|
|
194
|
+
* Use `create(AddCommentResponseSchema)` to create a new message.
|
|
195
|
+
*/
|
|
196
|
+
export declare const AddCommentResponseSchema: GenMessage<AddCommentResponse>;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from message api.v1.EditCommentResponse
|
|
200
|
+
*/
|
|
201
|
+
export declare type EditCommentResponse = Message<"api.v1.EditCommentResponse"> & {
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: api.v1.Comment comment = 1;
|
|
204
|
+
*/
|
|
205
|
+
comment?: Comment;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message api.v1.EditCommentResponse.
|
|
210
|
+
* Use `create(EditCommentResponseSchema)` to create a new message.
|
|
211
|
+
*/
|
|
212
|
+
export declare const EditCommentResponseSchema: GenMessage<EditCommentResponse>;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from message api.v1.GetCommentResponse
|
|
216
|
+
*/
|
|
217
|
+
export declare type GetCommentResponse = Message<"api.v1.GetCommentResponse"> & {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: api.v1.Comment comment = 1;
|
|
220
|
+
*/
|
|
221
|
+
comment?: Comment;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message api.v1.GetCommentResponse.
|
|
226
|
+
* Use `create(GetCommentResponseSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const GetCommentResponseSchema: GenMessage<GetCommentResponse>;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Service definition
|
|
232
|
+
*
|
|
233
|
+
* @generated from service api.v1.CommentService
|
|
234
|
+
*/
|
|
235
|
+
export declare const CommentService: GenService<{
|
|
236
|
+
/**
|
|
237
|
+
* @generated from rpc api.v1.CommentService.AddComment
|
|
238
|
+
*/
|
|
239
|
+
addComment: {
|
|
240
|
+
methodKind: "unary";
|
|
241
|
+
input: typeof AddCommentRequestSchema;
|
|
242
|
+
output: typeof AddCommentResponseSchema;
|
|
243
|
+
},
|
|
244
|
+
/**
|
|
245
|
+
* @generated from rpc api.v1.CommentService.EditComment
|
|
246
|
+
*/
|
|
247
|
+
editComment: {
|
|
248
|
+
methodKind: "unary";
|
|
249
|
+
input: typeof EditCommentRequestSchema;
|
|
250
|
+
output: typeof EditCommentResponseSchema;
|
|
251
|
+
},
|
|
252
|
+
/**
|
|
253
|
+
* @generated from rpc api.v1.CommentService.GetComment
|
|
254
|
+
*/
|
|
255
|
+
getComment: {
|
|
256
|
+
methodKind: "unary";
|
|
257
|
+
input: typeof GetCommentRequestSchema;
|
|
258
|
+
output: typeof GetCommentResponseSchema;
|
|
259
|
+
},
|
|
260
|
+
/**
|
|
261
|
+
* @generated from rpc api.v1.CommentService.GetComments
|
|
262
|
+
*/
|
|
263
|
+
getComments: {
|
|
264
|
+
methodKind: "unary";
|
|
265
|
+
input: typeof GetCommentsRequestSchema;
|
|
266
|
+
output: typeof GetCommentsResponseSchema;
|
|
267
|
+
},
|
|
268
|
+
/**
|
|
269
|
+
* @generated from rpc api.v1.CommentService.DeleteComment
|
|
270
|
+
*/
|
|
271
|
+
deleteComment: {
|
|
272
|
+
methodKind: "unary";
|
|
273
|
+
input: typeof DeleteCommentRequestSchema;
|
|
274
|
+
output: typeof EmptySchema;
|
|
275
|
+
},
|
|
276
|
+
}>;
|
|
277
|
+
|