diff --git a/gen/google/protobuf/any.ts b/gen/google/protobuf/any.ts deleted file mode 100644 index 9df696d..0000000 --- a/gen/google/protobuf/any.ts +++ /dev/null @@ -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"; diff --git a/gen/google/rpc/status.ts b/gen/google/rpc/status.ts deleted file mode 100644 index ec6a46c..0000000 --- a/gen/google/rpc/status.ts +++ /dev/null @@ -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"; diff --git a/proto/google/protobuf/any.proto b/proto/google/protobuf/any.proto deleted file mode 100644 index 5ae1b13..0000000 --- a/proto/google/protobuf/any.proto +++ /dev/null @@ -1,9 +0,0 @@ -syntax = "proto3"; - -package google.protobuf; - -message Any { - string type_url = 1; - bytes value = 2; -} - diff --git a/proto/google/rpc/status.proto b/proto/google/rpc/status.proto deleted file mode 100644 index ed6a0bd..0000000 --- a/proto/google/rpc/status.proto +++ /dev/null @@ -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; -} - diff --git a/proto/identity.proto b/proto/identity.proto index 80084c2..7571c06 100644 --- a/proto/identity.proto +++ b/proto/identity.proto @@ -1,8 +1,6 @@ syntax = "proto3"; package identity; -import "google/rpc/status.proto"; - service AuthService { rpc Login (LoginRequest) returns (LoginResponse); @@ -36,7 +34,6 @@ message LoginResponse { optional string temp_token = 5; optional string message = 6; optional string error_code = 7; - optional google.rpc.Status error = 8; } message RefreshRequest {