@mondart/nestjs-common-module 1.1.17 → 1.1.19

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.
@@ -1,12 +1,11 @@
1
1
  import { Paginated } from 'nestjs-paginate';
2
2
  import { PaginateConfig } from 'nestjs-paginate/lib/paginate';
3
3
  import { PaginationQueryCustom } from '../interface/pagination-query';
4
- import { SuccessResponse } from '../dto';
5
- import { BaseResponseWithActionDates } from '../dto';
4
+ import { BaseResponse, SuccessResponse } from '../dto';
6
5
  import { IdDto } from '../dto';
7
6
  import { CoreCrudService } from '../services';
8
7
  import { BaseModelEntity } from '../entities';
9
- export declare class CoreCrudController<T extends BaseModelEntity, CreateDto, UpdateDto, ResponseDto extends BaseResponseWithActionDates> {
8
+ export declare class CoreCrudController<T extends BaseModelEntity, CreateDto, UpdateDto, ResponseDto extends BaseResponse> {
10
9
  protected readonly coreService: CoreCrudService<T, CreateDto, UpdateDto>;
11
10
  protected readonly responseDto: any;
12
11
  protected constructor(coreService: CoreCrudService<T, CreateDto, UpdateDto>, responseDto: any);
@@ -4,3 +4,6 @@ export * from './error-response.dto';
4
4
  export * from './success-response.dto';
5
5
  export * from './validation.dto';
6
6
  export * from './kafka-success-response.dto';
7
+ export * from './base-kafka-error-response.dto';
8
+ export * from './base-kafka-response.dto';
9
+ export * from './kafka-failed-response.dto';
@@ -20,3 +20,6 @@ __exportStar(require("./error-response.dto"), exports);
20
20
  __exportStar(require("./success-response.dto"), exports);
21
21
  __exportStar(require("./validation.dto"), exports);
22
22
  __exportStar(require("./kafka-success-response.dto"), exports);
23
+ __exportStar(require("./base-kafka-error-response.dto"), exports);
24
+ __exportStar(require("./base-kafka-response.dto"), exports);
25
+ __exportStar(require("./kafka-failed-response.dto"), exports);
@@ -2,4 +2,4 @@ export * from './base-model.entity';
2
2
  export * from './base-model-with-dates.entity';
3
3
  export * from './base-model-with-admin-actions.entity';
4
4
  export * from './base-model-with-user-actions.entity';
5
- export * from './base-model-with-user-actions.entity';
5
+ export * from './base-model-with-admin-and-user-actions.entity';
@@ -18,4 +18,4 @@ __exportStar(require("./base-model.entity"), exports);
18
18
  __exportStar(require("./base-model-with-dates.entity"), exports);
19
19
  __exportStar(require("./base-model-with-admin-actions.entity"), exports);
20
20
  __exportStar(require("./base-model-with-user-actions.entity"), exports);
21
- __exportStar(require("./base-model-with-user-actions.entity"), exports);
21
+ __exportStar(require("./base-model-with-admin-and-user-actions.entity"), exports);