@helmr/proto 0.1.1-rc.4 → 0.1.1-rc.6
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/dist/gen/bundle_pb.d.ts +66 -0
- package/dist/gen/run_pb.d.ts +24 -202
- package/dist/index.js +25 -33
- package/package.json +1 -1
package/dist/gen/bundle_pb.d.ts
CHANGED
|
@@ -423,6 +423,10 @@ export type Resources = Message<"helmr.bundle.v0.Resources"> & {
|
|
|
423
423
|
* @generated from field: string memory = 2;
|
|
424
424
|
*/
|
|
425
425
|
memory: string;
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: string disk = 3;
|
|
428
|
+
*/
|
|
429
|
+
disk: string;
|
|
426
430
|
};
|
|
427
431
|
/**
|
|
428
432
|
* Describes the message helmr.bundle.v0.Resources.
|
|
@@ -580,9 +584,71 @@ export type TaskSpec = Message<"helmr.bundle.v0.TaskSpec"> & {
|
|
|
580
584
|
* @generated from field: repeated helmr.bundle.v0.SecretPlacement secrets = 6;
|
|
581
585
|
*/
|
|
582
586
|
secrets: SecretPlacement[];
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: helmr.bundle.v0.QueueSpec queue = 7;
|
|
589
|
+
*/
|
|
590
|
+
queue?: QueueSpec;
|
|
591
|
+
/**
|
|
592
|
+
* @generated from field: string ttl = 8;
|
|
593
|
+
*/
|
|
594
|
+
ttl: string;
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: repeated helmr.bundle.v0.TaskScheduleSpec schedules = 9;
|
|
597
|
+
*/
|
|
598
|
+
schedules: TaskScheduleSpec[];
|
|
583
599
|
};
|
|
584
600
|
/**
|
|
585
601
|
* Describes the message helmr.bundle.v0.TaskSpec.
|
|
586
602
|
* Use `create(TaskSpecSchema)` to create a new message.
|
|
587
603
|
*/
|
|
588
604
|
export declare const TaskSpecSchema: GenMessage<TaskSpec>;
|
|
605
|
+
/**
|
|
606
|
+
* @generated from message helmr.bundle.v0.QueueSpec
|
|
607
|
+
*/
|
|
608
|
+
export type QueueSpec = Message<"helmr.bundle.v0.QueueSpec"> & {
|
|
609
|
+
/**
|
|
610
|
+
* @generated from field: string name = 1;
|
|
611
|
+
*/
|
|
612
|
+
name: string;
|
|
613
|
+
/**
|
|
614
|
+
* @generated from field: optional uint32 concurrency_limit = 2;
|
|
615
|
+
*/
|
|
616
|
+
concurrencyLimit?: number;
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* Describes the message helmr.bundle.v0.QueueSpec.
|
|
620
|
+
* Use `create(QueueSpecSchema)` to create a new message.
|
|
621
|
+
*/
|
|
622
|
+
export declare const QueueSpecSchema: GenMessage<QueueSpec>;
|
|
623
|
+
/**
|
|
624
|
+
* @generated from message helmr.bundle.v0.TaskScheduleSpec
|
|
625
|
+
*/
|
|
626
|
+
export type TaskScheduleSpec = Message<"helmr.bundle.v0.TaskScheduleSpec"> & {
|
|
627
|
+
/**
|
|
628
|
+
* @generated from field: string id = 1;
|
|
629
|
+
*/
|
|
630
|
+
id: string;
|
|
631
|
+
/**
|
|
632
|
+
* @generated from field: string cron = 2;
|
|
633
|
+
*/
|
|
634
|
+
cron: string;
|
|
635
|
+
/**
|
|
636
|
+
* @generated from field: string timezone = 3;
|
|
637
|
+
*/
|
|
638
|
+
timezone: string;
|
|
639
|
+
/**
|
|
640
|
+
* @generated from field: optional bool active = 4;
|
|
641
|
+
*/
|
|
642
|
+
active?: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* @generated from field: map<string, string> secret_bindings = 5;
|
|
645
|
+
*/
|
|
646
|
+
secretBindings: {
|
|
647
|
+
[key: string]: string;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
/**
|
|
651
|
+
* Describes the message helmr.bundle.v0.TaskScheduleSpec.
|
|
652
|
+
* Use `create(TaskScheduleSpecSchema)` to create a new message.
|
|
653
|
+
*/
|
|
654
|
+
export declare const TaskScheduleSpecSchema: GenMessage<TaskScheduleSpec>;
|
package/dist/gen/run_pb.d.ts
CHANGED
|
@@ -4,105 +4,6 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
4
4
|
* Describes the file run.proto.
|
|
5
5
|
*/
|
|
6
6
|
export declare const file_run: GenFile;
|
|
7
|
-
/**
|
|
8
|
-
* @generated from message helmr.run.v0.GitHubPullRequestMetadata
|
|
9
|
-
*/
|
|
10
|
-
export type GitHubPullRequestMetadata = Message<"helmr.run.v0.GitHubPullRequestMetadata"> & {
|
|
11
|
-
/**
|
|
12
|
-
* @generated from field: int32 number = 1;
|
|
13
|
-
*/
|
|
14
|
-
number: number;
|
|
15
|
-
/**
|
|
16
|
-
* @generated from field: string base_ref = 2;
|
|
17
|
-
*/
|
|
18
|
-
baseRef: string;
|
|
19
|
-
/**
|
|
20
|
-
* @generated from field: string base_sha = 3;
|
|
21
|
-
*/
|
|
22
|
-
baseSha: string;
|
|
23
|
-
/**
|
|
24
|
-
* @generated from field: string head_ref = 4;
|
|
25
|
-
*/
|
|
26
|
-
headRef: string;
|
|
27
|
-
/**
|
|
28
|
-
* @generated from field: string head_sha = 5;
|
|
29
|
-
*/
|
|
30
|
-
headSha: string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Describes the message helmr.run.v0.GitHubPullRequestMetadata.
|
|
34
|
-
* Use `create(GitHubPullRequestMetadataSchema)` to create a new message.
|
|
35
|
-
*/
|
|
36
|
-
export declare const GitHubPullRequestMetadataSchema: GenMessage<GitHubPullRequestMetadata>;
|
|
37
|
-
/**
|
|
38
|
-
* @generated from message helmr.run.v0.RunTaskGitHubSource
|
|
39
|
-
*/
|
|
40
|
-
export type RunTaskGitHubSource = Message<"helmr.run.v0.RunTaskGitHubSource"> & {
|
|
41
|
-
/**
|
|
42
|
-
* @generated from field: string repository = 1;
|
|
43
|
-
*/
|
|
44
|
-
repository: string;
|
|
45
|
-
/**
|
|
46
|
-
* @generated from field: string requested_ref = 2;
|
|
47
|
-
*/
|
|
48
|
-
requestedRef: string;
|
|
49
|
-
/**
|
|
50
|
-
* @generated from field: string resolved_sha = 3;
|
|
51
|
-
*/
|
|
52
|
-
resolvedSha: string;
|
|
53
|
-
/**
|
|
54
|
-
* @generated from field: optional string ref_kind = 4;
|
|
55
|
-
*/
|
|
56
|
-
refKind?: string;
|
|
57
|
-
/**
|
|
58
|
-
* @generated from field: optional string ref_name = 5;
|
|
59
|
-
*/
|
|
60
|
-
refName?: string;
|
|
61
|
-
/**
|
|
62
|
-
* @generated from field: optional string full_ref = 6;
|
|
63
|
-
*/
|
|
64
|
-
fullRef?: string;
|
|
65
|
-
/**
|
|
66
|
-
* @generated from field: optional string subpath = 7;
|
|
67
|
-
*/
|
|
68
|
-
subpath?: string;
|
|
69
|
-
/**
|
|
70
|
-
* @generated from field: optional string default_branch = 8;
|
|
71
|
-
*/
|
|
72
|
-
defaultBranch?: string;
|
|
73
|
-
/**
|
|
74
|
-
* @generated from field: optional helmr.run.v0.GitHubPullRequestMetadata pull_request = 9;
|
|
75
|
-
*/
|
|
76
|
-
pullRequest?: GitHubPullRequestMetadata;
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* Describes the message helmr.run.v0.RunTaskGitHubSource.
|
|
80
|
-
* Use `create(RunTaskGitHubSourceSchema)` to create a new message.
|
|
81
|
-
*/
|
|
82
|
-
export declare const RunTaskGitHubSourceSchema: GenMessage<RunTaskGitHubSource>;
|
|
83
|
-
/**
|
|
84
|
-
* @generated from message helmr.run.v0.RunTaskSource
|
|
85
|
-
*/
|
|
86
|
-
export type RunTaskSource = Message<"helmr.run.v0.RunTaskSource"> & {
|
|
87
|
-
/**
|
|
88
|
-
* @generated from oneof helmr.run.v0.RunTaskSource.kind
|
|
89
|
-
*/
|
|
90
|
-
kind: {
|
|
91
|
-
/**
|
|
92
|
-
* @generated from field: helmr.run.v0.RunTaskGitHubSource github = 1;
|
|
93
|
-
*/
|
|
94
|
-
value: RunTaskGitHubSource;
|
|
95
|
-
case: "github";
|
|
96
|
-
} | {
|
|
97
|
-
case: undefined;
|
|
98
|
-
value?: undefined;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* Describes the message helmr.run.v0.RunTaskSource.
|
|
103
|
-
* Use `create(RunTaskSourceSchema)` to create a new message.
|
|
104
|
-
*/
|
|
105
|
-
export declare const RunTaskSourceSchema: GenMessage<RunTaskSource>;
|
|
106
7
|
/**
|
|
107
8
|
* @generated from message helmr.run.v0.RunTaskWorkspace
|
|
108
9
|
*/
|
|
@@ -192,11 +93,7 @@ export type RunTaskRequest = Message<"helmr.run.v0.RunTaskRequest"> & {
|
|
|
192
93
|
*/
|
|
193
94
|
payloadJson: string;
|
|
194
95
|
/**
|
|
195
|
-
* @generated from field: helmr.run.v0.
|
|
196
|
-
*/
|
|
197
|
-
source?: RunTaskSource;
|
|
198
|
-
/**
|
|
199
|
-
* @generated from field: helmr.run.v0.RunTaskWorkspace workspace = 9;
|
|
96
|
+
* @generated from field: helmr.run.v0.RunTaskWorkspace workspace = 7;
|
|
200
97
|
*/
|
|
201
98
|
workspace?: RunTaskWorkspace;
|
|
202
99
|
};
|
|
@@ -359,28 +256,22 @@ export type RunEvent = Message<"helmr.run.v0.RunEvent"> & {
|
|
|
359
256
|
case: "logEntry";
|
|
360
257
|
} | {
|
|
361
258
|
/**
|
|
362
|
-
* @generated from field: helmr.run.v0.
|
|
259
|
+
* @generated from field: helmr.run.v0.TaskResult task_result = 4;
|
|
363
260
|
*/
|
|
364
|
-
value:
|
|
365
|
-
case: "
|
|
261
|
+
value: TaskResult;
|
|
262
|
+
case: "taskResult";
|
|
366
263
|
} | {
|
|
367
264
|
/**
|
|
368
|
-
* @generated from field: helmr.run.v0.WaitRequested wait_requested =
|
|
265
|
+
* @generated from field: helmr.run.v0.WaitRequested wait_requested = 5;
|
|
369
266
|
*/
|
|
370
267
|
value: WaitRequested;
|
|
371
268
|
case: "waitRequested";
|
|
372
269
|
} | {
|
|
373
270
|
/**
|
|
374
|
-
* @generated from field: helmr.run.v0.EmitEvent emit_event =
|
|
271
|
+
* @generated from field: helmr.run.v0.EmitEvent emit_event = 6;
|
|
375
272
|
*/
|
|
376
273
|
value: EmitEvent;
|
|
377
274
|
case: "emitEvent";
|
|
378
|
-
} | {
|
|
379
|
-
/**
|
|
380
|
-
* @generated from field: helmr.run.v0.TaskOutcome task_outcome = 10;
|
|
381
|
-
*/
|
|
382
|
-
value: TaskOutcome;
|
|
383
|
-
case: "taskOutcome";
|
|
384
275
|
} | {
|
|
385
276
|
case: undefined;
|
|
386
277
|
value?: undefined;
|
|
@@ -392,31 +283,9 @@ export type RunEvent = Message<"helmr.run.v0.RunEvent"> & {
|
|
|
392
283
|
*/
|
|
393
284
|
export declare const RunEventSchema: GenMessage<RunEvent>;
|
|
394
285
|
/**
|
|
395
|
-
* @generated from message helmr.run.v0.
|
|
396
|
-
*/
|
|
397
|
-
export type TaskComplete = Message<"helmr.run.v0.TaskComplete"> & {
|
|
398
|
-
/**
|
|
399
|
-
* @generated from field: int32 exit_code = 1;
|
|
400
|
-
*/
|
|
401
|
-
exitCode: number;
|
|
402
|
-
/**
|
|
403
|
-
* @generated from field: optional string error_message = 2;
|
|
404
|
-
*/
|
|
405
|
-
errorMessage?: string;
|
|
406
|
-
/**
|
|
407
|
-
* @generated from field: optional string output_json = 3;
|
|
408
|
-
*/
|
|
409
|
-
outputJson?: string;
|
|
410
|
-
};
|
|
411
|
-
/**
|
|
412
|
-
* Describes the message helmr.run.v0.TaskComplete.
|
|
413
|
-
* Use `create(TaskCompleteSchema)` to create a new message.
|
|
286
|
+
* @generated from message helmr.run.v0.TaskResult
|
|
414
287
|
*/
|
|
415
|
-
export
|
|
416
|
-
/**
|
|
417
|
-
* @generated from message helmr.run.v0.TaskOutcome
|
|
418
|
-
*/
|
|
419
|
-
export type TaskOutcome = Message<"helmr.run.v0.TaskOutcome"> & {
|
|
288
|
+
export type TaskResult = Message<"helmr.run.v0.TaskResult"> & {
|
|
420
289
|
/**
|
|
421
290
|
* @generated from field: int32 exit_code = 1;
|
|
422
291
|
*/
|
|
@@ -431,10 +300,10 @@ export type TaskOutcome = Message<"helmr.run.v0.TaskOutcome"> & {
|
|
|
431
300
|
outputJson?: string;
|
|
432
301
|
};
|
|
433
302
|
/**
|
|
434
|
-
* Describes the message helmr.run.v0.
|
|
435
|
-
* Use `create(
|
|
303
|
+
* Describes the message helmr.run.v0.TaskResult.
|
|
304
|
+
* Use `create(TaskResultSchema)` to create a new message.
|
|
436
305
|
*/
|
|
437
|
-
export declare const
|
|
306
|
+
export declare const TaskResultSchema: GenMessage<TaskResult>;
|
|
438
307
|
/**
|
|
439
308
|
* @generated from message helmr.run.v0.WaitRequested
|
|
440
309
|
*/
|
|
@@ -444,74 +313,31 @@ export type WaitRequested = Message<"helmr.run.v0.WaitRequested"> & {
|
|
|
444
313
|
*/
|
|
445
314
|
correlationId: string;
|
|
446
315
|
/**
|
|
447
|
-
* @generated from
|
|
448
|
-
*/
|
|
449
|
-
kind: {
|
|
450
|
-
/**
|
|
451
|
-
* @generated from field: helmr.run.v0.ApprovalWait approval = 2;
|
|
452
|
-
*/
|
|
453
|
-
value: ApprovalWait;
|
|
454
|
-
case: "approval";
|
|
455
|
-
} | {
|
|
456
|
-
/**
|
|
457
|
-
* @generated from field: helmr.run.v0.MessageWait message = 3;
|
|
458
|
-
*/
|
|
459
|
-
value: MessageWait;
|
|
460
|
-
case: "message";
|
|
461
|
-
} | {
|
|
462
|
-
case: undefined;
|
|
463
|
-
value?: undefined;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
/**
|
|
467
|
-
* Describes the message helmr.run.v0.WaitRequested.
|
|
468
|
-
* Use `create(WaitRequestedSchema)` to create a new message.
|
|
469
|
-
*/
|
|
470
|
-
export declare const WaitRequestedSchema: GenMessage<WaitRequested>;
|
|
471
|
-
/**
|
|
472
|
-
* @generated from message helmr.run.v0.ApprovalWait
|
|
473
|
-
*/
|
|
474
|
-
export type ApprovalWait = Message<"helmr.run.v0.ApprovalWait"> & {
|
|
475
|
-
/**
|
|
476
|
-
* @generated from field: string message = 1;
|
|
477
|
-
*/
|
|
478
|
-
message: string;
|
|
479
|
-
/**
|
|
480
|
-
* @generated from field: optional uint32 timeout = 2;
|
|
316
|
+
* @generated from field: string kind = 2;
|
|
481
317
|
*/
|
|
482
|
-
|
|
318
|
+
kind: string;
|
|
483
319
|
/**
|
|
484
|
-
* @generated from field:
|
|
320
|
+
* @generated from field: string request_json = 3;
|
|
485
321
|
*/
|
|
486
|
-
|
|
487
|
-
};
|
|
488
|
-
/**
|
|
489
|
-
* Describes the message helmr.run.v0.ApprovalWait.
|
|
490
|
-
* Use `create(ApprovalWaitSchema)` to create a new message.
|
|
491
|
-
*/
|
|
492
|
-
export declare const ApprovalWaitSchema: GenMessage<ApprovalWait>;
|
|
493
|
-
/**
|
|
494
|
-
* @generated from message helmr.run.v0.MessageWait
|
|
495
|
-
*/
|
|
496
|
-
export type MessageWait = Message<"helmr.run.v0.MessageWait"> & {
|
|
322
|
+
requestJson: string;
|
|
497
323
|
/**
|
|
498
|
-
* @generated from field: optional string
|
|
324
|
+
* @generated from field: optional string display_text = 4;
|
|
499
325
|
*/
|
|
500
|
-
|
|
326
|
+
displayText?: string;
|
|
501
327
|
/**
|
|
502
|
-
* @generated from field: optional uint32 timeout =
|
|
328
|
+
* @generated from field: optional uint32 timeout = 5;
|
|
503
329
|
*/
|
|
504
330
|
timeout?: number;
|
|
505
331
|
/**
|
|
506
|
-
* @generated from field: optional string policy =
|
|
332
|
+
* @generated from field: optional string policy = 6;
|
|
507
333
|
*/
|
|
508
334
|
policy?: string;
|
|
509
335
|
};
|
|
510
336
|
/**
|
|
511
|
-
* Describes the message helmr.run.v0.
|
|
512
|
-
* Use `create(
|
|
337
|
+
* Describes the message helmr.run.v0.WaitRequested.
|
|
338
|
+
* Use `create(WaitRequestedSchema)` to create a new message.
|
|
513
339
|
*/
|
|
514
|
-
export declare const
|
|
340
|
+
export declare const WaitRequestedSchema: GenMessage<WaitRequested>;
|
|
515
341
|
/**
|
|
516
342
|
* @generated from message helmr.run.v0.SuspendForCheckpoint
|
|
517
343
|
*/
|
|
@@ -583,13 +409,9 @@ export type ResumeDecision = Message<"helmr.run.v0.ResumeDecision"> & {
|
|
|
583
409
|
*/
|
|
584
410
|
kind: string;
|
|
585
411
|
/**
|
|
586
|
-
* @generated from field: string
|
|
587
|
-
*/
|
|
588
|
-
resolutionPayloadJson: string;
|
|
589
|
-
/**
|
|
590
|
-
* @generated from field: bool timed_out = 4;
|
|
412
|
+
* @generated from field: string resume_payload_json = 3;
|
|
591
413
|
*/
|
|
592
|
-
|
|
414
|
+
resumePayloadJson: string;
|
|
593
415
|
};
|
|
594
416
|
/**
|
|
595
417
|
* Describes the message helmr.run.v0.ResumeDecision.
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __export = (target, all) => {
|
|
|
15
15
|
|
|
16
16
|
// proto/typescript/src/gen/bundle_pb.ts
|
|
17
17
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
18
|
-
var file_bundle = /* @__PURE__ */ fileDesc("
|
|
18
|
+
var file_bundle = /* @__PURE__ */ fileDesc("CgxidW5kbGUucHJvdG8SD2hlbG1yLmJ1bmRsZS52MCKVAgoGQnVuZGxlEikKBWltYWdlGAEgASgLMhouaGVsbXIuYnVuZGxlLnYwLkltYWdlU3BlYxItCgdzYW5kYm94GAIgASgLMhwuaGVsbXIuYnVuZGxlLnYwLlNhbmRib3hTcGVjEicKBHRhc2sYAyABKAsyGS5oZWxtci5idW5kbGUudjAuVGFza1NwZWMSOgoKc3ViX2ltYWdlcxgEIAMoCzImLmhlbG1yLmJ1bmRsZS52MC5CdW5kbGUuU3ViSW1hZ2VzRW50cnkaTAoOU3ViSW1hZ2VzRW50cnkSCwoDa2V5GAEgASgJEikKBXZhbHVlGAIgASgLMhouaGVsbXIuYnVuZGxlLnYwLkltYWdlU3BlYzoCOAEiLAoIUGxhdGZvcm0SCgoCb3MYASABKAkSFA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RITCgZhY3RpdmUYBCABKAhIAIgBARJOCg9zZWNyZXRfYmluZGluZ3MYBSADKAsyNS5oZWxtci5idW5kbGUudjAuVGFza1NjaGVkdWxlU3BlYy5TZWNyZXRCaW5kaW5nc0VudHJ5GjUKE1NlY3JldEJpbmRpbmdzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIJCgdfYWN0aXZlQkBaPmdpdGh1Yi5jb20vaGVsbXJkb3RkZXYvaGVsbXIvaW50ZXJuYWwvcHJvdG8vYnVuZGxlL3YwO2J1bmRsZXYwYgZwcm90bzM");
|
|
19
19
|
var BundleSchema = /* @__PURE__ */ messageDesc(file_bundle, 0);
|
|
20
20
|
var PlatformSchema = /* @__PURE__ */ messageDesc(file_bundle, 1);
|
|
21
21
|
var ImageSpecSchema = /* @__PURE__ */ messageDesc(file_bundle, 2);
|
|
@@ -42,59 +42,49 @@ var EnvPlacementSchema = /* @__PURE__ */ messageDesc(file_bundle, 22);
|
|
|
42
42
|
var FilePlacementSchema = /* @__PURE__ */ messageDesc(file_bundle, 23);
|
|
43
43
|
var DirPlacementSchema = /* @__PURE__ */ messageDesc(file_bundle, 24);
|
|
44
44
|
var TaskSpecSchema = /* @__PURE__ */ messageDesc(file_bundle, 25);
|
|
45
|
+
var QueueSpecSchema = /* @__PURE__ */ messageDesc(file_bundle, 26);
|
|
46
|
+
var TaskScheduleSpecSchema = /* @__PURE__ */ messageDesc(file_bundle, 27);
|
|
45
47
|
// proto/typescript/src/gen/run_pb.ts
|
|
46
48
|
var exports_run_pb = {};
|
|
47
49
|
__export(exports_run_pb, {
|
|
48
50
|
file_run: () => file_run,
|
|
49
51
|
WorkspaceArtifactSchema: () => WorkspaceArtifactSchema,
|
|
50
52
|
WaitRequestedSchema: () => WaitRequestedSchema,
|
|
51
|
-
|
|
52
|
-
TaskCompleteSchema: () => TaskCompleteSchema,
|
|
53
|
+
TaskResultSchema: () => TaskResultSchema,
|
|
53
54
|
SuspendForCheckpointSchema: () => SuspendForCheckpointSchema,
|
|
54
55
|
SecretInjectSchema: () => SecretInjectSchema,
|
|
55
56
|
RunTaskWorkspaceSchema: () => RunTaskWorkspaceSchema,
|
|
56
|
-
RunTaskSourceSchema: () => RunTaskSourceSchema,
|
|
57
57
|
RunTaskRequestSchema: () => RunTaskRequestSchema,
|
|
58
|
-
RunTaskGitHubSourceSchema: () => RunTaskGitHubSourceSchema,
|
|
59
58
|
RunEventSchema: () => RunEventSchema,
|
|
60
59
|
ResumeDecisionSchema: () => ResumeDecisionSchema,
|
|
61
60
|
ResumeAttachSchema: () => ResumeAttachSchema,
|
|
62
61
|
ResumeAckSchema: () => ResumeAckSchema,
|
|
63
62
|
PlacementSchema: () => PlacementSchema2,
|
|
64
63
|
PauseReadySchema: () => PauseReadySchema,
|
|
65
|
-
MessageWaitSchema: () => MessageWaitSchema,
|
|
66
|
-
GitHubPullRequestMetadataSchema: () => GitHubPullRequestMetadataSchema,
|
|
67
64
|
FilePlacementSchema: () => FilePlacementSchema2,
|
|
68
65
|
EnvPlacementSchema: () => EnvPlacementSchema2,
|
|
69
66
|
EmitEventSchema: () => EmitEventSchema,
|
|
70
|
-
DirPlacementSchema: () => DirPlacementSchema2
|
|
71
|
-
ApprovalWaitSchema: () => ApprovalWaitSchema
|
|
67
|
+
DirPlacementSchema: () => DirPlacementSchema2
|
|
72
68
|
});
|
|
73
69
|
import { fileDesc as fileDesc2, messageDesc as messageDesc2 } from "@bufbuild/protobuf/codegenv2";
|
|
74
|
-
var file_run = /* @__PURE__ */ fileDesc2("
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
var
|
|
78
|
-
var
|
|
79
|
-
var
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
var
|
|
83
|
-
var
|
|
84
|
-
var
|
|
85
|
-
var
|
|
86
|
-
var
|
|
87
|
-
var
|
|
88
|
-
var
|
|
89
|
-
var
|
|
90
|
-
var
|
|
91
|
-
var
|
|
92
|
-
var SuspendForCheckpointSchema = /* @__PURE__ */ messageDesc2(file_run, 17);
|
|
93
|
-
var PauseReadySchema = /* @__PURE__ */ messageDesc2(file_run, 18);
|
|
94
|
-
var ResumeAttachSchema = /* @__PURE__ */ messageDesc2(file_run, 19);
|
|
95
|
-
var ResumeDecisionSchema = /* @__PURE__ */ messageDesc2(file_run, 20);
|
|
96
|
-
var ResumeAckSchema = /* @__PURE__ */ messageDesc2(file_run, 21);
|
|
97
|
-
var EmitEventSchema = /* @__PURE__ */ messageDesc2(file_run, 22);
|
|
70
|
+
var file_run = /* @__PURE__ */ fileDesc2("CglydW4ucHJvdG8SDGhlbG1yLnJ1bi52MCKQAQoQUnVuVGFza1dvcmtzcGFjZRIMCgRwYXRoGAEgASgJEhQKDHByb2plY3RfcGF0aBgCIAEoCRIxCghhcnRpZmFjdBgDIAEoCzIfLmhlbG1yLnJ1bi52MC5Xb3Jrc3BhY2VBcnRpZmFjdBITCgt2b2x1bWVfa2luZBgEIAEoCRIQCgh3cml0YWJsZRgFIAEoCCJyChFXb3Jrc3BhY2VBcnRpZmFjdBIOCgZkaWdlc3QYASABKAkSEgoKbWVkaWFfdHlwZRgCIAEoCRIQCghlbmNvZGluZxgDIAEoCRISCgpzaXplX2J5dGVzGAQgASgEEhMKC2VudHJ5X2NvdW50GAUgASgNIskBCg5SdW5UYXNrUmVxdWVzdBIPCgd0YXNrX2lkGAEgASgJEhMKC21vZHVsZV9wYXRoGAIgASgJEgsKA2N3ZBgDIAEoCRIrCgdzZWNyZXRzGAQgAygLMhouaGVsbXIucnVuLnYwLlNlY3JldEluamVjdBIOCgZydW5faWQYBSABKAkSFAoMcGF5bG9hZF9qc29uGAYgASgJEjEKCXdvcmtzcGFjZRgHIAEoCzIeLmhlbG1yLnJ1bi52MC5SdW5UYXNrV29ya3NwYWNlIl0KDFNlY3JldEluamVjdBIMCgRuYW1lGAEgASgJEioKCXBsYWNlbWVudBgCIAEoCzIXLmhlbG1yLnJ1bi52MC5QbGFjZW1lbnQSEwoLdmF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zb24YAyABKAkSGQoMZGlzcGxheV90ZXh0GAQgASgJSACIAQESFAoHdGltZW91dBgFIAEoDUgBiAEBEhMKBnBvbGljeRgGIAEoCUgCiAEBQg8KDV9kaXNwbGF5X3RleHRCCgoIX3RpbWVvdXRCCQoHX3BvbGljeSJDChRTdXNwZW5kRm9yQ2hlY2twb2ludBIUCgx3YWl0cG9pbnRfaWQYASABKAkSFQoNY2hlY2twb2ludF9pZBgCIAEoCSI5CgpQYXVzZVJlYWR5EhQKDHdhaXRwb2ludF9pZBgBIAEoCRIVCg1jaGVja3BvaW50X2lkGAIgASgJIk8KDFJlc3VtZUF0dGFjaBIVCg1jaGVja3BvaW50X2lkGAEgASgJEhQKDHdhaXRwb2ludF9pZBgCIAEoCRISCgpzZXNzaW9uX2lkGAMgASgJIlEKDlJlc3VtZURlY2lzaW9uEhQKDHdhaXRwb2ludF9pZBgBIAEoCRIMCgRraW5kGAIgASgJEhsKE3Jlc3VtZV9wYXlsb2FkX2pzb24YAyABKAkiIQoJUmVzdW1lQWNrEhQKDHdhaXRwb2ludF9pZBgBIAEoCSIvCglFbWl0RXZlbnQSDAoEdHlwZRgBIAEoCRIUCgxjb250ZW50X2pzb24YAiABKAlCOlo4Z2l0aHViLmNvbS9oZWxtcmRvdGRldi9oZWxtci9pbnRlcm5hbC9wcm90by9ydW4vdjA7cnVudjBiBnByb3RvMw");
|
|
71
|
+
var RunTaskWorkspaceSchema = /* @__PURE__ */ messageDesc2(file_run, 0);
|
|
72
|
+
var WorkspaceArtifactSchema = /* @__PURE__ */ messageDesc2(file_run, 1);
|
|
73
|
+
var RunTaskRequestSchema = /* @__PURE__ */ messageDesc2(file_run, 2);
|
|
74
|
+
var SecretInjectSchema = /* @__PURE__ */ messageDesc2(file_run, 3);
|
|
75
|
+
var PlacementSchema2 = /* @__PURE__ */ messageDesc2(file_run, 4);
|
|
76
|
+
var EnvPlacementSchema2 = /* @__PURE__ */ messageDesc2(file_run, 5);
|
|
77
|
+
var FilePlacementSchema2 = /* @__PURE__ */ messageDesc2(file_run, 6);
|
|
78
|
+
var DirPlacementSchema2 = /* @__PURE__ */ messageDesc2(file_run, 7);
|
|
79
|
+
var RunEventSchema = /* @__PURE__ */ messageDesc2(file_run, 8);
|
|
80
|
+
var TaskResultSchema = /* @__PURE__ */ messageDesc2(file_run, 9);
|
|
81
|
+
var WaitRequestedSchema = /* @__PURE__ */ messageDesc2(file_run, 10);
|
|
82
|
+
var SuspendForCheckpointSchema = /* @__PURE__ */ messageDesc2(file_run, 11);
|
|
83
|
+
var PauseReadySchema = /* @__PURE__ */ messageDesc2(file_run, 12);
|
|
84
|
+
var ResumeAttachSchema = /* @__PURE__ */ messageDesc2(file_run, 13);
|
|
85
|
+
var ResumeDecisionSchema = /* @__PURE__ */ messageDesc2(file_run, 14);
|
|
86
|
+
var ResumeAckSchema = /* @__PURE__ */ messageDesc2(file_run, 15);
|
|
87
|
+
var EmitEventSchema = /* @__PURE__ */ messageDesc2(file_run, 16);
|
|
98
88
|
export {
|
|
99
89
|
exports_run_pb as runProto,
|
|
100
90
|
file_bundle,
|
|
@@ -102,6 +92,7 @@ export {
|
|
|
102
92
|
WorkdirSchema,
|
|
103
93
|
UserSchema,
|
|
104
94
|
TaskSpecSchema,
|
|
95
|
+
TaskScheduleSpecSchema,
|
|
105
96
|
SourceFileRefSchema,
|
|
106
97
|
SourceDirRefSchema,
|
|
107
98
|
SecretRefSchema,
|
|
@@ -110,6 +101,7 @@ export {
|
|
|
110
101
|
SandboxSpecSchema,
|
|
111
102
|
RunSchema,
|
|
112
103
|
ResourcesSchema,
|
|
104
|
+
QueueSpecSchema,
|
|
113
105
|
PlatformSchema,
|
|
114
106
|
PlacementSchema,
|
|
115
107
|
ImageStepSchema,
|