@ckeditor/ckeditor5-operations-compressor 41.4.2 → 42.0.0-alpha.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/README.md +6 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.d.ts +1 -1435
- package/src/lib/compiledmessages.js +2 -1
- package/src/lib/protobufdescriptions.js +23 -0
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
- package/dist/types/protobufdescriptions.d.ts +0 -8
- package/src/protobufdescriptions.d.ts +0 -4
- package/src/protobufdescriptions.js +0 -23
|
@@ -1,1435 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/** Properties of an AttributeOperation. */
|
|
4
|
-
export interface IAttributeOperation {
|
|
5
|
-
|
|
6
|
-
/** AttributeOperation range */
|
|
7
|
-
range?: (IRange|null);
|
|
8
|
-
|
|
9
|
-
/** AttributeOperation key */
|
|
10
|
-
key?: (string|null);
|
|
11
|
-
|
|
12
|
-
/** AttributeOperation oldValueBoolean */
|
|
13
|
-
oldValueBoolean?: (boolean|null);
|
|
14
|
-
|
|
15
|
-
/** AttributeOperation oldValueJson */
|
|
16
|
-
oldValueJson?: (string|null);
|
|
17
|
-
|
|
18
|
-
/** AttributeOperation newValueBoolean */
|
|
19
|
-
newValueBoolean?: (boolean|null);
|
|
20
|
-
|
|
21
|
-
/** AttributeOperation newValueJson */
|
|
22
|
-
newValueJson?: (string|null);
|
|
23
|
-
|
|
24
|
-
/** AttributeOperation wasUndone */
|
|
25
|
-
wasUndone?: (boolean|null);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/** Represents an AttributeOperation. */
|
|
29
|
-
export class AttributeOperation implements IAttributeOperation {
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Constructs a new AttributeOperation.
|
|
33
|
-
* @param [properties] Properties to set
|
|
34
|
-
*/
|
|
35
|
-
constructor(properties?: IAttributeOperation);
|
|
36
|
-
|
|
37
|
-
/** AttributeOperation range. */
|
|
38
|
-
public range?: (IRange|null);
|
|
39
|
-
|
|
40
|
-
/** AttributeOperation key. */
|
|
41
|
-
public key: string;
|
|
42
|
-
|
|
43
|
-
/** AttributeOperation oldValueBoolean. */
|
|
44
|
-
public oldValueBoolean: boolean;
|
|
45
|
-
|
|
46
|
-
/** AttributeOperation oldValueJson. */
|
|
47
|
-
public oldValueJson: string;
|
|
48
|
-
|
|
49
|
-
/** AttributeOperation newValueBoolean. */
|
|
50
|
-
public newValueBoolean: boolean;
|
|
51
|
-
|
|
52
|
-
/** AttributeOperation newValueJson. */
|
|
53
|
-
public newValueJson: string;
|
|
54
|
-
|
|
55
|
-
/** AttributeOperation wasUndone. */
|
|
56
|
-
public wasUndone: boolean;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Creates a new AttributeOperation instance using the specified properties.
|
|
60
|
-
* @param [properties] Properties to set
|
|
61
|
-
* @returns AttributeOperation instance
|
|
62
|
-
*/
|
|
63
|
-
public static create(properties?: IAttributeOperation): AttributeOperation;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Encodes the specified AttributeOperation message. Does not implicitly {@link AttributeOperation.verify|verify} messages.
|
|
67
|
-
* @param message AttributeOperation message or plain object to encode
|
|
68
|
-
* @param [writer] Writer to encode to
|
|
69
|
-
* @returns Writer
|
|
70
|
-
*/
|
|
71
|
-
public static encode(message: IAttributeOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Encodes the specified AttributeOperation message, length delimited. Does not implicitly {@link AttributeOperation.verify|verify} messages.
|
|
75
|
-
* @param message AttributeOperation message or plain object to encode
|
|
76
|
-
* @param [writer] Writer to encode to
|
|
77
|
-
* @returns Writer
|
|
78
|
-
*/
|
|
79
|
-
public static encodeDelimited(message: IAttributeOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Decodes an AttributeOperation message from the specified reader or buffer.
|
|
83
|
-
* @param reader Reader or buffer to decode from
|
|
84
|
-
* @param [length] Message length if known beforehand
|
|
85
|
-
* @returns AttributeOperation
|
|
86
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88
|
-
*/
|
|
89
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AttributeOperation;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Decodes an AttributeOperation message from the specified reader or buffer, length delimited.
|
|
93
|
-
* @param reader Reader or buffer to decode from
|
|
94
|
-
* @returns AttributeOperation
|
|
95
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
96
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
97
|
-
*/
|
|
98
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AttributeOperation;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Verifies an AttributeOperation message.
|
|
102
|
-
* @param message Plain object to verify
|
|
103
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
104
|
-
*/
|
|
105
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Creates an AttributeOperation message from a plain object. Also converts values to their respective internal types.
|
|
109
|
-
* @param object Plain object
|
|
110
|
-
* @returns AttributeOperation
|
|
111
|
-
*/
|
|
112
|
-
public static fromObject(object: { [k: string]: any }): AttributeOperation;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Creates a plain object from an AttributeOperation message. Also converts values to other types if specified.
|
|
116
|
-
* @param message AttributeOperation
|
|
117
|
-
* @param [options] Conversion options
|
|
118
|
-
* @returns Plain object
|
|
119
|
-
*/
|
|
120
|
-
public static toObject(message: AttributeOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Converts this AttributeOperation to JSON.
|
|
124
|
-
* @returns JSON object
|
|
125
|
-
*/
|
|
126
|
-
public toJSON(): { [k: string]: any };
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Gets the default type url for AttributeOperation
|
|
130
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
131
|
-
* @returns The default type url
|
|
132
|
-
*/
|
|
133
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/** Properties of an InsertOperation. */
|
|
137
|
-
export interface IInsertOperation {
|
|
138
|
-
|
|
139
|
-
/** InsertOperation position */
|
|
140
|
-
position?: (IPosition|null);
|
|
141
|
-
|
|
142
|
-
/** InsertOperation nodes */
|
|
143
|
-
nodes?: (IElement[]|null);
|
|
144
|
-
|
|
145
|
-
/** InsertOperation shouldReceiveAttributes */
|
|
146
|
-
shouldReceiveAttributes?: (boolean|null);
|
|
147
|
-
|
|
148
|
-
/** InsertOperation wasUndone */
|
|
149
|
-
wasUndone?: (boolean|null);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/** Represents an InsertOperation. */
|
|
153
|
-
export class InsertOperation implements IInsertOperation {
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Constructs a new InsertOperation.
|
|
157
|
-
* @param [properties] Properties to set
|
|
158
|
-
*/
|
|
159
|
-
constructor(properties?: IInsertOperation);
|
|
160
|
-
|
|
161
|
-
/** InsertOperation position. */
|
|
162
|
-
public position?: (IPosition|null);
|
|
163
|
-
|
|
164
|
-
/** InsertOperation nodes. */
|
|
165
|
-
public nodes: IElement[];
|
|
166
|
-
|
|
167
|
-
/** InsertOperation shouldReceiveAttributes. */
|
|
168
|
-
public shouldReceiveAttributes: boolean;
|
|
169
|
-
|
|
170
|
-
/** InsertOperation wasUndone. */
|
|
171
|
-
public wasUndone: boolean;
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Creates a new InsertOperation instance using the specified properties.
|
|
175
|
-
* @param [properties] Properties to set
|
|
176
|
-
* @returns InsertOperation instance
|
|
177
|
-
*/
|
|
178
|
-
public static create(properties?: IInsertOperation): InsertOperation;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Encodes the specified InsertOperation message. Does not implicitly {@link InsertOperation.verify|verify} messages.
|
|
182
|
-
* @param message InsertOperation message or plain object to encode
|
|
183
|
-
* @param [writer] Writer to encode to
|
|
184
|
-
* @returns Writer
|
|
185
|
-
*/
|
|
186
|
-
public static encode(message: IInsertOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* Encodes the specified InsertOperation message, length delimited. Does not implicitly {@link InsertOperation.verify|verify} messages.
|
|
190
|
-
* @param message InsertOperation message or plain object to encode
|
|
191
|
-
* @param [writer] Writer to encode to
|
|
192
|
-
* @returns Writer
|
|
193
|
-
*/
|
|
194
|
-
public static encodeDelimited(message: IInsertOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Decodes an InsertOperation message from the specified reader or buffer.
|
|
198
|
-
* @param reader Reader or buffer to decode from
|
|
199
|
-
* @param [length] Message length if known beforehand
|
|
200
|
-
* @returns InsertOperation
|
|
201
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
202
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
203
|
-
*/
|
|
204
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InsertOperation;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Decodes an InsertOperation message from the specified reader or buffer, length delimited.
|
|
208
|
-
* @param reader Reader or buffer to decode from
|
|
209
|
-
* @returns InsertOperation
|
|
210
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
211
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
212
|
-
*/
|
|
213
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InsertOperation;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Verifies an InsertOperation message.
|
|
217
|
-
* @param message Plain object to verify
|
|
218
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
219
|
-
*/
|
|
220
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Creates an InsertOperation message from a plain object. Also converts values to their respective internal types.
|
|
224
|
-
* @param object Plain object
|
|
225
|
-
* @returns InsertOperation
|
|
226
|
-
*/
|
|
227
|
-
public static fromObject(object: { [k: string]: any }): InsertOperation;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Creates a plain object from an InsertOperation message. Also converts values to other types if specified.
|
|
231
|
-
* @param message InsertOperation
|
|
232
|
-
* @param [options] Conversion options
|
|
233
|
-
* @returns Plain object
|
|
234
|
-
*/
|
|
235
|
-
public static toObject(message: InsertOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Converts this InsertOperation to JSON.
|
|
239
|
-
* @returns JSON object
|
|
240
|
-
*/
|
|
241
|
-
public toJSON(): { [k: string]: any };
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Gets the default type url for InsertOperation
|
|
245
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
246
|
-
* @returns The default type url
|
|
247
|
-
*/
|
|
248
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/** Properties of a MarkerOperation. */
|
|
252
|
-
export interface IMarkerOperation {
|
|
253
|
-
|
|
254
|
-
/** MarkerOperation name */
|
|
255
|
-
name?: (string|null);
|
|
256
|
-
|
|
257
|
-
/** MarkerOperation oldRange */
|
|
258
|
-
oldRange?: (IRange|null);
|
|
259
|
-
|
|
260
|
-
/** MarkerOperation newRange */
|
|
261
|
-
newRange?: (IRange|null);
|
|
262
|
-
|
|
263
|
-
/** MarkerOperation affectsData */
|
|
264
|
-
affectsData?: (boolean|null);
|
|
265
|
-
|
|
266
|
-
/** MarkerOperation wasUndone */
|
|
267
|
-
wasUndone?: (boolean|null);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/** Represents a MarkerOperation. */
|
|
271
|
-
export class MarkerOperation implements IMarkerOperation {
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* Constructs a new MarkerOperation.
|
|
275
|
-
* @param [properties] Properties to set
|
|
276
|
-
*/
|
|
277
|
-
constructor(properties?: IMarkerOperation);
|
|
278
|
-
|
|
279
|
-
/** MarkerOperation name. */
|
|
280
|
-
public name: string;
|
|
281
|
-
|
|
282
|
-
/** MarkerOperation oldRange. */
|
|
283
|
-
public oldRange?: (IRange|null);
|
|
284
|
-
|
|
285
|
-
/** MarkerOperation newRange. */
|
|
286
|
-
public newRange?: (IRange|null);
|
|
287
|
-
|
|
288
|
-
/** MarkerOperation affectsData. */
|
|
289
|
-
public affectsData: boolean;
|
|
290
|
-
|
|
291
|
-
/** MarkerOperation wasUndone. */
|
|
292
|
-
public wasUndone: boolean;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Creates a new MarkerOperation instance using the specified properties.
|
|
296
|
-
* @param [properties] Properties to set
|
|
297
|
-
* @returns MarkerOperation instance
|
|
298
|
-
*/
|
|
299
|
-
public static create(properties?: IMarkerOperation): MarkerOperation;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Encodes the specified MarkerOperation message. Does not implicitly {@link MarkerOperation.verify|verify} messages.
|
|
303
|
-
* @param message MarkerOperation message or plain object to encode
|
|
304
|
-
* @param [writer] Writer to encode to
|
|
305
|
-
* @returns Writer
|
|
306
|
-
*/
|
|
307
|
-
public static encode(message: IMarkerOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* Encodes the specified MarkerOperation message, length delimited. Does not implicitly {@link MarkerOperation.verify|verify} messages.
|
|
311
|
-
* @param message MarkerOperation message or plain object to encode
|
|
312
|
-
* @param [writer] Writer to encode to
|
|
313
|
-
* @returns Writer
|
|
314
|
-
*/
|
|
315
|
-
public static encodeDelimited(message: IMarkerOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Decodes a MarkerOperation message from the specified reader or buffer.
|
|
319
|
-
* @param reader Reader or buffer to decode from
|
|
320
|
-
* @param [length] Message length if known beforehand
|
|
321
|
-
* @returns MarkerOperation
|
|
322
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
323
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
324
|
-
*/
|
|
325
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MarkerOperation;
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* Decodes a MarkerOperation message from the specified reader or buffer, length delimited.
|
|
329
|
-
* @param reader Reader or buffer to decode from
|
|
330
|
-
* @returns MarkerOperation
|
|
331
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
332
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
333
|
-
*/
|
|
334
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MarkerOperation;
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* Verifies a MarkerOperation message.
|
|
338
|
-
* @param message Plain object to verify
|
|
339
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
340
|
-
*/
|
|
341
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Creates a MarkerOperation message from a plain object. Also converts values to their respective internal types.
|
|
345
|
-
* @param object Plain object
|
|
346
|
-
* @returns MarkerOperation
|
|
347
|
-
*/
|
|
348
|
-
public static fromObject(object: { [k: string]: any }): MarkerOperation;
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* Creates a plain object from a MarkerOperation message. Also converts values to other types if specified.
|
|
352
|
-
* @param message MarkerOperation
|
|
353
|
-
* @param [options] Conversion options
|
|
354
|
-
* @returns Plain object
|
|
355
|
-
*/
|
|
356
|
-
public static toObject(message: MarkerOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* Converts this MarkerOperation to JSON.
|
|
360
|
-
* @returns JSON object
|
|
361
|
-
*/
|
|
362
|
-
public toJSON(): { [k: string]: any };
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Gets the default type url for MarkerOperation
|
|
366
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
367
|
-
* @returns The default type url
|
|
368
|
-
*/
|
|
369
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
/** Properties of a MergeOperation. */
|
|
373
|
-
export interface IMergeOperation {
|
|
374
|
-
|
|
375
|
-
/** MergeOperation sourcePosition */
|
|
376
|
-
sourcePosition?: (IPosition|null);
|
|
377
|
-
|
|
378
|
-
/** MergeOperation targetPosition */
|
|
379
|
-
targetPosition?: (IPosition|null);
|
|
380
|
-
|
|
381
|
-
/** MergeOperation graveyardPosition */
|
|
382
|
-
graveyardPosition?: (IPosition|null);
|
|
383
|
-
|
|
384
|
-
/** MergeOperation howMany */
|
|
385
|
-
howMany?: (number|null);
|
|
386
|
-
|
|
387
|
-
/** MergeOperation wasUndone */
|
|
388
|
-
wasUndone?: (boolean|null);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
/** Represents a MergeOperation. */
|
|
392
|
-
export class MergeOperation implements IMergeOperation {
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Constructs a new MergeOperation.
|
|
396
|
-
* @param [properties] Properties to set
|
|
397
|
-
*/
|
|
398
|
-
constructor(properties?: IMergeOperation);
|
|
399
|
-
|
|
400
|
-
/** MergeOperation sourcePosition. */
|
|
401
|
-
public sourcePosition?: (IPosition|null);
|
|
402
|
-
|
|
403
|
-
/** MergeOperation targetPosition. */
|
|
404
|
-
public targetPosition?: (IPosition|null);
|
|
405
|
-
|
|
406
|
-
/** MergeOperation graveyardPosition. */
|
|
407
|
-
public graveyardPosition?: (IPosition|null);
|
|
408
|
-
|
|
409
|
-
/** MergeOperation howMany. */
|
|
410
|
-
public howMany: number;
|
|
411
|
-
|
|
412
|
-
/** MergeOperation wasUndone. */
|
|
413
|
-
public wasUndone: boolean;
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Creates a new MergeOperation instance using the specified properties.
|
|
417
|
-
* @param [properties] Properties to set
|
|
418
|
-
* @returns MergeOperation instance
|
|
419
|
-
*/
|
|
420
|
-
public static create(properties?: IMergeOperation): MergeOperation;
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* Encodes the specified MergeOperation message. Does not implicitly {@link MergeOperation.verify|verify} messages.
|
|
424
|
-
* @param message MergeOperation message or plain object to encode
|
|
425
|
-
* @param [writer] Writer to encode to
|
|
426
|
-
* @returns Writer
|
|
427
|
-
*/
|
|
428
|
-
public static encode(message: IMergeOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Encodes the specified MergeOperation message, length delimited. Does not implicitly {@link MergeOperation.verify|verify} messages.
|
|
432
|
-
* @param message MergeOperation message or plain object to encode
|
|
433
|
-
* @param [writer] Writer to encode to
|
|
434
|
-
* @returns Writer
|
|
435
|
-
*/
|
|
436
|
-
public static encodeDelimited(message: IMergeOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* Decodes a MergeOperation message from the specified reader or buffer.
|
|
440
|
-
* @param reader Reader or buffer to decode from
|
|
441
|
-
* @param [length] Message length if known beforehand
|
|
442
|
-
* @returns MergeOperation
|
|
443
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
444
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
445
|
-
*/
|
|
446
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MergeOperation;
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* Decodes a MergeOperation message from the specified reader or buffer, length delimited.
|
|
450
|
-
* @param reader Reader or buffer to decode from
|
|
451
|
-
* @returns MergeOperation
|
|
452
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
453
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
454
|
-
*/
|
|
455
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MergeOperation;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Verifies a MergeOperation message.
|
|
459
|
-
* @param message Plain object to verify
|
|
460
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
461
|
-
*/
|
|
462
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
* Creates a MergeOperation message from a plain object. Also converts values to their respective internal types.
|
|
466
|
-
* @param object Plain object
|
|
467
|
-
* @returns MergeOperation
|
|
468
|
-
*/
|
|
469
|
-
public static fromObject(object: { [k: string]: any }): MergeOperation;
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* Creates a plain object from a MergeOperation message. Also converts values to other types if specified.
|
|
473
|
-
* @param message MergeOperation
|
|
474
|
-
* @param [options] Conversion options
|
|
475
|
-
* @returns Plain object
|
|
476
|
-
*/
|
|
477
|
-
public static toObject(message: MergeOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
478
|
-
|
|
479
|
-
/**
|
|
480
|
-
* Converts this MergeOperation to JSON.
|
|
481
|
-
* @returns JSON object
|
|
482
|
-
*/
|
|
483
|
-
public toJSON(): { [k: string]: any };
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
* Gets the default type url for MergeOperation
|
|
487
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
488
|
-
* @returns The default type url
|
|
489
|
-
*/
|
|
490
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/** Properties of a MoveOperation. */
|
|
494
|
-
export interface IMoveOperation {
|
|
495
|
-
|
|
496
|
-
/** MoveOperation sourcePosition */
|
|
497
|
-
sourcePosition?: (IPosition|null);
|
|
498
|
-
|
|
499
|
-
/** MoveOperation howMany */
|
|
500
|
-
howMany?: (number|null);
|
|
501
|
-
|
|
502
|
-
/** MoveOperation targetPosition */
|
|
503
|
-
targetPosition?: (IPosition|null);
|
|
504
|
-
|
|
505
|
-
/** MoveOperation wasUndone */
|
|
506
|
-
wasUndone?: (boolean|null);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/** Represents a MoveOperation. */
|
|
510
|
-
export class MoveOperation implements IMoveOperation {
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Constructs a new MoveOperation.
|
|
514
|
-
* @param [properties] Properties to set
|
|
515
|
-
*/
|
|
516
|
-
constructor(properties?: IMoveOperation);
|
|
517
|
-
|
|
518
|
-
/** MoveOperation sourcePosition. */
|
|
519
|
-
public sourcePosition?: (IPosition|null);
|
|
520
|
-
|
|
521
|
-
/** MoveOperation howMany. */
|
|
522
|
-
public howMany: number;
|
|
523
|
-
|
|
524
|
-
/** MoveOperation targetPosition. */
|
|
525
|
-
public targetPosition?: (IPosition|null);
|
|
526
|
-
|
|
527
|
-
/** MoveOperation wasUndone. */
|
|
528
|
-
public wasUndone: boolean;
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* Creates a new MoveOperation instance using the specified properties.
|
|
532
|
-
* @param [properties] Properties to set
|
|
533
|
-
* @returns MoveOperation instance
|
|
534
|
-
*/
|
|
535
|
-
public static create(properties?: IMoveOperation): MoveOperation;
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Encodes the specified MoveOperation message. Does not implicitly {@link MoveOperation.verify|verify} messages.
|
|
539
|
-
* @param message MoveOperation message or plain object to encode
|
|
540
|
-
* @param [writer] Writer to encode to
|
|
541
|
-
* @returns Writer
|
|
542
|
-
*/
|
|
543
|
-
public static encode(message: IMoveOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* Encodes the specified MoveOperation message, length delimited. Does not implicitly {@link MoveOperation.verify|verify} messages.
|
|
547
|
-
* @param message MoveOperation message or plain object to encode
|
|
548
|
-
* @param [writer] Writer to encode to
|
|
549
|
-
* @returns Writer
|
|
550
|
-
*/
|
|
551
|
-
public static encodeDelimited(message: IMoveOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* Decodes a MoveOperation message from the specified reader or buffer.
|
|
555
|
-
* @param reader Reader or buffer to decode from
|
|
556
|
-
* @param [length] Message length if known beforehand
|
|
557
|
-
* @returns MoveOperation
|
|
558
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
559
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
560
|
-
*/
|
|
561
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): MoveOperation;
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* Decodes a MoveOperation message from the specified reader or buffer, length delimited.
|
|
565
|
-
* @param reader Reader or buffer to decode from
|
|
566
|
-
* @returns MoveOperation
|
|
567
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
568
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
569
|
-
*/
|
|
570
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): MoveOperation;
|
|
571
|
-
|
|
572
|
-
/**
|
|
573
|
-
* Verifies a MoveOperation message.
|
|
574
|
-
* @param message Plain object to verify
|
|
575
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
576
|
-
*/
|
|
577
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* Creates a MoveOperation message from a plain object. Also converts values to their respective internal types.
|
|
581
|
-
* @param object Plain object
|
|
582
|
-
* @returns MoveOperation
|
|
583
|
-
*/
|
|
584
|
-
public static fromObject(object: { [k: string]: any }): MoveOperation;
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* Creates a plain object from a MoveOperation message. Also converts values to other types if specified.
|
|
588
|
-
* @param message MoveOperation
|
|
589
|
-
* @param [options] Conversion options
|
|
590
|
-
* @returns Plain object
|
|
591
|
-
*/
|
|
592
|
-
public static toObject(message: MoveOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* Converts this MoveOperation to JSON.
|
|
596
|
-
* @returns JSON object
|
|
597
|
-
*/
|
|
598
|
-
public toJSON(): { [k: string]: any };
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* Gets the default type url for MoveOperation
|
|
602
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
603
|
-
* @returns The default type url
|
|
604
|
-
*/
|
|
605
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
/** Properties of a RenameOperation. */
|
|
609
|
-
export interface IRenameOperation {
|
|
610
|
-
|
|
611
|
-
/** RenameOperation position */
|
|
612
|
-
position?: (IPosition|null);
|
|
613
|
-
|
|
614
|
-
/** RenameOperation oldName */
|
|
615
|
-
oldName?: (string|null);
|
|
616
|
-
|
|
617
|
-
/** RenameOperation newName */
|
|
618
|
-
newName?: (string|null);
|
|
619
|
-
|
|
620
|
-
/** RenameOperation wasUndone */
|
|
621
|
-
wasUndone?: (boolean|null);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
/** Represents a RenameOperation. */
|
|
625
|
-
export class RenameOperation implements IRenameOperation {
|
|
626
|
-
|
|
627
|
-
/**
|
|
628
|
-
* Constructs a new RenameOperation.
|
|
629
|
-
* @param [properties] Properties to set
|
|
630
|
-
*/
|
|
631
|
-
constructor(properties?: IRenameOperation);
|
|
632
|
-
|
|
633
|
-
/** RenameOperation position. */
|
|
634
|
-
public position?: (IPosition|null);
|
|
635
|
-
|
|
636
|
-
/** RenameOperation oldName. */
|
|
637
|
-
public oldName: string;
|
|
638
|
-
|
|
639
|
-
/** RenameOperation newName. */
|
|
640
|
-
public newName: string;
|
|
641
|
-
|
|
642
|
-
/** RenameOperation wasUndone. */
|
|
643
|
-
public wasUndone: boolean;
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* Creates a new RenameOperation instance using the specified properties.
|
|
647
|
-
* @param [properties] Properties to set
|
|
648
|
-
* @returns RenameOperation instance
|
|
649
|
-
*/
|
|
650
|
-
public static create(properties?: IRenameOperation): RenameOperation;
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Encodes the specified RenameOperation message. Does not implicitly {@link RenameOperation.verify|verify} messages.
|
|
654
|
-
* @param message RenameOperation message or plain object to encode
|
|
655
|
-
* @param [writer] Writer to encode to
|
|
656
|
-
* @returns Writer
|
|
657
|
-
*/
|
|
658
|
-
public static encode(message: IRenameOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
659
|
-
|
|
660
|
-
/**
|
|
661
|
-
* Encodes the specified RenameOperation message, length delimited. Does not implicitly {@link RenameOperation.verify|verify} messages.
|
|
662
|
-
* @param message RenameOperation message or plain object to encode
|
|
663
|
-
* @param [writer] Writer to encode to
|
|
664
|
-
* @returns Writer
|
|
665
|
-
*/
|
|
666
|
-
public static encodeDelimited(message: IRenameOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
667
|
-
|
|
668
|
-
/**
|
|
669
|
-
* Decodes a RenameOperation message from the specified reader or buffer.
|
|
670
|
-
* @param reader Reader or buffer to decode from
|
|
671
|
-
* @param [length] Message length if known beforehand
|
|
672
|
-
* @returns RenameOperation
|
|
673
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
674
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
675
|
-
*/
|
|
676
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RenameOperation;
|
|
677
|
-
|
|
678
|
-
/**
|
|
679
|
-
* Decodes a RenameOperation message from the specified reader or buffer, length delimited.
|
|
680
|
-
* @param reader Reader or buffer to decode from
|
|
681
|
-
* @returns RenameOperation
|
|
682
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
683
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
684
|
-
*/
|
|
685
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RenameOperation;
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* Verifies a RenameOperation message.
|
|
689
|
-
* @param message Plain object to verify
|
|
690
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
691
|
-
*/
|
|
692
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
693
|
-
|
|
694
|
-
/**
|
|
695
|
-
* Creates a RenameOperation message from a plain object. Also converts values to their respective internal types.
|
|
696
|
-
* @param object Plain object
|
|
697
|
-
* @returns RenameOperation
|
|
698
|
-
*/
|
|
699
|
-
public static fromObject(object: { [k: string]: any }): RenameOperation;
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* Creates a plain object from a RenameOperation message. Also converts values to other types if specified.
|
|
703
|
-
* @param message RenameOperation
|
|
704
|
-
* @param [options] Conversion options
|
|
705
|
-
* @returns Plain object
|
|
706
|
-
*/
|
|
707
|
-
public static toObject(message: RenameOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* Converts this RenameOperation to JSON.
|
|
711
|
-
* @returns JSON object
|
|
712
|
-
*/
|
|
713
|
-
public toJSON(): { [k: string]: any };
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* Gets the default type url for RenameOperation
|
|
717
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
718
|
-
* @returns The default type url
|
|
719
|
-
*/
|
|
720
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
/** Properties of a RootAttributeOperation. */
|
|
724
|
-
export interface IRootAttributeOperation {
|
|
725
|
-
|
|
726
|
-
/** RootAttributeOperation root */
|
|
727
|
-
root?: (string|null);
|
|
728
|
-
|
|
729
|
-
/** RootAttributeOperation key */
|
|
730
|
-
key?: (string|null);
|
|
731
|
-
|
|
732
|
-
/** RootAttributeOperation oldValueBoolean */
|
|
733
|
-
oldValueBoolean?: (boolean|null);
|
|
734
|
-
|
|
735
|
-
/** RootAttributeOperation oldValueJson */
|
|
736
|
-
oldValueJson?: (string|null);
|
|
737
|
-
|
|
738
|
-
/** RootAttributeOperation newValueBoolean */
|
|
739
|
-
newValueBoolean?: (boolean|null);
|
|
740
|
-
|
|
741
|
-
/** RootAttributeOperation newValueJson */
|
|
742
|
-
newValueJson?: (string|null);
|
|
743
|
-
|
|
744
|
-
/** RootAttributeOperation wasUndone */
|
|
745
|
-
wasUndone?: (boolean|null);
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/** Represents a RootAttributeOperation. */
|
|
749
|
-
export class RootAttributeOperation implements IRootAttributeOperation {
|
|
750
|
-
|
|
751
|
-
/**
|
|
752
|
-
* Constructs a new RootAttributeOperation.
|
|
753
|
-
* @param [properties] Properties to set
|
|
754
|
-
*/
|
|
755
|
-
constructor(properties?: IRootAttributeOperation);
|
|
756
|
-
|
|
757
|
-
/** RootAttributeOperation root. */
|
|
758
|
-
public root: string;
|
|
759
|
-
|
|
760
|
-
/** RootAttributeOperation key. */
|
|
761
|
-
public key: string;
|
|
762
|
-
|
|
763
|
-
/** RootAttributeOperation oldValueBoolean. */
|
|
764
|
-
public oldValueBoolean: boolean;
|
|
765
|
-
|
|
766
|
-
/** RootAttributeOperation oldValueJson. */
|
|
767
|
-
public oldValueJson: string;
|
|
768
|
-
|
|
769
|
-
/** RootAttributeOperation newValueBoolean. */
|
|
770
|
-
public newValueBoolean: boolean;
|
|
771
|
-
|
|
772
|
-
/** RootAttributeOperation newValueJson. */
|
|
773
|
-
public newValueJson: string;
|
|
774
|
-
|
|
775
|
-
/** RootAttributeOperation wasUndone. */
|
|
776
|
-
public wasUndone: boolean;
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* Creates a new RootAttributeOperation instance using the specified properties.
|
|
780
|
-
* @param [properties] Properties to set
|
|
781
|
-
* @returns RootAttributeOperation instance
|
|
782
|
-
*/
|
|
783
|
-
public static create(properties?: IRootAttributeOperation): RootAttributeOperation;
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
* Encodes the specified RootAttributeOperation message. Does not implicitly {@link RootAttributeOperation.verify|verify} messages.
|
|
787
|
-
* @param message RootAttributeOperation message or plain object to encode
|
|
788
|
-
* @param [writer] Writer to encode to
|
|
789
|
-
* @returns Writer
|
|
790
|
-
*/
|
|
791
|
-
public static encode(message: IRootAttributeOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* Encodes the specified RootAttributeOperation message, length delimited. Does not implicitly {@link RootAttributeOperation.verify|verify} messages.
|
|
795
|
-
* @param message RootAttributeOperation message or plain object to encode
|
|
796
|
-
* @param [writer] Writer to encode to
|
|
797
|
-
* @returns Writer
|
|
798
|
-
*/
|
|
799
|
-
public static encodeDelimited(message: IRootAttributeOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
800
|
-
|
|
801
|
-
/**
|
|
802
|
-
* Decodes a RootAttributeOperation message from the specified reader or buffer.
|
|
803
|
-
* @param reader Reader or buffer to decode from
|
|
804
|
-
* @param [length] Message length if known beforehand
|
|
805
|
-
* @returns RootAttributeOperation
|
|
806
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
807
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
808
|
-
*/
|
|
809
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RootAttributeOperation;
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* Decodes a RootAttributeOperation message from the specified reader or buffer, length delimited.
|
|
813
|
-
* @param reader Reader or buffer to decode from
|
|
814
|
-
* @returns RootAttributeOperation
|
|
815
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
816
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
817
|
-
*/
|
|
818
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RootAttributeOperation;
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* Verifies a RootAttributeOperation message.
|
|
822
|
-
* @param message Plain object to verify
|
|
823
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
824
|
-
*/
|
|
825
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* Creates a RootAttributeOperation message from a plain object. Also converts values to their respective internal types.
|
|
829
|
-
* @param object Plain object
|
|
830
|
-
* @returns RootAttributeOperation
|
|
831
|
-
*/
|
|
832
|
-
public static fromObject(object: { [k: string]: any }): RootAttributeOperation;
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
* Creates a plain object from a RootAttributeOperation message. Also converts values to other types if specified.
|
|
836
|
-
* @param message RootAttributeOperation
|
|
837
|
-
* @param [options] Conversion options
|
|
838
|
-
* @returns Plain object
|
|
839
|
-
*/
|
|
840
|
-
public static toObject(message: RootAttributeOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
841
|
-
|
|
842
|
-
/**
|
|
843
|
-
* Converts this RootAttributeOperation to JSON.
|
|
844
|
-
* @returns JSON object
|
|
845
|
-
*/
|
|
846
|
-
public toJSON(): { [k: string]: any };
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* Gets the default type url for RootAttributeOperation
|
|
850
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
851
|
-
* @returns The default type url
|
|
852
|
-
*/
|
|
853
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
/** Properties of a RootOperation. */
|
|
857
|
-
export interface IRootOperation {
|
|
858
|
-
|
|
859
|
-
/** RootOperation rootName */
|
|
860
|
-
rootName?: (string|null);
|
|
861
|
-
|
|
862
|
-
/** RootOperation elementName */
|
|
863
|
-
elementName?: (string|null);
|
|
864
|
-
|
|
865
|
-
/** RootOperation isAdd */
|
|
866
|
-
isAdd?: (boolean|null);
|
|
867
|
-
|
|
868
|
-
/** RootOperation wasUndone */
|
|
869
|
-
wasUndone?: (boolean|null);
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
/** Represents a RootOperation. */
|
|
873
|
-
export class RootOperation implements IRootOperation {
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* Constructs a new RootOperation.
|
|
877
|
-
* @param [properties] Properties to set
|
|
878
|
-
*/
|
|
879
|
-
constructor(properties?: IRootOperation);
|
|
880
|
-
|
|
881
|
-
/** RootOperation rootName. */
|
|
882
|
-
public rootName: string;
|
|
883
|
-
|
|
884
|
-
/** RootOperation elementName. */
|
|
885
|
-
public elementName: string;
|
|
886
|
-
|
|
887
|
-
/** RootOperation isAdd. */
|
|
888
|
-
public isAdd: boolean;
|
|
889
|
-
|
|
890
|
-
/** RootOperation wasUndone. */
|
|
891
|
-
public wasUndone: boolean;
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* Creates a new RootOperation instance using the specified properties.
|
|
895
|
-
* @param [properties] Properties to set
|
|
896
|
-
* @returns RootOperation instance
|
|
897
|
-
*/
|
|
898
|
-
public static create(properties?: IRootOperation): RootOperation;
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* Encodes the specified RootOperation message. Does not implicitly {@link RootOperation.verify|verify} messages.
|
|
902
|
-
* @param message RootOperation message or plain object to encode
|
|
903
|
-
* @param [writer] Writer to encode to
|
|
904
|
-
* @returns Writer
|
|
905
|
-
*/
|
|
906
|
-
public static encode(message: IRootOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
* Encodes the specified RootOperation message, length delimited. Does not implicitly {@link RootOperation.verify|verify} messages.
|
|
910
|
-
* @param message RootOperation message or plain object to encode
|
|
911
|
-
* @param [writer] Writer to encode to
|
|
912
|
-
* @returns Writer
|
|
913
|
-
*/
|
|
914
|
-
public static encodeDelimited(message: IRootOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* Decodes a RootOperation message from the specified reader or buffer.
|
|
918
|
-
* @param reader Reader or buffer to decode from
|
|
919
|
-
* @param [length] Message length if known beforehand
|
|
920
|
-
* @returns RootOperation
|
|
921
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
922
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
923
|
-
*/
|
|
924
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RootOperation;
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* Decodes a RootOperation message from the specified reader or buffer, length delimited.
|
|
928
|
-
* @param reader Reader or buffer to decode from
|
|
929
|
-
* @returns RootOperation
|
|
930
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
931
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
932
|
-
*/
|
|
933
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RootOperation;
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* Verifies a RootOperation message.
|
|
937
|
-
* @param message Plain object to verify
|
|
938
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
939
|
-
*/
|
|
940
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
941
|
-
|
|
942
|
-
/**
|
|
943
|
-
* Creates a RootOperation message from a plain object. Also converts values to their respective internal types.
|
|
944
|
-
* @param object Plain object
|
|
945
|
-
* @returns RootOperation
|
|
946
|
-
*/
|
|
947
|
-
public static fromObject(object: { [k: string]: any }): RootOperation;
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* Creates a plain object from a RootOperation message. Also converts values to other types if specified.
|
|
951
|
-
* @param message RootOperation
|
|
952
|
-
* @param [options] Conversion options
|
|
953
|
-
* @returns Plain object
|
|
954
|
-
*/
|
|
955
|
-
public static toObject(message: RootOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* Converts this RootOperation to JSON.
|
|
959
|
-
* @returns JSON object
|
|
960
|
-
*/
|
|
961
|
-
public toJSON(): { [k: string]: any };
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* Gets the default type url for RootOperation
|
|
965
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
966
|
-
* @returns The default type url
|
|
967
|
-
*/
|
|
968
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
/** Properties of a SplitOperation. */
|
|
972
|
-
export interface ISplitOperation {
|
|
973
|
-
|
|
974
|
-
/** SplitOperation splitPosition */
|
|
975
|
-
splitPosition?: (IPosition|null);
|
|
976
|
-
|
|
977
|
-
/** SplitOperation graveyardPosition */
|
|
978
|
-
graveyardPosition?: (IPosition|null);
|
|
979
|
-
|
|
980
|
-
/** SplitOperation howMany */
|
|
981
|
-
howMany?: (number|null);
|
|
982
|
-
|
|
983
|
-
/** SplitOperation insertionPosition */
|
|
984
|
-
insertionPosition?: (IPosition|null);
|
|
985
|
-
|
|
986
|
-
/** SplitOperation wasUndone */
|
|
987
|
-
wasUndone?: (boolean|null);
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
/** Represents a SplitOperation. */
|
|
991
|
-
export class SplitOperation implements ISplitOperation {
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* Constructs a new SplitOperation.
|
|
995
|
-
* @param [properties] Properties to set
|
|
996
|
-
*/
|
|
997
|
-
constructor(properties?: ISplitOperation);
|
|
998
|
-
|
|
999
|
-
/** SplitOperation splitPosition. */
|
|
1000
|
-
public splitPosition?: (IPosition|null);
|
|
1001
|
-
|
|
1002
|
-
/** SplitOperation graveyardPosition. */
|
|
1003
|
-
public graveyardPosition?: (IPosition|null);
|
|
1004
|
-
|
|
1005
|
-
/** SplitOperation howMany. */
|
|
1006
|
-
public howMany: number;
|
|
1007
|
-
|
|
1008
|
-
/** SplitOperation insertionPosition. */
|
|
1009
|
-
public insertionPosition?: (IPosition|null);
|
|
1010
|
-
|
|
1011
|
-
/** SplitOperation wasUndone. */
|
|
1012
|
-
public wasUndone: boolean;
|
|
1013
|
-
|
|
1014
|
-
/**
|
|
1015
|
-
* Creates a new SplitOperation instance using the specified properties.
|
|
1016
|
-
* @param [properties] Properties to set
|
|
1017
|
-
* @returns SplitOperation instance
|
|
1018
|
-
*/
|
|
1019
|
-
public static create(properties?: ISplitOperation): SplitOperation;
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* Encodes the specified SplitOperation message. Does not implicitly {@link SplitOperation.verify|verify} messages.
|
|
1023
|
-
* @param message SplitOperation message or plain object to encode
|
|
1024
|
-
* @param [writer] Writer to encode to
|
|
1025
|
-
* @returns Writer
|
|
1026
|
-
*/
|
|
1027
|
-
public static encode(message: ISplitOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1028
|
-
|
|
1029
|
-
/**
|
|
1030
|
-
* Encodes the specified SplitOperation message, length delimited. Does not implicitly {@link SplitOperation.verify|verify} messages.
|
|
1031
|
-
* @param message SplitOperation message or plain object to encode
|
|
1032
|
-
* @param [writer] Writer to encode to
|
|
1033
|
-
* @returns Writer
|
|
1034
|
-
*/
|
|
1035
|
-
public static encodeDelimited(message: ISplitOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* Decodes a SplitOperation message from the specified reader or buffer.
|
|
1039
|
-
* @param reader Reader or buffer to decode from
|
|
1040
|
-
* @param [length] Message length if known beforehand
|
|
1041
|
-
* @returns SplitOperation
|
|
1042
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1043
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1044
|
-
*/
|
|
1045
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SplitOperation;
|
|
1046
|
-
|
|
1047
|
-
/**
|
|
1048
|
-
* Decodes a SplitOperation message from the specified reader or buffer, length delimited.
|
|
1049
|
-
* @param reader Reader or buffer to decode from
|
|
1050
|
-
* @returns SplitOperation
|
|
1051
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1052
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1053
|
-
*/
|
|
1054
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SplitOperation;
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* Verifies a SplitOperation message.
|
|
1058
|
-
* @param message Plain object to verify
|
|
1059
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1060
|
-
*/
|
|
1061
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* Creates a SplitOperation message from a plain object. Also converts values to their respective internal types.
|
|
1065
|
-
* @param object Plain object
|
|
1066
|
-
* @returns SplitOperation
|
|
1067
|
-
*/
|
|
1068
|
-
public static fromObject(object: { [k: string]: any }): SplitOperation;
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
* Creates a plain object from a SplitOperation message. Also converts values to other types if specified.
|
|
1072
|
-
* @param message SplitOperation
|
|
1073
|
-
* @param [options] Conversion options
|
|
1074
|
-
* @returns Plain object
|
|
1075
|
-
*/
|
|
1076
|
-
public static toObject(message: SplitOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1077
|
-
|
|
1078
|
-
/**
|
|
1079
|
-
* Converts this SplitOperation to JSON.
|
|
1080
|
-
* @returns JSON object
|
|
1081
|
-
*/
|
|
1082
|
-
public toJSON(): { [k: string]: any };
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* Gets the default type url for SplitOperation
|
|
1086
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1087
|
-
* @returns The default type url
|
|
1088
|
-
*/
|
|
1089
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
/** Properties of a Position. */
|
|
1093
|
-
export interface IPosition {
|
|
1094
|
-
|
|
1095
|
-
/** Position root */
|
|
1096
|
-
root?: (string|null);
|
|
1097
|
-
|
|
1098
|
-
/** Position rootMain */
|
|
1099
|
-
rootMain?: (boolean|null);
|
|
1100
|
-
|
|
1101
|
-
/** Position rootGraveyard */
|
|
1102
|
-
rootGraveyard?: (boolean|null);
|
|
1103
|
-
|
|
1104
|
-
/** Position path */
|
|
1105
|
-
path?: (number[]|null);
|
|
1106
|
-
|
|
1107
|
-
/** Position stickiness */
|
|
1108
|
-
stickiness?: (string|null);
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
/** Represents a Position. */
|
|
1112
|
-
export class Position implements IPosition {
|
|
1113
|
-
|
|
1114
|
-
/**
|
|
1115
|
-
* Constructs a new Position.
|
|
1116
|
-
* @param [properties] Properties to set
|
|
1117
|
-
*/
|
|
1118
|
-
constructor(properties?: IPosition);
|
|
1119
|
-
|
|
1120
|
-
/** Position root. */
|
|
1121
|
-
public root: string;
|
|
1122
|
-
|
|
1123
|
-
/** Position rootMain. */
|
|
1124
|
-
public rootMain: boolean;
|
|
1125
|
-
|
|
1126
|
-
/** Position rootGraveyard. */
|
|
1127
|
-
public rootGraveyard: boolean;
|
|
1128
|
-
|
|
1129
|
-
/** Position path. */
|
|
1130
|
-
public path: number[];
|
|
1131
|
-
|
|
1132
|
-
/** Position stickiness. */
|
|
1133
|
-
public stickiness: string;
|
|
1134
|
-
|
|
1135
|
-
/**
|
|
1136
|
-
* Creates a new Position instance using the specified properties.
|
|
1137
|
-
* @param [properties] Properties to set
|
|
1138
|
-
* @returns Position instance
|
|
1139
|
-
*/
|
|
1140
|
-
public static create(properties?: IPosition): Position;
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* Encodes the specified Position message. Does not implicitly {@link Position.verify|verify} messages.
|
|
1144
|
-
* @param message Position message or plain object to encode
|
|
1145
|
-
* @param [writer] Writer to encode to
|
|
1146
|
-
* @returns Writer
|
|
1147
|
-
*/
|
|
1148
|
-
public static encode(message: IPosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Encodes the specified Position message, length delimited. Does not implicitly {@link Position.verify|verify} messages.
|
|
1152
|
-
* @param message Position message or plain object to encode
|
|
1153
|
-
* @param [writer] Writer to encode to
|
|
1154
|
-
* @returns Writer
|
|
1155
|
-
*/
|
|
1156
|
-
public static encodeDelimited(message: IPosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* Decodes a Position message from the specified reader or buffer.
|
|
1160
|
-
* @param reader Reader or buffer to decode from
|
|
1161
|
-
* @param [length] Message length if known beforehand
|
|
1162
|
-
* @returns Position
|
|
1163
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1164
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1165
|
-
*/
|
|
1166
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Position;
|
|
1167
|
-
|
|
1168
|
-
/**
|
|
1169
|
-
* Decodes a Position message from the specified reader or buffer, length delimited.
|
|
1170
|
-
* @param reader Reader or buffer to decode from
|
|
1171
|
-
* @returns Position
|
|
1172
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1173
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1174
|
-
*/
|
|
1175
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Position;
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* Verifies a Position message.
|
|
1179
|
-
* @param message Plain object to verify
|
|
1180
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1181
|
-
*/
|
|
1182
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1183
|
-
|
|
1184
|
-
/**
|
|
1185
|
-
* Creates a Position message from a plain object. Also converts values to their respective internal types.
|
|
1186
|
-
* @param object Plain object
|
|
1187
|
-
* @returns Position
|
|
1188
|
-
*/
|
|
1189
|
-
public static fromObject(object: { [k: string]: any }): Position;
|
|
1190
|
-
|
|
1191
|
-
/**
|
|
1192
|
-
* Creates a plain object from a Position message. Also converts values to other types if specified.
|
|
1193
|
-
* @param message Position
|
|
1194
|
-
* @param [options] Conversion options
|
|
1195
|
-
* @returns Plain object
|
|
1196
|
-
*/
|
|
1197
|
-
public static toObject(message: Position, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1198
|
-
|
|
1199
|
-
/**
|
|
1200
|
-
* Converts this Position to JSON.
|
|
1201
|
-
* @returns JSON object
|
|
1202
|
-
*/
|
|
1203
|
-
public toJSON(): { [k: string]: any };
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* Gets the default type url for Position
|
|
1207
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1208
|
-
* @returns The default type url
|
|
1209
|
-
*/
|
|
1210
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
/** Properties of a Range. */
|
|
1214
|
-
export interface IRange {
|
|
1215
|
-
|
|
1216
|
-
/** Range start */
|
|
1217
|
-
start?: (IPosition|null);
|
|
1218
|
-
|
|
1219
|
-
/** Range end */
|
|
1220
|
-
end?: (IPosition|null);
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
/** Represents a Range. */
|
|
1224
|
-
export class Range implements IRange {
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* Constructs a new Range.
|
|
1228
|
-
* @param [properties] Properties to set
|
|
1229
|
-
*/
|
|
1230
|
-
constructor(properties?: IRange);
|
|
1231
|
-
|
|
1232
|
-
/** Range start. */
|
|
1233
|
-
public start?: (IPosition|null);
|
|
1234
|
-
|
|
1235
|
-
/** Range end. */
|
|
1236
|
-
public end?: (IPosition|null);
|
|
1237
|
-
|
|
1238
|
-
/**
|
|
1239
|
-
* Creates a new Range instance using the specified properties.
|
|
1240
|
-
* @param [properties] Properties to set
|
|
1241
|
-
* @returns Range instance
|
|
1242
|
-
*/
|
|
1243
|
-
public static create(properties?: IRange): Range;
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* Encodes the specified Range message. Does not implicitly {@link Range.verify|verify} messages.
|
|
1247
|
-
* @param message Range message or plain object to encode
|
|
1248
|
-
* @param [writer] Writer to encode to
|
|
1249
|
-
* @returns Writer
|
|
1250
|
-
*/
|
|
1251
|
-
public static encode(message: IRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1252
|
-
|
|
1253
|
-
/**
|
|
1254
|
-
* Encodes the specified Range message, length delimited. Does not implicitly {@link Range.verify|verify} messages.
|
|
1255
|
-
* @param message Range message or plain object to encode
|
|
1256
|
-
* @param [writer] Writer to encode to
|
|
1257
|
-
* @returns Writer
|
|
1258
|
-
*/
|
|
1259
|
-
public static encodeDelimited(message: IRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1260
|
-
|
|
1261
|
-
/**
|
|
1262
|
-
* Decodes a Range message from the specified reader or buffer.
|
|
1263
|
-
* @param reader Reader or buffer to decode from
|
|
1264
|
-
* @param [length] Message length if known beforehand
|
|
1265
|
-
* @returns Range
|
|
1266
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1267
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1268
|
-
*/
|
|
1269
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Range;
|
|
1270
|
-
|
|
1271
|
-
/**
|
|
1272
|
-
* Decodes a Range message from the specified reader or buffer, length delimited.
|
|
1273
|
-
* @param reader Reader or buffer to decode from
|
|
1274
|
-
* @returns Range
|
|
1275
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1276
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1277
|
-
*/
|
|
1278
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Range;
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* Verifies a Range message.
|
|
1282
|
-
* @param message Plain object to verify
|
|
1283
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1284
|
-
*/
|
|
1285
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1286
|
-
|
|
1287
|
-
/**
|
|
1288
|
-
* Creates a Range message from a plain object. Also converts values to their respective internal types.
|
|
1289
|
-
* @param object Plain object
|
|
1290
|
-
* @returns Range
|
|
1291
|
-
*/
|
|
1292
|
-
public static fromObject(object: { [k: string]: any }): Range;
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* Creates a plain object from a Range message. Also converts values to other types if specified.
|
|
1296
|
-
* @param message Range
|
|
1297
|
-
* @param [options] Conversion options
|
|
1298
|
-
* @returns Plain object
|
|
1299
|
-
*/
|
|
1300
|
-
public static toObject(message: Range, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* Converts this Range to JSON.
|
|
1304
|
-
* @returns JSON object
|
|
1305
|
-
*/
|
|
1306
|
-
public toJSON(): { [k: string]: any };
|
|
1307
|
-
|
|
1308
|
-
/**
|
|
1309
|
-
* Gets the default type url for Range
|
|
1310
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1311
|
-
* @returns The default type url
|
|
1312
|
-
*/
|
|
1313
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
/** Properties of an Element. */
|
|
1317
|
-
export interface IElement {
|
|
1318
|
-
|
|
1319
|
-
/** Element name */
|
|
1320
|
-
name?: (string|null);
|
|
1321
|
-
|
|
1322
|
-
/** Element children */
|
|
1323
|
-
children?: (IElement[]|null);
|
|
1324
|
-
|
|
1325
|
-
/** Element data */
|
|
1326
|
-
data?: (string|null);
|
|
1327
|
-
|
|
1328
|
-
/** Element attributesBoolean */
|
|
1329
|
-
attributesBoolean?: ({ [k: string]: boolean }|null);
|
|
1330
|
-
|
|
1331
|
-
/** Element attributesJson */
|
|
1332
|
-
attributesJson?: (string|null);
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
/** Represents an Element. */
|
|
1336
|
-
export class Element implements IElement {
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* Constructs a new Element.
|
|
1340
|
-
* @param [properties] Properties to set
|
|
1341
|
-
*/
|
|
1342
|
-
constructor(properties?: IElement);
|
|
1343
|
-
|
|
1344
|
-
/** Element name. */
|
|
1345
|
-
public name: string;
|
|
1346
|
-
|
|
1347
|
-
/** Element children. */
|
|
1348
|
-
public children: IElement[];
|
|
1349
|
-
|
|
1350
|
-
/** Element data. */
|
|
1351
|
-
public data: string;
|
|
1352
|
-
|
|
1353
|
-
/** Element attributesBoolean. */
|
|
1354
|
-
public attributesBoolean: { [k: string]: boolean };
|
|
1355
|
-
|
|
1356
|
-
/** Element attributesJson. */
|
|
1357
|
-
public attributesJson: string;
|
|
1358
|
-
|
|
1359
|
-
/**
|
|
1360
|
-
* Creates a new Element instance using the specified properties.
|
|
1361
|
-
* @param [properties] Properties to set
|
|
1362
|
-
* @returns Element instance
|
|
1363
|
-
*/
|
|
1364
|
-
public static create(properties?: IElement): Element;
|
|
1365
|
-
|
|
1366
|
-
/**
|
|
1367
|
-
* Encodes the specified Element message. Does not implicitly {@link Element.verify|verify} messages.
|
|
1368
|
-
* @param message Element message or plain object to encode
|
|
1369
|
-
* @param [writer] Writer to encode to
|
|
1370
|
-
* @returns Writer
|
|
1371
|
-
*/
|
|
1372
|
-
public static encode(message: IElement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Encodes the specified Element message, length delimited. Does not implicitly {@link Element.verify|verify} messages.
|
|
1376
|
-
* @param message Element message or plain object to encode
|
|
1377
|
-
* @param [writer] Writer to encode to
|
|
1378
|
-
* @returns Writer
|
|
1379
|
-
*/
|
|
1380
|
-
public static encodeDelimited(message: IElement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* Decodes an Element message from the specified reader or buffer.
|
|
1384
|
-
* @param reader Reader or buffer to decode from
|
|
1385
|
-
* @param [length] Message length if known beforehand
|
|
1386
|
-
* @returns Element
|
|
1387
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1388
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1389
|
-
*/
|
|
1390
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): Element;
|
|
1391
|
-
|
|
1392
|
-
/**
|
|
1393
|
-
* Decodes an Element message from the specified reader or buffer, length delimited.
|
|
1394
|
-
* @param reader Reader or buffer to decode from
|
|
1395
|
-
* @returns Element
|
|
1396
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1397
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1398
|
-
*/
|
|
1399
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): Element;
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* Verifies an Element message.
|
|
1403
|
-
* @param message Plain object to verify
|
|
1404
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1405
|
-
*/
|
|
1406
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* Creates an Element message from a plain object. Also converts values to their respective internal types.
|
|
1410
|
-
* @param object Plain object
|
|
1411
|
-
* @returns Element
|
|
1412
|
-
*/
|
|
1413
|
-
public static fromObject(object: { [k: string]: any }): Element;
|
|
1414
|
-
|
|
1415
|
-
/**
|
|
1416
|
-
* Creates a plain object from an Element message. Also converts values to other types if specified.
|
|
1417
|
-
* @param message Element
|
|
1418
|
-
* @param [options] Conversion options
|
|
1419
|
-
* @returns Plain object
|
|
1420
|
-
*/
|
|
1421
|
-
public static toObject(message: Element, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* Converts this Element to JSON.
|
|
1425
|
-
* @returns JSON object
|
|
1426
|
-
*/
|
|
1427
|
-
public toJSON(): { [k: string]: any };
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
* Gets the default type url for Element
|
|
1431
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1432
|
-
* @returns The default type url
|
|
1433
|
-
*/
|
|
1434
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1435
|
-
}
|
|
1
|
+
export const messages: any;
|