@smartsoft001/crud-shell-nestjs 2.68.0 → 2.69.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/crud-shell-nestjs",
3
- "version": "2.68.0",
3
+ "version": "2.69.0",
4
4
  "description": "Utils to crud",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,9 +17,9 @@
17
17
  "url": "https://github.com/emiljuchnikowski/smartsoft/issues"
18
18
  },
19
19
  "peerDependencies": {
20
- "@smartsoft001/crud-shell-app-services": "2.68.0",
20
+ "@smartsoft001/crud-shell-app-services": "2.69.0",
21
21
  "@smartsoft001/crud-shell-dto": "*",
22
- "@smartsoft001/domain-core": "2.68.0"
22
+ "@smartsoft001/domain-core": "2.69.0"
23
23
  },
24
24
  "homepage": "https://github.com/emiljuchnikowski/smartsoft#readme"
25
25
  }
package/project.json CHANGED
@@ -3,6 +3,7 @@
3
3
  "$schema": "../../../../node_modules/nx/schemas/project-schema.json",
4
4
  "sourceRoot": "packages/crud/shell/nestjs/src",
5
5
  "projectType": "library",
6
+ "tags": ["scope:crud", "type:shell"],
6
7
  "generators": {},
7
8
  "targets": {
8
9
  "lint": {
@@ -38,6 +39,5 @@
38
39
  },
39
40
  "outputs": ["{options.outputPath}"]
40
41
  }
41
- },
42
- "tags": ["scope:crud", "type:shell"]
42
+ }
43
43
  }
@@ -1,7 +1,8 @@
1
- import { CrudService } from '@smartsoft001/crud-shell-app-services';
2
1
  import { Request } from 'express';
3
2
  import * as XLSX from 'xlsx';
4
3
 
4
+ import { CrudService } from '@smartsoft001/crud-shell-app-services';
5
+
5
6
  import { CrudController } from './crud.controller';
6
7
  import * as q2mModule from './query-to-mongo';
7
8
 
@@ -14,12 +14,6 @@ import {
14
14
  Res,
15
15
  UseGuards,
16
16
  } from '@nestjs/common';
17
- import { CreateManyMode } from '@smartsoft001/crud-domain';
18
- import { CrudService } from '@smartsoft001/crud-shell-app-services';
19
- import { IEntity } from '@smartsoft001/domain-core';
20
- import { User } from '@smartsoft001/nestjs';
21
- import { IUser } from '@smartsoft001/users';
22
- import { GuidService } from '@smartsoft001/utils';
23
17
  import * as Busboy from 'busboy';
24
18
  import { Response, Request } from 'express';
25
19
  import { Parser } from 'json2csv';
@@ -27,6 +21,13 @@ import * as _ from 'lodash';
27
21
  import * as moment from 'moment-timezone';
28
22
  import * as XLSX from 'xlsx';
29
23
 
24
+ import { CreateManyMode } from '@smartsoft001/crud-domain';
25
+ import { CrudService } from '@smartsoft001/crud-shell-app-services';
26
+ import { IEntity } from '@smartsoft001/domain-core';
27
+ import { User } from '@smartsoft001/nestjs';
28
+ import { IUser } from '@smartsoft001/users';
29
+ import { GuidService } from '@smartsoft001/utils';
30
+
30
31
  import { Readable } from 'stream';
31
32
 
32
33
  import { q2m } from './query-to-mongo';
@@ -1,6 +1,6 @@
1
+ import { of } from 'rxjs';
2
+
1
3
  import { CrudService } from '@smartsoft001/crud-shell-app-services';
2
- import { ItemChangedData } from '@smartsoft001/crud-shell-dtos';
3
- import { of, throwError } from 'rxjs';
4
4
 
5
5
  import { CrudGateway } from './crud.gateway';
6
6
 
@@ -8,11 +8,12 @@ import {
8
8
  WebSocketGateway,
9
9
  WsResponse,
10
10
  } from '@nestjs/websockets';
11
+ import { Observable, Subscription } from 'rxjs';
12
+ import { Socket } from 'socket.io';
13
+
11
14
  import { CrudService } from '@smartsoft001/crud-shell-app-services';
12
15
  import { ItemChangedData } from '@smartsoft001/crud-shell-dtos';
13
16
  import { IEntity } from '@smartsoft001/domain-core';
14
- import { Observable, Subscription } from 'rxjs';
15
- import { Socket } from 'socket.io';
16
17
 
17
18
  @WebSocketGateway({
18
19
  transports: ['websocket'],
@@ -1,6 +1,7 @@
1
1
  import { DynamicModule, Module } from '@nestjs/common';
2
2
  import { JwtModule } from '@nestjs/jwt';
3
3
  import { PassportModule } from '@nestjs/passport';
4
+
4
5
  import { SERVICES } from '@smartsoft001/crud-shell-app-services';
5
6
  import { MongoModule } from '@smartsoft001/mongo';
6
7
  import { SharedConfig, SharedModule } from '@smartsoft001/nestjs';