@alis-build/alis-build-v1 1.17.0 → 1.19.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.
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts,import_extension=js,json_types=true"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=js+dts,import_extension=js,json_types=true"
2
2
  // @generated from file alis/build/v1/repos.proto (package alis.build.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
 
@@ -11,12 +11,16 @@ import type { Message } from "@bufbuild/protobuf";
11
11
  export declare const file_alis_build_v1_repos: GenFile;
12
12
 
13
13
  /**
14
+ * An empty message, returned by RPCs that have no response data.
15
+ *
14
16
  * @generated from message alis.build.v1.Empty
15
17
  */
16
18
  export declare type Empty = Message<"alis.build.v1.Empty"> & {
17
19
  };
18
20
 
19
21
  /**
22
+ * An empty message, returned by RPCs that have no response data.
23
+ *
20
24
  * @generated from message alis.build.v1.Empty
21
25
  */
22
26
  export declare type EmptyJson = {
@@ -29,20 +33,30 @@ export declare type EmptyJson = {
29
33
  export declare const EmptySchema: GenMessage<Empty, {jsonType: EmptyJson}>;
30
34
 
31
35
  /**
36
+ * Request message for `ListRepos`.
37
+ *
32
38
  * @generated from message alis.build.v1.ListReposRequest
33
39
  */
34
40
  export declare type ListReposRequest = Message<"alis.build.v1.ListReposRequest"> & {
35
41
  /**
42
+ * The ID of the landing zone whose repositories to list.
43
+ * E.g. "alistest"
44
+ *
36
45
  * @generated from field: string landing_zone_id = 1;
37
46
  */
38
47
  landingZoneId: string;
39
48
  };
40
49
 
41
50
  /**
51
+ * Request message for `ListRepos`.
52
+ *
42
53
  * @generated from message alis.build.v1.ListReposRequest
43
54
  */
44
55
  export declare type ListReposRequestJson = {
45
56
  /**
57
+ * The ID of the landing zone whose repositories to list.
58
+ * E.g. "alistest"
59
+ *
46
60
  * @generated from field: string landing_zone_id = 1;
47
61
  */
48
62
  landingZoneId?: string;
@@ -55,20 +69,28 @@ export declare type ListReposRequestJson = {
55
69
  export declare const ListReposRequestSchema: GenMessage<ListReposRequest, {jsonType: ListReposRequestJson}>;
56
70
 
57
71
  /**
72
+ * Response message for `ListRepos`.
73
+ *
58
74
  * @generated from message alis.build.v1.ListReposResponse
59
75
  */
60
76
  export declare type ListReposResponse = Message<"alis.build.v1.ListReposResponse"> & {
61
77
  /**
78
+ * The repositories in the landing zone.
79
+ *
62
80
  * @generated from field: repeated alis.build.v1.Repo repos = 1;
63
81
  */
64
82
  repos: Repo[];
65
83
  };
66
84
 
67
85
  /**
86
+ * Response message for `ListRepos`.
87
+ *
68
88
  * @generated from message alis.build.v1.ListReposResponse
69
89
  */
70
90
  export declare type ListReposResponseJson = {
71
91
  /**
92
+ * The repositories in the landing zone.
93
+ *
72
94
  * @generated from field: repeated alis.build.v1.Repo repos = 1;
73
95
  */
74
96
  repos?: RepoJson[];
@@ -81,40 +103,60 @@ export declare type ListReposResponseJson = {
81
103
  export declare const ListReposResponseSchema: GenMessage<ListReposResponse, {jsonType: ListReposResponseJson}>;
82
104
 
83
105
  /**
106
+ * Request message for `CreateBranch`.
107
+ *
84
108
  * @generated from message alis.build.v1.CreateBranchRequest
85
109
  */
86
110
  export declare type CreateBranchRequest = Message<"alis.build.v1.CreateBranchRequest"> & {
87
111
  /**
112
+ * Format: {landing_zone_id}/{repo}
113
+ * E.g. "alistest/proto"
114
+ *
88
115
  * @generated from field: string repo = 1;
89
116
  */
90
117
  repo: string;
91
118
 
92
119
  /**
120
+ * The name of the branch to create.
121
+ * E.g. "feature-x"
122
+ *
93
123
  * @generated from field: string branch = 2;
94
124
  */
95
125
  branch: string;
96
126
 
97
127
  /**
128
+ * The reference to create the branch from, e.g. HEAD or a commit hash.
129
+ *
98
130
  * @generated from field: string ref = 3;
99
131
  */
100
132
  ref: string;
101
133
  };
102
134
 
103
135
  /**
136
+ * Request message for `CreateBranch`.
137
+ *
104
138
  * @generated from message alis.build.v1.CreateBranchRequest
105
139
  */
106
140
  export declare type CreateBranchRequestJson = {
107
141
  /**
142
+ * Format: {landing_zone_id}/{repo}
143
+ * E.g. "alistest/proto"
144
+ *
108
145
  * @generated from field: string repo = 1;
109
146
  */
110
147
  repo?: string;
111
148
 
112
149
  /**
150
+ * The name of the branch to create.
151
+ * E.g. "feature-x"
152
+ *
113
153
  * @generated from field: string branch = 2;
114
154
  */
115
155
  branch?: string;
116
156
 
117
157
  /**
158
+ * The reference to create the branch from, e.g. HEAD or a commit hash.
159
+ *
118
160
  * @generated from field: string ref = 3;
119
161
  */
120
162
  ref?: string;
@@ -127,20 +169,30 @@ export declare type CreateBranchRequestJson = {
127
169
  export declare const CreateBranchRequestSchema: GenMessage<CreateBranchRequest, {jsonType: CreateBranchRequestJson}>;
128
170
 
129
171
  /**
172
+ * A Git repository in a landing zone.
173
+ *
130
174
  * @generated from message alis.build.v1.Repo
131
175
  */
132
176
  export declare type Repo = Message<"alis.build.v1.Repo"> & {
133
177
  /**
178
+ * Format: {landing_zone_id}/{repo}
179
+ * E.g. "alistest/proto"
180
+ *
134
181
  * @generated from field: string name = 1;
135
182
  */
136
183
  name: string;
137
184
  };
138
185
 
139
186
  /**
187
+ * A Git repository in a landing zone.
188
+ *
140
189
  * @generated from message alis.build.v1.Repo
141
190
  */
142
191
  export declare type RepoJson = {
143
192
  /**
193
+ * Format: {landing_zone_id}/{repo}
194
+ * E.g. "alistest/proto"
195
+ *
144
196
  * @generated from field: string name = 1;
145
197
  */
146
198
  name?: string;
@@ -153,40 +205,58 @@ export declare type RepoJson = {
153
205
  export declare const RepoSchema: GenMessage<Repo, {jsonType: RepoJson}>;
154
206
 
155
207
  /**
208
+ * Request message for `ListBranches`.
209
+ *
156
210
  * @generated from message alis.build.v1.ListBranchesRequest
157
211
  */
158
212
  export declare type ListBranchesRequest = Message<"alis.build.v1.ListBranchesRequest"> & {
159
213
  /**
214
+ * Format: {landing_zone_id}/{repo}
215
+ * E.g. "alistest/proto"
216
+ *
160
217
  * @generated from field: string repo = 1;
161
218
  */
162
219
  repo: string;
163
220
 
164
221
  /**
222
+ * The number of branches to return.
223
+ *
165
224
  * @generated from field: int32 limit = 2;
166
225
  */
167
226
  limit: number;
168
227
 
169
228
  /**
229
+ * Which page to return (1-indexed).
230
+ *
170
231
  * @generated from field: int32 page = 3;
171
232
  */
172
233
  page: number;
173
234
  };
174
235
 
175
236
  /**
237
+ * Request message for `ListBranches`.
238
+ *
176
239
  * @generated from message alis.build.v1.ListBranchesRequest
177
240
  */
178
241
  export declare type ListBranchesRequestJson = {
179
242
  /**
243
+ * Format: {landing_zone_id}/{repo}
244
+ * E.g. "alistest/proto"
245
+ *
180
246
  * @generated from field: string repo = 1;
181
247
  */
182
248
  repo?: string;
183
249
 
184
250
  /**
251
+ * The number of branches to return.
252
+ *
185
253
  * @generated from field: int32 limit = 2;
186
254
  */
187
255
  limit?: number;
188
256
 
189
257
  /**
258
+ * Which page to return (1-indexed).
259
+ *
190
260
  * @generated from field: int32 page = 3;
191
261
  */
192
262
  page?: number;
@@ -199,20 +269,28 @@ export declare type ListBranchesRequestJson = {
199
269
  export declare const ListBranchesRequestSchema: GenMessage<ListBranchesRequest, {jsonType: ListBranchesRequestJson}>;
200
270
 
201
271
  /**
272
+ * Response message for `ListBranches`.
273
+ *
202
274
  * @generated from message alis.build.v1.ListBranchesResponse
203
275
  */
204
276
  export declare type ListBranchesResponse = Message<"alis.build.v1.ListBranchesResponse"> & {
205
277
  /**
278
+ * The branches on the requested page.
279
+ *
206
280
  * @generated from field: repeated alis.build.v1.Branch branches = 1;
207
281
  */
208
282
  branches: Branch[];
209
283
  };
210
284
 
211
285
  /**
286
+ * Response message for `ListBranches`.
287
+ *
212
288
  * @generated from message alis.build.v1.ListBranchesResponse
213
289
  */
214
290
  export declare type ListBranchesResponseJson = {
215
291
  /**
292
+ * The branches on the requested page.
293
+ *
216
294
  * @generated from field: repeated alis.build.v1.Branch branches = 1;
217
295
  */
218
296
  branches?: BranchJson[];
@@ -225,20 +303,28 @@ export declare type ListBranchesResponseJson = {
225
303
  export declare const ListBranchesResponseSchema: GenMessage<ListBranchesResponse, {jsonType: ListBranchesResponseJson}>;
226
304
 
227
305
  /**
306
+ * A branch of a repository.
307
+ *
228
308
  * @generated from message alis.build.v1.Branch
229
309
  */
230
310
  export declare type Branch = Message<"alis.build.v1.Branch"> & {
231
311
  /**
312
+ * E.g. "feature-x"
313
+ *
232
314
  * @generated from field: string name = 1;
233
315
  */
234
316
  name: string;
235
317
  };
236
318
 
237
319
  /**
320
+ * A branch of a repository.
321
+ *
238
322
  * @generated from message alis.build.v1.Branch
239
323
  */
240
324
  export declare type BranchJson = {
241
325
  /**
326
+ * E.g. "feature-x"
327
+ *
242
328
  * @generated from field: string name = 1;
243
329
  */
244
330
  name?: string;
@@ -251,30 +337,46 @@ export declare type BranchJson = {
251
337
  export declare const BranchSchema: GenMessage<Branch, {jsonType: BranchJson}>;
252
338
 
253
339
  /**
340
+ * Request message for `DeleteBranch`.
341
+ *
254
342
  * @generated from message alis.build.v1.DeleteBranchRequest
255
343
  */
256
344
  export declare type DeleteBranchRequest = Message<"alis.build.v1.DeleteBranchRequest"> & {
257
345
  /**
346
+ * Format: {landing_zone_id}/{repo}
347
+ * E.g. "alistest/proto"
348
+ *
258
349
  * @generated from field: string repo = 1;
259
350
  */
260
351
  repo: string;
261
352
 
262
353
  /**
354
+ * The name of the branch to delete.
355
+ * E.g. "feature-x"
356
+ *
263
357
  * @generated from field: string branch = 2;
264
358
  */
265
359
  branch: string;
266
360
  };
267
361
 
268
362
  /**
363
+ * Request message for `DeleteBranch`.
364
+ *
269
365
  * @generated from message alis.build.v1.DeleteBranchRequest
270
366
  */
271
367
  export declare type DeleteBranchRequestJson = {
272
368
  /**
369
+ * Format: {landing_zone_id}/{repo}
370
+ * E.g. "alistest/proto"
371
+ *
273
372
  * @generated from field: string repo = 1;
274
373
  */
275
374
  repo?: string;
276
375
 
277
376
  /**
377
+ * The name of the branch to delete.
378
+ * E.g. "feature-x"
379
+ *
278
380
  * @generated from field: string branch = 2;
279
381
  */
280
382
  branch?: string;
@@ -287,50 +389,76 @@ export declare type DeleteBranchRequestJson = {
287
389
  export declare const DeleteBranchRequestSchema: GenMessage<DeleteBranchRequest, {jsonType: DeleteBranchRequestJson}>;
288
390
 
289
391
  /**
392
+ * Request message for `CreateCommit`.
393
+ *
290
394
  * @generated from message alis.build.v1.CreateCommitRequest
291
395
  */
292
396
  export declare type CreateCommitRequest = Message<"alis.build.v1.CreateCommitRequest"> & {
293
397
  /**
398
+ * Format: {landing_zone_id}/{repo}
399
+ * E.g. "alistest/proto"
400
+ *
294
401
  * @generated from field: string repo = 1;
295
402
  */
296
403
  repo: string;
297
404
 
298
405
  /**
406
+ * The branch to commit to.
407
+ * E.g. "feature-x"
408
+ *
299
409
  * @generated from field: string branch = 2;
300
410
  */
301
411
  branch: string;
302
412
 
303
413
  /**
414
+ * The commit message.
415
+ * E.g. "feat: add a new feature"
416
+ *
304
417
  * @generated from field: string message = 3;
305
418
  */
306
419
  message: string;
307
420
 
308
421
  /**
422
+ * The file changes the commit makes.
423
+ *
309
424
  * @generated from field: repeated alis.build.v1.CreateCommitRequest.Operation operations = 4;
310
425
  */
311
426
  operations: CreateCommitRequest_Operation[];
312
427
  };
313
428
 
314
429
  /**
430
+ * Request message for `CreateCommit`.
431
+ *
315
432
  * @generated from message alis.build.v1.CreateCommitRequest
316
433
  */
317
434
  export declare type CreateCommitRequestJson = {
318
435
  /**
436
+ * Format: {landing_zone_id}/{repo}
437
+ * E.g. "alistest/proto"
438
+ *
319
439
  * @generated from field: string repo = 1;
320
440
  */
321
441
  repo?: string;
322
442
 
323
443
  /**
444
+ * The branch to commit to.
445
+ * E.g. "feature-x"
446
+ *
324
447
  * @generated from field: string branch = 2;
325
448
  */
326
449
  branch?: string;
327
450
 
328
451
  /**
452
+ * The commit message.
453
+ * E.g. "feat: add a new feature"
454
+ *
329
455
  * @generated from field: string message = 3;
330
456
  */
331
457
  message?: string;
332
458
 
333
459
  /**
460
+ * The file changes the commit makes.
461
+ *
334
462
  * @generated from field: repeated alis.build.v1.CreateCommitRequest.Operation operations = 4;
335
463
  */
336
464
  operations?: CreateCommitRequest_OperationJson[];
@@ -343,50 +471,70 @@ export declare type CreateCommitRequestJson = {
343
471
  export declare const CreateCommitRequestSchema: GenMessage<CreateCommitRequest, {jsonType: CreateCommitRequestJson}>;
344
472
 
345
473
  /**
474
+ * A change to a single file in a commit.
475
+ *
346
476
  * @generated from message alis.build.v1.CreateCommitRequest.Operation
347
477
  */
348
478
  export declare type CreateCommitRequest_Operation = Message<"alis.build.v1.CreateCommitRequest.Operation"> & {
349
479
  /**
480
+ * Path of the file relative to the repo root.
481
+ *
350
482
  * @generated from field: string path = 1;
351
483
  */
352
484
  path: string;
353
485
 
354
486
  /**
487
+ * Type of operation to perform.
488
+ *
355
489
  * @generated from field: alis.build.v1.CreateCommitRequest.Operation.Type type = 2;
356
490
  */
357
491
  type: CreateCommitRequest_Operation_Type;
358
492
 
359
493
  /**
494
+ * Content to create/update.
495
+ *
360
496
  * @generated from field: string content = 3;
361
497
  */
362
498
  content: string;
363
499
 
364
500
  /**
501
+ * The current sha of the file (not the commit). Only used for UPDATE and DELETE
502
+ *
365
503
  * @generated from field: string current_file_sha = 4;
366
504
  */
367
505
  currentFileSha: string;
368
506
  };
369
507
 
370
508
  /**
509
+ * A change to a single file in a commit.
510
+ *
371
511
  * @generated from message alis.build.v1.CreateCommitRequest.Operation
372
512
  */
373
513
  export declare type CreateCommitRequest_OperationJson = {
374
514
  /**
515
+ * Path of the file relative to the repo root.
516
+ *
375
517
  * @generated from field: string path = 1;
376
518
  */
377
519
  path?: string;
378
520
 
379
521
  /**
522
+ * Type of operation to perform.
523
+ *
380
524
  * @generated from field: alis.build.v1.CreateCommitRequest.Operation.Type type = 2;
381
525
  */
382
526
  type?: CreateCommitRequest_Operation_TypeJson;
383
527
 
384
528
  /**
529
+ * Content to create/update.
530
+ *
385
531
  * @generated from field: string content = 3;
386
532
  */
387
533
  content?: string;
388
534
 
389
535
  /**
536
+ * The current sha of the file (not the commit). Only used for UPDATE and DELETE
537
+ *
390
538
  * @generated from field: string current_file_sha = 4;
391
539
  */
392
540
  currentFileSha?: string;
@@ -399,31 +547,43 @@ export declare type CreateCommitRequest_OperationJson = {
399
547
  export declare const CreateCommitRequest_OperationSchema: GenMessage<CreateCommitRequest_Operation, {jsonType: CreateCommitRequest_OperationJson}>;
400
548
 
401
549
  /**
550
+ * The kind of change an operation makes to a file.
551
+ *
402
552
  * @generated from enum alis.build.v1.CreateCommitRequest.Operation.Type
403
553
  */
404
554
  export enum CreateCommitRequest_Operation_Type {
405
555
  /**
556
+ * Not set. The default value; should not be used.
557
+ *
406
558
  * @generated from enum value: UNSPECIFIED = 0;
407
559
  */
408
560
  UNSPECIFIED = 0,
409
561
 
410
562
  /**
563
+ * Creates a new file at `path` with `content`.
564
+ *
411
565
  * @generated from enum value: CREATE = 1;
412
566
  */
413
567
  CREATE = 1,
414
568
 
415
569
  /**
570
+ * Replaces the content of the existing file at `path` with `content`.
571
+ *
416
572
  * @generated from enum value: UPDATE = 2;
417
573
  */
418
574
  UPDATE = 2,
419
575
 
420
576
  /**
577
+ * Deletes the existing file at `path`.
578
+ *
421
579
  * @generated from enum value: DELETE = 3;
422
580
  */
423
581
  DELETE = 3,
424
582
  }
425
583
 
426
584
  /**
585
+ * The kind of change an operation makes to a file.
586
+ *
427
587
  * @generated from enum alis.build.v1.CreateCommitRequest.Operation.Type
428
588
  */
429
589
  export declare type CreateCommitRequest_Operation_TypeJson = "UNSPECIFIED" | "CREATE" | "UPDATE" | "DELETE";
@@ -434,60 +594,86 @@ export declare type CreateCommitRequest_Operation_TypeJson = "UNSPECIFIED" | "CR
434
594
  export declare const CreateCommitRequest_Operation_TypeSchema: GenEnum<CreateCommitRequest_Operation_Type, CreateCommitRequest_Operation_TypeJson>;
435
595
 
436
596
  /**
597
+ * Request message for `ListCommits`.
598
+ *
437
599
  * @generated from message alis.build.v1.ListCommitsRequest
438
600
  */
439
601
  export declare type ListCommitsRequest = Message<"alis.build.v1.ListCommitsRequest"> & {
440
602
  /**
603
+ * Format: {landing_zone_id}/{repo}
604
+ * E.g. "alistest/proto"
605
+ *
441
606
  * @generated from field: string repo = 1;
442
607
  */
443
608
  repo: string;
444
609
 
445
610
  /**
611
+ * The commit or branch to start from, e.g. "master" or a commit hash.
612
+ *
446
613
  * @generated from field: string start_ref = 2;
447
614
  */
448
615
  startRef: string;
449
616
 
450
617
  /**
618
+ * The repo path to list commits for.
619
+ *
451
620
  * @generated from field: string path = 3;
452
621
  */
453
622
  path: string;
454
623
 
455
624
  /**
625
+ * The number of commits to return.
626
+ *
456
627
  * @generated from field: int32 limit = 4;
457
628
  */
458
629
  limit: number;
459
630
 
460
631
  /**
632
+ * Which page to return (1-indexed).
633
+ *
461
634
  * @generated from field: int32 page = 5;
462
635
  */
463
636
  page: number;
464
637
  };
465
638
 
466
639
  /**
640
+ * Request message for `ListCommits`.
641
+ *
467
642
  * @generated from message alis.build.v1.ListCommitsRequest
468
643
  */
469
644
  export declare type ListCommitsRequestJson = {
470
645
  /**
646
+ * Format: {landing_zone_id}/{repo}
647
+ * E.g. "alistest/proto"
648
+ *
471
649
  * @generated from field: string repo = 1;
472
650
  */
473
651
  repo?: string;
474
652
 
475
653
  /**
654
+ * The commit or branch to start from, e.g. "master" or a commit hash.
655
+ *
476
656
  * @generated from field: string start_ref = 2;
477
657
  */
478
658
  startRef?: string;
479
659
 
480
660
  /**
661
+ * The repo path to list commits for.
662
+ *
481
663
  * @generated from field: string path = 3;
482
664
  */
483
665
  path?: string;
484
666
 
485
667
  /**
668
+ * The number of commits to return.
669
+ *
486
670
  * @generated from field: int32 limit = 4;
487
671
  */
488
672
  limit?: number;
489
673
 
490
674
  /**
675
+ * Which page to return (1-indexed).
676
+ *
491
677
  * @generated from field: int32 page = 5;
492
678
  */
493
679
  page?: number;
@@ -500,20 +686,28 @@ export declare type ListCommitsRequestJson = {
500
686
  export declare const ListCommitsRequestSchema: GenMessage<ListCommitsRequest, {jsonType: ListCommitsRequestJson}>;
501
687
 
502
688
  /**
689
+ * Response message for `ListCommits`.
690
+ *
503
691
  * @generated from message alis.build.v1.ListCommitsResponse
504
692
  */
505
693
  export declare type ListCommitsResponse = Message<"alis.build.v1.ListCommitsResponse"> & {
506
694
  /**
695
+ * The commits on the requested page.
696
+ *
507
697
  * @generated from field: repeated alis.build.v1.Commit commits = 1;
508
698
  */
509
699
  commits: Commit[];
510
700
  };
511
701
 
512
702
  /**
703
+ * Response message for `ListCommits`.
704
+ *
513
705
  * @generated from message alis.build.v1.ListCommitsResponse
514
706
  */
515
707
  export declare type ListCommitsResponseJson = {
516
708
  /**
709
+ * The commits on the requested page.
710
+ *
517
711
  * @generated from field: repeated alis.build.v1.Commit commits = 1;
518
712
  */
519
713
  commits?: CommitJson[];
@@ -526,60 +720,84 @@ export declare type ListCommitsResponseJson = {
526
720
  export declare const ListCommitsResponseSchema: GenMessage<ListCommitsResponse, {jsonType: ListCommitsResponseJson}>;
527
721
 
528
722
  /**
723
+ * A commit in a repository.
724
+ *
529
725
  * @generated from message alis.build.v1.Commit
530
726
  */
531
727
  export declare type Commit = Message<"alis.build.v1.Commit"> & {
532
728
  /**
729
+ * The commit SHA.
730
+ *
533
731
  * @generated from field: string sha = 1;
534
732
  */
535
733
  sha: string;
536
734
 
537
735
  /**
736
+ * The email address of the committer.
737
+ *
538
738
  * @generated from field: string committer_email = 2;
539
739
  */
540
740
  committerEmail: string;
541
741
 
542
742
  /**
743
+ * The time the commit was created.
744
+ *
543
745
  * @generated from field: string created_at = 3;
544
746
  */
545
747
  createdAt: string;
546
748
 
547
749
  /**
750
+ * The commit message.
751
+ *
548
752
  * @generated from field: string message = 4;
549
753
  */
550
754
  message: string;
551
755
 
552
756
  /**
757
+ * The files the commit changed.
758
+ *
553
759
  * @generated from field: repeated alis.build.v1.Commit.Change changes = 5;
554
760
  */
555
761
  changes: Commit_Change[];
556
762
  };
557
763
 
558
764
  /**
765
+ * A commit in a repository.
766
+ *
559
767
  * @generated from message alis.build.v1.Commit
560
768
  */
561
769
  export declare type CommitJson = {
562
770
  /**
771
+ * The commit SHA.
772
+ *
563
773
  * @generated from field: string sha = 1;
564
774
  */
565
775
  sha?: string;
566
776
 
567
777
  /**
778
+ * The email address of the committer.
779
+ *
568
780
  * @generated from field: string committer_email = 2;
569
781
  */
570
782
  committerEmail?: string;
571
783
 
572
784
  /**
785
+ * The time the commit was created.
786
+ *
573
787
  * @generated from field: string created_at = 3;
574
788
  */
575
789
  createdAt?: string;
576
790
 
577
791
  /**
792
+ * The commit message.
793
+ *
578
794
  * @generated from field: string message = 4;
579
795
  */
580
796
  message?: string;
581
797
 
582
798
  /**
799
+ * The files the commit changed.
800
+ *
583
801
  * @generated from field: repeated alis.build.v1.Commit.Change changes = 5;
584
802
  */
585
803
  changes?: Commit_ChangeJson[];
@@ -592,30 +810,46 @@ export declare type CommitJson = {
592
810
  export declare const CommitSchema: GenMessage<Commit, {jsonType: CommitJson}>;
593
811
 
594
812
  /**
813
+ * A file changed by a commit.
814
+ *
595
815
  * @generated from message alis.build.v1.Commit.Change
596
816
  */
597
817
  export declare type Commit_Change = Message<"alis.build.v1.Commit.Change"> & {
598
818
  /**
819
+ * Path of the file relative to the repo root.
820
+ * E.g. "folder/file.proto"
821
+ *
599
822
  * @generated from field: string path = 1;
600
823
  */
601
824
  path: string;
602
825
 
603
826
  /**
827
+ * How the commit changed the file.
828
+ * E.g. added/modified/deleted
829
+ *
604
830
  * @generated from field: string status = 2;
605
831
  */
606
832
  status: string;
607
833
  };
608
834
 
609
835
  /**
836
+ * A file changed by a commit.
837
+ *
610
838
  * @generated from message alis.build.v1.Commit.Change
611
839
  */
612
840
  export declare type Commit_ChangeJson = {
613
841
  /**
842
+ * Path of the file relative to the repo root.
843
+ * E.g. "folder/file.proto"
844
+ *
614
845
  * @generated from field: string path = 1;
615
846
  */
616
847
  path?: string;
617
848
 
618
849
  /**
850
+ * How the commit changed the file.
851
+ * E.g. added/modified/deleted
852
+ *
619
853
  * @generated from field: string status = 2;
620
854
  */
621
855
  status?: string;
@@ -628,40 +862,58 @@ export declare type Commit_ChangeJson = {
628
862
  export declare const Commit_ChangeSchema: GenMessage<Commit_Change, {jsonType: Commit_ChangeJson}>;
629
863
 
630
864
  /**
865
+ * Request message for `ListFiles`.
866
+ *
631
867
  * @generated from message alis.build.v1.ListFilesRequest
632
868
  */
633
869
  export declare type ListFilesRequest = Message<"alis.build.v1.ListFilesRequest"> & {
634
870
  /**
871
+ * Format: {landing_zone_id}/{repo}
872
+ * E.g. "alistest/proto"
873
+ *
635
874
  * @generated from field: string repo = 1;
636
875
  */
637
876
  repo: string;
638
877
 
639
878
  /**
879
+ * The branch or commit to list files for, e.g. HEAD or a commit hash.
880
+ *
640
881
  * @generated from field: string ref = 2;
641
882
  */
642
883
  ref: string;
643
884
 
644
885
  /**
886
+ * The repo path to list files for.
887
+ *
645
888
  * @generated from field: string path = 3;
646
889
  */
647
890
  path: string;
648
891
  };
649
892
 
650
893
  /**
894
+ * Request message for `ListFiles`.
895
+ *
651
896
  * @generated from message alis.build.v1.ListFilesRequest
652
897
  */
653
898
  export declare type ListFilesRequestJson = {
654
899
  /**
900
+ * Format: {landing_zone_id}/{repo}
901
+ * E.g. "alistest/proto"
902
+ *
655
903
  * @generated from field: string repo = 1;
656
904
  */
657
905
  repo?: string;
658
906
 
659
907
  /**
908
+ * The branch or commit to list files for, e.g. HEAD or a commit hash.
909
+ *
660
910
  * @generated from field: string ref = 2;
661
911
  */
662
912
  ref?: string;
663
913
 
664
914
  /**
915
+ * The repo path to list files for.
916
+ *
665
917
  * @generated from field: string path = 3;
666
918
  */
667
919
  path?: string;
@@ -674,20 +926,28 @@ export declare type ListFilesRequestJson = {
674
926
  export declare const ListFilesRequestSchema: GenMessage<ListFilesRequest, {jsonType: ListFilesRequestJson}>;
675
927
 
676
928
  /**
929
+ * Response message for `ListFiles`.
930
+ *
677
931
  * @generated from message alis.build.v1.ListFilesResponse
678
932
  */
679
933
  export declare type ListFilesResponse = Message<"alis.build.v1.ListFilesResponse"> & {
680
934
  /**
935
+ * The files under the requested path.
936
+ *
681
937
  * @generated from field: repeated alis.build.v1.ListFilesResponse.File files = 1;
682
938
  */
683
939
  files: ListFilesResponse_File[];
684
940
  };
685
941
 
686
942
  /**
943
+ * Response message for `ListFiles`.
944
+ *
687
945
  * @generated from message alis.build.v1.ListFilesResponse
688
946
  */
689
947
  export declare type ListFilesResponseJson = {
690
948
  /**
949
+ * The files under the requested path.
950
+ *
691
951
  * @generated from field: repeated alis.build.v1.ListFilesResponse.File files = 1;
692
952
  */
693
953
  files?: ListFilesResponse_FileJson[];
@@ -700,30 +960,44 @@ export declare type ListFilesResponseJson = {
700
960
  export declare const ListFilesResponseSchema: GenMessage<ListFilesResponse, {jsonType: ListFilesResponseJson}>;
701
961
 
702
962
  /**
963
+ * A file in a repository.
964
+ *
703
965
  * @generated from message alis.build.v1.ListFilesResponse.File
704
966
  */
705
967
  export declare type ListFilesResponse_File = Message<"alis.build.v1.ListFilesResponse.File"> & {
706
968
  /**
969
+ * Path of the file relative to the repo root.
970
+ * E.g. "folder/file.proto"
971
+ *
707
972
  * @generated from field: string path = 1;
708
973
  */
709
974
  path: string;
710
975
 
711
976
  /**
977
+ * The sha of the file (not the commit).
978
+ *
712
979
  * @generated from field: string sha = 2;
713
980
  */
714
981
  sha: string;
715
982
  };
716
983
 
717
984
  /**
985
+ * A file in a repository.
986
+ *
718
987
  * @generated from message alis.build.v1.ListFilesResponse.File
719
988
  */
720
989
  export declare type ListFilesResponse_FileJson = {
721
990
  /**
991
+ * Path of the file relative to the repo root.
992
+ * E.g. "folder/file.proto"
993
+ *
722
994
  * @generated from field: string path = 1;
723
995
  */
724
996
  path?: string;
725
997
 
726
998
  /**
999
+ * The sha of the file (not the commit).
1000
+ *
727
1001
  * @generated from field: string sha = 2;
728
1002
  */
729
1003
  sha?: string;
@@ -736,40 +1010,60 @@ export declare type ListFilesResponse_FileJson = {
736
1010
  export declare const ListFilesResponse_FileSchema: GenMessage<ListFilesResponse_File, {jsonType: ListFilesResponse_FileJson}>;
737
1011
 
738
1012
  /**
1013
+ * Request message for `ViewFile`.
1014
+ *
739
1015
  * @generated from message alis.build.v1.ViewFileRequest
740
1016
  */
741
1017
  export declare type ViewFileRequest = Message<"alis.build.v1.ViewFileRequest"> & {
742
1018
  /**
1019
+ * Format: {landing_zone_id}/{repo}
1020
+ * E.g. "alistest/proto"
1021
+ *
743
1022
  * @generated from field: string repo = 1;
744
1023
  */
745
1024
  repo: string;
746
1025
 
747
1026
  /**
1027
+ * The branch or commit at which to view the file for, e.g. HEAD or a commit hash.
1028
+ *
748
1029
  * @generated from field: string ref = 2;
749
1030
  */
750
1031
  ref: string;
751
1032
 
752
1033
  /**
1034
+ * Path of the file to view, relative to the repo root.
1035
+ * E.g. "folder/file.proto"
1036
+ *
753
1037
  * @generated from field: string path = 3;
754
1038
  */
755
1039
  path: string;
756
1040
  };
757
1041
 
758
1042
  /**
1043
+ * Request message for `ViewFile`.
1044
+ *
759
1045
  * @generated from message alis.build.v1.ViewFileRequest
760
1046
  */
761
1047
  export declare type ViewFileRequestJson = {
762
1048
  /**
1049
+ * Format: {landing_zone_id}/{repo}
1050
+ * E.g. "alistest/proto"
1051
+ *
763
1052
  * @generated from field: string repo = 1;
764
1053
  */
765
1054
  repo?: string;
766
1055
 
767
1056
  /**
1057
+ * The branch or commit at which to view the file for, e.g. HEAD or a commit hash.
1058
+ *
768
1059
  * @generated from field: string ref = 2;
769
1060
  */
770
1061
  ref?: string;
771
1062
 
772
1063
  /**
1064
+ * Path of the file to view, relative to the repo root.
1065
+ * E.g. "folder/file.proto"
1066
+ *
773
1067
  * @generated from field: string path = 3;
774
1068
  */
775
1069
  path?: string;
@@ -782,30 +1076,42 @@ export declare type ViewFileRequestJson = {
782
1076
  export declare const ViewFileRequestSchema: GenMessage<ViewFileRequest, {jsonType: ViewFileRequestJson}>;
783
1077
 
784
1078
  /**
1079
+ * Response message for `ViewFile`.
1080
+ *
785
1081
  * @generated from message alis.build.v1.ViewFileResponse
786
1082
  */
787
1083
  export declare type ViewFileResponse = Message<"alis.build.v1.ViewFileResponse"> & {
788
1084
  /**
1085
+ * The actual file content.
1086
+ *
789
1087
  * @generated from field: string content = 1;
790
1088
  */
791
1089
  content: string;
792
1090
 
793
1091
  /**
1092
+ * The sha of the file (not the commit).
1093
+ *
794
1094
  * @generated from field: string sha = 2;
795
1095
  */
796
1096
  sha: string;
797
1097
  };
798
1098
 
799
1099
  /**
1100
+ * Response message for `ViewFile`.
1101
+ *
800
1102
  * @generated from message alis.build.v1.ViewFileResponse
801
1103
  */
802
1104
  export declare type ViewFileResponseJson = {
803
1105
  /**
1106
+ * The actual file content.
1107
+ *
804
1108
  * @generated from field: string content = 1;
805
1109
  */
806
1110
  content?: string;
807
1111
 
808
1112
  /**
1113
+ * The sha of the file (not the commit).
1114
+ *
809
1115
  * @generated from field: string sha = 2;
810
1116
  */
811
1117
  sha?: string;
@@ -818,10 +1124,15 @@ export declare type ViewFileResponseJson = {
818
1124
  export declare const ViewFileResponseSchema: GenMessage<ViewFileResponse, {jsonType: ViewFileResponseJson}>;
819
1125
 
820
1126
  /**
1127
+ * Manages the Git repositories of a landing zone: their branches, commits
1128
+ * and files.
1129
+ *
821
1130
  * @generated from service alis.build.v1.Repos
822
1131
  */
823
1132
  export declare const Repos: GenService<{
824
1133
  /**
1134
+ * Lists the repositories in a landing zone.
1135
+ *
825
1136
  * @generated from rpc alis.build.v1.Repos.ListRepos
826
1137
  */
827
1138
  listRepos: {
@@ -830,6 +1141,8 @@ export declare const Repos: GenService<{
830
1141
  output: typeof ListReposResponseSchema;
831
1142
  },
832
1143
  /**
1144
+ * Creates a branch in a repository, starting from an existing ref.
1145
+ *
833
1146
  * @generated from rpc alis.build.v1.Repos.CreateBranch
834
1147
  */
835
1148
  createBranch: {
@@ -838,6 +1151,9 @@ export declare const Repos: GenService<{
838
1151
  output: typeof EmptySchema;
839
1152
  },
840
1153
  /**
1154
+ * Lists the branches of a repository. Paginated with `limit` and a
1155
+ * 1-indexed `page`.
1156
+ *
841
1157
  * @generated from rpc alis.build.v1.Repos.ListBranches
842
1158
  */
843
1159
  listBranches: {
@@ -846,6 +1162,8 @@ export declare const Repos: GenService<{
846
1162
  output: typeof ListBranchesResponseSchema;
847
1163
  },
848
1164
  /**
1165
+ * Deletes a branch from a repository.
1166
+ *
849
1167
  * @generated from rpc alis.build.v1.Repos.DeleteBranch
850
1168
  */
851
1169
  deleteBranch: {
@@ -854,6 +1172,9 @@ export declare const Repos: GenService<{
854
1172
  output: typeof EmptySchema;
855
1173
  },
856
1174
  /**
1175
+ * Creates a commit on a branch that creates, updates or deletes the files
1176
+ * listed in `operations`.
1177
+ *
857
1178
  * @generated from rpc alis.build.v1.Repos.CreateCommit
858
1179
  */
859
1180
  createCommit: {
@@ -862,6 +1183,9 @@ export declare const Repos: GenService<{
862
1183
  output: typeof EmptySchema;
863
1184
  },
864
1185
  /**
1186
+ * Lists the commits of a repository starting from `start_ref`, optionally
1187
+ * limited to a path. Paginated with `limit` and a 1-indexed `page`.
1188
+ *
865
1189
  * @generated from rpc alis.build.v1.Repos.ListCommits
866
1190
  */
867
1191
  listCommits: {
@@ -870,6 +1194,8 @@ export declare const Repos: GenService<{
870
1194
  output: typeof ListCommitsResponseSchema;
871
1195
  },
872
1196
  /**
1197
+ * Lists the files under a path of a repository at a given ref.
1198
+ *
873
1199
  * @generated from rpc alis.build.v1.Repos.ListFiles
874
1200
  */
875
1201
  listFiles: {
@@ -878,6 +1204,8 @@ export declare const Repos: GenService<{
878
1204
  output: typeof ListFilesResponseSchema;
879
1205
  },
880
1206
  /**
1207
+ * Returns the content and SHA of a single file at a given ref.
1208
+ *
881
1209
  * @generated from rpc alis.build.v1.Repos.ViewFile
882
1210
  */
883
1211
  viewFile: {