@aceplus/smartace-api 2.1.0 → 2.2.0-alpha.1
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/package.json
CHANGED
package/platform.client_pb.d.ts
CHANGED
|
@@ -35,6 +35,11 @@ export class ClientProto extends jspb.Message {
|
|
|
35
35
|
getKapusModuleEnabled(): boolean;
|
|
36
36
|
setKapusModuleEnabled(value: boolean): void;
|
|
37
37
|
|
|
38
|
+
clearAssignableRolesList(): void;
|
|
39
|
+
getAssignableRolesList(): Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>;
|
|
40
|
+
setAssignableRolesList(value: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>): void;
|
|
41
|
+
addAssignableRoles(value: ClientProto.RolesMap[keyof ClientProto.RolesMap], index?: number): ClientProto.RolesMap[keyof ClientProto.RolesMap];
|
|
42
|
+
|
|
38
43
|
serializeBinary(): Uint8Array;
|
|
39
44
|
toObject(includeInstance?: boolean): ClientProto.AsObject;
|
|
40
45
|
static toObject(includeInstance: boolean, msg: ClientProto): ClientProto.AsObject;
|
|
@@ -56,6 +61,7 @@ export namespace ClientProto {
|
|
|
56
61
|
spicModuleEnabled: boolean,
|
|
57
62
|
drumtrackerModuleEnabled: boolean,
|
|
58
63
|
kapusModuleEnabled: boolean,
|
|
64
|
+
assignableRolesList: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>,
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
export class CreateRequest extends jspb.Message {
|
|
@@ -76,6 +82,20 @@ export namespace ClientProto {
|
|
|
76
82
|
getPublic(): boolean;
|
|
77
83
|
setPublic(value: boolean): void;
|
|
78
84
|
|
|
85
|
+
getSpicModuleEnabled(): boolean;
|
|
86
|
+
setSpicModuleEnabled(value: boolean): void;
|
|
87
|
+
|
|
88
|
+
getDrumtrackerModuleEnabled(): boolean;
|
|
89
|
+
setDrumtrackerModuleEnabled(value: boolean): void;
|
|
90
|
+
|
|
91
|
+
getKapusModuleEnabled(): boolean;
|
|
92
|
+
setKapusModuleEnabled(value: boolean): void;
|
|
93
|
+
|
|
94
|
+
clearAssignableRolesList(): void;
|
|
95
|
+
getAssignableRolesList(): Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>;
|
|
96
|
+
setAssignableRolesList(value: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>): void;
|
|
97
|
+
addAssignableRoles(value: ClientProto.RolesMap[keyof ClientProto.RolesMap], index?: number): ClientProto.RolesMap[keyof ClientProto.RolesMap];
|
|
98
|
+
|
|
79
99
|
serializeBinary(): Uint8Array;
|
|
80
100
|
toObject(includeInstance?: boolean): CreateRequest.AsObject;
|
|
81
101
|
static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
|
|
@@ -93,6 +113,10 @@ export namespace ClientProto {
|
|
|
93
113
|
image: Uint8Array | string,
|
|
94
114
|
phone: string,
|
|
95
115
|
pb_public: boolean,
|
|
116
|
+
spicModuleEnabled: boolean,
|
|
117
|
+
drumtrackerModuleEnabled: boolean,
|
|
118
|
+
kapusModuleEnabled: boolean,
|
|
119
|
+
assignableRolesList: Array<ClientProto.RolesMap[keyof ClientProto.RolesMap]>,
|
|
96
120
|
}
|
|
97
121
|
}
|
|
98
122
|
|
|
@@ -310,6 +334,18 @@ export namespace ClientProto {
|
|
|
310
334
|
}
|
|
311
335
|
}
|
|
312
336
|
|
|
337
|
+
export interface RolesMap {
|
|
338
|
+
SYSTEM_ADMIN: 0;
|
|
339
|
+
ADMIN: 1;
|
|
340
|
+
APP_GLOBAL: 2;
|
|
341
|
+
APP_CLUSTER: 3;
|
|
342
|
+
SERVICE_USER: 4;
|
|
343
|
+
DRUM_API_ERP: 5;
|
|
344
|
+
DRUM_TRACKER_VIEW_ALL: 6;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export const Roles: RolesMap;
|
|
348
|
+
|
|
313
349
|
export interface ClientFilterTypeMap {
|
|
314
350
|
REGISTERED: 0;
|
|
315
351
|
AVAILABLE: 1;
|
package/platform.client_pb.js
CHANGED
|
@@ -33,6 +33,7 @@ goog.exportSymbol('proto.Platform.ClientProto.DeleteRequest', null, global);
|
|
|
33
33
|
goog.exportSymbol('proto.Platform.ClientProto.RetrieveForAccountReply', null, global);
|
|
34
34
|
goog.exportSymbol('proto.Platform.ClientProto.RetrieveForAccountRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.Platform.ClientProto.RetrieveRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.Platform.ClientProto.Roles', null, global);
|
|
36
37
|
goog.exportSymbol('proto.Platform.ClientProto.SearchReply', null, global);
|
|
37
38
|
goog.exportSymbol('proto.Platform.ClientProto.SearchRequest', null, global);
|
|
38
39
|
goog.exportSymbol('proto.Platform.ClientProto.UpdateRequest', null, global);
|
|
@@ -47,7 +48,7 @@ goog.exportSymbol('proto.Platform.ClientProto.UpdateRequest', null, global);
|
|
|
47
48
|
* @constructor
|
|
48
49
|
*/
|
|
49
50
|
proto.Platform.ClientProto = function(opt_data) {
|
|
50
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
51
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.repeatedFields_, null);
|
|
51
52
|
};
|
|
52
53
|
goog.inherits(proto.Platform.ClientProto, jspb.Message);
|
|
53
54
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -68,7 +69,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
68
69
|
* @constructor
|
|
69
70
|
*/
|
|
70
71
|
proto.Platform.ClientProto.CreateRequest = function(opt_data) {
|
|
71
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
72
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Platform.ClientProto.CreateRequest.repeatedFields_, null);
|
|
72
73
|
};
|
|
73
74
|
goog.inherits(proto.Platform.ClientProto.CreateRequest, jspb.Message);
|
|
74
75
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -247,6 +248,13 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
247
248
|
proto.Platform.ClientProto.DeleteReply.displayName = 'proto.Platform.ClientProto.DeleteReply';
|
|
248
249
|
}
|
|
249
250
|
|
|
251
|
+
/**
|
|
252
|
+
* List of repeated fields within this message type.
|
|
253
|
+
* @private {!Array<number>}
|
|
254
|
+
* @const
|
|
255
|
+
*/
|
|
256
|
+
proto.Platform.ClientProto.repeatedFields_ = [10];
|
|
257
|
+
|
|
250
258
|
|
|
251
259
|
|
|
252
260
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -286,7 +294,8 @@ proto.Platform.ClientProto.toObject = function(includeInstance, msg) {
|
|
|
286
294
|
pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
287
295
|
spicModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
288
296
|
drumtrackerModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
289
|
-
kapusModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
297
|
+
kapusModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
298
|
+
assignableRolesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
|
|
290
299
|
};
|
|
291
300
|
|
|
292
301
|
if (includeInstance) {
|
|
@@ -359,6 +368,12 @@ proto.Platform.ClientProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
359
368
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
360
369
|
msg.setKapusModuleEnabled(value);
|
|
361
370
|
break;
|
|
371
|
+
case 10:
|
|
372
|
+
var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
373
|
+
for (var i = 0; i < values.length; i++) {
|
|
374
|
+
msg.addAssignableRoles(values[i]);
|
|
375
|
+
}
|
|
376
|
+
break;
|
|
362
377
|
default:
|
|
363
378
|
reader.skipField();
|
|
364
379
|
break;
|
|
@@ -451,9 +466,29 @@ proto.Platform.ClientProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
451
466
|
f
|
|
452
467
|
);
|
|
453
468
|
}
|
|
469
|
+
f = message.getAssignableRolesList();
|
|
470
|
+
if (f.length > 0) {
|
|
471
|
+
writer.writePackedEnum(
|
|
472
|
+
10,
|
|
473
|
+
f
|
|
474
|
+
);
|
|
475
|
+
}
|
|
454
476
|
};
|
|
455
477
|
|
|
456
478
|
|
|
479
|
+
/**
|
|
480
|
+
* @enum {number}
|
|
481
|
+
*/
|
|
482
|
+
proto.Platform.ClientProto.Roles = {
|
|
483
|
+
SYSTEM_ADMIN: 0,
|
|
484
|
+
ADMIN: 1,
|
|
485
|
+
APP_GLOBAL: 2,
|
|
486
|
+
APP_CLUSTER: 3,
|
|
487
|
+
SERVICE_USER: 4,
|
|
488
|
+
DRUM_API_ERP: 5,
|
|
489
|
+
DRUM_TRACKER_VIEW_ALL: 6
|
|
490
|
+
};
|
|
491
|
+
|
|
457
492
|
/**
|
|
458
493
|
* @enum {number}
|
|
459
494
|
*/
|
|
@@ -463,6 +498,13 @@ proto.Platform.ClientProto.ClientFilterType = {
|
|
|
463
498
|
};
|
|
464
499
|
|
|
465
500
|
|
|
501
|
+
/**
|
|
502
|
+
* List of repeated fields within this message type.
|
|
503
|
+
* @private {!Array<number>}
|
|
504
|
+
* @const
|
|
505
|
+
*/
|
|
506
|
+
proto.Platform.ClientProto.CreateRequest.repeatedFields_ = [9];
|
|
507
|
+
|
|
466
508
|
|
|
467
509
|
|
|
468
510
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -498,7 +540,11 @@ proto.Platform.ClientProto.CreateRequest.toObject = function(includeInstance, ms
|
|
|
498
540
|
country: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
499
541
|
image: msg.getImage_asB64(),
|
|
500
542
|
phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
501
|
-
pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
543
|
+
pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
544
|
+
spicModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
545
|
+
drumtrackerModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
546
|
+
kapusModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
547
|
+
assignableRolesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
502
548
|
};
|
|
503
549
|
|
|
504
550
|
if (includeInstance) {
|
|
@@ -555,6 +601,24 @@ proto.Platform.ClientProto.CreateRequest.deserializeBinaryFromReader = function(
|
|
|
555
601
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
556
602
|
msg.setPublic(value);
|
|
557
603
|
break;
|
|
604
|
+
case 6:
|
|
605
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
606
|
+
msg.setSpicModuleEnabled(value);
|
|
607
|
+
break;
|
|
608
|
+
case 7:
|
|
609
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
610
|
+
msg.setDrumtrackerModuleEnabled(value);
|
|
611
|
+
break;
|
|
612
|
+
case 8:
|
|
613
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
614
|
+
msg.setKapusModuleEnabled(value);
|
|
615
|
+
break;
|
|
616
|
+
case 9:
|
|
617
|
+
var values = /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
618
|
+
for (var i = 0; i < values.length; i++) {
|
|
619
|
+
msg.addAssignableRoles(values[i]);
|
|
620
|
+
}
|
|
621
|
+
break;
|
|
558
622
|
default:
|
|
559
623
|
reader.skipField();
|
|
560
624
|
break;
|
|
@@ -619,6 +683,34 @@ proto.Platform.ClientProto.CreateRequest.serializeBinaryToWriter = function(mess
|
|
|
619
683
|
f
|
|
620
684
|
);
|
|
621
685
|
}
|
|
686
|
+
f = message.getSpicModuleEnabled();
|
|
687
|
+
if (f) {
|
|
688
|
+
writer.writeBool(
|
|
689
|
+
6,
|
|
690
|
+
f
|
|
691
|
+
);
|
|
692
|
+
}
|
|
693
|
+
f = message.getDrumtrackerModuleEnabled();
|
|
694
|
+
if (f) {
|
|
695
|
+
writer.writeBool(
|
|
696
|
+
7,
|
|
697
|
+
f
|
|
698
|
+
);
|
|
699
|
+
}
|
|
700
|
+
f = message.getKapusModuleEnabled();
|
|
701
|
+
if (f) {
|
|
702
|
+
writer.writeBool(
|
|
703
|
+
8,
|
|
704
|
+
f
|
|
705
|
+
);
|
|
706
|
+
}
|
|
707
|
+
f = message.getAssignableRolesList();
|
|
708
|
+
if (f.length > 0) {
|
|
709
|
+
writer.writePackedEnum(
|
|
710
|
+
9,
|
|
711
|
+
f
|
|
712
|
+
);
|
|
713
|
+
}
|
|
622
714
|
};
|
|
623
715
|
|
|
624
716
|
|
|
@@ -736,6 +828,97 @@ proto.Platform.ClientProto.CreateRequest.prototype.setPublic = function(value) {
|
|
|
736
828
|
};
|
|
737
829
|
|
|
738
830
|
|
|
831
|
+
/**
|
|
832
|
+
* optional bool spic_module_enabled = 6;
|
|
833
|
+
* @return {boolean}
|
|
834
|
+
*/
|
|
835
|
+
proto.Platform.ClientProto.CreateRequest.prototype.getSpicModuleEnabled = function() {
|
|
836
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
837
|
+
};
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* @param {boolean} value
|
|
842
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
843
|
+
*/
|
|
844
|
+
proto.Platform.ClientProto.CreateRequest.prototype.setSpicModuleEnabled = function(value) {
|
|
845
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
846
|
+
};
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* optional bool drumtracker_module_enabled = 7;
|
|
851
|
+
* @return {boolean}
|
|
852
|
+
*/
|
|
853
|
+
proto.Platform.ClientProto.CreateRequest.prototype.getDrumtrackerModuleEnabled = function() {
|
|
854
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* @param {boolean} value
|
|
860
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
861
|
+
*/
|
|
862
|
+
proto.Platform.ClientProto.CreateRequest.prototype.setDrumtrackerModuleEnabled = function(value) {
|
|
863
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* optional bool kapus_module_enabled = 8;
|
|
869
|
+
* @return {boolean}
|
|
870
|
+
*/
|
|
871
|
+
proto.Platform.ClientProto.CreateRequest.prototype.getKapusModuleEnabled = function() {
|
|
872
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
873
|
+
};
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* @param {boolean} value
|
|
878
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
879
|
+
*/
|
|
880
|
+
proto.Platform.ClientProto.CreateRequest.prototype.setKapusModuleEnabled = function(value) {
|
|
881
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* repeated Roles assignable_roles = 9;
|
|
887
|
+
* @return {!Array<!proto.Platform.ClientProto.Roles>}
|
|
888
|
+
*/
|
|
889
|
+
proto.Platform.ClientProto.CreateRequest.prototype.getAssignableRolesList = function() {
|
|
890
|
+
return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
/**
|
|
895
|
+
* @param {!Array<!proto.Platform.ClientProto.Roles>} value
|
|
896
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
897
|
+
*/
|
|
898
|
+
proto.Platform.ClientProto.CreateRequest.prototype.setAssignableRolesList = function(value) {
|
|
899
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* @param {!proto.Platform.ClientProto.Roles} value
|
|
905
|
+
* @param {number=} opt_index
|
|
906
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
907
|
+
*/
|
|
908
|
+
proto.Platform.ClientProto.CreateRequest.prototype.addAssignableRoles = function(value, opt_index) {
|
|
909
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Clears the list making it empty but non-null.
|
|
915
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
916
|
+
*/
|
|
917
|
+
proto.Platform.ClientProto.CreateRequest.prototype.clearAssignableRolesList = function() {
|
|
918
|
+
return this.setAssignableRolesList([]);
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
|
|
739
922
|
|
|
740
923
|
|
|
741
924
|
|
|
@@ -2426,4 +2609,41 @@ proto.Platform.ClientProto.prototype.setKapusModuleEnabled = function(value) {
|
|
|
2426
2609
|
};
|
|
2427
2610
|
|
|
2428
2611
|
|
|
2612
|
+
/**
|
|
2613
|
+
* repeated Roles assignable_roles = 10;
|
|
2614
|
+
* @return {!Array<!proto.Platform.ClientProto.Roles>}
|
|
2615
|
+
*/
|
|
2616
|
+
proto.Platform.ClientProto.prototype.getAssignableRolesList = function() {
|
|
2617
|
+
return /** @type {!Array<!proto.Platform.ClientProto.Roles>} */ (jspb.Message.getRepeatedField(this, 10));
|
|
2618
|
+
};
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
/**
|
|
2622
|
+
* @param {!Array<!proto.Platform.ClientProto.Roles>} value
|
|
2623
|
+
* @return {!proto.Platform.ClientProto} returns this
|
|
2624
|
+
*/
|
|
2625
|
+
proto.Platform.ClientProto.prototype.setAssignableRolesList = function(value) {
|
|
2626
|
+
return jspb.Message.setField(this, 10, value || []);
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* @param {!proto.Platform.ClientProto.Roles} value
|
|
2632
|
+
* @param {number=} opt_index
|
|
2633
|
+
* @return {!proto.Platform.ClientProto} returns this
|
|
2634
|
+
*/
|
|
2635
|
+
proto.Platform.ClientProto.prototype.addAssignableRoles = function(value, opt_index) {
|
|
2636
|
+
return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* Clears the list making it empty but non-null.
|
|
2642
|
+
* @return {!proto.Platform.ClientProto} returns this
|
|
2643
|
+
*/
|
|
2644
|
+
proto.Platform.ClientProto.prototype.clearAssignableRolesList = function() {
|
|
2645
|
+
return this.setAssignableRolesList([]);
|
|
2646
|
+
};
|
|
2647
|
+
|
|
2648
|
+
|
|
2429
2649
|
goog.object.extend(exports, proto.Platform);
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// source: auth.account_events.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
|
|
14
|
-
var jspb = require('google-protobuf');
|
|
15
|
-
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
-
(typeof window !== 'undefined' && window) ||
|
|
19
|
-
(typeof global !== 'undefined' && global) ||
|
|
20
|
-
(typeof self !== 'undefined' && self) ||
|
|
21
|
-
(function () { return this; }).call(null) ||
|
|
22
|
-
Function('return this')();
|
|
23
|
-
|