From 7591c36476064c7a42c5beb3f618e57178fc8d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Sat, 9 Oct 2021 14:50:23 -0300 Subject: [PATCH] fix: Remove options import decorator --- app/templates/nestjsMongoose/__name__Service.ts.txt | 1 - app/templates/nestjsPrismaOrm/__name__Service.ts.txt | 1 - app/templates/nestjsTypeOrm/__name__Service.ts.txt | 1 - package.json | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/app/templates/nestjsMongoose/__name__Service.ts.txt b/app/templates/nestjsMongoose/__name__Service.ts.txt index d8d22c0..c265bf5 100644 --- a/app/templates/nestjsMongoose/__name__Service.ts.txt +++ b/app/templates/nestjsMongoose/__name__Service.ts.txt @@ -1,5 +1,4 @@ import { Inject, Injectable } from '@nestjs/common' -import { Options } from '@secjs/base/decorators/Options' import { BaseService } from '@secjs/base/services/BaseService' import { <%= namePascal %>Resource } from 'app/Resources/<%= namePascal %>Resource' import { <%= namePascal %>Repository } from 'app/Repositories/<%= namePascal %>Repository' diff --git a/app/templates/nestjsPrismaOrm/__name__Service.ts.txt b/app/templates/nestjsPrismaOrm/__name__Service.ts.txt index d8d22c0..c265bf5 100644 --- a/app/templates/nestjsPrismaOrm/__name__Service.ts.txt +++ b/app/templates/nestjsPrismaOrm/__name__Service.ts.txt @@ -1,5 +1,4 @@ import { Inject, Injectable } from '@nestjs/common' -import { Options } from '@secjs/base/decorators/Options' import { BaseService } from '@secjs/base/services/BaseService' import { <%= namePascal %>Resource } from 'app/Resources/<%= namePascal %>Resource' import { <%= namePascal %>Repository } from 'app/Repositories/<%= namePascal %>Repository' diff --git a/app/templates/nestjsTypeOrm/__name__Service.ts.txt b/app/templates/nestjsTypeOrm/__name__Service.ts.txt index d8d22c0..c265bf5 100644 --- a/app/templates/nestjsTypeOrm/__name__Service.ts.txt +++ b/app/templates/nestjsTypeOrm/__name__Service.ts.txt @@ -1,5 +1,4 @@ import { Inject, Injectable } from '@nestjs/common' -import { Options } from '@secjs/base/decorators/Options' import { BaseService } from '@secjs/base/services/BaseService' import { <%= namePascal %>Resource } from 'app/Resources/<%= namePascal %>Resource' import { <%= namePascal %>Repository } from 'app/Repositories/<%= namePascal %>Repository' diff --git a/package.json b/package.json index be2cf62..a458553 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "generator-secjs", - "version": "1.2.6", + "version": "1.2.7", "description": "🧬 Generator for any NodeJS Project or Framework", "main": "app/index.js", "scripts": {