@superblocksteam/sabs-types-js 0.288.0 → 0.290.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.
|
@@ -18,6 +18,8 @@ export class CreateLiveEditRequest extends jspb.Message {
|
|
|
18
18
|
setSessionJwt(value: string): CreateLiveEditRequest;
|
|
19
19
|
getExpiresIn(): number;
|
|
20
20
|
setExpiresIn(value: number): CreateLiveEditRequest;
|
|
21
|
+
getClientKey(): string;
|
|
22
|
+
setClientKey(value: string): CreateLiveEditRequest;
|
|
21
23
|
|
|
22
24
|
serializeBinary(): Uint8Array;
|
|
23
25
|
toObject(includeInstance?: boolean): CreateLiveEditRequest.AsObject;
|
|
@@ -34,6 +36,7 @@ export namespace CreateLiveEditRequest {
|
|
|
34
36
|
application?: Application.AsObject,
|
|
35
37
|
sessionJwt: string,
|
|
36
38
|
expiresIn: number,
|
|
39
|
+
clientKey: string,
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
|
|
@@ -166,7 +166,8 @@ proto.liveedit.v1.CreateLiveEditRequest.toObject = function(includeInstance, msg
|
|
|
166
166
|
var f, obj = {
|
|
167
167
|
application: (f = msg.getApplication()) && proto.liveedit.v1.Application.toObject(includeInstance, f),
|
|
168
168
|
sessionJwt: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
169
|
-
expiresIn: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
169
|
+
expiresIn: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
170
|
+
clientKey: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
170
171
|
};
|
|
171
172
|
|
|
172
173
|
if (includeInstance) {
|
|
@@ -216,6 +217,10 @@ proto.liveedit.v1.CreateLiveEditRequest.deserializeBinaryFromReader = function(m
|
|
|
216
217
|
var value = /** @type {number} */ (reader.readInt64());
|
|
217
218
|
msg.setExpiresIn(value);
|
|
218
219
|
break;
|
|
220
|
+
case 4:
|
|
221
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
222
|
+
msg.setClientKey(value);
|
|
223
|
+
break;
|
|
219
224
|
default:
|
|
220
225
|
reader.skipField();
|
|
221
226
|
break;
|
|
@@ -267,6 +272,13 @@ proto.liveedit.v1.CreateLiveEditRequest.serializeBinaryToWriter = function(messa
|
|
|
267
272
|
f
|
|
268
273
|
);
|
|
269
274
|
}
|
|
275
|
+
f = message.getClientKey();
|
|
276
|
+
if (f.length > 0) {
|
|
277
|
+
writer.writeString(
|
|
278
|
+
4,
|
|
279
|
+
f
|
|
280
|
+
);
|
|
281
|
+
}
|
|
270
282
|
};
|
|
271
283
|
|
|
272
284
|
|
|
@@ -343,6 +355,24 @@ proto.liveedit.v1.CreateLiveEditRequest.prototype.setExpiresIn = function(value)
|
|
|
343
355
|
};
|
|
344
356
|
|
|
345
357
|
|
|
358
|
+
/**
|
|
359
|
+
* optional string client_key = 4;
|
|
360
|
+
* @return {string}
|
|
361
|
+
*/
|
|
362
|
+
proto.liveedit.v1.CreateLiveEditRequest.prototype.getClientKey = function() {
|
|
363
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @param {string} value
|
|
369
|
+
* @return {!proto.liveedit.v1.CreateLiveEditRequest} returns this
|
|
370
|
+
*/
|
|
371
|
+
proto.liveedit.v1.CreateLiveEditRequest.prototype.setClientKey = function(value) {
|
|
372
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
|
|
346
376
|
|
|
347
377
|
|
|
348
378
|
|