gomtm 0.0.236 → 0.0.237

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,311 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+ const _GitPullReq = class _GitPullReq extends Message {
9
+ constructor(data) {
10
+ super();
11
+ /**
12
+ * @generated from field: string id = 1;
13
+ */
14
+ __publicField(this, "id", "");
15
+ proto3.util.initPartial(data, this);
16
+ }
17
+ static fromBinary(bytes, options) {
18
+ return new _GitPullReq().fromBinary(bytes, options);
19
+ }
20
+ static fromJson(jsonValue, options) {
21
+ return new _GitPullReq().fromJson(jsonValue, options);
22
+ }
23
+ static fromJsonString(jsonString, options) {
24
+ return new _GitPullReq().fromJsonString(jsonString, options);
25
+ }
26
+ static equals(a, b) {
27
+ return proto3.util.equals(_GitPullReq, a, b);
28
+ }
29
+ };
30
+ __publicField(_GitPullReq, "runtime", proto3);
31
+ __publicField(_GitPullReq, "typeName", "sppb.GitPullReq");
32
+ __publicField(_GitPullReq, "fields", proto3.util.newFieldList(() => [
33
+ {
34
+ no: 1,
35
+ name: "id",
36
+ kind: "scalar",
37
+ T: 9
38
+ /* ScalarType.STRING */
39
+ }
40
+ ]));
41
+ let GitPullReq = _GitPullReq;
42
+ const _GitSetupReq = class _GitSetupReq extends Message {
43
+ constructor(data) {
44
+ super();
45
+ /**
46
+ * @generated from field: string id = 1;
47
+ */
48
+ __publicField(this, "id", "");
49
+ proto3.util.initPartial(data, this);
50
+ }
51
+ static fromBinary(bytes, options) {
52
+ return new _GitSetupReq().fromBinary(bytes, options);
53
+ }
54
+ static fromJson(jsonValue, options) {
55
+ return new _GitSetupReq().fromJson(jsonValue, options);
56
+ }
57
+ static fromJsonString(jsonString, options) {
58
+ return new _GitSetupReq().fromJsonString(jsonString, options);
59
+ }
60
+ static equals(a, b) {
61
+ return proto3.util.equals(_GitSetupReq, a, b);
62
+ }
63
+ };
64
+ __publicField(_GitSetupReq, "runtime", proto3);
65
+ __publicField(_GitSetupReq, "typeName", "sppb.GitSetupReq");
66
+ __publicField(_GitSetupReq, "fields", proto3.util.newFieldList(() => [
67
+ {
68
+ no: 1,
69
+ name: "id",
70
+ kind: "scalar",
71
+ T: 9
72
+ /* ScalarType.STRING */
73
+ }
74
+ ]));
75
+ let GitSetupReq = _GitSetupReq;
76
+ const _GitSetupRes = class _GitSetupRes extends Message {
77
+ constructor(data) {
78
+ super();
79
+ proto3.util.initPartial(data, this);
80
+ }
81
+ static fromBinary(bytes, options) {
82
+ return new _GitSetupRes().fromBinary(bytes, options);
83
+ }
84
+ static fromJson(jsonValue, options) {
85
+ return new _GitSetupRes().fromJson(jsonValue, options);
86
+ }
87
+ static fromJsonString(jsonString, options) {
88
+ return new _GitSetupRes().fromJsonString(jsonString, options);
89
+ }
90
+ static equals(a, b) {
91
+ return proto3.util.equals(_GitSetupRes, a, b);
92
+ }
93
+ };
94
+ __publicField(_GitSetupRes, "runtime", proto3);
95
+ __publicField(_GitSetupRes, "typeName", "sppb.GitSetupRes");
96
+ __publicField(_GitSetupRes, "fields", proto3.util.newFieldList(() => []));
97
+ let GitSetupRes = _GitSetupRes;
98
+ const _GitPullRes = class _GitPullRes extends Message {
99
+ constructor(data) {
100
+ super();
101
+ proto3.util.initPartial(data, this);
102
+ }
103
+ static fromBinary(bytes, options) {
104
+ return new _GitPullRes().fromBinary(bytes, options);
105
+ }
106
+ static fromJson(jsonValue, options) {
107
+ return new _GitPullRes().fromJson(jsonValue, options);
108
+ }
109
+ static fromJsonString(jsonString, options) {
110
+ return new _GitPullRes().fromJsonString(jsonString, options);
111
+ }
112
+ static equals(a, b) {
113
+ return proto3.util.equals(_GitPullRes, a, b);
114
+ }
115
+ };
116
+ __publicField(_GitPullRes, "runtime", proto3);
117
+ __publicField(_GitPullRes, "typeName", "sppb.GitPullRes");
118
+ __publicField(_GitPullRes, "fields", proto3.util.newFieldList(() => []));
119
+ let GitPullRes = _GitPullRes;
120
+ const _GitGetReq = class _GitGetReq extends Message {
121
+ constructor(data) {
122
+ super();
123
+ /**
124
+ * @generated from field: string slugs = 1;
125
+ */
126
+ __publicField(this, "slugs", "");
127
+ proto3.util.initPartial(data, this);
128
+ }
129
+ static fromBinary(bytes, options) {
130
+ return new _GitGetReq().fromBinary(bytes, options);
131
+ }
132
+ static fromJson(jsonValue, options) {
133
+ return new _GitGetReq().fromJson(jsonValue, options);
134
+ }
135
+ static fromJsonString(jsonString, options) {
136
+ return new _GitGetReq().fromJsonString(jsonString, options);
137
+ }
138
+ static equals(a, b) {
139
+ return proto3.util.equals(_GitGetReq, a, b);
140
+ }
141
+ };
142
+ __publicField(_GitGetReq, "runtime", proto3);
143
+ __publicField(_GitGetReq, "typeName", "sppb.GitGetReq");
144
+ __publicField(_GitGetReq, "fields", proto3.util.newFieldList(() => [
145
+ {
146
+ no: 1,
147
+ name: "slugs",
148
+ kind: "scalar",
149
+ T: 9
150
+ /* ScalarType.STRING */
151
+ }
152
+ ]));
153
+ let GitGetReq = _GitGetReq;
154
+ const _GitInfo = class _GitInfo extends Message {
155
+ constructor(data) {
156
+ super();
157
+ /**
158
+ * @generated from field: string id = 1;
159
+ */
160
+ __publicField(this, "id", "");
161
+ proto3.util.initPartial(data, this);
162
+ }
163
+ static fromBinary(bytes, options) {
164
+ return new _GitInfo().fromBinary(bytes, options);
165
+ }
166
+ static fromJson(jsonValue, options) {
167
+ return new _GitInfo().fromJson(jsonValue, options);
168
+ }
169
+ static fromJsonString(jsonString, options) {
170
+ return new _GitInfo().fromJsonString(jsonString, options);
171
+ }
172
+ static equals(a, b) {
173
+ return proto3.util.equals(_GitInfo, a, b);
174
+ }
175
+ };
176
+ __publicField(_GitInfo, "runtime", proto3);
177
+ __publicField(_GitInfo, "typeName", "sppb.GitInfo");
178
+ __publicField(_GitInfo, "fields", proto3.util.newFieldList(() => [
179
+ {
180
+ no: 1,
181
+ name: "id",
182
+ kind: "scalar",
183
+ T: 9
184
+ /* ScalarType.STRING */
185
+ }
186
+ ]));
187
+ let GitInfo = _GitInfo;
188
+ const _GitStartReq = class _GitStartReq extends Message {
189
+ constructor(data) {
190
+ super();
191
+ /**
192
+ * @generated from field: string id = 1;
193
+ */
194
+ __publicField(this, "id", "");
195
+ proto3.util.initPartial(data, this);
196
+ }
197
+ static fromBinary(bytes, options) {
198
+ return new _GitStartReq().fromBinary(bytes, options);
199
+ }
200
+ static fromJson(jsonValue, options) {
201
+ return new _GitStartReq().fromJson(jsonValue, options);
202
+ }
203
+ static fromJsonString(jsonString, options) {
204
+ return new _GitStartReq().fromJsonString(jsonString, options);
205
+ }
206
+ static equals(a, b) {
207
+ return proto3.util.equals(_GitStartReq, a, b);
208
+ }
209
+ };
210
+ __publicField(_GitStartReq, "runtime", proto3);
211
+ __publicField(_GitStartReq, "typeName", "sppb.GitStartReq");
212
+ __publicField(_GitStartReq, "fields", proto3.util.newFieldList(() => [
213
+ {
214
+ no: 1,
215
+ name: "id",
216
+ kind: "scalar",
217
+ T: 9
218
+ /* ScalarType.STRING */
219
+ }
220
+ ]));
221
+ let GitStartReq = _GitStartReq;
222
+ const _GitStartRes = class _GitStartRes extends Message {
223
+ constructor(data) {
224
+ super();
225
+ proto3.util.initPartial(data, this);
226
+ }
227
+ static fromBinary(bytes, options) {
228
+ return new _GitStartRes().fromBinary(bytes, options);
229
+ }
230
+ static fromJson(jsonValue, options) {
231
+ return new _GitStartRes().fromJson(jsonValue, options);
232
+ }
233
+ static fromJsonString(jsonString, options) {
234
+ return new _GitStartRes().fromJsonString(jsonString, options);
235
+ }
236
+ static equals(a, b) {
237
+ return proto3.util.equals(_GitStartRes, a, b);
238
+ }
239
+ };
240
+ __publicField(_GitStartRes, "runtime", proto3);
241
+ __publicField(_GitStartRes, "typeName", "sppb.GitStartRes");
242
+ __publicField(_GitStartRes, "fields", proto3.util.newFieldList(() => []));
243
+ let GitStartRes = _GitStartRes;
244
+ const _GitStopReq = class _GitStopReq extends Message {
245
+ constructor(data) {
246
+ super();
247
+ /**
248
+ * @generated from field: string id = 1;
249
+ */
250
+ __publicField(this, "id", "");
251
+ proto3.util.initPartial(data, this);
252
+ }
253
+ static fromBinary(bytes, options) {
254
+ return new _GitStopReq().fromBinary(bytes, options);
255
+ }
256
+ static fromJson(jsonValue, options) {
257
+ return new _GitStopReq().fromJson(jsonValue, options);
258
+ }
259
+ static fromJsonString(jsonString, options) {
260
+ return new _GitStopReq().fromJsonString(jsonString, options);
261
+ }
262
+ static equals(a, b) {
263
+ return proto3.util.equals(_GitStopReq, a, b);
264
+ }
265
+ };
266
+ __publicField(_GitStopReq, "runtime", proto3);
267
+ __publicField(_GitStopReq, "typeName", "sppb.GitStopReq");
268
+ __publicField(_GitStopReq, "fields", proto3.util.newFieldList(() => [
269
+ {
270
+ no: 1,
271
+ name: "id",
272
+ kind: "scalar",
273
+ T: 9
274
+ /* ScalarType.STRING */
275
+ }
276
+ ]));
277
+ let GitStopReq = _GitStopReq;
278
+ const _GitStopRes = class _GitStopRes extends Message {
279
+ constructor(data) {
280
+ super();
281
+ proto3.util.initPartial(data, this);
282
+ }
283
+ static fromBinary(bytes, options) {
284
+ return new _GitStopRes().fromBinary(bytes, options);
285
+ }
286
+ static fromJson(jsonValue, options) {
287
+ return new _GitStopRes().fromJson(jsonValue, options);
288
+ }
289
+ static fromJsonString(jsonString, options) {
290
+ return new _GitStopRes().fromJsonString(jsonString, options);
291
+ }
292
+ static equals(a, b) {
293
+ return proto3.util.equals(_GitStopRes, a, b);
294
+ }
295
+ };
296
+ __publicField(_GitStopRes, "runtime", proto3);
297
+ __publicField(_GitStopRes, "typeName", "sppb.GitStopRes");
298
+ __publicField(_GitStopRes, "fields", proto3.util.newFieldList(() => []));
299
+ let GitStopRes = _GitStopRes;
300
+ export {
301
+ GitGetReq,
302
+ GitInfo,
303
+ GitPullReq,
304
+ GitPullRes,
305
+ GitSetupReq,
306
+ GitSetupRes,
307
+ GitStartReq,
308
+ GitStartRes,
309
+ GitStopReq,
310
+ GitStopRes
311
+ };
@@ -0,0 +1,12 @@
1
+ import { MethodKind } from "@bufbuild/protobuf";
2
+ import { GitProjectPullReq, GitProjectPullRes } from "./gitproject_pb";
3
+ export declare const gitProjectPull: {
4
+ readonly localName: "gitProjectPull";
5
+ readonly name: "GitProjectPull";
6
+ readonly kind: MethodKind.Unary;
7
+ readonly I: typeof GitProjectPullReq;
8
+ readonly O: typeof GitProjectPullRes;
9
+ readonly service: {
10
+ readonly typeName: "sppb.GitProjectService";
11
+ };
12
+ };
@@ -0,0 +1,15 @@
1
+ import { MethodKind } from "@bufbuild/protobuf";
2
+ import { GitProjectPullReq, GitProjectPullRes } from "./gitproject_pb";
3
+ const gitProjectPull = {
4
+ localName: "gitProjectPull",
5
+ name: "GitProjectPull",
6
+ kind: MethodKind.Unary,
7
+ I: GitProjectPullReq,
8
+ O: GitProjectPullRes,
9
+ service: {
10
+ typeName: "sppb.GitProjectService"
11
+ }
12
+ };
13
+ export {
14
+ gitProjectPull
15
+ };
@@ -0,0 +1,13 @@
1
+ import { GitProjectPullReq, GitProjectPullRes } from "./gitproject_pb";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ export declare const GitProjectService: {
4
+ readonly typeName: "sppb.GitProjectService";
5
+ readonly methods: {
6
+ readonly gitProjectPull: {
7
+ readonly name: "GitProjectPull";
8
+ readonly I: typeof GitProjectPullReq;
9
+ readonly O: typeof GitProjectPullRes;
10
+ readonly kind: MethodKind.Unary;
11
+ };
12
+ };
13
+ };
@@ -0,0 +1,19 @@
1
+ import { GitProjectPullReq, GitProjectPullRes } from "./gitproject_pb";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ const GitProjectService = {
4
+ typeName: "sppb.GitProjectService",
5
+ methods: {
6
+ /**
7
+ * @generated from rpc sppb.GitProjectService.GitProjectPull
8
+ */
9
+ gitProjectPull: {
10
+ name: "GitProjectPull",
11
+ I: GitProjectPullReq,
12
+ O: GitProjectPullRes,
13
+ kind: MethodKind.Unary
14
+ }
15
+ }
16
+ };
17
+ export {
18
+ GitProjectService
19
+ };
@@ -0,0 +1,23 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ export declare class GitProjectPullReq extends Message<GitProjectPullReq> {
4
+ name: string;
5
+ constructor(data?: PartialMessage<GitProjectPullReq>);
6
+ static readonly runtime: typeof proto3;
7
+ static readonly typeName = "sppb.GitProjectPullReq";
8
+ static readonly fields: FieldList;
9
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GitProjectPullReq;
10
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GitProjectPullReq;
11
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GitProjectPullReq;
12
+ static equals(a: GitProjectPullReq | PlainMessage<GitProjectPullReq> | undefined, b: GitProjectPullReq | PlainMessage<GitProjectPullReq> | undefined): boolean;
13
+ }
14
+ export declare class GitProjectPullRes extends Message<GitProjectPullRes> {
15
+ constructor(data?: PartialMessage<GitProjectPullRes>);
16
+ static readonly runtime: typeof proto3;
17
+ static readonly typeName = "sppb.GitProjectPullRes";
18
+ static readonly fields: FieldList;
19
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GitProjectPullRes;
20
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GitProjectPullRes;
21
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GitProjectPullRes;
22
+ static equals(a: GitProjectPullRes | PlainMessage<GitProjectPullRes> | undefined, b: GitProjectPullRes | PlainMessage<GitProjectPullRes> | undefined): boolean;
23
+ }
@@ -0,0 +1,67 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+ const _GitProjectPullReq = class _GitProjectPullReq extends Message {
9
+ constructor(data) {
10
+ super();
11
+ /**
12
+ * @generated from field: string name = 1;
13
+ */
14
+ __publicField(this, "name", "");
15
+ proto3.util.initPartial(data, this);
16
+ }
17
+ static fromBinary(bytes, options) {
18
+ return new _GitProjectPullReq().fromBinary(bytes, options);
19
+ }
20
+ static fromJson(jsonValue, options) {
21
+ return new _GitProjectPullReq().fromJson(jsonValue, options);
22
+ }
23
+ static fromJsonString(jsonString, options) {
24
+ return new _GitProjectPullReq().fromJsonString(jsonString, options);
25
+ }
26
+ static equals(a, b) {
27
+ return proto3.util.equals(_GitProjectPullReq, a, b);
28
+ }
29
+ };
30
+ __publicField(_GitProjectPullReq, "runtime", proto3);
31
+ __publicField(_GitProjectPullReq, "typeName", "sppb.GitProjectPullReq");
32
+ __publicField(_GitProjectPullReq, "fields", proto3.util.newFieldList(() => [
33
+ {
34
+ no: 1,
35
+ name: "name",
36
+ kind: "scalar",
37
+ T: 9
38
+ /* ScalarType.STRING */
39
+ }
40
+ ]));
41
+ let GitProjectPullReq = _GitProjectPullReq;
42
+ const _GitProjectPullRes = class _GitProjectPullRes extends Message {
43
+ constructor(data) {
44
+ super();
45
+ proto3.util.initPartial(data, this);
46
+ }
47
+ static fromBinary(bytes, options) {
48
+ return new _GitProjectPullRes().fromBinary(bytes, options);
49
+ }
50
+ static fromJson(jsonValue, options) {
51
+ return new _GitProjectPullRes().fromJson(jsonValue, options);
52
+ }
53
+ static fromJsonString(jsonString, options) {
54
+ return new _GitProjectPullRes().fromJsonString(jsonString, options);
55
+ }
56
+ static equals(a, b) {
57
+ return proto3.util.equals(_GitProjectPullRes, a, b);
58
+ }
59
+ };
60
+ __publicField(_GitProjectPullRes, "runtime", proto3);
61
+ __publicField(_GitProjectPullRes, "typeName", "sppb.GitProjectPullRes");
62
+ __publicField(_GitProjectPullRes, "fields", proto3.util.newFieldList(() => []));
63
+ let GitProjectPullRes = _GitProjectPullRes;
64
+ export {
65
+ GitProjectPullReq,
66
+ GitProjectPullRes
67
+ };