@mxspl/nestjs-common
v0.1.2
Published
Reusable common helpers for NestJS services.
Maintainers
Readme
@mxspl/nestjs-common
Reusable common helpers for NestJS services.
Install
pnpm add @mxspl/nestjs-commonWhat it provides
- Relay connection types for
PageInfo, edges, and connections. - Query-builder filter application helpers for TypeORM.
- Relay cursor pagination with stable
createdAt+idordering. - Reusable string and boolean filter input classes.
Example
import {
RelayConnectionType,
RelayEdgeType,
RelayPageInfo,
applyGraphqlFilters,
buildRelayConnection,
BooleanFilterOperatorsInput,
StringFilterOperatorsInput,
} from '@mxspl/nestjs-common';