@kenji71089/evaluation 0.0.1 → 0.0.8
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/CHANGELOG.md +45 -0
- package/README.md +36 -6
- package/lib/bucketeer.d.ts +6 -0
- package/lib/bucketeer.js +65 -0
- package/lib/bucketeer.mjs +38 -0
- package/lib/clauseEvaluator.js +49 -7
- package/lib/clauseEvaluator.mjs +41 -7
- package/lib/evaluation.d.ts +10 -1
- package/lib/evaluation.js +184 -27
- package/lib/evaluation.mjs +141 -10
- package/lib/index.d.ts +12 -10
- package/lib/index.js +61 -40
- package/lib/index.mjs +16 -10
- package/lib/modelFactory.d.ts +1 -0
- package/lib/modelFactory.js +2 -0
- package/lib/modelFactory.mjs +2 -0
- package/lib/proto/event/client/event_pb.d.ts +19 -9
- package/lib/proto/event/client/event_pb.js +22 -12
- package/lib/proto/event/client/event_pb.mjs +100 -90
- package/lib/proto/feature/clause_pb.d.ts +2 -1
- package/lib/proto/feature/clause_pb.js +3 -2
- package/lib/proto/feature/clause_pb.mjs +7 -6
- package/lib/proto/feature/evaluation_pb.d.ts +3 -3
- package/lib/proto/feature/evaluation_pb.js +1 -1
- package/lib/proto/feature/evaluation_pb.mjs +15 -15
- package/lib/proto/feature/feature_last_used_info_pb.d.ts +10 -1
- package/lib/proto/feature/feature_last_used_info_pb.js +12 -1
- package/lib/proto/feature/feature_last_used_info_pb.mjs +18 -7
- package/lib/proto/feature/feature_pb.d.ts +72 -7
- package/lib/proto/feature/feature_pb.js +446 -4
- package/lib/proto/feature/feature_pb.mjs +535 -29
- package/lib/proto/feature/prerequisite_pb.d.ts +1 -1
- package/lib/proto/feature/prerequisite_pb.js +1 -1
- package/lib/proto/feature/prerequisite_pb.mjs +3 -3
- package/lib/proto/feature/reason_pb.d.ts +8 -1
- package/lib/proto/feature/reason_pb.js +9 -2
- package/lib/proto/feature/reason_pb.mjs +11 -4
- package/lib/proto/feature/rule_pb.d.ts +3 -3
- package/lib/proto/feature/rule_pb.js +1 -1
- package/lib/proto/feature/rule_pb.mjs +4 -4
- package/lib/proto/feature/segment_pb.d.ts +3 -3
- package/lib/proto/feature/segment_pb.js +1 -1
- package/lib/proto/feature/segment_pb.mjs +22 -22
- package/lib/proto/feature/strategy_pb.d.ts +31 -1
- package/lib/proto/feature/strategy_pb.js +206 -2
- package/lib/proto/feature/strategy_pb.mjs +242 -9
- package/lib/proto/feature/target_pb.d.ts +1 -1
- package/lib/proto/feature/target_pb.js +1 -1
- package/lib/proto/feature/target_pb.mjs +3 -3
- package/lib/proto/feature/variation_pb.d.ts +1 -1
- package/lib/proto/feature/variation_pb.js +1 -1
- package/lib/proto/feature/variation_pb.mjs +5 -5
- package/lib/proto/user/user_pb.d.ts +53 -1
- package/lib/proto/user/user_pb.js +374 -1
- package/lib/proto/user/user_pb.mjs +427 -7
- package/lib/strategyEvaluator.d.ts +0 -2
- package/lib/strategyEvaluator.js +23 -57
- package/lib/strategyEvaluator.mjs +23 -46
- package/lib/userEvaluation.js +13 -3
- package/lib/userEvaluation.mjs +13 -3
- package/package.json +15 -8
- package/lib/google/api/annotations_pb.d.ts +0 -8
- package/lib/google/api/annotations_pb.js +0 -40
- package/lib/google/api/annotations_pb.mjs +0 -54
- package/lib/google/api/annotations_pb_service.d.ts +0 -3
- package/lib/google/api/annotations_pb_service.js +0 -3
- package/lib/google/api/annotations_pb_service.mjs +0 -3
- package/lib/google/api/http_pb.d.ts +0 -132
- package/lib/google/api/http_pb.js +0 -860
- package/lib/google/api/http_pb.mjs +0 -982
- package/lib/google/api/http_pb_service.d.ts +0 -3
- package/lib/google/api/http_pb_service.js +0 -3
- package/lib/google/api/http_pb_service.mjs +0 -3
- package/lib/google/rpc/code_pb.d.ts +0 -26
- package/lib/google/rpc/code_pb.js +0 -44
- package/lib/google/rpc/code_pb.mjs +0 -48
- package/lib/google/rpc/code_pb_service.d.ts +0 -3
- package/lib/google/rpc/code_pb_service.js +0 -3
- package/lib/google/rpc/code_pb_service.mjs +0 -3
- package/lib/google/rpc/error_details_pb.d.ts +0 -322
- package/lib/google/rpc/error_details_pb.js +0 -2220
- package/lib/google/rpc/error_details_pb.mjs +0 -2499
- package/lib/google/rpc/error_details_pb_service.d.ts +0 -3
- package/lib/google/rpc/error_details_pb_service.js +0 -3
- package/lib/google/rpc/error_details_pb_service.mjs +0 -3
- package/lib/google/rpc/status_pb.d.ts +0 -36
- package/lib/google/rpc/status_pb.js +0 -235
- package/lib/google/rpc/status_pb.mjs +0 -268
- package/lib/google/rpc/status_pb_service.d.ts +0 -3
- package/lib/google/rpc/status_pb_service.js +0 -3
- package/lib/google/rpc/status_pb_service.mjs +0 -3
- package/lib/proto/event/client/event_pb_service.d.ts +0 -3
- package/lib/proto/event/client/event_pb_service.js +0 -3
- package/lib/proto/event/client/event_pb_service.mjs +0 -3
- package/lib/proto/event/domain/event_pb.d.ts +0 -4518
- package/lib/proto/event/domain/event_pb.js +0 -10834
- package/lib/proto/event/domain/event_pb.mjs +0 -33315
- package/lib/proto/event/domain/event_pb_service.d.ts +0 -3
- package/lib/proto/event/domain/event_pb_service.js +0 -3
- package/lib/proto/event/domain/event_pb_service.mjs +0 -3
- package/lib/proto/event/domain/localized_message_pb.d.ts +0 -29
- package/lib/proto/event/domain/localized_message_pb.js +0 -183
- package/lib/proto/event/domain/localized_message_pb.mjs +0 -206
- package/lib/proto/event/domain/localized_message_pb_service.d.ts +0 -3
- package/lib/proto/event/domain/localized_message_pb_service.js +0 -3
- package/lib/proto/event/domain/localized_message_pb_service.mjs +0 -3
- package/lib/proto/event/service/feature_pb.d.ts +0 -44
- package/lib/proto/event/service/feature_pb.js +0 -277
- package/lib/proto/event/service/feature_pb.mjs +0 -319
- package/lib/proto/event/service/feature_pb_service.d.ts +0 -3
- package/lib/proto/event/service/feature_pb_service.js +0 -3
- package/lib/proto/event/service/feature_pb_service.mjs +0 -3
- package/lib/proto/event/service/segment_pb.d.ts +0 -51
- package/lib/proto/event/service/segment_pb.js +0 -324
- package/lib/proto/event/service/segment_pb.mjs +0 -375
- package/lib/proto/event/service/segment_pb_service.d.ts +0 -3
- package/lib/proto/event/service/segment_pb_service.js +0 -3
- package/lib/proto/event/service/segment_pb_service.mjs +0 -3
- package/lib/proto/event/service/user_pb.d.ts +0 -49
- package/lib/proto/event/service/user_pb.js +0 -315
- package/lib/proto/event/service/user_pb.mjs +0 -362
- package/lib/proto/event/service/user_pb_service.d.ts +0 -3
- package/lib/proto/event/service/user_pb_service.js +0 -3
- package/lib/proto/event/service/user_pb_service.mjs +0 -3
- package/lib/proto/feature/clause_pb_service.d.ts +0 -3
- package/lib/proto/feature/clause_pb_service.js +0 -3
- package/lib/proto/feature/clause_pb_service.mjs +0 -3
- package/lib/proto/feature/command_pb.d.ts +0 -1213
- package/lib/proto/feature/command_pb.js +0 -8260
- package/lib/proto/feature/command_pb.mjs +0 -9275
- package/lib/proto/feature/command_pb_service.d.ts +0 -3
- package/lib/proto/feature/command_pb_service.js +0 -3
- package/lib/proto/feature/command_pb_service.mjs +0 -3
- package/lib/proto/feature/evaluation_pb_service.d.ts +0 -3
- package/lib/proto/feature/evaluation_pb_service.js +0 -3
- package/lib/proto/feature/evaluation_pb_service.mjs +0 -3
- package/lib/proto/feature/feature_last_used_info_pb_service.d.ts +0 -3
- package/lib/proto/feature/feature_last_used_info_pb_service.js +0 -3
- package/lib/proto/feature/feature_last_used_info_pb_service.mjs +0 -3
- package/lib/proto/feature/feature_pb_service.d.ts +0 -3
- package/lib/proto/feature/feature_pb_service.js +0 -3
- package/lib/proto/feature/feature_pb_service.mjs +0 -3
- package/lib/proto/feature/flag_trigger_pb.d.ts +0 -84
- package/lib/proto/feature/flag_trigger_pb.js +0 -452
- package/lib/proto/feature/flag_trigger_pb.mjs +0 -525
- package/lib/proto/feature/flag_trigger_pb_service.d.ts +0 -3
- package/lib/proto/feature/flag_trigger_pb_service.js +0 -3
- package/lib/proto/feature/flag_trigger_pb_service.mjs +0 -3
- package/lib/proto/feature/prerequisite_pb_service.d.ts +0 -3
- package/lib/proto/feature/prerequisite_pb_service.js +0 -3
- package/lib/proto/feature/prerequisite_pb_service.mjs +0 -3
- package/lib/proto/feature/reason_pb_service.d.ts +0 -3
- package/lib/proto/feature/reason_pb_service.js +0 -3
- package/lib/proto/feature/reason_pb_service.mjs +0 -3
- package/lib/proto/feature/rule_pb_service.d.ts +0 -3
- package/lib/proto/feature/rule_pb_service.js +0 -3
- package/lib/proto/feature/rule_pb_service.mjs +0 -3
- package/lib/proto/feature/segment_pb_service.d.ts +0 -3
- package/lib/proto/feature/segment_pb_service.js +0 -3
- package/lib/proto/feature/segment_pb_service.mjs +0 -3
- package/lib/proto/feature/service_pb.d.ts +0 -2158
- package/lib/proto/feature/service_pb.js +0 -5363
- package/lib/proto/feature/service_pb.mjs +0 -16348
- package/lib/proto/feature/service_pb_service.d.ts +0 -747
- package/lib/proto/feature/service_pb_service.js +0 -1424
- package/lib/proto/feature/service_pb_service.mjs +0 -1501
- package/lib/proto/feature/strategy_pb_service.d.ts +0 -3
- package/lib/proto/feature/strategy_pb_service.js +0 -3
- package/lib/proto/feature/strategy_pb_service.mjs +0 -3
- package/lib/proto/feature/target_pb_service.d.ts +0 -3
- package/lib/proto/feature/target_pb_service.js +0 -3
- package/lib/proto/feature/target_pb_service.mjs +0 -3
- package/lib/proto/feature/variation_pb_service.d.ts +0 -3
- package/lib/proto/feature/variation_pb_service.js +0 -3
- package/lib/proto/feature/variation_pb_service.mjs +0 -3
- package/lib/proto/gateway/service_pb.d.ts +0 -772
- package/lib/proto/gateway/service_pb.js +0 -5249
- package/lib/proto/gateway/service_pb.mjs +0 -6001
- package/lib/proto/gateway/service_pb_service.d.ts +0 -253
- package/lib/proto/gateway/service_pb_service.js +0 -436
- package/lib/proto/gateway/service_pb_service.mjs +0 -461
- package/lib/proto/user/user_pb_service.d.ts +0 -3
- package/lib/proto/user/user_pb_service.js +0 -3
- package/lib/proto/user/user_pb_service.mjs +0 -3
- package/lib/protoc-gen-openapiv2/options/annotations_pb.d.ts +0 -16
- package/lib/protoc-gen-openapiv2/options/annotations_pb.js +0 -100
- package/lib/protoc-gen-openapiv2/options/annotations_pb.mjs +0 -158
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +0 -3
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.js +0 -3
- package/lib/protoc-gen-openapiv2/options/annotations_pb_service.mjs +0 -3
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +0 -834
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.js +0 -5456
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb.mjs +0 -6256
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +0 -3
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.js +0 -3
- package/lib/protoc-gen-openapiv2/options/openapiv2_pb_service.mjs +0 -3
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
|
|
11
|
+
/* eslint-disable */
|
|
12
12
|
// @ts-nocheck
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
@@ -637,9 +637,9 @@ proto.bucketeer.event.client.Event.prototype.toObject = function(opt_includeInst
|
|
|
637
637
|
*/
|
|
638
638
|
proto.bucketeer.event.client.Event.toObject = function(includeInstance, msg) {
|
|
639
639
|
var f, obj = {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
640
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
641
|
+
event: (f = msg.getEvent()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
|
|
642
|
+
environmentId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
643
643
|
};
|
|
644
644
|
|
|
645
645
|
if (includeInstance) {
|
|
@@ -685,9 +685,9 @@ proto.bucketeer.event.client.Event.deserializeBinaryFromReader = function(msg, r
|
|
|
685
685
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
686
686
|
msg.setEvent(value);
|
|
687
687
|
break;
|
|
688
|
-
case
|
|
688
|
+
case 4:
|
|
689
689
|
var value = /** @type {string} */ (reader.readString());
|
|
690
|
-
msg.
|
|
690
|
+
msg.setEnvironmentId(value);
|
|
691
691
|
break;
|
|
692
692
|
default:
|
|
693
693
|
reader.skipField();
|
|
@@ -733,10 +733,10 @@ proto.bucketeer.event.client.Event.serializeBinaryToWriter = function(message, w
|
|
|
733
733
|
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
734
734
|
);
|
|
735
735
|
}
|
|
736
|
-
f = message.
|
|
736
|
+
f = message.getEnvironmentId();
|
|
737
737
|
if (f.length > 0) {
|
|
738
738
|
writer.writeString(
|
|
739
|
-
|
|
739
|
+
4,
|
|
740
740
|
f
|
|
741
741
|
);
|
|
742
742
|
}
|
|
@@ -799,11 +799,11 @@ proto.bucketeer.event.client.Event.prototype.hasEvent = function() {
|
|
|
799
799
|
|
|
800
800
|
|
|
801
801
|
/**
|
|
802
|
-
* optional string
|
|
802
|
+
* optional string environment_id = 4;
|
|
803
803
|
* @return {string}
|
|
804
804
|
*/
|
|
805
|
-
proto.bucketeer.event.client.Event.prototype.
|
|
806
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
805
|
+
proto.bucketeer.event.client.Event.prototype.getEnvironmentId = function() {
|
|
806
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
807
807
|
};
|
|
808
808
|
|
|
809
809
|
|
|
@@ -811,8 +811,8 @@ proto.bucketeer.event.client.Event.prototype.getEnvironmentNamespace = function(
|
|
|
811
811
|
* @param {string} value
|
|
812
812
|
* @return {!proto.bucketeer.event.client.Event} returns this
|
|
813
813
|
*/
|
|
814
|
-
proto.bucketeer.event.client.Event.prototype.
|
|
815
|
-
return jspb.Message.setProto3StringField(this,
|
|
814
|
+
proto.bucketeer.event.client.Event.prototype.setEnvironmentId = function(value) {
|
|
815
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
816
816
|
};
|
|
817
817
|
|
|
818
818
|
|
|
@@ -848,17 +848,17 @@ proto.bucketeer.event.client.EvaluationEvent.prototype.toObject = function(opt_i
|
|
|
848
848
|
*/
|
|
849
849
|
proto.bucketeer.event.client.EvaluationEvent.toObject = function(includeInstance, msg) {
|
|
850
850
|
var f, obj = {
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
851
|
+
timestamp: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
852
|
+
featureId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
853
|
+
featureVersion: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
854
|
+
userId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
855
|
+
variationId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
856
|
+
user: (f = msg.getUser()) && proto_user_user_pb.User.toObject(includeInstance, f),
|
|
857
|
+
reason: (f = msg.getReason()) && proto_feature_reason_pb.Reason.toObject(includeInstance, f),
|
|
858
|
+
tag: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
859
|
+
sourceId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
860
|
+
sdkVersion: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
861
|
+
metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
862
862
|
};
|
|
863
863
|
|
|
864
864
|
if (includeInstance) {
|
|
@@ -1331,17 +1331,17 @@ proto.bucketeer.event.client.GoalEvent.prototype.toObject = function(opt_include
|
|
|
1331
1331
|
*/
|
|
1332
1332
|
proto.bucketeer.event.client.GoalEvent.toObject = function(includeInstance, msg) {
|
|
1333
1333
|
var f, obj = {
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1334
|
+
timestamp: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1335
|
+
goalId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1336
|
+
userId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1337
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
1338
|
+
user: (f = msg.getUser()) && proto_user_user_pb.User.toObject(includeInstance, f),
|
|
1339
|
+
evaluationsList: jspb.Message.toObjectList(msg.getEvaluationsList(),
|
|
1340
1340
|
proto_feature_evaluation_pb.Evaluation.toObject, includeInstance),
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1341
|
+
tag: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1342
|
+
sourceId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
1343
|
+
sdkVersion: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1344
|
+
metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1345
1345
|
};
|
|
1346
1346
|
|
|
1347
1347
|
if (includeInstance) {
|
|
@@ -1779,11 +1779,11 @@ proto.bucketeer.event.client.MetricsEvent.prototype.toObject = function(opt_incl
|
|
|
1779
1779
|
*/
|
|
1780
1780
|
proto.bucketeer.event.client.MetricsEvent.toObject = function(includeInstance, msg) {
|
|
1781
1781
|
var f, obj = {
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1782
|
+
timestamp: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1783
|
+
event: (f = msg.getEvent()) && google_protobuf_any_pb.Any.toObject(includeInstance, f),
|
|
1784
|
+
sourceId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1785
|
+
sdkVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1786
|
+
metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : []
|
|
1787
1787
|
};
|
|
1788
1788
|
|
|
1789
1789
|
if (includeInstance) {
|
|
@@ -2054,8 +2054,8 @@ proto.bucketeer.event.client.GetEvaluationLatencyMetricsEvent.prototype.toObject
|
|
|
2054
2054
|
*/
|
|
2055
2055
|
proto.bucketeer.event.client.GetEvaluationLatencyMetricsEvent.toObject = function(includeInstance, msg) {
|
|
2056
2056
|
var f, obj = {
|
|
2057
|
-
|
|
2058
|
-
|
|
2057
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2058
|
+
duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
|
|
2059
2059
|
};
|
|
2060
2060
|
|
|
2061
2061
|
if (includeInstance) {
|
|
@@ -2239,8 +2239,8 @@ proto.bucketeer.event.client.GetEvaluationSizeMetricsEvent.prototype.toObject =
|
|
|
2239
2239
|
*/
|
|
2240
2240
|
proto.bucketeer.event.client.GetEvaluationSizeMetricsEvent.toObject = function(includeInstance, msg) {
|
|
2241
2241
|
var f, obj = {
|
|
2242
|
-
|
|
2243
|
-
|
|
2242
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2243
|
+
sizeByte: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2244
2244
|
};
|
|
2245
2245
|
|
|
2246
2246
|
if (includeInstance) {
|
|
@@ -2403,10 +2403,10 @@ proto.bucketeer.event.client.LatencyMetricsEvent.prototype.toObject = function(o
|
|
|
2403
2403
|
*/
|
|
2404
2404
|
proto.bucketeer.event.client.LatencyMetricsEvent.toObject = function(includeInstance, msg) {
|
|
2405
2405
|
var f, obj = {
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2406
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2407
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2408
|
+
duration: (f = msg.getDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f),
|
|
2409
|
+
latencySecond: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
2410
2410
|
};
|
|
2411
2411
|
|
|
2412
2412
|
if (includeInstance) {
|
|
@@ -2648,9 +2648,9 @@ proto.bucketeer.event.client.SizeMetricsEvent.prototype.toObject = function(opt_
|
|
|
2648
2648
|
*/
|
|
2649
2649
|
proto.bucketeer.event.client.SizeMetricsEvent.toObject = function(includeInstance, msg) {
|
|
2650
2650
|
var f, obj = {
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2651
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2652
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
2653
|
+
sizeByte: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
2654
2654
|
};
|
|
2655
2655
|
|
|
2656
2656
|
if (includeInstance) {
|
|
@@ -2842,7 +2842,7 @@ proto.bucketeer.event.client.TimeoutErrorCountMetricsEvent.prototype.toObject =
|
|
|
2842
2842
|
*/
|
|
2843
2843
|
proto.bucketeer.event.client.TimeoutErrorCountMetricsEvent.toObject = function(includeInstance, msg) {
|
|
2844
2844
|
var f, obj = {
|
|
2845
|
-
|
|
2845
|
+
tag: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2846
2846
|
};
|
|
2847
2847
|
|
|
2848
2848
|
if (includeInstance) {
|
|
@@ -2972,7 +2972,7 @@ proto.bucketeer.event.client.InternalErrorCountMetricsEvent.prototype.toObject =
|
|
|
2972
2972
|
*/
|
|
2973
2973
|
proto.bucketeer.event.client.InternalErrorCountMetricsEvent.toObject = function(includeInstance, msg) {
|
|
2974
2974
|
var f, obj = {
|
|
2975
|
-
|
|
2975
|
+
tag: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
2976
2976
|
};
|
|
2977
2977
|
|
|
2978
2978
|
if (includeInstance) {
|
|
@@ -3102,8 +3102,8 @@ proto.bucketeer.event.client.RedirectionRequestExceptionEvent.prototype.toObject
|
|
|
3102
3102
|
*/
|
|
3103
3103
|
proto.bucketeer.event.client.RedirectionRequestExceptionEvent.toObject = function(includeInstance, msg) {
|
|
3104
3104
|
var f, obj = {
|
|
3105
|
-
|
|
3106
|
-
|
|
3105
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3106
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3107
3107
|
};
|
|
3108
3108
|
|
|
3109
3109
|
if (includeInstance) {
|
|
@@ -3266,8 +3266,8 @@ proto.bucketeer.event.client.BadRequestErrorMetricsEvent.prototype.toObject = fu
|
|
|
3266
3266
|
*/
|
|
3267
3267
|
proto.bucketeer.event.client.BadRequestErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
3268
3268
|
var f, obj = {
|
|
3269
|
-
|
|
3270
|
-
|
|
3269
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3270
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3271
3271
|
};
|
|
3272
3272
|
|
|
3273
3273
|
if (includeInstance) {
|
|
@@ -3430,8 +3430,8 @@ proto.bucketeer.event.client.UnauthorizedErrorMetricsEvent.prototype.toObject =
|
|
|
3430
3430
|
*/
|
|
3431
3431
|
proto.bucketeer.event.client.UnauthorizedErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
3432
3432
|
var f, obj = {
|
|
3433
|
-
|
|
3434
|
-
|
|
3433
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3434
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3435
3435
|
};
|
|
3436
3436
|
|
|
3437
3437
|
if (includeInstance) {
|
|
@@ -3594,8 +3594,8 @@ proto.bucketeer.event.client.ForbiddenErrorMetricsEvent.prototype.toObject = fun
|
|
|
3594
3594
|
*/
|
|
3595
3595
|
proto.bucketeer.event.client.ForbiddenErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
3596
3596
|
var f, obj = {
|
|
3597
|
-
|
|
3598
|
-
|
|
3597
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3598
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3599
3599
|
};
|
|
3600
3600
|
|
|
3601
3601
|
if (includeInstance) {
|
|
@@ -3758,8 +3758,8 @@ proto.bucketeer.event.client.NotFoundErrorMetricsEvent.prototype.toObject = func
|
|
|
3758
3758
|
*/
|
|
3759
3759
|
proto.bucketeer.event.client.NotFoundErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
3760
3760
|
var f, obj = {
|
|
3761
|
-
|
|
3762
|
-
|
|
3761
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3762
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3763
3763
|
};
|
|
3764
3764
|
|
|
3765
3765
|
if (includeInstance) {
|
|
@@ -3922,8 +3922,8 @@ proto.bucketeer.event.client.PayloadTooLargeExceptionEvent.prototype.toObject =
|
|
|
3922
3922
|
*/
|
|
3923
3923
|
proto.bucketeer.event.client.PayloadTooLargeExceptionEvent.toObject = function(includeInstance, msg) {
|
|
3924
3924
|
var f, obj = {
|
|
3925
|
-
|
|
3926
|
-
|
|
3925
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3926
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
3927
3927
|
};
|
|
3928
3928
|
|
|
3929
3929
|
if (includeInstance) {
|
|
@@ -4086,8 +4086,8 @@ proto.bucketeer.event.client.ClientClosedRequestErrorMetricsEvent.prototype.toOb
|
|
|
4086
4086
|
*/
|
|
4087
4087
|
proto.bucketeer.event.client.ClientClosedRequestErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
4088
4088
|
var f, obj = {
|
|
4089
|
-
|
|
4090
|
-
|
|
4089
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4090
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4091
4091
|
};
|
|
4092
4092
|
|
|
4093
4093
|
if (includeInstance) {
|
|
@@ -4250,8 +4250,8 @@ proto.bucketeer.event.client.InternalServerErrorMetricsEvent.prototype.toObject
|
|
|
4250
4250
|
*/
|
|
4251
4251
|
proto.bucketeer.event.client.InternalServerErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
4252
4252
|
var f, obj = {
|
|
4253
|
-
|
|
4254
|
-
|
|
4253
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4254
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4255
4255
|
};
|
|
4256
4256
|
|
|
4257
4257
|
if (includeInstance) {
|
|
@@ -4414,8 +4414,8 @@ proto.bucketeer.event.client.ServiceUnavailableErrorMetricsEvent.prototype.toObj
|
|
|
4414
4414
|
*/
|
|
4415
4415
|
proto.bucketeer.event.client.ServiceUnavailableErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
4416
4416
|
var f, obj = {
|
|
4417
|
-
|
|
4418
|
-
|
|
4417
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4418
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4419
4419
|
};
|
|
4420
4420
|
|
|
4421
4421
|
if (includeInstance) {
|
|
@@ -4578,8 +4578,8 @@ proto.bucketeer.event.client.TimeoutErrorMetricsEvent.prototype.toObject = funct
|
|
|
4578
4578
|
*/
|
|
4579
4579
|
proto.bucketeer.event.client.TimeoutErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
4580
4580
|
var f, obj = {
|
|
4581
|
-
|
|
4582
|
-
|
|
4581
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4582
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4583
4583
|
};
|
|
4584
4584
|
|
|
4585
4585
|
if (includeInstance) {
|
|
@@ -4742,8 +4742,8 @@ proto.bucketeer.event.client.InternalErrorMetricsEvent.prototype.toObject = func
|
|
|
4742
4742
|
*/
|
|
4743
4743
|
proto.bucketeer.event.client.InternalErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
4744
4744
|
var f, obj = {
|
|
4745
|
-
|
|
4746
|
-
|
|
4745
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4746
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4747
4747
|
};
|
|
4748
4748
|
|
|
4749
4749
|
if (includeInstance) {
|
|
@@ -4906,8 +4906,8 @@ proto.bucketeer.event.client.NetworkErrorMetricsEvent.prototype.toObject = funct
|
|
|
4906
4906
|
*/
|
|
4907
4907
|
proto.bucketeer.event.client.NetworkErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
4908
4908
|
var f, obj = {
|
|
4909
|
-
|
|
4910
|
-
|
|
4909
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4910
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4911
4911
|
};
|
|
4912
4912
|
|
|
4913
4913
|
if (includeInstance) {
|
|
@@ -5070,8 +5070,8 @@ proto.bucketeer.event.client.InternalSdkErrorMetricsEvent.prototype.toObject = f
|
|
|
5070
5070
|
*/
|
|
5071
5071
|
proto.bucketeer.event.client.InternalSdkErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
5072
5072
|
var f, obj = {
|
|
5073
|
-
|
|
5074
|
-
|
|
5073
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5074
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
5075
5075
|
};
|
|
5076
5076
|
|
|
5077
5077
|
if (includeInstance) {
|
|
@@ -5234,8 +5234,8 @@ proto.bucketeer.event.client.UnknownErrorMetricsEvent.prototype.toObject = funct
|
|
|
5234
5234
|
*/
|
|
5235
5235
|
proto.bucketeer.event.client.UnknownErrorMetricsEvent.toObject = function(includeInstance, msg) {
|
|
5236
5236
|
var f, obj = {
|
|
5237
|
-
|
|
5238
|
-
|
|
5237
|
+
apiId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5238
|
+
labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
5239
5239
|
};
|
|
5240
5240
|
|
|
5241
5241
|
if (includeInstance) {
|
|
@@ -5398,12 +5398,12 @@ proto.bucketeer.event.client.OpsEvent.prototype.toObject = function(opt_includeI
|
|
|
5398
5398
|
*/
|
|
5399
5399
|
proto.bucketeer.event.client.OpsEvent.toObject = function(includeInstance, msg) {
|
|
5400
5400
|
var f, obj = {
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5401
|
+
timestamp: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5402
|
+
featureId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5403
|
+
featureVersion: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
5404
|
+
variationId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
5405
|
+
goalId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
5406
|
+
userId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
5407
5407
|
};
|
|
5408
5408
|
|
|
5409
5409
|
if (includeInstance) {
|
|
@@ -5678,9 +5678,9 @@ proto.bucketeer.event.client.UserGoalEvent.prototype.toObject = function(opt_inc
|
|
|
5678
5678
|
*/
|
|
5679
5679
|
proto.bucketeer.event.client.UserGoalEvent.toObject = function(includeInstance, msg) {
|
|
5680
5680
|
var f, obj = {
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5681
|
+
timestamp: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5682
|
+
goalId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5683
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
|
|
5684
5684
|
};
|
|
5685
5685
|
|
|
5686
5686
|
if (includeInstance) {
|
|
@@ -5846,7 +5846,17 @@ proto.bucketeer.event.client.SourceId = {
|
|
|
5846
5846
|
WEB: 3,
|
|
5847
5847
|
GO_SERVER: 5,
|
|
5848
5848
|
NODE_SERVER: 6,
|
|
5849
|
-
JAVASCRIPT: 7
|
|
5849
|
+
JAVASCRIPT: 7,
|
|
5850
|
+
FLUTTER: 8,
|
|
5851
|
+
REACT: 9,
|
|
5852
|
+
REACT_NATIVE: 10,
|
|
5853
|
+
OPEN_FEATURE_KOTLIN: 100,
|
|
5854
|
+
OPEN_FEATURE_SWIFT: 101,
|
|
5855
|
+
OPEN_FEATURE_JAVASCRIPT: 102,
|
|
5856
|
+
OPEN_FEATURE_GO: 103,
|
|
5857
|
+
OPEN_FEATURE_NODE: 104,
|
|
5858
|
+
OPEN_FEATURE_REACT: 105,
|
|
5859
|
+
OPEN_FEATURE_REACT_NATIVE: 106
|
|
5850
5860
|
};
|
|
5851
5861
|
|
|
5852
5862
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package: bucketeer.feature
|
|
2
2
|
// file: proto/feature/clause.proto
|
|
3
3
|
|
|
4
|
-
import * as jspb from
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
5
|
|
|
6
6
|
export class Clause extends jspb.Message {
|
|
7
7
|
getId(): string;
|
|
@@ -50,6 +50,7 @@ export namespace Clause {
|
|
|
50
50
|
AFTER: 10;
|
|
51
51
|
FEATURE_FLAG: 11;
|
|
52
52
|
PARTIALLY_MATCH: 12;
|
|
53
|
+
NOT_EQUALS: 13;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
export const Operator: OperatorMap;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
// GENERATED CODE -- DO NOT EDIT!
|
|
13
|
-
|
|
13
|
+
/* eslint-disable */
|
|
14
14
|
// @ts-nocheck
|
|
15
15
|
|
|
16
16
|
var jspb = require('google-protobuf');
|
|
@@ -191,7 +191,8 @@ proto.bucketeer.feature.Clause.Operator = {
|
|
|
191
191
|
BEFORE: 9,
|
|
192
192
|
AFTER: 10,
|
|
193
193
|
FEATURE_FLAG: 11,
|
|
194
|
-
PARTIALLY_MATCH: 12
|
|
194
|
+
PARTIALLY_MATCH: 12,
|
|
195
|
+
NOT_EQUALS: 13
|
|
195
196
|
};
|
|
196
197
|
|
|
197
198
|
/**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
|
|
11
|
+
/* eslint-disable */
|
|
12
12
|
// @ts-nocheck
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
@@ -83,10 +83,10 @@ proto.bucketeer.feature.Clause.prototype.toObject = function(opt_includeInstance
|
|
|
83
83
|
*/
|
|
84
84
|
proto.bucketeer.feature.Clause.toObject = function(includeInstance, msg) {
|
|
85
85
|
var f, obj = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
87
|
+
attribute: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
88
|
+
operator: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
89
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
if (includeInstance) {
|
|
@@ -215,7 +215,8 @@ proto.bucketeer.feature.Clause.Operator = {
|
|
|
215
215
|
BEFORE: 9,
|
|
216
216
|
AFTER: 10,
|
|
217
217
|
FEATURE_FLAG: 11,
|
|
218
|
-
PARTIALLY_MATCH: 12
|
|
218
|
+
PARTIALLY_MATCH: 12,
|
|
219
|
+
NOT_EQUALS: 13
|
|
219
220
|
};
|
|
220
221
|
|
|
221
222
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// package: bucketeer.feature
|
|
2
2
|
// file: proto/feature/evaluation.proto
|
|
3
3
|
|
|
4
|
-
import * as jspb from
|
|
5
|
-
import * as proto_feature_variation_pb from
|
|
6
|
-
import * as proto_feature_reason_pb from
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as proto_feature_variation_pb from "../../proto/feature/variation_pb";
|
|
6
|
+
import * as proto_feature_reason_pb from "../../proto/feature/reason_pb";
|
|
7
7
|
|
|
8
8
|
export class Evaluation extends jspb.Message {
|
|
9
9
|
getId(): string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
|
|
11
|
+
/* eslint-disable */
|
|
12
12
|
// @ts-nocheck
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
@@ -102,15 +102,15 @@ proto.bucketeer.feature.Evaluation.prototype.toObject = function(opt_includeInst
|
|
|
102
102
|
*/
|
|
103
103
|
proto.bucketeer.feature.Evaluation.toObject = function(includeInstance, msg) {
|
|
104
104
|
var f, obj = {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
106
|
+
featureId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
107
|
+
featureVersion: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
108
|
+
userId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
109
|
+
variationId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
110
|
+
variation: (f = msg.getVariation()) && proto_feature_variation_pb.Variation.toObject(includeInstance, f),
|
|
111
|
+
reason: (f = msg.getReason()) && proto_feature_reason_pb.Reason.toObject(includeInstance, f),
|
|
112
|
+
variationValue: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
113
|
+
variationName: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
if (includeInstance) {
|
|
@@ -521,12 +521,12 @@ proto.bucketeer.feature.UserEvaluations.prototype.toObject = function(opt_includ
|
|
|
521
521
|
*/
|
|
522
522
|
proto.bucketeer.feature.UserEvaluations.toObject = function(includeInstance, msg) {
|
|
523
523
|
var f, obj = {
|
|
524
|
-
|
|
525
|
-
|
|
524
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
525
|
+
evaluationsList: jspb.Message.toObjectList(msg.getEvaluationsList(),
|
|
526
526
|
proto.bucketeer.feature.Evaluation.toObject, includeInstance),
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
527
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
528
|
+
archivedFeatureIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
529
|
+
forceUpdate: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
530
530
|
};
|
|
531
531
|
|
|
532
532
|
if (includeInstance) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// package: bucketeer.feature
|
|
2
2
|
// file: proto/feature/feature_last_used_info.proto
|
|
3
3
|
|
|
4
|
-
import * as jspb from
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
5
|
|
|
6
6
|
export class FeatureLastUsedInfo extends jspb.Message {
|
|
7
7
|
getFeatureId(): string;
|
|
@@ -41,5 +41,14 @@ export namespace FeatureLastUsedInfo {
|
|
|
41
41
|
clientOldestVersion: string,
|
|
42
42
|
clientLatestVersion: string,
|
|
43
43
|
}
|
|
44
|
+
|
|
45
|
+
export interface StatusMap {
|
|
46
|
+
UNKNOWN: 0;
|
|
47
|
+
NEW: 1;
|
|
48
|
+
ACTIVE: 2;
|
|
49
|
+
NO_ACTIVITY: 3;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export const Status: StatusMap;
|
|
44
53
|
}
|
|
45
54
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
// GENERATED CODE -- DO NOT EDIT!
|
|
13
|
-
|
|
13
|
+
/* eslint-disable */
|
|
14
14
|
// @ts-nocheck
|
|
15
15
|
|
|
16
16
|
var jspb = require('google-protobuf');
|
|
@@ -19,6 +19,7 @@ var global = typeof globalThis !== 'undefined' && globalThis || typeof window !=
|
|
|
19
19
|
return this;
|
|
20
20
|
}.call(null) || Function('return this')();
|
|
21
21
|
goog.exportSymbol('proto.bucketeer.feature.FeatureLastUsedInfo', null, global);
|
|
22
|
+
goog.exportSymbol('proto.bucketeer.feature.FeatureLastUsedInfo.Status', null, global);
|
|
22
23
|
/**
|
|
23
24
|
* Generated by JsPbCodeGenerator.
|
|
24
25
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -185,6 +186,16 @@ proto.bucketeer.feature.FeatureLastUsedInfo.serializeBinaryToWriter = function (
|
|
|
185
186
|
}
|
|
186
187
|
};
|
|
187
188
|
|
|
189
|
+
/**
|
|
190
|
+
* @enum {number}
|
|
191
|
+
*/
|
|
192
|
+
proto.bucketeer.feature.FeatureLastUsedInfo.Status = {
|
|
193
|
+
UNKNOWN: 0,
|
|
194
|
+
NEW: 1,
|
|
195
|
+
ACTIVE: 2,
|
|
196
|
+
NO_ACTIVITY: 3
|
|
197
|
+
};
|
|
198
|
+
|
|
188
199
|
/**
|
|
189
200
|
* optional string feature_id = 1;
|
|
190
201
|
* @return {string}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
|
|
11
|
+
/* eslint-disable */
|
|
12
12
|
// @ts-nocheck
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
@@ -22,6 +22,7 @@ var global =
|
|
|
22
22
|
Function('return this')();
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.bucketeer.feature.FeatureLastUsedInfo', null, global);
|
|
25
|
+
goog.exportSymbol('proto.bucketeer.feature.FeatureLastUsedInfo.Status', null, global);
|
|
25
26
|
/**
|
|
26
27
|
* Generated by JsPbCodeGenerator.
|
|
27
28
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -75,12 +76,12 @@ proto.bucketeer.feature.FeatureLastUsedInfo.prototype.toObject = function(opt_in
|
|
|
75
76
|
*/
|
|
76
77
|
proto.bucketeer.feature.FeatureLastUsedInfo.toObject = function(includeInstance, msg) {
|
|
77
78
|
var f, obj = {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
featureId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
80
|
+
version: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
81
|
+
lastUsedAt: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
82
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
83
|
+
clientOldestVersion: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
84
|
+
clientLatestVersion: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
84
85
|
};
|
|
85
86
|
|
|
86
87
|
if (includeInstance) {
|
|
@@ -215,6 +216,16 @@ proto.bucketeer.feature.FeatureLastUsedInfo.serializeBinaryToWriter = function(m
|
|
|
215
216
|
};
|
|
216
217
|
|
|
217
218
|
|
|
219
|
+
/**
|
|
220
|
+
* @enum {number}
|
|
221
|
+
*/
|
|
222
|
+
proto.bucketeer.feature.FeatureLastUsedInfo.Status = {
|
|
223
|
+
UNKNOWN: 0,
|
|
224
|
+
NEW: 1,
|
|
225
|
+
ACTIVE: 2,
|
|
226
|
+
NO_ACTIVITY: 3
|
|
227
|
+
};
|
|
228
|
+
|
|
218
229
|
/**
|
|
219
230
|
* optional string feature_id = 1;
|
|
220
231
|
* @return {string}
|