@opsee/mcp-server 0.8.1 → 0.8.3
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/gen/api/v1/board_pb.d.ts +225 -1
- package/gen/api/v1/board_pb.js +54 -5
- package/gen/api/v1/comment_pb.d.ts +15 -0
- package/gen/api/v1/comment_pb.js +1 -1
- package/gen/api/v1/initiative_pb.d.ts +785 -0
- package/gen/api/v1/initiative_pb.js +199 -0
- package/gen/api/v1/integration_pb.d.ts +750 -0
- package/gen/api/v1/integration_pb.js +193 -0
- package/gen/api/v1/models_pb.d.ts +234 -0
- package/gen/api/v1/models_pb.js +17 -3
- package/gen/api/v1/readiness_pb.d.ts +834 -0
- package/gen/api/v1/readiness_pb.js +197 -0
- package/gen/api/v1/task_pb.d.ts +8 -0
- package/gen/api/v1/task_pb.js +1 -1
- package/package.json +1 -1
- package/src/client/api.ts +3 -0
- package/src/server.ts +2 -0
- package/src/tools/comments.ts +10 -6
- package/src/tools/initiatives.ts +321 -0
- package/src/tools/tasks.ts +100 -1
- package/src/utils/format.ts +244 -1
|
@@ -0,0 +1,785 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.3
|
|
2
|
+
// @generated from file api/v1/initiative.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, Initiative, InitiativeMemoryEntry, Task, TaskPullRequest } from "./models_pb";
|
|
10
|
+
import type { EmptySchema } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file api/v1/initiative.proto.
|
|
14
|
+
*/
|
|
15
|
+
export declare const file_api_v1_initiative: GenFile;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from message api.v1.AddInitiativeRequest
|
|
19
|
+
*/
|
|
20
|
+
export declare type AddInitiativeRequest = Message<"api.v1.AddInitiativeRequest"> & {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string title = 1;
|
|
23
|
+
*/
|
|
24
|
+
title: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: optional string summary = 2;
|
|
28
|
+
*/
|
|
29
|
+
summary?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: string status = 3;
|
|
33
|
+
*/
|
|
34
|
+
status: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: uint32 project_id = 4;
|
|
38
|
+
*/
|
|
39
|
+
projectId: number;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Optional "part of" anchor (at most one). anchor_id is required when anchor_type != "none".
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string anchor_type = 5;
|
|
45
|
+
*/
|
|
46
|
+
anchorType: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: optional uint32 anchor_id = 6;
|
|
50
|
+
*/
|
|
51
|
+
anchorId?: number;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Core idea: the evolving description (rich text). Optional at creation; defaults empty.
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: optional string core_idea = 7;
|
|
57
|
+
*/
|
|
58
|
+
coreIdea?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* text | json; empty defaults to text
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: string core_idea_content_type = 8;
|
|
64
|
+
*/
|
|
65
|
+
coreIdeaContentType: string;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message api.v1.AddInitiativeRequest.
|
|
70
|
+
* Use `create(AddInitiativeRequestSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const AddInitiativeRequestSchema: GenMessage<AddInitiativeRequest>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message api.v1.EditInitiativeRequest
|
|
76
|
+
*/
|
|
77
|
+
export declare type EditInitiativeRequest = Message<"api.v1.EditInitiativeRequest"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: uint32 id = 1;
|
|
80
|
+
*/
|
|
81
|
+
id: number;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string title = 2;
|
|
85
|
+
*/
|
|
86
|
+
title: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: optional string summary = 3;
|
|
90
|
+
*/
|
|
91
|
+
summary?: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string status = 4;
|
|
95
|
+
*/
|
|
96
|
+
status: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: string anchor_type = 5;
|
|
100
|
+
*/
|
|
101
|
+
anchorType: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: optional uint32 anchor_id = 6;
|
|
105
|
+
*/
|
|
106
|
+
anchorId?: number;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: optional string core_idea = 7;
|
|
110
|
+
*/
|
|
111
|
+
coreIdea?: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: optional string core_idea_content_type = 8;
|
|
115
|
+
*/
|
|
116
|
+
coreIdeaContentType?: string;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message api.v1.EditInitiativeRequest.
|
|
121
|
+
* Use `create(EditInitiativeRequestSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export declare const EditInitiativeRequestSchema: GenMessage<EditInitiativeRequest>;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* @generated from message api.v1.GetInitiativeRequest
|
|
127
|
+
*/
|
|
128
|
+
export declare type GetInitiativeRequest = Message<"api.v1.GetInitiativeRequest"> & {
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: uint32 id = 1;
|
|
131
|
+
*/
|
|
132
|
+
id: number;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message api.v1.GetInitiativeRequest.
|
|
137
|
+
* Use `create(GetInitiativeRequestSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const GetInitiativeRequestSchema: GenMessage<GetInitiativeRequest>;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from message api.v1.GetInitiativeByUUIDRequest
|
|
143
|
+
*/
|
|
144
|
+
export declare type GetInitiativeByUUIDRequest = Message<"api.v1.GetInitiativeByUUIDRequest"> & {
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: string uuid = 1;
|
|
147
|
+
*/
|
|
148
|
+
uuid: string;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message api.v1.GetInitiativeByUUIDRequest.
|
|
153
|
+
* Use `create(GetInitiativeByUUIDRequestSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const GetInitiativeByUUIDRequestSchema: GenMessage<GetInitiativeByUUIDRequest>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message api.v1.GetInitiativesRequest
|
|
159
|
+
*/
|
|
160
|
+
export declare type GetInitiativesRequest = Message<"api.v1.GetInitiativesRequest"> & {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: uint32 project_id = 1;
|
|
163
|
+
*/
|
|
164
|
+
projectId: number;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
168
|
+
*/
|
|
169
|
+
pagination?: Pagination;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: api.v1.FilterOptions filter_options = 3;
|
|
173
|
+
*/
|
|
174
|
+
filterOptions?: FilterOptions;
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message api.v1.GetInitiativesRequest.
|
|
179
|
+
* Use `create(GetInitiativesRequestSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export declare const GetInitiativesRequestSchema: GenMessage<GetInitiativesRequest>;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @generated from message api.v1.DeleteInitiativeRequest
|
|
185
|
+
*/
|
|
186
|
+
export declare type DeleteInitiativeRequest = Message<"api.v1.DeleteInitiativeRequest"> & {
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: uint32 id = 1;
|
|
189
|
+
*/
|
|
190
|
+
id: number;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes the message api.v1.DeleteInitiativeRequest.
|
|
195
|
+
* Use `create(DeleteInitiativeRequestSchema)` to create a new message.
|
|
196
|
+
*/
|
|
197
|
+
export declare const DeleteInitiativeRequestSchema: GenMessage<DeleteInitiativeRequest>;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from message api.v1.AddInitiativeResponse
|
|
201
|
+
*/
|
|
202
|
+
export declare type AddInitiativeResponse = Message<"api.v1.AddInitiativeResponse"> & {
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: api.v1.Initiative initiative = 1;
|
|
205
|
+
*/
|
|
206
|
+
initiative?: Initiative;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Describes the message api.v1.AddInitiativeResponse.
|
|
211
|
+
* Use `create(AddInitiativeResponseSchema)` to create a new message.
|
|
212
|
+
*/
|
|
213
|
+
export declare const AddInitiativeResponseSchema: GenMessage<AddInitiativeResponse>;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from message api.v1.EditInitiativeResponse
|
|
217
|
+
*/
|
|
218
|
+
export declare type EditInitiativeResponse = Message<"api.v1.EditInitiativeResponse"> & {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: api.v1.Initiative initiative = 1;
|
|
221
|
+
*/
|
|
222
|
+
initiative?: Initiative;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Describes the message api.v1.EditInitiativeResponse.
|
|
227
|
+
* Use `create(EditInitiativeResponseSchema)` to create a new message.
|
|
228
|
+
*/
|
|
229
|
+
export declare const EditInitiativeResponseSchema: GenMessage<EditInitiativeResponse>;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @generated from message api.v1.GetInitiativeResponse
|
|
233
|
+
*/
|
|
234
|
+
export declare type GetInitiativeResponse = Message<"api.v1.GetInitiativeResponse"> & {
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: api.v1.Initiative initiative = 1;
|
|
237
|
+
*/
|
|
238
|
+
initiative?: Initiative;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Describes the message api.v1.GetInitiativeResponse.
|
|
243
|
+
* Use `create(GetInitiativeResponseSchema)` to create a new message.
|
|
244
|
+
*/
|
|
245
|
+
export declare const GetInitiativeResponseSchema: GenMessage<GetInitiativeResponse>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from message api.v1.GetInitiativesResponse
|
|
249
|
+
*/
|
|
250
|
+
export declare type GetInitiativesResponse = Message<"api.v1.GetInitiativesResponse"> & {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: repeated api.v1.Initiative initiatives = 1;
|
|
253
|
+
*/
|
|
254
|
+
initiatives: Initiative[];
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
258
|
+
*/
|
|
259
|
+
pagination?: Pagination;
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Describes the message api.v1.GetInitiativesResponse.
|
|
264
|
+
* Use `create(GetInitiativesResponseSchema)` to create a new message.
|
|
265
|
+
*/
|
|
266
|
+
export declare const GetInitiativesResponseSchema: GenMessage<GetInitiativesResponse>;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from message api.v1.InitiativeGraphEdge
|
|
270
|
+
*/
|
|
271
|
+
export declare type InitiativeGraphEdge = Message<"api.v1.InitiativeGraphEdge"> & {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: uint32 from_task_id = 1;
|
|
274
|
+
*/
|
|
275
|
+
fromTaskId: number;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: uint32 to_task_id = 2;
|
|
279
|
+
*/
|
|
280
|
+
toTaskId: number;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* blocks | blocked_by | duplicates | relates_to
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: string type = 3;
|
|
286
|
+
*/
|
|
287
|
+
type: string;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message api.v1.InitiativeGraphEdge.
|
|
292
|
+
* Use `create(InitiativeGraphEdgeSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export declare const InitiativeGraphEdgeSchema: GenMessage<InitiativeGraphEdge>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* An (Execution) Slice: a layer of Tasks with no blocking edge between them — a parallel batch
|
|
298
|
+
* derived from the dependency graph, never stored.
|
|
299
|
+
*
|
|
300
|
+
* @generated from message api.v1.InitiativeSlice
|
|
301
|
+
*/
|
|
302
|
+
export declare type InitiativeSlice = Message<"api.v1.InitiativeSlice"> & {
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: int32 layer = 1;
|
|
305
|
+
*/
|
|
306
|
+
layer: number;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: repeated uint32 task_ids = 2;
|
|
310
|
+
*/
|
|
311
|
+
taskIds: number[];
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Describes the message api.v1.InitiativeSlice.
|
|
316
|
+
* Use `create(InitiativeSliceSchema)` to create a new message.
|
|
317
|
+
*/
|
|
318
|
+
export declare const InitiativeSliceSchema: GenMessage<InitiativeSlice>;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* @generated from message api.v1.InitiativeGraph
|
|
322
|
+
*/
|
|
323
|
+
export declare type InitiativeGraph = Message<"api.v1.InitiativeGraph"> & {
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: repeated api.v1.Task tasks = 1;
|
|
326
|
+
*/
|
|
327
|
+
tasks: Task[];
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: repeated api.v1.InitiativeGraphEdge edges = 2;
|
|
331
|
+
*/
|
|
332
|
+
edges: InitiativeGraphEdge[];
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: repeated api.v1.InitiativeSlice slices = 3;
|
|
336
|
+
*/
|
|
337
|
+
slices: InitiativeSlice[];
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message api.v1.InitiativeGraph.
|
|
342
|
+
* Use `create(InitiativeGraphSchema)` to create a new message.
|
|
343
|
+
*/
|
|
344
|
+
export declare const InitiativeGraphSchema: GenMessage<InitiativeGraph>;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @generated from message api.v1.GetInitiativeGraphRequest
|
|
348
|
+
*/
|
|
349
|
+
export declare type GetInitiativeGraphRequest = Message<"api.v1.GetInitiativeGraphRequest"> & {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: uint32 initiative_id = 1;
|
|
352
|
+
*/
|
|
353
|
+
initiativeId: number;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Describes the message api.v1.GetInitiativeGraphRequest.
|
|
358
|
+
* Use `create(GetInitiativeGraphRequestSchema)` to create a new message.
|
|
359
|
+
*/
|
|
360
|
+
export declare const GetInitiativeGraphRequestSchema: GenMessage<GetInitiativeGraphRequest>;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* @generated from message api.v1.GetInitiativeGraphResponse
|
|
364
|
+
*/
|
|
365
|
+
export declare type GetInitiativeGraphResponse = Message<"api.v1.GetInitiativeGraphResponse"> & {
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: api.v1.InitiativeGraph graph = 1;
|
|
368
|
+
*/
|
|
369
|
+
graph?: InitiativeGraph;
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Describes the message api.v1.GetInitiativeGraphResponse.
|
|
374
|
+
* Use `create(GetInitiativeGraphResponseSchema)` to create a new message.
|
|
375
|
+
*/
|
|
376
|
+
export declare const GetInitiativeGraphResponseSchema: GenMessage<GetInitiativeGraphResponse>;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @generated from message api.v1.GetInitiativeContextRequest
|
|
380
|
+
*/
|
|
381
|
+
export declare type GetInitiativeContextRequest = Message<"api.v1.GetInitiativeContextRequest"> & {
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: uint32 initiative_id = 1;
|
|
384
|
+
*/
|
|
385
|
+
initiativeId: number;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Cap on memory entries returned (most recent first); 0 = service default.
|
|
389
|
+
*
|
|
390
|
+
* @generated from field: uint32 memory_limit = 2;
|
|
391
|
+
*/
|
|
392
|
+
memoryLimit: number;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Describes the message api.v1.GetInitiativeContextRequest.
|
|
397
|
+
* Use `create(GetInitiativeContextRequestSchema)` to create a new message.
|
|
398
|
+
*/
|
|
399
|
+
export declare const GetInitiativeContextRequestSchema: GenMessage<GetInitiativeContextRequest>;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @generated from message api.v1.GetInitiativeContextResponse
|
|
403
|
+
*/
|
|
404
|
+
export declare type GetInitiativeContextResponse = Message<"api.v1.GetInitiativeContextResponse"> & {
|
|
405
|
+
/**
|
|
406
|
+
* includes the core_idea body inline
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: api.v1.Initiative initiative = 1;
|
|
409
|
+
*/
|
|
410
|
+
initiative?: Initiative;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* tasks + edges + parallel slices
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: api.v1.InitiativeGraph graph = 2;
|
|
416
|
+
*/
|
|
417
|
+
graph?: InitiativeGraph;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: repeated api.v1.InitiativeMemoryEntry memory_entries = 3;
|
|
421
|
+
*/
|
|
422
|
+
memoryEntries: InitiativeMemoryEntry[];
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* rolled up across the initiative's tasks
|
|
426
|
+
*
|
|
427
|
+
* @generated from field: repeated api.v1.TaskPullRequest pull_requests = 4;
|
|
428
|
+
*/
|
|
429
|
+
pullRequests: TaskPullRequest[];
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* RFC-style discussion on the initiative
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: repeated api.v1.Comment comments = 5;
|
|
435
|
+
*/
|
|
436
|
+
comments: Comment[];
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Describes the message api.v1.GetInitiativeContextResponse.
|
|
441
|
+
* Use `create(GetInitiativeContextResponseSchema)` to create a new message.
|
|
442
|
+
*/
|
|
443
|
+
export declare const GetInitiativeContextResponseSchema: GenMessage<GetInitiativeContextResponse>;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* @generated from message api.v1.AddInitiativeMemoryEntryRequest
|
|
447
|
+
*/
|
|
448
|
+
export declare type AddInitiativeMemoryEntryRequest = Message<"api.v1.AddInitiativeMemoryEntryRequest"> & {
|
|
449
|
+
/**
|
|
450
|
+
* @generated from field: uint32 initiative_id = 1;
|
|
451
|
+
*/
|
|
452
|
+
initiativeId: number;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: string kind = 2;
|
|
456
|
+
*/
|
|
457
|
+
kind: string;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: string body = 3;
|
|
461
|
+
*/
|
|
462
|
+
body: string;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* @generated from field: string content_type = 4;
|
|
466
|
+
*/
|
|
467
|
+
contentType: string;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* @generated from field: string source_type = 5;
|
|
471
|
+
*/
|
|
472
|
+
sourceType: string;
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* @generated from field: optional uint32 source_id = 6;
|
|
476
|
+
*/
|
|
477
|
+
sourceId?: number;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @generated from field: optional string source_url = 7;
|
|
481
|
+
*/
|
|
482
|
+
sourceUrl?: string;
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Describes the message api.v1.AddInitiativeMemoryEntryRequest.
|
|
487
|
+
* Use `create(AddInitiativeMemoryEntryRequestSchema)` to create a new message.
|
|
488
|
+
*/
|
|
489
|
+
export declare const AddInitiativeMemoryEntryRequestSchema: GenMessage<AddInitiativeMemoryEntryRequest>;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @generated from message api.v1.AddInitiativeMemoryEntryResponse
|
|
493
|
+
*/
|
|
494
|
+
export declare type AddInitiativeMemoryEntryResponse = Message<"api.v1.AddInitiativeMemoryEntryResponse"> & {
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: api.v1.InitiativeMemoryEntry memory_entry = 1;
|
|
497
|
+
*/
|
|
498
|
+
memoryEntry?: InitiativeMemoryEntry;
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Describes the message api.v1.AddInitiativeMemoryEntryResponse.
|
|
503
|
+
* Use `create(AddInitiativeMemoryEntryResponseSchema)` to create a new message.
|
|
504
|
+
*/
|
|
505
|
+
export declare const AddInitiativeMemoryEntryResponseSchema: GenMessage<AddInitiativeMemoryEntryResponse>;
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* @generated from message api.v1.GetInitiativeMemoryRequest
|
|
509
|
+
*/
|
|
510
|
+
export declare type GetInitiativeMemoryRequest = Message<"api.v1.GetInitiativeMemoryRequest"> & {
|
|
511
|
+
/**
|
|
512
|
+
* @generated from field: uint32 initiative_id = 1;
|
|
513
|
+
*/
|
|
514
|
+
initiativeId: number;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
518
|
+
*/
|
|
519
|
+
pagination?: Pagination;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Optional filters (empty = no filter).
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: repeated string kinds = 3;
|
|
525
|
+
*/
|
|
526
|
+
kinds: string[];
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @generated from field: string source_type = 4;
|
|
530
|
+
*/
|
|
531
|
+
sourceType: string;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* @generated from field: optional uint32 source_id = 5;
|
|
535
|
+
*/
|
|
536
|
+
sourceId?: number;
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* Describes the message api.v1.GetInitiativeMemoryRequest.
|
|
541
|
+
* Use `create(GetInitiativeMemoryRequestSchema)` to create a new message.
|
|
542
|
+
*/
|
|
543
|
+
export declare const GetInitiativeMemoryRequestSchema: GenMessage<GetInitiativeMemoryRequest>;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @generated from message api.v1.GetInitiativeMemoryResponse
|
|
547
|
+
*/
|
|
548
|
+
export declare type GetInitiativeMemoryResponse = Message<"api.v1.GetInitiativeMemoryResponse"> & {
|
|
549
|
+
/**
|
|
550
|
+
* @generated from field: repeated api.v1.InitiativeMemoryEntry memory_entries = 1;
|
|
551
|
+
*/
|
|
552
|
+
memoryEntries: InitiativeMemoryEntry[];
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* @generated from field: api.v1.Pagination pagination = 2;
|
|
556
|
+
*/
|
|
557
|
+
pagination?: Pagination;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Describes the message api.v1.GetInitiativeMemoryResponse.
|
|
562
|
+
* Use `create(GetInitiativeMemoryResponseSchema)` to create a new message.
|
|
563
|
+
*/
|
|
564
|
+
export declare const GetInitiativeMemoryResponseSchema: GenMessage<GetInitiativeMemoryResponse>;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Client-supplied breakdown wired by temporary refs; the service materializes real Tasks under
|
|
568
|
+
* the initiative and creates the dependency edges atomically.
|
|
569
|
+
*
|
|
570
|
+
* @generated from message api.v1.DecomposeTaskInput
|
|
571
|
+
*/
|
|
572
|
+
export declare type DecomposeTaskInput = Message<"api.v1.DecomposeTaskInput"> & {
|
|
573
|
+
/**
|
|
574
|
+
* temp id used to wire edges/parent
|
|
575
|
+
*
|
|
576
|
+
* @generated from field: string ref = 1;
|
|
577
|
+
*/
|
|
578
|
+
ref: string;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* @generated from field: string title = 2;
|
|
582
|
+
*/
|
|
583
|
+
title: string;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* @generated from field: optional string description = 3;
|
|
587
|
+
*/
|
|
588
|
+
description?: string;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* nest under another input task by its ref
|
|
592
|
+
*
|
|
593
|
+
* @generated from field: optional string parent_ref = 4;
|
|
594
|
+
*/
|
|
595
|
+
parentRef?: string;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: optional uint32 task_type_id = 5;
|
|
599
|
+
*/
|
|
600
|
+
taskTypeId?: number;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* @generated from field: optional uint32 task_priority_id = 6;
|
|
604
|
+
*/
|
|
605
|
+
taskPriorityId?: number;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @generated from field: optional uint32 board_column_id = 7;
|
|
609
|
+
*/
|
|
610
|
+
boardColumnId?: number;
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Describes the message api.v1.DecomposeTaskInput.
|
|
615
|
+
* Use `create(DecomposeTaskInputSchema)` to create a new message.
|
|
616
|
+
*/
|
|
617
|
+
export declare const DecomposeTaskInputSchema: GenMessage<DecomposeTaskInput>;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @generated from message api.v1.DecomposeEdgeInput
|
|
621
|
+
*/
|
|
622
|
+
export declare type DecomposeEdgeInput = Message<"api.v1.DecomposeEdgeInput"> & {
|
|
623
|
+
/**
|
|
624
|
+
* @generated from field: string from_ref = 1;
|
|
625
|
+
*/
|
|
626
|
+
fromRef: string;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @generated from field: string to_ref = 2;
|
|
630
|
+
*/
|
|
631
|
+
toRef: string;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @generated from field: string type = 3;
|
|
635
|
+
*/
|
|
636
|
+
type: string;
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Describes the message api.v1.DecomposeEdgeInput.
|
|
641
|
+
* Use `create(DecomposeEdgeInputSchema)` to create a new message.
|
|
642
|
+
*/
|
|
643
|
+
export declare const DecomposeEdgeInputSchema: GenMessage<DecomposeEdgeInput>;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* @generated from message api.v1.DecomposeInitiativeRequest
|
|
647
|
+
*/
|
|
648
|
+
export declare type DecomposeInitiativeRequest = Message<"api.v1.DecomposeInitiativeRequest"> & {
|
|
649
|
+
/**
|
|
650
|
+
* @generated from field: uint32 initiative_id = 1;
|
|
651
|
+
*/
|
|
652
|
+
initiativeId: number;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: repeated api.v1.DecomposeTaskInput tasks = 2;
|
|
656
|
+
*/
|
|
657
|
+
tasks: DecomposeTaskInput[];
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* @generated from field: repeated api.v1.DecomposeEdgeInput edges = 3;
|
|
661
|
+
*/
|
|
662
|
+
edges: DecomposeEdgeInput[];
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Describes the message api.v1.DecomposeInitiativeRequest.
|
|
667
|
+
* Use `create(DecomposeInitiativeRequestSchema)` to create a new message.
|
|
668
|
+
*/
|
|
669
|
+
export declare const DecomposeInitiativeRequestSchema: GenMessage<DecomposeInitiativeRequest>;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* @generated from message api.v1.DecomposeInitiativeResponse
|
|
673
|
+
*/
|
|
674
|
+
export declare type DecomposeInitiativeResponse = Message<"api.v1.DecomposeInitiativeResponse"> & {
|
|
675
|
+
/**
|
|
676
|
+
* @generated from field: repeated api.v1.Task created_tasks = 1;
|
|
677
|
+
*/
|
|
678
|
+
createdTasks: Task[];
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* @generated from field: api.v1.InitiativeGraph graph = 2;
|
|
682
|
+
*/
|
|
683
|
+
graph?: InitiativeGraph;
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Describes the message api.v1.DecomposeInitiativeResponse.
|
|
688
|
+
* Use `create(DecomposeInitiativeResponseSchema)` to create a new message.
|
|
689
|
+
*/
|
|
690
|
+
export declare const DecomposeInitiativeResponseSchema: GenMessage<DecomposeInitiativeResponse>;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* @generated from service api.v1.InitiativeService
|
|
694
|
+
*/
|
|
695
|
+
export declare const InitiativeService: GenService<{
|
|
696
|
+
/**
|
|
697
|
+
* @generated from rpc api.v1.InitiativeService.AddInitiative
|
|
698
|
+
*/
|
|
699
|
+
addInitiative: {
|
|
700
|
+
methodKind: "unary";
|
|
701
|
+
input: typeof AddInitiativeRequestSchema;
|
|
702
|
+
output: typeof AddInitiativeResponseSchema;
|
|
703
|
+
},
|
|
704
|
+
/**
|
|
705
|
+
* @generated from rpc api.v1.InitiativeService.EditInitiative
|
|
706
|
+
*/
|
|
707
|
+
editInitiative: {
|
|
708
|
+
methodKind: "unary";
|
|
709
|
+
input: typeof EditInitiativeRequestSchema;
|
|
710
|
+
output: typeof EditInitiativeResponseSchema;
|
|
711
|
+
},
|
|
712
|
+
/**
|
|
713
|
+
* @generated from rpc api.v1.InitiativeService.GetInitiative
|
|
714
|
+
*/
|
|
715
|
+
getInitiative: {
|
|
716
|
+
methodKind: "unary";
|
|
717
|
+
input: typeof GetInitiativeRequestSchema;
|
|
718
|
+
output: typeof GetInitiativeResponseSchema;
|
|
719
|
+
},
|
|
720
|
+
/**
|
|
721
|
+
* @generated from rpc api.v1.InitiativeService.GetInitiativeByUUID
|
|
722
|
+
*/
|
|
723
|
+
getInitiativeByUUID: {
|
|
724
|
+
methodKind: "unary";
|
|
725
|
+
input: typeof GetInitiativeByUUIDRequestSchema;
|
|
726
|
+
output: typeof GetInitiativeResponseSchema;
|
|
727
|
+
},
|
|
728
|
+
/**
|
|
729
|
+
* @generated from rpc api.v1.InitiativeService.GetInitiatives
|
|
730
|
+
*/
|
|
731
|
+
getInitiatives: {
|
|
732
|
+
methodKind: "unary";
|
|
733
|
+
input: typeof GetInitiativesRequestSchema;
|
|
734
|
+
output: typeof GetInitiativesResponseSchema;
|
|
735
|
+
},
|
|
736
|
+
/**
|
|
737
|
+
* @generated from rpc api.v1.InitiativeService.DeleteInitiative
|
|
738
|
+
*/
|
|
739
|
+
deleteInitiative: {
|
|
740
|
+
methodKind: "unary";
|
|
741
|
+
input: typeof DeleteInitiativeRequestSchema;
|
|
742
|
+
output: typeof EmptySchema;
|
|
743
|
+
},
|
|
744
|
+
/**
|
|
745
|
+
* @generated from rpc api.v1.InitiativeService.GetInitiativeGraph
|
|
746
|
+
*/
|
|
747
|
+
getInitiativeGraph: {
|
|
748
|
+
methodKind: "unary";
|
|
749
|
+
input: typeof GetInitiativeGraphRequestSchema;
|
|
750
|
+
output: typeof GetInitiativeGraphResponseSchema;
|
|
751
|
+
},
|
|
752
|
+
/**
|
|
753
|
+
* @generated from rpc api.v1.InitiativeService.GetInitiativeContext
|
|
754
|
+
*/
|
|
755
|
+
getInitiativeContext: {
|
|
756
|
+
methodKind: "unary";
|
|
757
|
+
input: typeof GetInitiativeContextRequestSchema;
|
|
758
|
+
output: typeof GetInitiativeContextResponseSchema;
|
|
759
|
+
},
|
|
760
|
+
/**
|
|
761
|
+
* @generated from rpc api.v1.InitiativeService.AddInitiativeMemoryEntry
|
|
762
|
+
*/
|
|
763
|
+
addInitiativeMemoryEntry: {
|
|
764
|
+
methodKind: "unary";
|
|
765
|
+
input: typeof AddInitiativeMemoryEntryRequestSchema;
|
|
766
|
+
output: typeof AddInitiativeMemoryEntryResponseSchema;
|
|
767
|
+
},
|
|
768
|
+
/**
|
|
769
|
+
* @generated from rpc api.v1.InitiativeService.GetInitiativeMemory
|
|
770
|
+
*/
|
|
771
|
+
getInitiativeMemory: {
|
|
772
|
+
methodKind: "unary";
|
|
773
|
+
input: typeof GetInitiativeMemoryRequestSchema;
|
|
774
|
+
output: typeof GetInitiativeMemoryResponseSchema;
|
|
775
|
+
},
|
|
776
|
+
/**
|
|
777
|
+
* @generated from rpc api.v1.InitiativeService.DecomposeInitiative
|
|
778
|
+
*/
|
|
779
|
+
decomposeInitiative: {
|
|
780
|
+
methodKind: "unary";
|
|
781
|
+
input: typeof DecomposeInitiativeRequestSchema;
|
|
782
|
+
output: typeof DecomposeInitiativeResponseSchema;
|
|
783
|
+
},
|
|
784
|
+
}>;
|
|
785
|
+
|