@aptre/protobuf-es-lite 0.2.12 → 0.2.14

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.
@@ -89,7 +89,6 @@ export declare const protobufPackage = "google.protobuf";
89
89
  * }
90
90
  *
91
91
  *
92
- *
93
92
  * @generated from message google.protobuf.Any
94
93
  */
95
94
  export type Any = Message<{
@@ -124,15 +123,13 @@ export type Any = Message<{
124
123
  * used with implementation specific semantics.
125
124
  *
126
125
  *
127
- *
128
- * @generated from field: string type_url = 1 [packed = false, default = "", jstype = JS_NORMAL];
126
+ * @generated from field: string type_url = 1;
129
127
  */
130
128
  typeUrl?: string;
131
129
  /**
132
130
  * Must be a valid serialized protocol buffer of the above specified type.
133
131
  *
134
- *
135
- * @generated from field: bytes value = 2 [packed = false, default = "", jstype = JS_NORMAL];
132
+ * @generated from field: bytes value = 2;
136
133
  */
137
134
  value?: Uint8Array;
138
135
  }>;
@@ -7,57 +7,49 @@ export declare const protobufPackage = "google.protobuf";
7
7
  /**
8
8
  * Method represents a method of an API interface.
9
9
  *
10
- *
11
10
  * @generated from message google.protobuf.Method
12
11
  */
13
12
  export type Method = Message<{
14
13
  /**
15
14
  * The simple name of this method.
16
15
  *
17
- *
18
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
16
+ * @generated from field: string name = 1;
19
17
  */
20
18
  name?: string;
21
19
  /**
22
20
  * A URL of the input message type.
23
21
  *
24
- *
25
- * @generated from field: string request_type_url = 2 [packed = false, default = "", jstype = JS_NORMAL];
22
+ * @generated from field: string request_type_url = 2;
26
23
  */
27
24
  requestTypeUrl?: string;
28
25
  /**
29
26
  * If true, the request is streamed.
30
27
  *
31
- *
32
- * @generated from field: bool request_streaming = 3 [packed = false, default = , jstype = JS_NORMAL];
28
+ * @generated from field: bool request_streaming = 3;
33
29
  */
34
30
  requestStreaming?: boolean;
35
31
  /**
36
32
  * The URL of the output message type.
37
33
  *
38
- *
39
- * @generated from field: string response_type_url = 4 [packed = false, default = "", jstype = JS_NORMAL];
34
+ * @generated from field: string response_type_url = 4;
40
35
  */
41
36
  responseTypeUrl?: string;
42
37
  /**
43
38
  * If true, the response is streamed.
44
39
  *
45
- *
46
- * @generated from field: bool response_streaming = 5 [packed = false, default = , jstype = JS_NORMAL];
40
+ * @generated from field: bool response_streaming = 5;
47
41
  */
48
42
  responseStreaming?: boolean;
49
43
  /**
50
44
  * Any metadata attached to the method.
51
45
  *
52
- *
53
- * @generated from field: repeated google.protobuf.Option options = 6 [packed = false, default = , jstype = JS_NORMAL];
46
+ * @generated from field: repeated google.protobuf.Option options = 6;
54
47
  */
55
48
  options?: Option[];
56
49
  /**
57
50
  * The source syntax of this method.
58
51
  *
59
- *
60
- * @generated from field: google.protobuf.Syntax syntax = 7 [packed = false, default = , jstype = JS_NORMAL];
52
+ * @generated from field: google.protobuf.Syntax syntax = 7;
61
53
  */
62
54
  syntax?: Syntax;
63
55
  }>;
@@ -142,23 +134,20 @@ export declare const Method: MessageType<Method>;
142
134
  * ...
143
135
  * }
144
136
  *
145
- *
146
137
  * @generated from message google.protobuf.Mixin
147
138
  */
148
139
  export type Mixin = Message<{
149
140
  /**
150
141
  * The fully qualified name of the interface which is included.
151
142
  *
152
- *
153
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
143
+ * @generated from field: string name = 1;
154
144
  */
155
145
  name?: string;
156
146
  /**
157
147
  * If non-empty specifies a path under which inherited HTTP paths
158
148
  * are rooted.
159
149
  *
160
- *
161
- * @generated from field: string root = 2 [packed = false, default = "", jstype = JS_NORMAL];
150
+ * @generated from field: string root = 2;
162
151
  */
163
152
  root?: string;
164
153
  }>;
@@ -174,7 +163,6 @@ export declare const Mixin: MessageType<Mixin>;
174
163
  * this message itself. See https://cloud.google.com/apis/design/glossary for
175
164
  * detailed terminology.
176
165
  *
177
- *
178
166
  * @generated from message google.protobuf.Api
179
167
  */
180
168
  export type Api = Message<{
@@ -182,22 +170,19 @@ export type Api = Message<{
182
170
  * The fully qualified name of this interface, including package name
183
171
  * followed by the interface's simple name.
184
172
  *
185
- *
186
- * @generated from field: string name = 1 [packed = false, default = "", jstype = JS_NORMAL];
173
+ * @generated from field: string name = 1;
187
174
  */
188
175
  name?: string;
189
176
  /**
190
177
  * The methods of this interface, in unspecified order.
191
178
  *
192
- *
193
- * @generated from field: repeated google.protobuf.Method methods = 2 [packed = false, default = , jstype = JS_NORMAL];
179
+ * @generated from field: repeated google.protobuf.Method methods = 2;
194
180
  */
195
181
  methods?: Method[];
196
182
  /**
197
183
  * Any metadata attached to the interface.
198
184
  *
199
- *
200
- * @generated from field: repeated google.protobuf.Option options = 3 [packed = false, default = , jstype = JS_NORMAL];
185
+ * @generated from field: repeated google.protobuf.Option options = 3;
201
186
  */
202
187
  options?: Option[];
203
188
  /**
@@ -222,30 +207,26 @@ export type Api = Message<{
222
207
  * experimental, non-GA interfaces.
223
208
  *
224
209
  *
225
- *
226
- * @generated from field: string version = 4 [packed = false, default = "", jstype = JS_NORMAL];
210
+ * @generated from field: string version = 4;
227
211
  */
228
212
  version?: string;
229
213
  /**
230
214
  * Source context for the protocol buffer service represented by this
231
215
  * message.
232
216
  *
233
- *
234
- * @generated from field: google.protobuf.SourceContext source_context = 5 [packed = false, default = , jstype = JS_NORMAL];
217
+ * @generated from field: google.protobuf.SourceContext source_context = 5;
235
218
  */
236
219
  sourceContext?: SourceContext;
237
220
  /**
238
221
  * Included interfaces. See [Mixin][].
239
222
  *
240
- *
241
- * @generated from field: repeated google.protobuf.Mixin mixins = 6 [packed = false, default = , jstype = JS_NORMAL];
223
+ * @generated from field: repeated google.protobuf.Mixin mixins = 6;
242
224
  */
243
225
  mixins?: Mixin[];
244
226
  /**
245
227
  * The source syntax of the service.
246
228
  *
247
- *
248
- * @generated from field: google.protobuf.Syntax syntax = 7 [packed = false, default = , jstype = JS_NORMAL];
229
+ * @generated from field: google.protobuf.Syntax syntax = 7;
249
230
  */
250
231
  syntax?: Syntax;
251
232
  }>;
@@ -35,37 +35,11 @@ export const Method = createMessageType({
35
35
  typeName: "google.protobuf.Method",
36
36
  fields: [
37
37
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
38
- {
39
- no: 2,
40
- name: "request_type_url",
41
- kind: "scalar",
42
- T: 9 /* ScalarType.STRING */,
43
- },
44
- {
45
- no: 3,
46
- name: "request_streaming",
47
- kind: "scalar",
48
- T: 8 /* ScalarType.BOOL */,
49
- },
50
- {
51
- no: 4,
52
- name: "response_type_url",
53
- kind: "scalar",
54
- T: 9 /* ScalarType.STRING */,
55
- },
56
- {
57
- no: 5,
58
- name: "response_streaming",
59
- kind: "scalar",
60
- T: 8 /* ScalarType.BOOL */,
61
- },
62
- {
63
- no: 6,
64
- name: "options",
65
- kind: "message",
66
- T: () => Option,
67
- repeated: true,
68
- },
38
+ { no: 2, name: "request_type_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
39
+ { no: 3, name: "request_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
40
+ { no: 4, name: "response_type_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
41
+ { no: 5, name: "response_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
42
+ { no: 6, name: "options", kind: "message", T: () => Option, repeated: true },
69
43
  { no: 7, name: "syntax", kind: "enum", T: Syntax_Enum },
70
44
  ],
71
45
  packedByDefault: true,
@@ -82,20 +56,8 @@ export const Api = createMessageType({
82
56
  typeName: "google.protobuf.Api",
83
57
  fields: [
84
58
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
85
- {
86
- no: 2,
87
- name: "methods",
88
- kind: "message",
89
- T: () => Method,
90
- repeated: true,
91
- },
92
- {
93
- no: 3,
94
- name: "options",
95
- kind: "message",
96
- T: () => Option,
97
- repeated: true,
98
- },
59
+ { no: 2, name: "methods", kind: "message", T: () => Method, repeated: true },
60
+ { no: 3, name: "options", kind: "message", T: () => Option, repeated: true },
99
61
  { no: 4, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
100
62
  { no: 5, name: "source_context", kind: "message", T: () => SourceContext },
101
63
  { no: 6, name: "mixins", kind: "message", T: () => Mixin, repeated: true },