13 lines
612 B
TypeScript
13 lines
612 B
TypeScript
import { ApiAuthService } from '../service/api-auth.service';
|
|
import { LoginDto, RegisterDto } from '../dto/auth.dto';
|
|
export declare class AuthController {
|
|
private readonly apiAuthService;
|
|
constructor(apiAuthService: ApiAuthService);
|
|
login(loginDto: LoginDto): Promise<import("src/app/common/api").ApiResponseVo<null> | import("src/app/common/api").ApiResponseVo<{
|
|
token: string;
|
|
} | undefined>>;
|
|
register(registerDto: RegisterDto): Promise<import("src/app/common/api").ApiResponseVo<null> | import("src/app/common/api").ApiResponseVo<{
|
|
token: string;
|
|
} | undefined>>;
|
|
}
|