File: /var/dev/shahnamag/back-end/dist/user/user.controller.d.ts
import { UserService } from './user.service';
import { CreateUserDto } from './dto/create-user.dto';
import { UpdateUserDto } from './dto/update-user.dto';
import { JwtService } from '@nestjs/jwt';
export declare class UserController {
private readonly userService;
private jwtService;
constructor(userService: UserService, jwtService: JwtService);
login(credentials: {
username: string;
password: string;
}): Promise<{
data: {
token: string;
};
error: number;
}>;
create(createUserDto: CreateUserDto): string;
findAll(): string;
findOne(id: string): Promise<import("./entities/user.entity").User[]>;
update(id: string, updateUserDto: UpdateUserDto): string;
remove(id: string): string;
}