From bb1b3554d6a7b055c472c32b7ecf81e481810fe6 Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 16 May 2019 22:48:08 +0200 Subject: [PATCH] Revert "generate code for authentication service" This reverts commit 59d88c729885f664e01910c1d709ce3da792b573. --- .../authentication_service.pbgrpc.dart | 48 ------------------- 1 file changed, 48 deletions(-) diff --git a/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart b/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart index 552ea4f..efc7bab 100644 --- a/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart +++ b/common/generated_io/lib/src/services/authentication_service.pbgrpc.dart @@ -17,14 +17,6 @@ class AuthenticationServiceClient extends Client { '/stashall.AuthenticationService/signin', (SigninRequest value) => value.writeToBuffer(), (List value) => new $0.Empty.fromBuffer(value)); - static final _$signout = new ClientMethod<$0.Empty, $0.Empty>( - '/stashall.AuthenticationService/signout', - ($0.Empty value) => value.writeToBuffer(), - (List value) => new $0.Empty.fromBuffer(value)); - static final _$isLogged = new ClientMethod<$0.Empty, $0.Empty>( - '/stashall.AuthenticationService/isLogged', - ($0.Empty value) => value.writeToBuffer(), - (List value) => new $0.Empty.fromBuffer(value)); AuthenticationServiceClient(ClientChannel channel, {CallOptions options}) : super(channel, options: options); @@ -36,20 +28,6 @@ class AuthenticationServiceClient extends Client { options: options); return new ResponseFuture(call); } - - ResponseFuture<$0.Empty> signout($0.Empty request, {CallOptions options}) { - final call = $createCall( - _$signout, new $async.Stream.fromIterable([request]), - options: options); - return new ResponseFuture(call); - } - - ResponseFuture<$0.Empty> isLogged($0.Empty request, {CallOptions options}) { - final call = $createCall( - _$isLogged, new $async.Stream.fromIterable([request]), - options: options); - return new ResponseFuture(call); - } } abstract class AuthenticationServiceBase extends Service { @@ -63,20 +41,6 @@ abstract class AuthenticationServiceBase extends Service { false, (List value) => new SigninRequest.fromBuffer(value), ($0.Empty value) => value.writeToBuffer())); - $addMethod(new ServiceMethod<$0.Empty, $0.Empty>( - 'signout', - signout_Pre, - false, - false, - (List value) => new $0.Empty.fromBuffer(value), - ($0.Empty value) => value.writeToBuffer())); - $addMethod(new ServiceMethod<$0.Empty, $0.Empty>( - 'isLogged', - isLogged_Pre, - false, - false, - (List value) => new $0.Empty.fromBuffer(value), - ($0.Empty value) => value.writeToBuffer())); } $async.Future<$0.Empty> signin_Pre( @@ -84,17 +48,5 @@ abstract class AuthenticationServiceBase extends Service { return signin(call, await request); } - $async.Future<$0.Empty> signout_Pre( - ServiceCall call, $async.Future request) async { - return signout(call, await request); - } - - $async.Future<$0.Empty> isLogged_Pre( - ServiceCall call, $async.Future request) async { - return isLogged(call, await request); - } - $async.Future<$0.Empty> signin(ServiceCall call, SigninRequest request); - $async.Future<$0.Empty> signout(ServiceCall call, $0.Empty request); - $async.Future<$0.Empty> isLogged(ServiceCall call, $0.Empty request); }