fix: remove imports google any and status protobufs
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// protoc-gen-ts_proto v2.11.6
|
|
||||||
// protoc v7.34.1
|
|
||||||
// source: google/protobuf/any.proto
|
|
||||||
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
export const protobufPackage = "google.protobuf";
|
|
||||||
|
|
||||||
export interface Any {
|
|
||||||
typeUrl: string;
|
|
||||||
value: Uint8Array;
|
|
||||||
}
|
|
||||||
|
|
||||||
export const GOOGLE_PROTOBUF_PACKAGE_NAME = "google.protobuf";
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
||||||
// versions:
|
|
||||||
// protoc-gen-ts_proto v2.11.6
|
|
||||||
// protoc v7.34.1
|
|
||||||
// source: google/rpc/status.proto
|
|
||||||
|
|
||||||
/* eslint-disable */
|
|
||||||
import { Any } from "../protobuf/any";
|
|
||||||
|
|
||||||
export const protobufPackage = "google.rpc";
|
|
||||||
|
|
||||||
export interface Status {
|
|
||||||
code: number;
|
|
||||||
message: string;
|
|
||||||
details: Any[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export const GOOGLE_RPC_PACKAGE_NAME = "google.rpc";
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package google.protobuf;
|
|
||||||
|
|
||||||
message Any {
|
|
||||||
string type_url = 1;
|
|
||||||
bytes value = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
syntax = "proto3";
|
|
||||||
|
|
||||||
package google.rpc;
|
|
||||||
|
|
||||||
import "google/protobuf/any.proto";
|
|
||||||
|
|
||||||
message Status {
|
|
||||||
int32 code = 1;
|
|
||||||
string message = 2;
|
|
||||||
repeated google.protobuf.Any details = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package identity;
|
package identity;
|
||||||
import "google/rpc/status.proto";
|
|
||||||
|
|
||||||
|
|
||||||
service AuthService {
|
service AuthService {
|
||||||
rpc Login (LoginRequest) returns (LoginResponse);
|
rpc Login (LoginRequest) returns (LoginResponse);
|
||||||
@@ -36,7 +34,6 @@ message LoginResponse {
|
|||||||
optional string temp_token = 5;
|
optional string temp_token = 5;
|
||||||
optional string message = 6;
|
optional string message = 6;
|
||||||
optional string error_code = 7;
|
optional string error_code = 7;
|
||||||
optional google.rpc.Status error = 8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message RefreshRequest {
|
message RefreshRequest {
|
||||||
|
|||||||
Reference in New Issue
Block a user