Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run make gen_proto #412

Merged
merged 1 commit into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions ui/web-v2/apps/admin/src/proto/event/domain/event_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ export namespace Event {
FEATURE_ENABLED: 3;
FEATURE_DISABLED: 4;
FEATURE_DELETED: 5;
FEATURE_EVALUATION_DELAYABLE_SET: 6;
FEATURE_EVALUATION_UNDELAYABLE_SET: 7;
FEATURE_DESCRIPTION_CHANGED: 8;
FEATURE_VARIATION_ADDED: 9;
FEATURE_VARIATION_REMOVED: 10;
Expand Down
2 changes: 0 additions & 2 deletions ui/web-v2/apps/admin/src/proto/event/domain/event_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -3165,8 +3165,6 @@ proto.bucketeer.event.domain.Event.Type = {
FEATURE_ENABLED: 3,
FEATURE_DISABLED: 4,
FEATURE_DELETED: 5,
FEATURE_EVALUATION_DELAYABLE_SET: 6,
FEATURE_EVALUATION_UNDELAYABLE_SET: 7,
FEATURE_DESCRIPTION_CHANGED: 8,
FEATURE_VARIATION_ADDED: 9,
FEATURE_VARIATION_REMOVED: 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ type EventCounterServiceGetEvaluationTimeseriesCount = {
readonly responseType: typeof proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse;
};

type EventCounterServiceGetEvaluationTimeseriesCountV2 = {
readonly methodName: string;
readonly service: typeof EventCounterService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof proto_eventcounter_service_pb.GetEvaluationTimeseriesCountRequest;
readonly responseType: typeof proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse;
};

type EventCounterServiceGetExperimentResult = {
readonly methodName: string;
readonly service: typeof EventCounterService;
Expand Down Expand Up @@ -89,7 +80,6 @@ export class EventCounterService {
static readonly serviceName: string;
static readonly GetExperimentEvaluationCount: EventCounterServiceGetExperimentEvaluationCount;
static readonly GetEvaluationTimeseriesCount: EventCounterServiceGetEvaluationTimeseriesCount;
static readonly GetEvaluationTimeseriesCountV2: EventCounterServiceGetEvaluationTimeseriesCountV2;
static readonly GetExperimentResult: EventCounterServiceGetExperimentResult;
static readonly ListExperimentResults: EventCounterServiceListExperimentResults;
static readonly GetExperimentGoalCount: EventCounterServiceGetExperimentGoalCount;
Expand Down Expand Up @@ -148,15 +138,6 @@ export class EventCounterServiceClient {
requestMessage: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountRequest,
callback: (error: ServiceError|null, responseMessage: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse|null) => void
): UnaryResponse;
getEvaluationTimeseriesCountV2(
requestMessage: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse|null) => void
): UnaryResponse;
getEvaluationTimeseriesCountV2(
requestMessage: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountRequest,
callback: (error: ServiceError|null, responseMessage: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse|null) => void
): UnaryResponse;
getExperimentResult(
requestMessage: proto_eventcounter_service_pb.GetExperimentResultRequest,
metadata: grpc.Metadata,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ EventCounterService.GetEvaluationTimeseriesCount = {
responseType: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse
};

EventCounterService.GetEvaluationTimeseriesCountV2 = {
methodName: "GetEvaluationTimeseriesCountV2",
service: EventCounterService,
requestStream: false,
responseStream: false,
requestType: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountRequest,
responseType: proto_eventcounter_service_pb.GetEvaluationTimeseriesCountResponse
};

EventCounterService.GetExperimentResult = {
methodName: "GetExperimentResult",
service: EventCounterService,
Expand Down Expand Up @@ -160,37 +151,6 @@ EventCounterServiceClient.prototype.getEvaluationTimeseriesCount = function getE
};
};

EventCounterServiceClient.prototype.getEvaluationTimeseriesCountV2 = function getEvaluationTimeseriesCountV2(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(EventCounterService.GetEvaluationTimeseriesCountV2, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
transport: this.options.transport,
debug: this.options.debug,
onEnd: function (response) {
if (callback) {
if (response.status !== grpc.Code.OK) {
var err = new Error(response.statusMessage);
err.code = response.status;
err.metadata = response.trailers;
callback(err, null);
} else {
callback(null, response.message);
}
}
}
});
return {
cancel: function () {
callback = null;
client.close();
}
};
};

EventCounterServiceClient.prototype.getExperimentResult = function getExperimentResult(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
Expand Down