Skip to content

Commit

Permalink
unified all 3 users into a single entity and created their CRUD route…
Browse files Browse the repository at this point in the history
…s in the controllers
  • Loading branch information
ahmadogo committed Feb 18, 2025
1 parent 1452cd3 commit f95cba9
Show file tree
Hide file tree
Showing 92 changed files with 735 additions and 1,920 deletions.
8 changes: 0 additions & 8 deletions backend/dist/admin/admin.controller.d.ts

This file was deleted.

90 changes: 0 additions & 90 deletions backend/dist/admin/admin.controller.js

This file was deleted.

1 change: 0 additions & 1 deletion backend/dist/admin/admin.controller.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions backend/dist/admin/admin.module.d.ts

This file was deleted.

22 changes: 0 additions & 22 deletions backend/dist/admin/admin.module.js

This file was deleted.

1 change: 0 additions & 1 deletion backend/dist/admin/admin.module.js.map

This file was deleted.

5 changes: 0 additions & 5 deletions backend/dist/admin/providers/admin.service.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion backend/dist/admin/providers/admin.service.js.map

This file was deleted.

10 changes: 5 additions & 5 deletions backend/dist/app.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/dist/app.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/dist/auth/auth.controller.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion backend/dist/auth/auth.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend/dist/auth/auth.module.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions backend/dist/auth/constant/auth-constant.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const REQUEST_USER_KEY = "user";
5 changes: 5 additions & 0 deletions backend/dist/auth/constant/auth-constant.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions backend/dist/auth/constant/auth-constant.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions backend/dist/auth/guard/access-token/access-token.guard.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { CanActivate, ExecutionContext } from '@nestjs/common';
import { Observable } from 'rxjs';
import { ConfigType } from '@nestjs/config';
import { JwtService } from '@nestjs/jwt';
import jwtConfig from 'src/auth/authConfig/jwt.config';
export declare class AccessTokenGuard implements CanActivate {
canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>;
private readonly jwtService;
private readonly jwtConfiguration;
constructor(jwtService: JwtService, jwtConfiguration: ConfigType<typeof jwtConfig>);
canActivate(context: ExecutionContext): Promise<boolean>;
private extractRequestFromHeader;
}
Loading

0 comments on commit f95cba9

Please sign in to comment.