@alis-build/alis-build-v1 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/alis/build/v1/repos_pb.d.ts +553 -0
- package/alis/build/v1/repos_pb.js +169 -0
- package/package.json +10 -0
|
@@ -0,0 +1,553 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/build/v1/repos.proto (package alis.build.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file alis/build/v1/repos.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_alis_build_v1_repos: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message alis.build.v1.Empty
|
|
15
|
+
*/
|
|
16
|
+
export declare type Empty = Message<"alis.build.v1.Empty"> & {
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message alis.build.v1.Empty.
|
|
21
|
+
* Use `create(EmptySchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export declare const EmptySchema: GenMessage<Empty>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from message alis.build.v1.ListReposRequest
|
|
27
|
+
*/
|
|
28
|
+
export declare type ListReposRequest = Message<"alis.build.v1.ListReposRequest"> & {
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message alis.build.v1.ListReposRequest.
|
|
33
|
+
* Use `create(ListReposRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export declare const ListReposRequestSchema: GenMessage<ListReposRequest>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from message alis.build.v1.ListReposResponse
|
|
39
|
+
*/
|
|
40
|
+
export declare type ListReposResponse = Message<"alis.build.v1.ListReposResponse"> & {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: repeated alis.build.v1.Repo repos = 1;
|
|
43
|
+
*/
|
|
44
|
+
repos: Repo[];
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message alis.build.v1.ListReposResponse.
|
|
49
|
+
* Use `create(ListReposResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export declare const ListReposResponseSchema: GenMessage<ListReposResponse>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message alis.build.v1.CreateBranchRequest
|
|
55
|
+
*/
|
|
56
|
+
export declare type CreateBranchRequest = Message<"alis.build.v1.CreateBranchRequest"> & {
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string repo = 1;
|
|
59
|
+
*/
|
|
60
|
+
repo: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: string branch = 2;
|
|
64
|
+
*/
|
|
65
|
+
branch: string;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: string ref = 3;
|
|
69
|
+
*/
|
|
70
|
+
ref: string;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message alis.build.v1.CreateBranchRequest.
|
|
75
|
+
* Use `create(CreateBranchRequestSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export declare const CreateBranchRequestSchema: GenMessage<CreateBranchRequest>;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message alis.build.v1.Repo
|
|
81
|
+
*/
|
|
82
|
+
export declare type Repo = Message<"alis.build.v1.Repo"> & {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string name = 1;
|
|
85
|
+
*/
|
|
86
|
+
name: string;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message alis.build.v1.Repo.
|
|
91
|
+
* Use `create(RepoSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export declare const RepoSchema: GenMessage<Repo>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message alis.build.v1.ListBranchesRequest
|
|
97
|
+
*/
|
|
98
|
+
export declare type ListBranchesRequest = Message<"alis.build.v1.ListBranchesRequest"> & {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string repo = 1;
|
|
101
|
+
*/
|
|
102
|
+
repo: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: int32 limit = 2;
|
|
106
|
+
*/
|
|
107
|
+
limit: number;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: int32 page = 3;
|
|
111
|
+
*/
|
|
112
|
+
page: number;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message alis.build.v1.ListBranchesRequest.
|
|
117
|
+
* Use `create(ListBranchesRequestSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const ListBranchesRequestSchema: GenMessage<ListBranchesRequest>;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from message alis.build.v1.ListBranchesResponse
|
|
123
|
+
*/
|
|
124
|
+
export declare type ListBranchesResponse = Message<"alis.build.v1.ListBranchesResponse"> & {
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: repeated alis.build.v1.Branch branches = 1;
|
|
127
|
+
*/
|
|
128
|
+
branches: Branch[];
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message alis.build.v1.ListBranchesResponse.
|
|
133
|
+
* Use `create(ListBranchesResponseSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export declare const ListBranchesResponseSchema: GenMessage<ListBranchesResponse>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from message alis.build.v1.Branch
|
|
139
|
+
*/
|
|
140
|
+
export declare type Branch = Message<"alis.build.v1.Branch"> & {
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: string name = 1;
|
|
143
|
+
*/
|
|
144
|
+
name: string;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Describes the message alis.build.v1.Branch.
|
|
149
|
+
* Use `create(BranchSchema)` to create a new message.
|
|
150
|
+
*/
|
|
151
|
+
export declare const BranchSchema: GenMessage<Branch>;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from message alis.build.v1.DeleteBranchRequest
|
|
155
|
+
*/
|
|
156
|
+
export declare type DeleteBranchRequest = Message<"alis.build.v1.DeleteBranchRequest"> & {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string repo = 1;
|
|
159
|
+
*/
|
|
160
|
+
repo: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string branch = 2;
|
|
164
|
+
*/
|
|
165
|
+
branch: string;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Describes the message alis.build.v1.DeleteBranchRequest.
|
|
170
|
+
* Use `create(DeleteBranchRequestSchema)` to create a new message.
|
|
171
|
+
*/
|
|
172
|
+
export declare const DeleteBranchRequestSchema: GenMessage<DeleteBranchRequest>;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from message alis.build.v1.CreateCommitRequest
|
|
176
|
+
*/
|
|
177
|
+
export declare type CreateCommitRequest = Message<"alis.build.v1.CreateCommitRequest"> & {
|
|
178
|
+
/**
|
|
179
|
+
* @generated from field: string repo = 1;
|
|
180
|
+
*/
|
|
181
|
+
repo: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: string branch = 2;
|
|
185
|
+
*/
|
|
186
|
+
branch: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string message = 3;
|
|
190
|
+
*/
|
|
191
|
+
message: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: repeated alis.build.v1.CreateCommitRequest.Operation operations = 4;
|
|
195
|
+
*/
|
|
196
|
+
operations: CreateCommitRequest_Operation[];
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Describes the message alis.build.v1.CreateCommitRequest.
|
|
201
|
+
* Use `create(CreateCommitRequestSchema)` to create a new message.
|
|
202
|
+
*/
|
|
203
|
+
export declare const CreateCommitRequestSchema: GenMessage<CreateCommitRequest>;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message alis.build.v1.CreateCommitRequest.Operation
|
|
207
|
+
*/
|
|
208
|
+
export declare type CreateCommitRequest_Operation = Message<"alis.build.v1.CreateCommitRequest.Operation"> & {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string path = 1;
|
|
211
|
+
*/
|
|
212
|
+
path: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: alis.build.v1.CreateCommitRequest.Operation.Type type = 2;
|
|
216
|
+
*/
|
|
217
|
+
type: CreateCommitRequest_Operation_Type;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string content = 3;
|
|
221
|
+
*/
|
|
222
|
+
content: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: string current_file_sha = 4;
|
|
226
|
+
*/
|
|
227
|
+
currentFileSha: string;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Describes the message alis.build.v1.CreateCommitRequest.Operation.
|
|
232
|
+
* Use `create(CreateCommitRequest_OperationSchema)` to create a new message.
|
|
233
|
+
*/
|
|
234
|
+
export declare const CreateCommitRequest_OperationSchema: GenMessage<CreateCommitRequest_Operation>;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from enum alis.build.v1.CreateCommitRequest.Operation.Type
|
|
238
|
+
*/
|
|
239
|
+
export enum CreateCommitRequest_Operation_Type {
|
|
240
|
+
/**
|
|
241
|
+
* @generated from enum value: UNSPECIFIED = 0;
|
|
242
|
+
*/
|
|
243
|
+
UNSPECIFIED = 0,
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @generated from enum value: CREATE = 1;
|
|
247
|
+
*/
|
|
248
|
+
CREATE = 1,
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @generated from enum value: UPDATE = 2;
|
|
252
|
+
*/
|
|
253
|
+
UPDATE = 2,
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* @generated from enum value: DELETE = 3;
|
|
257
|
+
*/
|
|
258
|
+
DELETE = 3,
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Describes the enum alis.build.v1.CreateCommitRequest.Operation.Type.
|
|
263
|
+
*/
|
|
264
|
+
export declare const CreateCommitRequest_Operation_TypeSchema: GenEnum<CreateCommitRequest_Operation_Type>;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from message alis.build.v1.ListCommitsRequest
|
|
268
|
+
*/
|
|
269
|
+
export declare type ListCommitsRequest = Message<"alis.build.v1.ListCommitsRequest"> & {
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string repo = 1;
|
|
272
|
+
*/
|
|
273
|
+
repo: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: string start_ref = 2;
|
|
277
|
+
*/
|
|
278
|
+
startRef: string;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: string path = 3;
|
|
282
|
+
*/
|
|
283
|
+
path: string;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: int32 limit = 4;
|
|
287
|
+
*/
|
|
288
|
+
limit: number;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: int32 page = 5;
|
|
292
|
+
*/
|
|
293
|
+
page: number;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message alis.build.v1.ListCommitsRequest.
|
|
298
|
+
* Use `create(ListCommitsRequestSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export declare const ListCommitsRequestSchema: GenMessage<ListCommitsRequest>;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @generated from message alis.build.v1.ListCommitsResponse
|
|
304
|
+
*/
|
|
305
|
+
export declare type ListCommitsResponse = Message<"alis.build.v1.ListCommitsResponse"> & {
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: repeated alis.build.v1.Commit commits = 1;
|
|
308
|
+
*/
|
|
309
|
+
commits: Commit[];
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Describes the message alis.build.v1.ListCommitsResponse.
|
|
314
|
+
* Use `create(ListCommitsResponseSchema)` to create a new message.
|
|
315
|
+
*/
|
|
316
|
+
export declare const ListCommitsResponseSchema: GenMessage<ListCommitsResponse>;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @generated from message alis.build.v1.Commit
|
|
320
|
+
*/
|
|
321
|
+
export declare type Commit = Message<"alis.build.v1.Commit"> & {
|
|
322
|
+
/**
|
|
323
|
+
* @generated from field: string sha = 1;
|
|
324
|
+
*/
|
|
325
|
+
sha: string;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @generated from field: string committer_email = 2;
|
|
329
|
+
*/
|
|
330
|
+
committerEmail: string;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string created_at = 3;
|
|
334
|
+
*/
|
|
335
|
+
createdAt: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: string message = 4;
|
|
339
|
+
*/
|
|
340
|
+
message: string;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: repeated alis.build.v1.Commit.Change changes = 5;
|
|
344
|
+
*/
|
|
345
|
+
changes: Commit_Change[];
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Describes the message alis.build.v1.Commit.
|
|
350
|
+
* Use `create(CommitSchema)` to create a new message.
|
|
351
|
+
*/
|
|
352
|
+
export declare const CommitSchema: GenMessage<Commit>;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* @generated from message alis.build.v1.Commit.Change
|
|
356
|
+
*/
|
|
357
|
+
export declare type Commit_Change = Message<"alis.build.v1.Commit.Change"> & {
|
|
358
|
+
/**
|
|
359
|
+
* @generated from field: string path = 1;
|
|
360
|
+
*/
|
|
361
|
+
path: string;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* @generated from field: string status = 2;
|
|
365
|
+
*/
|
|
366
|
+
status: string;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message alis.build.v1.Commit.Change.
|
|
371
|
+
* Use `create(Commit_ChangeSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
export declare const Commit_ChangeSchema: GenMessage<Commit_Change>;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from message alis.build.v1.ListFilesRequest
|
|
377
|
+
*/
|
|
378
|
+
export declare type ListFilesRequest = Message<"alis.build.v1.ListFilesRequest"> & {
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string repo = 1;
|
|
381
|
+
*/
|
|
382
|
+
repo: string;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: string ref = 2;
|
|
386
|
+
*/
|
|
387
|
+
ref: string;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: string path = 3;
|
|
391
|
+
*/
|
|
392
|
+
path: string;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Describes the message alis.build.v1.ListFilesRequest.
|
|
397
|
+
* Use `create(ListFilesRequestSchema)` to create a new message.
|
|
398
|
+
*/
|
|
399
|
+
export declare const ListFilesRequestSchema: GenMessage<ListFilesRequest>;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @generated from message alis.build.v1.ListFilesResponse
|
|
403
|
+
*/
|
|
404
|
+
export declare type ListFilesResponse = Message<"alis.build.v1.ListFilesResponse"> & {
|
|
405
|
+
/**
|
|
406
|
+
* @generated from field: repeated alis.build.v1.ListFilesResponse.File files = 1;
|
|
407
|
+
*/
|
|
408
|
+
files: ListFilesResponse_File[];
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Describes the message alis.build.v1.ListFilesResponse.
|
|
413
|
+
* Use `create(ListFilesResponseSchema)` to create a new message.
|
|
414
|
+
*/
|
|
415
|
+
export declare const ListFilesResponseSchema: GenMessage<ListFilesResponse>;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message alis.build.v1.ListFilesResponse.File
|
|
419
|
+
*/
|
|
420
|
+
export declare type ListFilesResponse_File = Message<"alis.build.v1.ListFilesResponse.File"> & {
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: string path = 1;
|
|
423
|
+
*/
|
|
424
|
+
path: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: string sha = 2;
|
|
428
|
+
*/
|
|
429
|
+
sha: string;
|
|
430
|
+
};
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Describes the message alis.build.v1.ListFilesResponse.File.
|
|
434
|
+
* Use `create(ListFilesResponse_FileSchema)` to create a new message.
|
|
435
|
+
*/
|
|
436
|
+
export declare const ListFilesResponse_FileSchema: GenMessage<ListFilesResponse_File>;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from message alis.build.v1.ViewFileRequest
|
|
440
|
+
*/
|
|
441
|
+
export declare type ViewFileRequest = Message<"alis.build.v1.ViewFileRequest"> & {
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: string repo = 1;
|
|
444
|
+
*/
|
|
445
|
+
repo: string;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: string ref = 2;
|
|
449
|
+
*/
|
|
450
|
+
ref: string;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @generated from field: string path = 3;
|
|
454
|
+
*/
|
|
455
|
+
path: string;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Describes the message alis.build.v1.ViewFileRequest.
|
|
460
|
+
* Use `create(ViewFileRequestSchema)` to create a new message.
|
|
461
|
+
*/
|
|
462
|
+
export declare const ViewFileRequestSchema: GenMessage<ViewFileRequest>;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* @generated from message alis.build.v1.ViewFileResponse
|
|
466
|
+
*/
|
|
467
|
+
export declare type ViewFileResponse = Message<"alis.build.v1.ViewFileResponse"> & {
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string content = 1;
|
|
470
|
+
*/
|
|
471
|
+
content: string;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: string sha = 2;
|
|
475
|
+
*/
|
|
476
|
+
sha: string;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Describes the message alis.build.v1.ViewFileResponse.
|
|
481
|
+
* Use `create(ViewFileResponseSchema)` to create a new message.
|
|
482
|
+
*/
|
|
483
|
+
export declare const ViewFileResponseSchema: GenMessage<ViewFileResponse>;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* @generated from service alis.build.v1.Repos
|
|
487
|
+
*/
|
|
488
|
+
export declare const Repos: GenService<{
|
|
489
|
+
/**
|
|
490
|
+
* @generated from rpc alis.build.v1.Repos.ListRepos
|
|
491
|
+
*/
|
|
492
|
+
listRepos: {
|
|
493
|
+
methodKind: "unary";
|
|
494
|
+
input: typeof ListReposRequestSchema;
|
|
495
|
+
output: typeof ListReposResponseSchema;
|
|
496
|
+
},
|
|
497
|
+
/**
|
|
498
|
+
* @generated from rpc alis.build.v1.Repos.CreateBranch
|
|
499
|
+
*/
|
|
500
|
+
createBranch: {
|
|
501
|
+
methodKind: "unary";
|
|
502
|
+
input: typeof CreateBranchRequestSchema;
|
|
503
|
+
output: typeof EmptySchema;
|
|
504
|
+
},
|
|
505
|
+
/**
|
|
506
|
+
* @generated from rpc alis.build.v1.Repos.ListBranches
|
|
507
|
+
*/
|
|
508
|
+
listBranches: {
|
|
509
|
+
methodKind: "unary";
|
|
510
|
+
input: typeof ListBranchesRequestSchema;
|
|
511
|
+
output: typeof ListBranchesResponseSchema;
|
|
512
|
+
},
|
|
513
|
+
/**
|
|
514
|
+
* @generated from rpc alis.build.v1.Repos.DeleteBranch
|
|
515
|
+
*/
|
|
516
|
+
deleteBranch: {
|
|
517
|
+
methodKind: "unary";
|
|
518
|
+
input: typeof DeleteBranchRequestSchema;
|
|
519
|
+
output: typeof EmptySchema;
|
|
520
|
+
},
|
|
521
|
+
/**
|
|
522
|
+
* @generated from rpc alis.build.v1.Repos.CreateCommit
|
|
523
|
+
*/
|
|
524
|
+
createCommit: {
|
|
525
|
+
methodKind: "unary";
|
|
526
|
+
input: typeof CreateCommitRequestSchema;
|
|
527
|
+
output: typeof EmptySchema;
|
|
528
|
+
},
|
|
529
|
+
/**
|
|
530
|
+
* @generated from rpc alis.build.v1.Repos.ListCommits
|
|
531
|
+
*/
|
|
532
|
+
listCommits: {
|
|
533
|
+
methodKind: "unary";
|
|
534
|
+
input: typeof ListCommitsRequestSchema;
|
|
535
|
+
output: typeof ListCommitsResponseSchema;
|
|
536
|
+
},
|
|
537
|
+
/**
|
|
538
|
+
* @generated from rpc alis.build.v1.Repos.ListFiles
|
|
539
|
+
*/
|
|
540
|
+
listFiles: {
|
|
541
|
+
methodKind: "unary";
|
|
542
|
+
input: typeof ListFilesRequestSchema;
|
|
543
|
+
output: typeof ListFilesResponseSchema;
|
|
544
|
+
},
|
|
545
|
+
/**
|
|
546
|
+
* @generated from rpc alis.build.v1.Repos.ViewFile
|
|
547
|
+
*/
|
|
548
|
+
viewFile: {
|
|
549
|
+
methodKind: "unary";
|
|
550
|
+
input: typeof ViewFileRequestSchema;
|
|
551
|
+
output: typeof ViewFileResponseSchema;
|
|
552
|
+
},
|
|
553
|
+
}>;
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.13.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file alis/build/v1/repos.proto (package alis.build.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file alis/build/v1/repos.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_alis_build_v1_repos = /*@__PURE__*/
|
|
11
|
+
fileDesc("ChlhbGlzL2J1aWxkL3YxL3JlcG9zLnByb3RvEg1hbGlzLmJ1aWxkLnYxIgcKBUVtcHR5IhIKEExpc3RSZXBvc1JlcXVlc3QiNwoRTGlzdFJlcG9zUmVzcG9uc2USIgoFcmVwb3MYASADKAsyEy5hbGlzLmJ1aWxkLnYxLlJlcG8iQAoTQ3JlYXRlQnJhbmNoUmVxdWVzdBIMCgRyZXBvGAEgASgJEg4KBmJyYW5jaBgCIAEoCRILCgNyZWYYAyABKAkiFAoEUmVwbxIMCgRuYW1lGAEgASgJIkAKE0xpc3RCcmFuY2hlc1JlcXVlc3QSDAoEcmVwbxgBIAEoCRINCgVsaW1pdBgCIAEoBRIMCgRwYWdlGAMgASgFIj8KFExpc3RCcmFuY2hlc1Jlc3BvbnNlEicKCGJyYW5jaGVzGAEgAygLMhUuYWxpcy5idWlsZC52MS5CcmFuY2giFgoGQnJhbmNoEgwKBG5hbWUYASABKAkiMwoTRGVsZXRlQnJhbmNoUmVxdWVzdBIMCgRyZXBvGAEgASgJEg4KBmJyYW5jaBgCIAEoCSLLAgoTQ3JlYXRlQ29tbWl0UmVxd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nNlIgBCLFoqZ2l0aHViLmNvbS9hbGlzLWJ1aWxkL3B1YmxpYy1nby9hbGlzL2J1aWxkYgZwcm90bzM");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message alis.build.v1.Empty.
|
|
15
|
+
* Use `create(EmptySchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const EmptySchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_alis_build_v1_repos, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message alis.build.v1.ListReposRequest.
|
|
22
|
+
* Use `create(ListReposRequestSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const ListReposRequestSchema = /*@__PURE__*/
|
|
25
|
+
messageDesc(file_alis_build_v1_repos, 1);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message alis.build.v1.ListReposResponse.
|
|
29
|
+
* Use `create(ListReposResponseSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const ListReposResponseSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_alis_build_v1_repos, 2);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message alis.build.v1.CreateBranchRequest.
|
|
36
|
+
* Use `create(CreateBranchRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const CreateBranchRequestSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_alis_build_v1_repos, 3);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message alis.build.v1.Repo.
|
|
43
|
+
* Use `create(RepoSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const RepoSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_alis_build_v1_repos, 4);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message alis.build.v1.ListBranchesRequest.
|
|
50
|
+
* Use `create(ListBranchesRequestSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
export const ListBranchesRequestSchema = /*@__PURE__*/
|
|
53
|
+
messageDesc(file_alis_build_v1_repos, 5);
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message alis.build.v1.ListBranchesResponse.
|
|
57
|
+
* Use `create(ListBranchesResponseSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const ListBranchesResponseSchema = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_alis_build_v1_repos, 6);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message alis.build.v1.Branch.
|
|
64
|
+
* Use `create(BranchSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const BranchSchema = /*@__PURE__*/
|
|
67
|
+
messageDesc(file_alis_build_v1_repos, 7);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message alis.build.v1.DeleteBranchRequest.
|
|
71
|
+
* Use `create(DeleteBranchRequestSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export const DeleteBranchRequestSchema = /*@__PURE__*/
|
|
74
|
+
messageDesc(file_alis_build_v1_repos, 8);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message alis.build.v1.CreateCommitRequest.
|
|
78
|
+
* Use `create(CreateCommitRequestSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const CreateCommitRequestSchema = /*@__PURE__*/
|
|
81
|
+
messageDesc(file_alis_build_v1_repos, 9);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message alis.build.v1.CreateCommitRequest.Operation.
|
|
85
|
+
* Use `create(CreateCommitRequest_OperationSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export const CreateCommitRequest_OperationSchema = /*@__PURE__*/
|
|
88
|
+
messageDesc(file_alis_build_v1_repos, 9, 0);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Describes the enum alis.build.v1.CreateCommitRequest.Operation.Type.
|
|
92
|
+
*/
|
|
93
|
+
export const CreateCommitRequest_Operation_TypeSchema = /*@__PURE__*/
|
|
94
|
+
enumDesc(file_alis_build_v1_repos, 9, 0, 0);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum alis.build.v1.CreateCommitRequest.Operation.Type
|
|
98
|
+
*/
|
|
99
|
+
export const CreateCommitRequest_Operation_Type = /*@__PURE__*/
|
|
100
|
+
tsEnum(CreateCommitRequest_Operation_TypeSchema);
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message alis.build.v1.ListCommitsRequest.
|
|
104
|
+
* Use `create(ListCommitsRequestSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export const ListCommitsRequestSchema = /*@__PURE__*/
|
|
107
|
+
messageDesc(file_alis_build_v1_repos, 10);
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Describes the message alis.build.v1.ListCommitsResponse.
|
|
111
|
+
* Use `create(ListCommitsResponseSchema)` to create a new message.
|
|
112
|
+
*/
|
|
113
|
+
export const ListCommitsResponseSchema = /*@__PURE__*/
|
|
114
|
+
messageDesc(file_alis_build_v1_repos, 11);
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Describes the message alis.build.v1.Commit.
|
|
118
|
+
* Use `create(CommitSchema)` to create a new message.
|
|
119
|
+
*/
|
|
120
|
+
export const CommitSchema = /*@__PURE__*/
|
|
121
|
+
messageDesc(file_alis_build_v1_repos, 12);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message alis.build.v1.Commit.Change.
|
|
125
|
+
* Use `create(Commit_ChangeSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export const Commit_ChangeSchema = /*@__PURE__*/
|
|
128
|
+
messageDesc(file_alis_build_v1_repos, 12, 0);
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message alis.build.v1.ListFilesRequest.
|
|
132
|
+
* Use `create(ListFilesRequestSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export const ListFilesRequestSchema = /*@__PURE__*/
|
|
135
|
+
messageDesc(file_alis_build_v1_repos, 13);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message alis.build.v1.ListFilesResponse.
|
|
139
|
+
* Use `create(ListFilesResponseSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export const ListFilesResponseSchema = /*@__PURE__*/
|
|
142
|
+
messageDesc(file_alis_build_v1_repos, 14);
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message alis.build.v1.ListFilesResponse.File.
|
|
146
|
+
* Use `create(ListFilesResponse_FileSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export const ListFilesResponse_FileSchema = /*@__PURE__*/
|
|
149
|
+
messageDesc(file_alis_build_v1_repos, 14, 0);
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message alis.build.v1.ViewFileRequest.
|
|
153
|
+
* Use `create(ViewFileRequestSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const ViewFileRequestSchema = /*@__PURE__*/
|
|
156
|
+
messageDesc(file_alis_build_v1_repos, 15);
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Describes the message alis.build.v1.ViewFileResponse.
|
|
160
|
+
* Use `create(ViewFileResponseSchema)` to create a new message.
|
|
161
|
+
*/
|
|
162
|
+
export const ViewFileResponseSchema = /*@__PURE__*/
|
|
163
|
+
messageDesc(file_alis_build_v1_repos, 16);
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from service alis.build.v1.Repos
|
|
167
|
+
*/
|
|
168
|
+
export const Repos = /*@__PURE__*/
|
|
169
|
+
serviceDesc(file_alis_build_v1_repos, 0);
|
package/package.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"dependencies": {
|
|
3
|
+
"@bufbuild/protobuf": "^2.11.0",
|
|
4
|
+
"@connectrpc/connect": "^2.1.1",
|
|
5
|
+
"@connectrpc/connect-web": "^2.1.1"
|
|
6
|
+
},
|
|
7
|
+
"description": "Ecmascript and Connect-Web stubs generated by Alis Build",
|
|
8
|
+
"name": "@alis-build/alis-build-v1",
|
|
9
|
+
"version": "1.0.0"
|
|
10
|
+
}
|