MCPcopy Create free account

hub / github.com/TheSoftwareHouse/express-boilerplate / functions

Functions114 in github.com/TheSoftwareHouse/express-boilerplate

↓ 33 callersMethodexecute
(query: CacheExampleQuery)
src/tests/shared/cache-decorator.spec.ts:22
↓ 16 callersFunctiontextPrompt
(name)
plopfile.js:626
↓ 5 callersMethodget
(key: string)
src/tools/cache-client.ts:8
↓ 4 callersFunctionconstructor
(private dependencies: {{pascalCase name}}ListQueryHandlerDependencies)
plop-templates/crud/list/list.query.handler.ts:13
↓ 4 callersFunctiondtoToTypeormMapper
(request: Request)
src/shared/typeorm/mapper/dto-to-typeorm-mapper.ts:91
↓ 4 callersMethodexecute
(command: LoginCommand)
src/app/features/example/handlers/login.handler.ts:19
↓ 4 callersFunctionmakePaginationResult
( data: T[], total: number, findOptions: FindManyOptions, search?: string, )
src/shared/pagination-utils/pagination-utils.ts:72
↓ 3 callersFunctionCacheQuery
({ duration }: CacheQueryDependencies = { duration: 60 * 15 })
src/shared/cache-decorator/cache-query-decorator.ts:15
↓ 3 callersFunctionloadEnvs
()
src/config/env.ts:3
↓ 3 callersFunctionlowerFirst
(str: string)
src/shared/utils/string.utils.ts:10
↓ 2 callersFunctioncreateContainer
(dependencies?: ContainerDependencies)
src/container.ts:24
↓ 2 callersFunctiongetAvailableFilters
( filter: QueryFilters, repository: Repository<T>, )
src/shared/pagination-utils/pagination-utils.ts:33
↓ 2 callersFunctionnormalizePage
(page: number)
src/shared/pagination-utils/pagination-utils.ts:104
↓ 2 callersMethodremoveByPattern
(pattern: string)
src/tools/cache-client.ts:10
↓ 2 callersMethodscanByPattern
(pattern: string)
src/tools/cache-client.ts:11
↓ 2 callersMethodset
(key: string, data: any, duration?: number)
src/tools/cache-client.ts:9
↓ 1 callersFunctionCacheDecorator
(cacheKeyFactory: (target: Object, args: any[]) => string, duration?: number)
src/shared/cache-decorator/cache-decorator.ts:3
↓ 1 callersFunctionFlushCachedQueries
({ handlers }: FlushCachedQueriesDependencies)
src/shared/cache-decorator/flush-query-cache-decorator.ts:11
↓ 1 callersFunctionFlushGroupKey
(groupKeys: string[])
src/shared/cache-decorator/cache-flush-decorator.ts:3
↓ 1 callersMethodbuildQueryByTypeOrmMapper
( this: SelectQueryBuilder<Entity>, typeOrmMapper: TypeormMapperDTO, )
src/shared/typeorm/plugins/build-query-by-typeorm-mapper.plugin.ts:8
↓ 1 callersFunctioncalculateSkipFindOption
(page: number, limit: number)
src/shared/pagination-utils/pagination-utils.ts:29
↓ 1 callersFunctioncapitalizeFirst
(str: string)
src/shared/utils/string.utils.ts:6
↓ 1 callersFunctioncelebrateToValidationError
(error: CelebrateError)
src/middleware/error-handler.ts:12
↓ 1 callersFunctionclearDb
(_dataSource: DataSource)
src/tests/bootstrap.ts:12
↓ 1 callersMethodconnect
()
src/tools/cache-client.ts:29
↓ 1 callersFunctionconstructor
(private dependencies: {{pascalCase name}}EventSubscriberDependencies)
plop-templates/events/event-subscriber.ts:10
↓ 1 callersFunctionconstructor
(private dependencies: {{pascalCase name}}DetailsQueryHandlerDependencies)
plop-templates/crud/details/details.query.handler.ts:15
↓ 1 callersMethodcreate
(data: Partial<DtoExampleProps>)
src/tests/shared/class-transformer-decorator.spec.ts:12
↓ 1 callersFunctioncreateFindManyOptions
( repository: Repository<T>, payload: PaginationParamsDto, )
src/shared/pagination-utils/pagination-utils.ts:49
↓ 1 callersFunctioncreateGroupKeys
(handlers: any[])
src/shared/cache-decorator/flush-query-cache-decorator.ts:3
↓ 1 callersFunctioncreateTypeORMFilter
(request: Request, prefix = "", operators = OPERATORS)
src/shared/typeorm/mapper/dto-to-typeorm-mapper.ts:43
↓ 1 callersFunctiongetDirectories
(source)
plopfile.js:11
↓ 1 callersFunctiongetDirectoryFiles
(source)
plopfile.js:16
↓ 1 callersFunctionisNotEmptyFor
(name)
plopfile.js:47
↓ 1 callersFunctionmultiFileSwagger
(root: object | any[])
src/tools/multi-file-swagger.ts:9
↓ 1 callersFunctionregisterCommandHandlers
(container: AwilixContainer)
src/container/command-handlers.ts:8
↓ 1 callersFunctionregisterCommonDependencies
(appConfig: AppConfig, container: AwilixContainer)
src/container/common.ts:10
↓ 1 callersFunctionregisterDatabase
(container: AwilixContainer, dependencies?: ContainerDependencies)
src/container/database.ts:8
↓ 1 callersFunctionregisterGraphQLDependencies
(container: AwilixContainer)
src/container/graphql.ts:6
↓ 1 callersFunctionregisterMiddlewares
(container: AwilixContainer)
src/container/middlewares.ts:4
↓ 1 callersFunctionregisterQueryHandlers
(container: AwilixContainer)
src/container/query-handlers.ts:7
↓ 1 callersFunctionregisterRouting
(container: AwilixContainer)
src/container/routing.ts:5
↓ 1 callersFunctionregisterSubscribers
(container: AwilixContainer)
src/container/subscribers.ts:7
↓ 1 callersFunctiontableAliasName
(name: string, separator = ".")
src/shared/utils/string.utils.ts:15
Functioncamelize
(text: string)
src/shared/utils/string.utils.ts:1
Functionconstructor
(private dependencies: {{pascalCase name}}ActionDependencies)
plop-templates/action.ts:31
Functionconstructor
(private dependencies: {{pascalCase name}}ActionDependencies)
plop-templates/crud/action.ts:31
Methodconstructor
(public payload: {{pascalCase name}}CommandPayload)
plop-templates/command.ts:10
Methodconstructor
(public result: any)
plop-templates/query/query-result.ts:4
Methodconstructor
(public payload: {{pascalCase name}}QueryPayload)
plop-templates/query/query.ts:10
Methodconstructor
(public payload: {{pascalCase name}}DetailsQueryPayload)
plop-templates/crud/details/query/details.query.ts:12
Methodconstructor
(public result: any)
plop-templates/crud/details/query/details.query.result.ts:4
Methodconstructor
(public result: any)
plop-templates/crud/list/query/list.query.result.ts:4
Methodconstructor
(public payload: {{pascalCase name}}ListQueryPayload)
plop-templates/crud/list/query/list.query.ts:13
Methodconstructor
()
src/tools/cache-client.ts:19
Methodconstructor
( public status: number, message?: string, )
src/errors/http.error.ts:4
Methodconstructor
(message?: string)
src/errors/app.error.ts:2
Methodconstructor
(message: string)
src/errors/not-found.error.ts:5
Methodconstructor
(private dependencies: UsersActionDependencies)
src/app/features/example/actions/users.action.ts:26
Methodconstructor
(private dependencies: LoginActionDependencies)
src/app/features/example/actions/login.action.ts:21
Methodconstructor
(public payload: LoginCommandPayload)
src/app/features/example/commands/login.command.ts:12
Methodconstructor
(public payload: DeleteUserCommandPayload)
src/app/features/example/commands/delete-user.command.ts:12
Methodconstructor
(public payload: UsersQueryPayload)
src/app/features/example/queries/users/users.query.ts:11
Methodconstructor
(public result: any)
src/app/features/example/queries/users/users.query.result.ts:4
Methodconstructor
({ eventDispatcher }: LoginHandlerDependencies)
src/app/features/example/handlers/login.handler.ts:15
Methodconstructor
(command: LoginCommand)
src/app/features/example/events/user-logged-in.event.ts:13
Methodconstructor
(private dependencies: EmailEventSubscriberDependencies)
src/app/features/example/subscribers/email.subscriber.ts:13
Methodconstructor
(private dependencies: UsersQueryHandlerInterface)
src/app/features/example/query-handlers/users.query.handler.ts:14
Methodconstructor
( public code: string, public message?: string, )
src/shared/translation/translation.ts:2
Methodcreate
(data: Partial<UserProps>)
src/app/features/example/models/user.entity.ts:14
FunctioncreateApp
({ router, errorHandler, graphQLSchema, commandBus, queryBus, resolvers, appConfig, }: AppDepend
src/app/app.ts:29
FunctioncreateCacheKey
(target: Object, args: any[])
src/shared/cache-decorator/cache-query-decorator.ts:3
FunctioncreateResolvers
(_dependencies: ResolversDependencies)
src/graphql/resolvers/index.ts:19
FunctioncreateRouter
({ usersRouting, // ROUTES_DEPENDENCIES }: RoutingDependencies)
src/app/router.ts:8
Functiondelay
(ms: number)
src/tools/tests.ts:4
FunctiondeleteUserMutation
(parent: any, args: MutationDeleteUserArgs, context: MutationContext)
src/app/features/example/graphql/mutations/delete-user.mutation.ts:5
Methoddown
(queryRunner: QueryRunner)
src/migrations/1710240086737-AddUserEntity.ts:15
FunctionerrorHandler
({ logger, restrictFromProduction }: { logger: Logger; restrictFromProduction: Function })
src/middleware/error-handler.ts:29
Functionexecute
(command: {{pascalCase name}}Command)
plop-templates/command-handler.ts:14
Functionexecute
(query: {{pascalCase name}}Query)
plop-templates/query/query-handler.ts:7
Functionexecute
(query: {{pascalCase name}}DetailsQuery)
plop-templates/crud/details/details.query.handler.ts:17
Functionexecute
(command: Update
plop-templates/crud/update/update.handler.ts:18
Functionexecute
(command: Remove
plop-templates/crud/remove/remove.handler.ts:18
Functionexecute
(query: {{pascalCase name}}ListQuery)
plop-templates/crud/list/list.query.handler.ts:15
Functionexecute
(command: Create
plop-templates/crud/create/create.handler.ts:17
Methodexecute
(command: DeleteUserCommand)
src/app/features/example/handlers/delete-user.handler.ts:7
Methodexecute
(query: UsersQuery)
src/app/features/example/query-handlers/users.query.handler.ts:17
Methodexecute
(query: CacheExampleQuery)
src/tests/shared/cache-decorator.spec.ts:34
Methodexecute
()
src/tests/shared/cache-decorator.spec.ts:46
FunctionfindOneBy
(!{{camelCase name}}Entity)
plop-templates/crud/details/details.query.handler.ts:18
Methodget
(key: string)
src/tools/cache-client.ts:33
FunctiongetSubscribedEvents
()
plop-templates/events/event-subscriber.ts:12
MethodgetSubscribedEvents
* Register events and listeners * @example * return [ * { name: TestEvent.eventName, method: "sendEmail" } * ]
src/app/features/example/subscribers/email.subscriber.ts:22
Functioninvoke
(req: Request, res: Response)
plop-templates/action.ts:33
Functioninvoke
(req: Request, res: Response)
plop-templates/crud/action.ts:33
Methodinvoke
({ query }: Request, res: Response)
src/app/features/example/actions/users.action.ts:28
Methodinvoke
({ body }: Request, res: Response)
src/app/features/example/actions/login.action.ts:23
Methodinvoke
(req: Request, res: Response, next?: NextFunction)
src/shared/http/types.ts:4
FunctionisDirectory
(source)
plopfile.js:9
FunctionisFile
(source)
plopfile.js:10
next →1–100 of 114, ranked by callers