@flyteorg/flyteidl2 2.0.0-alpha10 → 2.0.0-alpha13

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.
@@ -0,0 +1,530 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/app/app_payload.proto (package flyteidl2.app, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
8
+ import type { App, Identifier, Ingress } from "./app_definition_pb.ts";
9
+ import { file_flyteidl2_app_app_definition } from "./app_definition_pb.ts";
10
+ import type { ClusterIdentifier, ProjectIdentifier } from "../common/identifier_pb.ts";
11
+ import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
12
+ import type { ListRequest as ListRequest$1 } from "../common/list_pb.ts";
13
+ import { file_flyteidl2_common_list } from "../common/list_pb.ts";
14
+ import type { Message } from "@bufbuild/protobuf";
15
+
16
+ /**
17
+ * Describes the file flyteidl2/app/app_payload.proto.
18
+ */
19
+ export const file_flyteidl2_app_app_payload: GenFile = /*@__PURE__*/
20
+ fileDesc("Ch9mbHl0ZWlkbDIvYXBwL2FwcF9wYXlsb2FkLnByb3RvEg1mbHl0ZWlkbDIuYXBwIjgKDUNyZWF0ZVJlcXVlc3QSJwoDYXBwGAEgASgLMhIuZmx5dGVpZGwyLmFwcC5BcHBCBrpIA8gBASIxCg5DcmVhdGVSZXNwb25zZRIfCgNhcHAYASABKAsyEi5mbHl0ZWlkbDIuYXBwLkFwcCJ5CgpHZXRSZXF1ZXN0EisKBmFwcF9pZBgBIAEoCzIZLmZseXRlaWRsMi5hcHAuSWRlbnRpZmllckgAEikKB2luZ3Jlc3MYAiABKAsyFi5mbHl0ZWlkbDIuYXBwLkluZ3Jlc3N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_buf_validate_validate, file_flyteidl2_app_app_definition, file_flyteidl2_common_identifier, file_flyteidl2_common_list]);
21
+
22
+ /**
23
+ * Request message for creating an app.
24
+ *
25
+ * @generated from message flyteidl2.app.CreateRequest
26
+ */
27
+ export type CreateRequest = Message<"flyteidl2.app.CreateRequest"> & {
28
+ /**
29
+ * The app to be created.
30
+ *
31
+ * @generated from field: flyteidl2.app.App app = 1;
32
+ */
33
+ app?: App;
34
+ };
35
+
36
+ /**
37
+ * Describes the message flyteidl2.app.CreateRequest.
38
+ * Use `create(CreateRequestSchema)` to create a new message.
39
+ */
40
+ export const CreateRequestSchema: GenMessage<CreateRequest> = /*@__PURE__*/
41
+ messageDesc(file_flyteidl2_app_app_payload, 0);
42
+
43
+ /**
44
+ * Response message for creating an app.
45
+ *
46
+ * @generated from message flyteidl2.app.CreateResponse
47
+ */
48
+ export type CreateResponse = Message<"flyteidl2.app.CreateResponse"> & {
49
+ /**
50
+ * The created app.
51
+ *
52
+ * @generated from field: flyteidl2.app.App app = 1;
53
+ */
54
+ app?: App;
55
+ };
56
+
57
+ /**
58
+ * Describes the message flyteidl2.app.CreateResponse.
59
+ * Use `create(CreateResponseSchema)` to create a new message.
60
+ */
61
+ export const CreateResponseSchema: GenMessage<CreateResponse> = /*@__PURE__*/
62
+ messageDesc(file_flyteidl2_app_app_payload, 1);
63
+
64
+ /**
65
+ * Request message for retrieving an app.
66
+ *
67
+ * @generated from message flyteidl2.app.GetRequest
68
+ */
69
+ export type GetRequest = Message<"flyteidl2.app.GetRequest"> & {
70
+ /**
71
+ * @generated from oneof flyteidl2.app.GetRequest.identifier
72
+ */
73
+ identifier: {
74
+ /**
75
+ * Identifier of the app to be retrieved.
76
+ *
77
+ * @generated from field: flyteidl2.app.Identifier app_id = 1;
78
+ */
79
+ value: Identifier;
80
+ case: "appId";
81
+ } | {
82
+ /**
83
+ * Ingress of the app to be retrieved. Only one field need to be set.
84
+ * If multiple fields are set, they must resolve into the same app.
85
+ * Otherwise, an error is returned.
86
+ *
87
+ * @generated from field: flyteidl2.app.Ingress ingress = 2;
88
+ */
89
+ value: Ingress;
90
+ case: "ingress";
91
+ } | { case: undefined; value?: undefined };
92
+ };
93
+
94
+ /**
95
+ * Describes the message flyteidl2.app.GetRequest.
96
+ * Use `create(GetRequestSchema)` to create a new message.
97
+ */
98
+ export const GetRequestSchema: GenMessage<GetRequest> = /*@__PURE__*/
99
+ messageDesc(file_flyteidl2_app_app_payload, 2);
100
+
101
+ /**
102
+ * Response message for retrieving an app.
103
+ *
104
+ * @generated from message flyteidl2.app.GetResponse
105
+ */
106
+ export type GetResponse = Message<"flyteidl2.app.GetResponse"> & {
107
+ /**
108
+ * The retrieved app.
109
+ *
110
+ * @generated from field: flyteidl2.app.App app = 1;
111
+ */
112
+ app?: App;
113
+ };
114
+
115
+ /**
116
+ * Describes the message flyteidl2.app.GetResponse.
117
+ * Use `create(GetResponseSchema)` to create a new message.
118
+ */
119
+ export const GetResponseSchema: GenMessage<GetResponse> = /*@__PURE__*/
120
+ messageDesc(file_flyteidl2_app_app_payload, 3);
121
+
122
+ /**
123
+ * Request message for updating an app.
124
+ *
125
+ * @generated from message flyteidl2.app.UpdateRequest
126
+ */
127
+ export type UpdateRequest = Message<"flyteidl2.app.UpdateRequest"> & {
128
+ /**
129
+ * The app to be updated.
130
+ *
131
+ * @generated from field: flyteidl2.app.App app = 1;
132
+ */
133
+ app?: App;
134
+
135
+ /**
136
+ * @generated from field: string reason = 2;
137
+ */
138
+ reason: string;
139
+ };
140
+
141
+ /**
142
+ * Describes the message flyteidl2.app.UpdateRequest.
143
+ * Use `create(UpdateRequestSchema)` to create a new message.
144
+ */
145
+ export const UpdateRequestSchema: GenMessage<UpdateRequest> = /*@__PURE__*/
146
+ messageDesc(file_flyteidl2_app_app_payload, 4);
147
+
148
+ /**
149
+ * Response message for updating an app.
150
+ *
151
+ * @generated from message flyteidl2.app.UpdateResponse
152
+ */
153
+ export type UpdateResponse = Message<"flyteidl2.app.UpdateResponse"> & {
154
+ /**
155
+ * The updated app.
156
+ *
157
+ * @generated from field: flyteidl2.app.App app = 1;
158
+ */
159
+ app?: App;
160
+ };
161
+
162
+ /**
163
+ * Describes the message flyteidl2.app.UpdateResponse.
164
+ * Use `create(UpdateResponseSchema)` to create a new message.
165
+ */
166
+ export const UpdateResponseSchema: GenMessage<UpdateResponse> = /*@__PURE__*/
167
+ messageDesc(file_flyteidl2_app_app_payload, 5);
168
+
169
+ /**
170
+ * Request message for deleting an app.
171
+ *
172
+ * @generated from message flyteidl2.app.DeleteRequest
173
+ */
174
+ export type DeleteRequest = Message<"flyteidl2.app.DeleteRequest"> & {
175
+ /**
176
+ * Identifier of the app to be deleted.
177
+ *
178
+ * @generated from field: flyteidl2.app.Identifier app_id = 1;
179
+ */
180
+ appId?: Identifier;
181
+ };
182
+
183
+ /**
184
+ * Describes the message flyteidl2.app.DeleteRequest.
185
+ * Use `create(DeleteRequestSchema)` to create a new message.
186
+ */
187
+ export const DeleteRequestSchema: GenMessage<DeleteRequest> = /*@__PURE__*/
188
+ messageDesc(file_flyteidl2_app_app_payload, 6);
189
+
190
+ /**
191
+ * Response message for deleting an app.
192
+ *
193
+ * @generated from message flyteidl2.app.DeleteResponse
194
+ */
195
+ export type DeleteResponse = Message<"flyteidl2.app.DeleteResponse"> & {
196
+ };
197
+
198
+ /**
199
+ * Describes the message flyteidl2.app.DeleteResponse.
200
+ * Use `create(DeleteResponseSchema)` to create a new message.
201
+ */
202
+ export const DeleteResponseSchema: GenMessage<DeleteResponse> = /*@__PURE__*/
203
+ messageDesc(file_flyteidl2_app_app_payload, 7);
204
+
205
+ /**
206
+ * Request message for listing apps.
207
+ *
208
+ * @generated from message flyteidl2.app.ListRequest
209
+ */
210
+ export type ListRequest = Message<"flyteidl2.app.ListRequest"> & {
211
+ /**
212
+ * Common list request parameters.
213
+ *
214
+ * @generated from field: flyteidl2.common.ListRequest request = 1;
215
+ */
216
+ request?: ListRequest$1;
217
+
218
+ /**
219
+ * @generated from oneof flyteidl2.app.ListRequest.filter_by
220
+ */
221
+ filterBy: {
222
+ /**
223
+ * Organization name for filtering apps.
224
+ *
225
+ * @generated from field: string org = 2;
226
+ */
227
+ value: string;
228
+ case: "org";
229
+ } | {
230
+ /**
231
+ * Cluster identifier for filtering apps.
232
+ *
233
+ * @generated from field: flyteidl2.common.ClusterIdentifier cluster_id = 3;
234
+ */
235
+ value: ClusterIdentifier;
236
+ case: "clusterId";
237
+ } | {
238
+ /**
239
+ * Project identifier for filtering apps.
240
+ *
241
+ * @generated from field: flyteidl2.common.ProjectIdentifier project = 4;
242
+ */
243
+ value: ProjectIdentifier;
244
+ case: "project";
245
+ } | { case: undefined; value?: undefined };
246
+ };
247
+
248
+ /**
249
+ * Describes the message flyteidl2.app.ListRequest.
250
+ * Use `create(ListRequestSchema)` to create a new message.
251
+ */
252
+ export const ListRequestSchema: GenMessage<ListRequest> = /*@__PURE__*/
253
+ messageDesc(file_flyteidl2_app_app_payload, 8);
254
+
255
+ /**
256
+ * Response message for listing apps.
257
+ *
258
+ * @generated from message flyteidl2.app.ListResponse
259
+ */
260
+ export type ListResponse = Message<"flyteidl2.app.ListResponse"> & {
261
+ /**
262
+ * List of apps.
263
+ *
264
+ * @generated from field: repeated flyteidl2.app.App apps = 1;
265
+ */
266
+ apps: App[];
267
+
268
+ /**
269
+ * Token for fetching the next page of results, if any.
270
+ *
271
+ * @generated from field: string token = 2;
272
+ */
273
+ token: string;
274
+ };
275
+
276
+ /**
277
+ * Describes the message flyteidl2.app.ListResponse.
278
+ * Use `create(ListResponseSchema)` to create a new message.
279
+ */
280
+ export const ListResponseSchema: GenMessage<ListResponse> = /*@__PURE__*/
281
+ messageDesc(file_flyteidl2_app_app_payload, 9);
282
+
283
+ /**
284
+ * Request message for watching app events.
285
+ *
286
+ * @generated from message flyteidl2.app.WatchRequest
287
+ */
288
+ export type WatchRequest = Message<"flyteidl2.app.WatchRequest"> & {
289
+ /**
290
+ * @generated from oneof flyteidl2.app.WatchRequest.target
291
+ */
292
+ target: {
293
+ /**
294
+ * Organization name for filtering events.
295
+ *
296
+ * @generated from field: string org = 1;
297
+ */
298
+ value: string;
299
+ case: "org";
300
+ } | {
301
+ /**
302
+ * Cluster identifier for filtering events.
303
+ *
304
+ * @generated from field: flyteidl2.common.ClusterIdentifier cluster_id = 2;
305
+ */
306
+ value: ClusterIdentifier;
307
+ case: "clusterId";
308
+ } | {
309
+ /**
310
+ * Project identifier for filtering events.
311
+ *
312
+ * @generated from field: flyteidl2.common.ProjectIdentifier project = 3;
313
+ */
314
+ value: ProjectIdentifier;
315
+ case: "project";
316
+ } | {
317
+ /**
318
+ * App identifier for filtering events.
319
+ *
320
+ * @generated from field: flyteidl2.app.Identifier app_id = 4;
321
+ */
322
+ value: Identifier;
323
+ case: "appId";
324
+ } | { case: undefined; value?: undefined };
325
+ };
326
+
327
+ /**
328
+ * Describes the message flyteidl2.app.WatchRequest.
329
+ * Use `create(WatchRequestSchema)` to create a new message.
330
+ */
331
+ export const WatchRequestSchema: GenMessage<WatchRequest> = /*@__PURE__*/
332
+ messageDesc(file_flyteidl2_app_app_payload, 10);
333
+
334
+ /**
335
+ * Event message for app creation.
336
+ *
337
+ * @generated from message flyteidl2.app.CreateEvent
338
+ */
339
+ export type CreateEvent = Message<"flyteidl2.app.CreateEvent"> & {
340
+ /**
341
+ * The created app.
342
+ *
343
+ * @generated from field: flyteidl2.app.App app = 1;
344
+ */
345
+ app?: App;
346
+ };
347
+
348
+ /**
349
+ * Describes the message flyteidl2.app.CreateEvent.
350
+ * Use `create(CreateEventSchema)` to create a new message.
351
+ */
352
+ export const CreateEventSchema: GenMessage<CreateEvent> = /*@__PURE__*/
353
+ messageDesc(file_flyteidl2_app_app_payload, 11);
354
+
355
+ /**
356
+ * Event message for app update.
357
+ *
358
+ * @generated from message flyteidl2.app.UpdateEvent
359
+ */
360
+ export type UpdateEvent = Message<"flyteidl2.app.UpdateEvent"> & {
361
+ /**
362
+ * The updated app.
363
+ *
364
+ * @generated from field: flyteidl2.app.App updated_app = 1;
365
+ */
366
+ updatedApp?: App;
367
+
368
+ /**
369
+ * The old app before the update.
370
+ *
371
+ * @generated from field: flyteidl2.app.App old_app = 2;
372
+ */
373
+ oldApp?: App;
374
+ };
375
+
376
+ /**
377
+ * Describes the message flyteidl2.app.UpdateEvent.
378
+ * Use `create(UpdateEventSchema)` to create a new message.
379
+ */
380
+ export const UpdateEventSchema: GenMessage<UpdateEvent> = /*@__PURE__*/
381
+ messageDesc(file_flyteidl2_app_app_payload, 12);
382
+
383
+ /**
384
+ * Event message for app deletion.
385
+ *
386
+ * @generated from message flyteidl2.app.DeleteEvent
387
+ */
388
+ export type DeleteEvent = Message<"flyteidl2.app.DeleteEvent"> & {
389
+ /**
390
+ * The deleted app.
391
+ *
392
+ * @generated from field: flyteidl2.app.App app = 1;
393
+ */
394
+ app?: App;
395
+ };
396
+
397
+ /**
398
+ * Describes the message flyteidl2.app.DeleteEvent.
399
+ * Use `create(DeleteEventSchema)` to create a new message.
400
+ */
401
+ export const DeleteEventSchema: GenMessage<DeleteEvent> = /*@__PURE__*/
402
+ messageDesc(file_flyteidl2_app_app_payload, 13);
403
+
404
+ /**
405
+ * Response message for watching app events.
406
+ *
407
+ * @generated from message flyteidl2.app.WatchResponse
408
+ */
409
+ export type WatchResponse = Message<"flyteidl2.app.WatchResponse"> & {
410
+ /**
411
+ * @generated from oneof flyteidl2.app.WatchResponse.event
412
+ */
413
+ event: {
414
+ /**
415
+ * Event for app creation.
416
+ *
417
+ * @generated from field: flyteidl2.app.CreateEvent create_event = 1;
418
+ */
419
+ value: CreateEvent;
420
+ case: "createEvent";
421
+ } | {
422
+ /**
423
+ * Event for app update.
424
+ *
425
+ * @generated from field: flyteidl2.app.UpdateEvent update_event = 2;
426
+ */
427
+ value: UpdateEvent;
428
+ case: "updateEvent";
429
+ } | {
430
+ /**
431
+ * Event for app deletion.
432
+ *
433
+ * @generated from field: flyteidl2.app.DeleteEvent delete_event = 3;
434
+ */
435
+ value: DeleteEvent;
436
+ case: "deleteEvent";
437
+ } | { case: undefined; value?: undefined };
438
+ };
439
+
440
+ /**
441
+ * Describes the message flyteidl2.app.WatchResponse.
442
+ * Use `create(WatchResponseSchema)` to create a new message.
443
+ */
444
+ export const WatchResponseSchema: GenMessage<WatchResponse> = /*@__PURE__*/
445
+ messageDesc(file_flyteidl2_app_app_payload, 14);
446
+
447
+ /**
448
+ * Request message for updating app status.
449
+ *
450
+ * @generated from message flyteidl2.app.UpdateStatusRequest
451
+ */
452
+ export type UpdateStatusRequest = Message<"flyteidl2.app.UpdateStatusRequest"> & {
453
+ /**
454
+ * The app with updated status.
455
+ *
456
+ * @generated from field: flyteidl2.app.App app = 1;
457
+ */
458
+ app?: App;
459
+ };
460
+
461
+ /**
462
+ * Describes the message flyteidl2.app.UpdateStatusRequest.
463
+ * Use `create(UpdateStatusRequestSchema)` to create a new message.
464
+ */
465
+ export const UpdateStatusRequestSchema: GenMessage<UpdateStatusRequest> = /*@__PURE__*/
466
+ messageDesc(file_flyteidl2_app_app_payload, 15);
467
+
468
+ /**
469
+ * Response message for updating app status.
470
+ *
471
+ * @generated from message flyteidl2.app.UpdateStatusResponse
472
+ */
473
+ export type UpdateStatusResponse = Message<"flyteidl2.app.UpdateStatusResponse"> & {
474
+ /**
475
+ * The app with updated status.
476
+ *
477
+ * @generated from field: flyteidl2.app.App app = 1;
478
+ */
479
+ app?: App;
480
+ };
481
+
482
+ /**
483
+ * Describes the message flyteidl2.app.UpdateStatusResponse.
484
+ * Use `create(UpdateStatusResponseSchema)` to create a new message.
485
+ */
486
+ export const UpdateStatusResponseSchema: GenMessage<UpdateStatusResponse> = /*@__PURE__*/
487
+ messageDesc(file_flyteidl2_app_app_payload, 16);
488
+
489
+ /**
490
+ * Request message for leasing apps.
491
+ *
492
+ * @generated from message flyteidl2.app.LeaseRequest
493
+ */
494
+ export type LeaseRequest = Message<"flyteidl2.app.LeaseRequest"> & {
495
+ /**
496
+ * Cluster identifier for leasing apps.
497
+ *
498
+ * @generated from field: flyteidl2.common.ClusterIdentifier id = 1;
499
+ */
500
+ id?: ClusterIdentifier;
501
+ };
502
+
503
+ /**
504
+ * Describes the message flyteidl2.app.LeaseRequest.
505
+ * Use `create(LeaseRequestSchema)` to create a new message.
506
+ */
507
+ export const LeaseRequestSchema: GenMessage<LeaseRequest> = /*@__PURE__*/
508
+ messageDesc(file_flyteidl2_app_app_payload, 17);
509
+
510
+ /**
511
+ * Response message for leasing apps.
512
+ *
513
+ * @generated from message flyteidl2.app.LeaseResponse
514
+ */
515
+ export type LeaseResponse = Message<"flyteidl2.app.LeaseResponse"> & {
516
+ /**
517
+ * List of leased apps.
518
+ *
519
+ * @generated from field: repeated flyteidl2.app.App apps = 1;
520
+ */
521
+ apps: App[];
522
+ };
523
+
524
+ /**
525
+ * Describes the message flyteidl2.app.LeaseResponse.
526
+ * Use `create(LeaseResponseSchema)` to create a new message.
527
+ */
528
+ export const LeaseResponseSchema: GenMessage<LeaseResponse> = /*@__PURE__*/
529
+ messageDesc(file_flyteidl2_app_app_payload, 18);
530
+
@@ -0,0 +1,104 @@
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
2
+ // @generated from file flyteidl2/app/app_service.proto (package flyteidl2.app, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { CreateRequestSchema, CreateResponseSchema, DeleteRequestSchema, DeleteResponseSchema, GetRequestSchema, GetResponseSchema, LeaseRequestSchema, LeaseResponseSchema, ListRequestSchema, ListResponseSchema, UpdateRequestSchema, UpdateResponseSchema, UpdateStatusRequestSchema, UpdateStatusResponseSchema, WatchRequestSchema, WatchResponseSchema } from "./app_payload_pb.ts";
8
+ import { file_flyteidl2_app_app_payload } from "./app_payload_pb.ts";
9
+
10
+ /**
11
+ * Describes the file flyteidl2/app/app_service.proto.
12
+ */
13
+ export const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VpZGwyL2FwcKICA0ZBWKoCDUZseXRlaWRsMi5BcHDKAg1GbHl0ZWlkbDJcQXBw4gIZRmx5dGVpZGwyXEFwcFxHUEJNZXRhZGF0YeoCDkZseXRlaWRsMjo6QXBwYgZwcm90bzM", [file_flyteidl2_app_app_payload]);
15
+
16
+ /**
17
+ * AppService defines the service for managing apps.
18
+ *
19
+ * @generated from service flyteidl2.app.AppService
20
+ */
21
+ export const AppService: GenService<{
22
+ /**
23
+ * Create creates a new app.
24
+ *
25
+ * @generated from rpc flyteidl2.app.AppService.Create
26
+ */
27
+ create: {
28
+ methodKind: "unary";
29
+ input: typeof CreateRequestSchema;
30
+ output: typeof CreateResponseSchema;
31
+ },
32
+ /**
33
+ * Get retrieves an app by its identifier.
34
+ *
35
+ * @generated from rpc flyteidl2.app.AppService.Get
36
+ */
37
+ get: {
38
+ methodKind: "unary";
39
+ input: typeof GetRequestSchema;
40
+ output: typeof GetResponseSchema;
41
+ },
42
+ /**
43
+ * Update updates an existing app.
44
+ *
45
+ * @generated from rpc flyteidl2.app.AppService.Update
46
+ */
47
+ update: {
48
+ methodKind: "unary";
49
+ input: typeof UpdateRequestSchema;
50
+ output: typeof UpdateResponseSchema;
51
+ },
52
+ /**
53
+ * UpdateStatus updates the status of an existing app.
54
+ *
55
+ * @generated from rpc flyteidl2.app.AppService.UpdateStatus
56
+ */
57
+ updateStatus: {
58
+ methodKind: "unary";
59
+ input: typeof UpdateStatusRequestSchema;
60
+ output: typeof UpdateStatusResponseSchema;
61
+ },
62
+ /**
63
+ * Delete deletes an app by its identifier.
64
+ *
65
+ * @generated from rpc flyteidl2.app.AppService.Delete
66
+ */
67
+ delete: {
68
+ methodKind: "unary";
69
+ input: typeof DeleteRequestSchema;
70
+ output: typeof DeleteResponseSchema;
71
+ },
72
+ /**
73
+ * List lists all apps with optional filtering.
74
+ *
75
+ * @generated from rpc flyteidl2.app.AppService.List
76
+ */
77
+ list: {
78
+ methodKind: "unary";
79
+ input: typeof ListRequestSchema;
80
+ output: typeof ListResponseSchema;
81
+ },
82
+ /**
83
+ * Watch watches for app events.
84
+ *
85
+ * @generated from rpc flyteidl2.app.AppService.Watch
86
+ */
87
+ watch: {
88
+ methodKind: "server_streaming";
89
+ input: typeof WatchRequestSchema;
90
+ output: typeof WatchResponseSchema;
91
+ },
92
+ /**
93
+ * Lease leases apps.
94
+ *
95
+ * @generated from rpc flyteidl2.app.AppService.Lease
96
+ */
97
+ lease: {
98
+ methodKind: "server_streaming";
99
+ input: typeof LeaseRequestSchema;
100
+ output: typeof LeaseResponseSchema;
101
+ },
102
+ }> = /*@__PURE__*/
103
+ serviceDesc(file_flyteidl2_app_app_service, 0);
104
+