@mikemajesty/microservice-crud 7.1.4 → 7.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/templates/core/use-cases/__tests__/create.spec.mjs +1 -1
- package/src/templates/core/use-cases/__tests__/delete.spec.mjs +1 -1
- package/src/templates/core/use-cases/__tests__/get-by-id.spec.mjs +1 -1
- package/src/templates/core/use-cases/__tests__/list.spec.mjs +1 -1
- package/src/templates/core/use-cases/__tests__/update.spec.mjs +1 -1
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { Test } from '@nestjs/testing';
|
|
|
6
6
|
import { CreatedModel } from '@/infra/repository';
|
|
7
7
|
import { I${dashToPascal(name)}CreateAdapter } from '@/modules/${name}/adapter';
|
|
8
8
|
import { ApiInternalServerException } from '@/utils/exception';
|
|
9
|
-
import { TestUtils } from '@/utils/test/
|
|
9
|
+
import { TestUtils } from '@/utils/test/utils';
|
|
10
10
|
import { ZodExceptionIssue } from '@/utils/validator';
|
|
11
11
|
|
|
12
12
|
import { ${dashToPascal(name)}EntitySchema } from '../../entity/${name}';
|
|
@@ -8,7 +8,7 @@ import { LoggerModule } from '@/infra/logger';
|
|
|
8
8
|
import { UpdatedModel } from '@/infra/repository';
|
|
9
9
|
import { I${dashToPascal(name)}DeleteAdapter } from '@/modules/${name}/adapter';
|
|
10
10
|
import { ApiNotFoundException } from '@/utils/exception';
|
|
11
|
-
import { TestUtils } from '@/utils/test/
|
|
11
|
+
import { TestUtils } from '@/utils/test/utils';
|
|
12
12
|
import { ZodExceptionIssue } from '@/utils/validator';
|
|
13
13
|
|
|
14
14
|
import { ${dashToPascal(name)}Entity, ${dashToPascal(name)}EntitySchema } from '../../entity/${name}';
|
|
@@ -5,7 +5,7 @@ import { Test } from '@nestjs/testing';
|
|
|
5
5
|
|
|
6
6
|
import { I${dashToPascal(name)}GetByIdAdapter } from '@/modules/${name}/adapter';
|
|
7
7
|
import { ApiNotFoundException } from '@/utils/exception';
|
|
8
|
-
import { TestUtils } from '@/utils/test/
|
|
8
|
+
import { TestUtils } from '@/utils/test/utils';
|
|
9
9
|
import { ZodExceptionIssue } from '@/utils/validator';
|
|
10
10
|
|
|
11
11
|
import { ${dashToPascal(name)}Entity, ${dashToPascal(name)}EntitySchema } from '../../entity/${name}';
|
|
@@ -8,7 +8,7 @@ import { Test } from '@nestjs/testing';
|
|
|
8
8
|
import { ${dashToPascal(name)}ListInput, ${dashToPascal(name)}ListOutput, ${dashToPascal(name)}ListSchema, ${dashToPascal(name)}ListUsecase } from '@/core/${name}/use-cases/${name}-list';
|
|
9
9
|
import { ILoggerAdapter, LoggerModule } from '@/infra/logger';
|
|
10
10
|
import { I${dashToPascal(name)}ListAdapter } from '@/modules/${name}/adapter';
|
|
11
|
-
import { TestUtils } from '@/utils/test/
|
|
11
|
+
import { TestUtils } from '@/utils/test/utils';
|
|
12
12
|
import { ZodExceptionIssue } from '@/utils/validator';
|
|
13
13
|
|
|
14
14
|
import { ${dashToPascal(name)}Entity, ${dashToPascal(name)}EntitySchema } from '../../entity/${name}';
|
|
@@ -7,7 +7,7 @@ import { ILoggerAdapter, LoggerModule } from '@/infra/logger';
|
|
|
7
7
|
import { UpdatedModel } from '@/infra/repository';
|
|
8
8
|
import { I${dashToPascal(name)}UpdateAdapter } from '@/modules/${name}/adapter';
|
|
9
9
|
import { ApiNotFoundException } from '@/utils/exception';
|
|
10
|
-
import { TestUtils } from '@/utils/test/
|
|
10
|
+
import { TestUtils } from '@/utils/test/utils';
|
|
11
11
|
import { ZodExceptionIssue } from '@/utils/validator';
|
|
12
12
|
|
|
13
13
|
import { ${dashToPascal(name)}Entity, ${dashToPascal(name)}EntitySchema } from '../../entity/${name}';
|