open-index/open-npm huggingface dataset:
npm package: @imagineapps/nest-criteria
Description: Abstração de filtro e paginação para o NestJS com TypeORM
Latest version: 0.0.23

# nest-criteria

Abstração de filtro e paginação para o NestJS com TypeORM

## Example

TypeORM Entity

```typescript
import { Entity, PrimaryGeneratedColumn, Column, ManyToMany } from 'typeorm';
import { CriteriaFields } from '@imagineapps/nest-criteria';

@CriteriaFields({
  name: ['IN', 'LIKE']
})
@Entity()
export class User {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name: string;

  @ManyToMany()
  profiles: Profile[];
}
```

NestJS Controller

```typescript
import { Controller, Get } from '@nestjs/common';
import { UseCriteria } from '@imagineapps/nest-criteria';
import { User } from './user.entity';

@Controller('users')
export class UsersController {
  @Get()
  async find(@UseCriteria(User) criteria: Criteria<User>): Promise<User[]> {
    return criteria
      .relations({
        profiles: true,
      })
      .get();
  }
}
```
npm package: @imagineapps/nest-utils
Description: Um wrapper de `@imagineapps/utils` para torna-lo mais fácil de usar no NestJS
Latest version: 0.0.1

# nest-utils

Um wrapper de `@imagineapps/utils` para torna-lo mais fácil de usar no NestJS

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build nest-utils` to build the library.

## Running unit tests

Run `nx test nest-utils` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @imagineapps/parse-json
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 0.0.1

# parse-json

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build parse-json` to build the library.

## Running unit tests

Run `nx test parse-json` to execute the unit tests via [Jest](https://jestjs.io).