feat: add basic auth

This commit is contained in:
2026-10-21 10:31:23 +03:00
parent ef2bc6f8b6
commit 0563ebfb10
28 changed files with 633 additions and 176 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ import {
Query,
UseGuards,
} from '@nestjs/common';
import { AuthGuard } from '../common/auth/auth.guard';
import { CurrentUser } from '../common/auth/current-user.decorator';
import { AuthGuard } from '../auth/auth.guard';
import { CurrentUser } from '../auth/current-user.decorator';
import { parseLimit, rawCursorParam } from '../common/dto/pagination-query.dto';
import { User } from '../common/domain';
import { ChatsService } from './chats.service';
-2
View File
@@ -1,10 +1,8 @@
import { Module } from '@nestjs/common';
import { CommonModule } from '../common/common.module';
import { ChatsController } from './chats.controller';
import { ChatsService } from './chats.service';
@Module({
imports: [CommonModule],
controllers: [ChatsController],
providers: [ChatsService],
exports: [ChatsService],