MCPcopy Create free account

hub / github.com/CatsMiaow/nestjs-project-structure / functions

Functions117 in github.com/CatsMiaow/nestjs-project-structure

↓ 23 callersMethodget
(path: P)
src/common/providers/config.service.ts:8
↓ 8 callersMethodcreate
(data: Partial<Sampletable1>)
src/sample/providers/crud.service.ts:14
↓ 5 callersMethoduse
(req: Request, _res: Response, next: () => void)
src/common/middleware/logger-context.middleware.ts:18
↓ 4 callersFunctionDebugLog
(context?: string)
src/debug/debug-log.decorator.ts:76
↓ 4 callersMethodfind
(args: SimpleArgs)
src/gql/providers/simple.service.ts:36
↓ 4 callersMethodforRoot
(options: typeof OPTIONS_TYPE)
src/debug/debug.module.ts:9
↓ 4 callersMethodlog
()
src/debug/sample/simple-log.controller.ts:11
↓ 3 callersMethodgetRequest
(context: ExecutionContext)
src/auth/guards/jwt-auth.guard.ts:8
↓ 2 callersFunctionMethodLog
(context?: string)
src/debug/debug-log.decorator.ts:9
↓ 2 callersFunctionRoles
(...roles: string[])
src/common/decorators/roles.decorator.ts:3
↓ 2 callersMethodjwtSign
(data: Payload)
src/auth/auth.service.ts:37
↓ 2 callersFunctionlog
(time: number, args: unknown[])
src/debug/debug-log.decorator.ts:16
↓ 2 callersFunctionmiddleware
(app: INestApplication)
src/app.middleware.ts:7
↓ 2 callersMethodtemplate
(templateData: TemplateStringsArray, param: TemplateParameter, delimiter = '\n')
src/common/providers/util.service.ts:8
↓ 1 callersFunctionClassLog
(context?: string)
src/debug/debug-log.decorator.ts:51
↓ 1 callersFunctionDebug
(options?: string | DebugOptions)
src/debug/debug.decorator.ts:6
↓ 1 callersFunctionLogController
({ context, ...options }: ControllerOptions & { context?: string })
src/debug/sample/log-controller.decorator.ts:6
↓ 1 callersFunctionPublic
()
src/common/decorators/public.decorator.ts:3
↓ 1 callersMethodaddExcludeOption
()
src/debug/debug.explorer.ts:40
↓ 1 callersMethodapplyDecorator
(metatype: Metatype, metadata: DebugOptions)
src/debug/debug.explorer.ts:50
↓ 1 callersFunctionbootstrap
* https://docs.nestjs.com/recipes/swagger
src/swagger.ts:10
↓ 1 callersFunctionbootstrap
* https://docs.nestjs.com * https://github.com/nestjs/nest/tree/master/sample * https://github.com/nestjs/nest/issues/2249#issuecomment-494734673
src/app.ts:14
↓ 1 callersFunctionbootstrap
* https://docs.nestjs.com/recipes/repl
src/repl.ts:9
↓ 1 callersMethodcatch
(exception: unknown, host: ArgumentsHost)
src/common/filters/exceptions.filter.ts:9
↓ 1 callersFunctionconfiguration
()
src/config/configuration.ts:22
↓ 1 callersMethodcreate
(@Body() body: CreateDto)
src/sample/controllers/crud.controller.ts:36
↓ 1 callersMethodfetch
(username: string)
src/shared/user/user.service.ts:7
↓ 1 callersMethodformat
(value: string)
src/sample/providers/date.service.ts:2
↓ 1 callersMethodgetFoobars
()
src/shared/foobar/foobar.service.ts:14
↓ 1 callersMethodgetHttpStatus
(exception: unknown)
src/common/filters/exceptions.filter.ts:37
↓ 1 callersMethodgetPayload
(token: string)
src/auth/auth.service.ts:46
↓ 1 callersMethodgetRefreshToken
(sub: string)
src/auth/auth.service.ts:60
↓ 1 callersMethodgetRequest
(context: ExecutionContext)
src/auth/guards/authenticated.guard.ts:21
↓ 1 callersFunctionormconfig
()
bin/ormconfig.ts:12
↓ 1 callersMethodread
(@Param('id', ParseIntPipe) id: number)
src/sample/controllers/crud.controller.ts:26
↓ 1 callersMethodread
(id: number)
src/sample/providers/crud.service.ts:18
↓ 1 callersMethodremove
(@Param('id', ParseIntPipe) id: number)
src/sample/controllers/crud.controller.ts:53
↓ 1 callersMethodremove
(id: number)
src/sample/providers/crud.service.ts:26
↓ 1 callersMethodremoveUndefined
(argv: object)
src/common/providers/util.service.ts:32
↓ 1 callersMethodsample
()
src/sample/controllers/sample.controller.ts:25
↓ 1 callersMethodsample1
* https://typeorm.io/#/find-options
src/sample/providers/database.service.ts:43
↓ 1 callersMethodstepChainFour
()
src/debug/sample/sample.service.ts:33
↓ 1 callersMethodstepChainOne
()
src/debug/sample/sample.service.ts:21
↓ 1 callersMethodstepChainThree
()
src/debug/sample/sample.service.ts:29
↓ 1 callersMethodstepChainTwo
()
src/debug/sample/sample.service.ts:25
↓ 1 callersMethodstepOne
(foo: string)
src/debug/sample/sample.service.ts:5
↓ 1 callersMethodstepStart
()
src/debug/sample/sample.service.ts:17
↓ 1 callersMethodstepThree
()
src/debug/sample/sample.service.ts:13
↓ 1 callersMethodstepTwo
(bar: string)
src/debug/sample/sample.service.ts:9
↓ 1 callersMethodupdate
(@Param('id', ParseIntPipe) id: number, @Body() body: UpdateDto)
src/sample/controllers/crud.controller.ts:46
↓ 1 callersMethodupdate
(id: number, data: Partial<Sampletable1>)
src/sample/providers/crud.service.ts:22
↓ 1 callersMethodvalidateRefreshToken
(data: Payload, refreshToken: string)
src/auth/auth.service.ts:28
↓ 1 callersMethodvalidateUser
(username: string, password: string)
src/auth/auth.service.ts:16
Methodadmin
()
src/sample/controllers/sample.controller.ts:79
MethodcanActivate
(context: ExecutionContext)
src/auth/guards/local-login.guard.ts:7
MethodcanActivate
(context: ExecutionContext)
src/auth/guards/authenticated.guard.ts:10
MethodcanActivate
(context: ExecutionContext)
src/common/guards/roles.guard.ts:10
Methodcheck
()
src/base/controllers/health.controller.ts:27
Methodcheck
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:43
Methodconfigure
(consumer: MiddlewareConsumer)
src/common/common.module.ts:15
Methodconstructor
( private jwt: JwtService, private user: UserService, private config: ConfigService, )
src/auth/auth.service.ts:10
Methodconstructor
(config: ConfigService)
src/auth/strategies/jwt-verify.strategy.ts:10
Methodconstructor
(config: ConfigService)
src/auth/strategies/jwt.strategy.ts:10
Methodconstructor
(private auth: AuthService)
src/auth/strategies/local.strategy.ts:10
Methodconstructor
(private reflector: Reflector)
src/auth/guards/authenticated.guard.ts:8
Methodconstructor
( @InjectPinoLogger(SampleController.name) private readonly logger: PinoLogger, private config: Config
src/sample/controllers/sample.controller.ts:17
Methodconstructor
(private crud: CrudService)
src/sample/controllers/crud.controller.ts:23
Methodconstructor
( /** * Sample1 * https://typeorm.io/#/working-with-repository * https://typeorm.io/#/repos
src/sample/providers/database.service.ts:15
Methodconstructor
( @InjectRepository(Sampletable1) private table: Repository<Sampletable1>, )
src/sample/providers/crud.service.ts:9
Methodconstructor
( @Inject(MODULE_OPTIONS_TOKEN) private options: DebugModuleOptions, private discoveryService: Discove
src/debug/debug.explorer.ts:16
Methodconstructor
(private sample: SampleService)
src/debug/sample/sample.controller.ts:12
Methodconstructor
( private health: HealthCheckService, private http: HttpHealthIndicator, private db: TypeOrmHealth
src/base/controllers/health.controller.ts:18
Methodconstructor
(private auth: AuthService)
src/base/controllers/auth.controller.ts:21
Methodconstructor
( @InjectRepository(Sampletable1) private sampletable1: Repository<Sampletable1>, )
src/shared/foobar/foobar.service.ts:9
Methodconstructor
( @InjectPinoLogger(SimpleService.name) private readonly logger: PinoLogger, @InjectRepository(Samplet
src/gql/providers/simple.service.ts:13
Methodconstructor
( @InjectPinoLogger(SimpleService.name) private readonly logger: PinoLogger, private simpleService: Si
src/gql/resolvers/simple.resolver.ts:13
Methodconstructor
( private readonly logger: PinoLogger, private auth: AuthService, )
src/common/middleware/logger-context.middleware.ts:13
Methodconstructor
(private reflector: Reflector)
src/common/guards/roles.guard.ts:8
Methodcreate
(data: SimpleInput)
src/gql/providers/simple.service.ts:19
Methodcreate
(@Args('simpleData') simpleData: SimpleInput)
src/gql/resolvers/simple.resolver.ts:28
Methoddatabase
()
src/sample/controllers/sample.controller.ts:66
MethoddeserializeUser
(data: Payload, done: (err: Error | null, user?: Payload) => void)
src/auth/auth.serializer.ts:12
Functionfactory
(tsCompiler: any)
test/jest.e2e.transformer.ts:8
Methodfind
(@Args() simpleArgs: SimpleArgs)
src/gql/resolvers/simple.resolver.ts:47
Methodfoobars
()
src/sample/controllers/sample.controller.ts:73
MethodgetRequest
(context: ExecutionContext)
src/auth/guards/jwt-verify.guard.ts:8
Methodhello
(@Req() req: Request, @Res() res: Response)
src/sample/controllers/sample.controller.ts:35
MethodhelloBody
(@Body() param: SampleDto)
src/sample/controllers/sample.controller.ts:61
MethodhelloNumber
(@Param('foo') foo: number, @Query('bar') bar: string, @Query('blah', ParseIntPipe) blah: number)
src/sample/controllers/sample.controller.ts:56
MethodhelloParam
(@Param('name') name: string)
src/sample/controllers/sample.controller.ts:51
MethodhelloQuery
(@Query('name') name: string)
src/sample/controllers/sample.controller.ts:42
FunctionisObject
(value: T)
src/config/configuration.ts:6
MethodjoinQuery
* https://typeorm.io/#/select-query-builder
src/sample/providers/database.service.ts:61
MethodjwtCheck
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:58
MethodjwtLogin
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:52
MethodjwtRefresh
(@ReqUser() user: Payload, @Body('refresh_token') token?: string)
src/base/controllers/auth.controller.ts:65
Methodline
(templateData: TemplateStringsArray, ...param: TemplateParameter)
src/common/providers/util.service.ts:28
Methodlogin
(@ReqUser() user: Payload)
src/base/controllers/auth.controller.ts:30
Methodlogout
(@Req() req: Request, @Res() res: Response)
src/base/controllers/auth.controller.ts:35
Functionmerge
(target: T, source: U)
src/config/configuration.ts:9
next →1–100 of 117, ranked by callers