@aptre/protobuf-es-lite 0.2.12 → 0.2.13

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.
@@ -6,28 +6,24 @@ export declare const protobufPackage = "google.protobuf";
6
6
  /**
7
7
  * The syntax in which a protocol buffer element is defined.
8
8
  *
9
- *
10
9
  * @generated from enum google.protobuf.Syntax
11
10
  */
12
11
  export declare enum Syntax {
13
12
  /**
14
13
  * Syntax `proto2`.
15
14
  *
16
- *
17
15
  * @generated from enum value: SYNTAX_PROTO2 = 0;
18
16
  */
19
17
  PROTO2 = 0,
20
18
  /**
21
19
  * Syntax `proto3`.
22
20
  *
23
- *
24
21
  * @generated from enum value: SYNTAX_PROTO3 = 1;
25
22
  */
26
23
  PROTO3 = 1,
27
24
  /**
28
25
  * Syntax `editions`.
29
26
  *
30
- *
31
27
  * @generated from enum value: SYNTAX_EDITIONS = 2;
32
28
  */
33
29
  EDITIONS = 2
@@ -36,140 +32,120 @@ export declare const Syntax_Enum: import("../../enum.js").EnumType;
36
32
  /**
37
33
  * Basic field types.
38
34
  *
39
- *
40
35
  * @generated from enum google.protobuf.Field.Kind
41
36
  */
42
37
  export declare enum Field_Kind {
43
38
  /**
44
39
  * Field type unknown.
45
40
  *
46
- *
47
41
  * @generated from enum value: TYPE_UNKNOWN = 0;
48
42
  */
49
43
  TYPE_UNKNOWN = 0,
50
44
  /**
51
45
  * Field type double.
52
46
  *
53
- *
54
47
  * @generated from enum value: TYPE_DOUBLE = 1;
55
48
  */
56
49
  TYPE_DOUBLE = 1,
57
50
  /**
58
51
  * Field type float.
59
52
  *
60
- *
61
53
  * @generated from enum value: TYPE_FLOAT = 2;
62
54
  */
63
55
  TYPE_FLOAT = 2,
64
56
  /**
65
57
  * Field type int64.
66
58
  *
67
- *
68
59
  * @generated from enum value: TYPE_INT64 = 3;
69
60
  */
70
61
  TYPE_INT64 = 3,
71
62
  /**
72
63
  * Field type uint64.
73
64
  *
74
- *
75
65
  * @generated from enum value: TYPE_UINT64 = 4;
76
66
  */
77
67
  TYPE_UINT64 = 4,
78
68
  /**
79
69
  * Field type int32.
80
70
  *
81
- *
82
71
  * @generated from enum value: TYPE_INT32 = 5;
83
72
  */
84
73
  TYPE_INT32 = 5,
85
74
  /**
86
75
  * Field type fixed64.
87
76
  *
88
- *
89
77
  * @generated from enum value: TYPE_FIXED64 = 6;
90
78
  */
91
79
  TYPE_FIXED64 = 6,
92
80
  /**
93
81
  * Field type fixed32.
94
82
  *
95
- *
96
83
  * @generated from enum value: TYPE_FIXED32 = 7;
97
84
  */
98
85
  TYPE_FIXED32 = 7,
99
86
  /**
100
87
  * Field type bool.
101
88
  *
102
- *
103
89
  * @generated from enum value: TYPE_BOOL = 8;
104
90
  */
105
91
  TYPE_BOOL = 8,
106
92
  /**
107
93
  * Field type string.
108
94
  *
109
- *
110
95
  * @generated from enum value: TYPE_STRING = 9;
111
96
  */
112
97
  TYPE_STRING = 9,
113
98
  /**
114
99
  * Field type group. Proto2 syntax only, and deprecated.
115
100
  *
116
- *
117
101
  * @generated from enum value: TYPE_GROUP = 10;
118
102
  */
119
103
  TYPE_GROUP = 10,
120
104
  /**
121
105
  * Field type message.
122
106
  *
123
- *
124
107
  * @generated from enum value: TYPE_MESSAGE = 11;
125
108
  */
126
109
  TYPE_MESSAGE = 11,
127
110
  /**
128
111
  * Field type bytes.
129
112
  *
130
- *
131
113
  * @generated from enum value: TYPE_BYTES = 12;
132
114
  */
133
115
  TYPE_BYTES = 12,
134
116
  /**
135
117
  * Field type uint32.
136
118
  *
137
- *
138
119
  * @generated from enum value: TYPE_UINT32 = 13;
139
120
  */
140
121
  TYPE_UINT32 = 13,
141
122
  /**
142
123
  * Field type enum.
143
124
  *
144
- *
145
125
  * @generated from enum value: TYPE_ENUM = 14;
146
126
  */
147
127
  TYPE_ENUM = 14,
148
128
  /**
149
129
  * Field type sfixed32.
150
130
  *
151
- *
152
131
  * @generated from enum value: TYPE_SFIXED32 = 15;
153
132
  */
154
133
  TYPE_SFIXED32 = 15,
155
134
  /**
156
135
  * Field type sfixed64.
157
136
  *
158
- *
159
137
  * @generated from enum value: TYPE_SFIXED64 = 16;
160
138
  */
161
139
  TYPE_SFIXED64 = 16,
162
140
  /**
163
141
  * Field type sint32.
164
142
  *
165
- *
166
143
  * @generated from enum value: TYPE_SINT32 = 17;
167
144
  */
168
145
  TYPE_SINT32 = 17,
169
146
  /**
170
147
  * Field type sint64.
171
148
  *
172
- *
173
149
  * @generated from enum value: TYPE_SINT64 = 18;
174
150
  */
175
151
  TYPE_SINT64 = 18
@@ -178,35 +154,30 @@ export declare const Field_Kind_Enum: import("../../enum.js").EnumType;
178
154
  /**
179
155
  * Whether a field is optional, required, or repeated.
180
156
  *
181
- *
182
157
  * @generated from enum google.protobuf.Field.Cardinality
183
158
  */
184
159
  export declare enum Field_Cardinality {
185
160
  /**
186
161
  * For fields with unknown cardinality.
187
162
  *
188
- *
189
163
  * @generated from enum value: CARDINALITY_UNKNOWN = 0;
190
164
  */
191
165
  UNKNOWN = 0,
192
166
  /**
193
167
  * For optional fields.
194
168
  *
195
- *
196
169
  * @generated from enum value: CARDINALITY_OPTIONAL = 1;
197
170
  */
198
171
  OPTIONAL = 1,
199
172
  /**
200
173
  * For required fields. Proto2 syntax only.
201
174
  *
202
- *
203
175
  * @generated from enum value: CARDINALITY_REQUIRED = 2;
204
176
  */
205
177
  REQUIRED = 2,
206
178
  /**
207
179
  * For repeated fields.
208
180
  *
209
- *
210
181
  * @generated from enum value: CARDINALITY_REPEATED = 3;
211
182
  */
212
183
  REPEATED = 3
@@ -216,7 +187,6 @@ export declare const Field_Cardinality_Enum: import("../../enum.js").EnumType;
216
187
  * A protocol buffer option, which can be attached to a message, field,
217
188
  * enumeration, etc.
218
189
  *
219
- *
220
190
  * @generated from message google.protobuf.Option
221
191
  */
222
192
  export type Option = Message<{
@@ -226,8 +196,7 @@ export type Option = Message<{
226
196
  * For custom options, it should be the fully-qualified name. For example,
227
197
  * `"google.api.http"`.
228
198
  *
229
- *
230
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
199
+ * @generated from field: string name = 1;
231
200
  */
232
201
  name?: string;
233
202
  /**
@@ -236,8 +205,7 @@ export type Option = Message<{
236
205
  * should be used. If the value is an enum, it should be stored as an int32
237
206
  * value using the google.protobuf.Int32Value type.
238
207
  *
239
- *
240
- * @generated from field: google.protobuf.Any value = 2 [packed = false, default = , jstype = JS_NORMAL];
208
+ * @generated from field: google.protobuf.Any value = 2;
241
209
  */
242
210
  value?: Any;
243
211
  }>;
@@ -245,80 +213,69 @@ export declare const Option: MessageType<Option>;
245
213
  /**
246
214
  * A single field of a message type.
247
215
  *
248
- *
249
216
  * @generated from message google.protobuf.Field
250
217
  */
251
218
  export type Field = Message<{
252
219
  /**
253
220
  * The field type.
254
221
  *
255
- *
256
- * @generated from field: google.protobuf.Field.Kind kind = 1 [packed = false, default = , jstype = JS_NORMAL];
222
+ * @generated from field: google.protobuf.Field.Kind kind = 1;
257
223
  */
258
224
  kind?: Field_Kind;
259
225
  /**
260
226
  * The field cardinality.
261
227
  *
262
- *
263
- * @generated from field: google.protobuf.Field.Cardinality cardinality = 2 [packed = false, default = , jstype = JS_NORMAL];
228
+ * @generated from field: google.protobuf.Field.Cardinality cardinality = 2;
264
229
  */
265
230
  cardinality?: Field_Cardinality;
266
231
  /**
267
232
  * The field number.
268
233
  *
269
- *
270
- * @generated from field: int32 number = 3 [packed = false, default = , jstype = JS_NORMAL];
234
+ * @generated from field: int32 number = 3;
271
235
  */
272
236
  number?: number;
273
237
  /**
274
238
  * The field name.
275
239
  *
276
- *
277
- * @generated from field: string name = 4 [packed = false, default = "", jstype = JS_NORMAL];
240
+ * @generated from field: string name = 4;
278
241
  */
279
242
  name?: string;
280
243
  /**
281
244
  * The field type URL, without the scheme, for message or enumeration
282
245
  * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
283
246
  *
284
- *
285
- * @generated from field: string type_url = 6 [packed = false, default = "", jstype = JS_NORMAL];
247
+ * @generated from field: string type_url = 6;
286
248
  */
287
249
  typeUrl?: string;
288
250
  /**
289
251
  * The index of the field type in `Type.oneofs`, for message or enumeration
290
252
  * types. The first type has index 1; zero means the type is not in the list.
291
253
  *
292
- *
293
- * @generated from field: int32 oneof_index = 7 [packed = false, default = , jstype = JS_NORMAL];
254
+ * @generated from field: int32 oneof_index = 7;
294
255
  */
295
256
  oneofIndex?: number;
296
257
  /**
297
258
  * Whether to use alternative packed wire representation.
298
259
  *
299
- *
300
- * @generated from field: bool packed = 8 [packed = false, default = , jstype = JS_NORMAL];
260
+ * @generated from field: bool packed = 8;
301
261
  */
302
262
  packed?: boolean;
303
263
  /**
304
264
  * The protocol buffer options.
305
265
  *
306
- *
307
- * @generated from field: repeated google.protobuf.Option options = 9 [packed = false, default = , jstype = JS_NORMAL];
266
+ * @generated from field: repeated google.protobuf.Option options = 9;
308
267
  */
309
268
  options?: Option[];
310
269
  /**
311
270
  * The field JSON name.
312
271
  *
313
- *
314
- * @generated from field: string json_name = 10 [packed = false, default = "", jstype = JS_NORMAL];
272
+ * @generated from field: string json_name = 10;
315
273
  */
316
274
  jsonName?: string;
317
275
  /**
318
276
  * The string value of the default value of this field. Proto2 syntax only.
319
277
  *
320
- *
321
- * @generated from field: string default_value = 11 [packed = false, default = "", jstype = JS_NORMAL];
278
+ * @generated from field: string default_value = 11;
322
279
  */
323
280
  defaultValue?: string;
324
281
  }>;
@@ -326,57 +283,49 @@ export declare const Field: MessageType<Field>;
326
283
  /**
327
284
  * A protocol buffer message type.
328
285
  *
329
- *
330
286
  * @generated from message google.protobuf.Type
331
287
  */
332
288
  export type Type = Message<{
333
289
  /**
334
290
  * The fully qualified message name.
335
291
  *
336
- *
337
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
292
+ * @generated from field: string name = 1;
338
293
  */
339
294
  name?: string;
340
295
  /**
341
296
  * The list of fields.
342
297
  *
343
- *
344
- * @generated from field: repeated google.protobuf.Field fields = 2 [packed = false, default = , jstype = JS_NORMAL];
298
+ * @generated from field: repeated google.protobuf.Field fields = 2;
345
299
  */
346
300
  fields?: Field[];
347
301
  /**
348
302
  * The list of types appearing in `oneof` definitions in this type.
349
303
  *
350
- *
351
- * @generated from field: repeated string oneofs = 3 [packed = false, default = "", jstype = JS_NORMAL];
304
+ * @generated from field: repeated string oneofs = 3;
352
305
  */
353
306
  oneofs?: string[];
354
307
  /**
355
308
  * The protocol buffer options.
356
309
  *
357
- *
358
- * @generated from field: repeated google.protobuf.Option options = 4 [packed = false, default = , jstype = JS_NORMAL];
310
+ * @generated from field: repeated google.protobuf.Option options = 4;
359
311
  */
360
312
  options?: Option[];
361
313
  /**
362
314
  * The source context.
363
315
  *
364
- *
365
- * @generated from field: google.protobuf.SourceContext source_context = 5 [packed = false, default = , jstype = JS_NORMAL];
316
+ * @generated from field: google.protobuf.SourceContext source_context = 5;
366
317
  */
367
318
  sourceContext?: SourceContext;
368
319
  /**
369
320
  * The source syntax.
370
321
  *
371
- *
372
- * @generated from field: google.protobuf.Syntax syntax = 6 [packed = false, default = , jstype = JS_NORMAL];
322
+ * @generated from field: google.protobuf.Syntax syntax = 6;
373
323
  */
374
324
  syntax?: Syntax;
375
325
  /**
376
326
  * The source edition string, only valid when syntax is SYNTAX_EDITIONS.
377
327
  *
378
- *
379
- * @generated from field: string edition = 7 [packed = false, default = "", jstype = JS_NORMAL];
328
+ * @generated from field: string edition = 7;
380
329
  */
381
330
  edition?: string;
382
331
  }>;
@@ -384,29 +333,25 @@ export declare const Type: MessageType<Type>;
384
333
  /**
385
334
  * Enum value definition.
386
335
  *
387
- *
388
336
  * @generated from message google.protobuf.EnumValue
389
337
  */
390
338
  export type EnumValue = Message<{
391
339
  /**
392
340
  * Enum value name.
393
341
  *
394
- *
395
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
342
+ * @generated from field: string name = 1;
396
343
  */
397
344
  name?: string;
398
345
  /**
399
346
  * Enum value number.
400
347
  *
401
- *
402
- * @generated from field: int32 number = 2 [packed = false, default = , jstype = JS_NORMAL];
348
+ * @generated from field: int32 number = 2;
403
349
  */
404
350
  number?: number;
405
351
  /**
406
352
  * Protocol buffer options.
407
353
  *
408
- *
409
- * @generated from field: repeated google.protobuf.Option options = 3 [packed = false, default = , jstype = JS_NORMAL];
354
+ * @generated from field: repeated google.protobuf.Option options = 3;
410
355
  */
411
356
  options?: Option[];
412
357
  }>;
@@ -414,50 +359,43 @@ export declare const EnumValue: MessageType<EnumValue>;
414
359
  /**
415
360
  * Enum type definition.
416
361
  *
417
- *
418
362
  * @generated from message google.protobuf.Enum
419
363
  */
420
364
  export type Enum = Message<{
421
365
  /**
422
366
  * Enum type name.
423
367
  *
424
- *
425
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
368
+ * @generated from field: string name = 1;
426
369
  */
427
370
  name?: string;
428
371
  /**
429
372
  * Enum value definitions.
430
373
  *
431
- *
432
- * @generated from field: repeated google.protobuf.EnumValue enumvalue = 2 [packed = false, default = , jstype = JS_NORMAL];
374
+ * @generated from field: repeated google.protobuf.EnumValue enumvalue = 2;
433
375
  */
434
376
  enumvalue?: EnumValue[];
435
377
  /**
436
378
  * Protocol buffer options.
437
379
  *
438
- *
439
- * @generated from field: repeated google.protobuf.Option options = 3 [packed = false, default = , jstype = JS_NORMAL];
380
+ * @generated from field: repeated google.protobuf.Option options = 3;
440
381
  */
441
382
  options?: Option[];
442
383
  /**
443
384
  * The source context.
444
385
  *
445
- *
446
- * @generated from field: google.protobuf.SourceContext source_context = 4 [packed = false, default = , jstype = JS_NORMAL];
386
+ * @generated from field: google.protobuf.SourceContext source_context = 4;
447
387
  */
448
388
  sourceContext?: SourceContext;
449
389
  /**
450
390
  * The source syntax.
451
391
  *
452
- *
453
- * @generated from field: google.protobuf.Syntax syntax = 5 [packed = false, default = , jstype = JS_NORMAL];
392
+ * @generated from field: google.protobuf.Syntax syntax = 5;
454
393
  */
455
394
  syntax?: Syntax;
456
395
  /**
457
396
  * The source edition string, only valid when syntax is SYNTAX_EDITIONS.
458
397
  *
459
- *
460
- * @generated from field: string edition = 6 [packed = false, default = "", jstype = JS_NORMAL];
398
+ * @generated from field: string edition = 6;
461
399
  */
462
400
  edition?: string;
463
401
  }>;