@steroidsjs/nest 1.0.12 → 1.1.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.
Files changed (84) hide show
  1. package/infrastructure/base/DatabaseNamingStrategy.d.ts +4 -0
  2. package/infrastructure/base/DatabaseNamingStrategy.js +12 -0
  3. package/infrastructure/base/DatabaseNamingStrategy.js.map +1 -0
  4. package/infrastructure/commands/MigrateCommand.d.ts +1 -0
  5. package/infrastructure/commands/MigrateCommand.js +21 -0
  6. package/infrastructure/commands/MigrateCommand.js.map +1 -1
  7. package/infrastructure/commands/dbml/dbml2code.d.ts +1 -0
  8. package/infrastructure/commands/dbml/dbml2code.js +215 -0
  9. package/infrastructure/commands/dbml/dbml2code.js.map +1 -0
  10. package/infrastructure/commands/dbml/templates.d.ts +4 -0
  11. package/infrastructure/commands/dbml/templates.js +46 -0
  12. package/infrastructure/commands/dbml/templates.js.map +1 -0
  13. package/infrastructure/commands/generate/index.js +32 -10
  14. package/infrastructure/commands/generate/index.js.map +1 -1
  15. package/infrastructure/decorators/fields/BaseField.d.ts +13 -3
  16. package/infrastructure/decorators/fields/BaseField.js +18 -15
  17. package/infrastructure/decorators/fields/BaseField.js.map +1 -1
  18. package/infrastructure/decorators/fields/BooleanField.js +5 -1
  19. package/infrastructure/decorators/fields/BooleanField.js.map +1 -1
  20. package/infrastructure/decorators/fields/CoordinateField.d.ts +1 -2
  21. package/infrastructure/decorators/fields/CoordinateField.js +5 -1
  22. package/infrastructure/decorators/fields/CoordinateField.js.map +1 -1
  23. package/infrastructure/decorators/fields/CreateTimeField.js +5 -1
  24. package/infrastructure/decorators/fields/CreateTimeField.js.map +1 -1
  25. package/infrastructure/decorators/fields/DateField.js +5 -1
  26. package/infrastructure/decorators/fields/DateField.js.map +1 -1
  27. package/infrastructure/decorators/fields/DateTimeField.js +5 -1
  28. package/infrastructure/decorators/fields/DateTimeField.js.map +1 -1
  29. package/infrastructure/decorators/fields/DecimalField.d.ts +1 -2
  30. package/infrastructure/decorators/fields/DecimalField.js +5 -1
  31. package/infrastructure/decorators/fields/DecimalField.js.map +1 -1
  32. package/infrastructure/decorators/fields/EmailField.js +5 -1
  33. package/infrastructure/decorators/fields/EmailField.js.map +1 -1
  34. package/infrastructure/decorators/fields/EnumField.d.ts +2 -3
  35. package/infrastructure/decorators/fields/EnumField.js +5 -1
  36. package/infrastructure/decorators/fields/EnumField.js.map +1 -1
  37. package/infrastructure/decorators/fields/ExtendField.js +18 -5
  38. package/infrastructure/decorators/fields/ExtendField.js.map +1 -1
  39. package/infrastructure/decorators/fields/FileField.d.ts +4 -1
  40. package/infrastructure/decorators/fields/FileField.js +7 -3
  41. package/infrastructure/decorators/fields/FileField.js.map +1 -1
  42. package/infrastructure/decorators/fields/HtmlField.js +5 -1
  43. package/infrastructure/decorators/fields/HtmlField.js.map +1 -1
  44. package/infrastructure/decorators/fields/IntegerField.js +5 -1
  45. package/infrastructure/decorators/fields/IntegerField.js.map +1 -1
  46. package/infrastructure/decorators/fields/PasswordField.js +5 -1
  47. package/infrastructure/decorators/fields/PasswordField.js.map +1 -1
  48. package/infrastructure/decorators/fields/PhoneField.js +5 -1
  49. package/infrastructure/decorators/fields/PhoneField.js.map +1 -1
  50. package/infrastructure/decorators/fields/PrimaryKeyField.js +5 -1
  51. package/infrastructure/decorators/fields/PrimaryKeyField.js.map +1 -1
  52. package/infrastructure/decorators/fields/RelationField.d.ts +1 -1
  53. package/infrastructure/decorators/fields/RelationField.js +6 -1
  54. package/infrastructure/decorators/fields/RelationField.js.map +1 -1
  55. package/infrastructure/decorators/fields/StringField.js +5 -1
  56. package/infrastructure/decorators/fields/StringField.js.map +1 -1
  57. package/infrastructure/decorators/fields/TextField.js +5 -1
  58. package/infrastructure/decorators/fields/TextField.js.map +1 -1
  59. package/infrastructure/decorators/fields/TimeField.js +5 -1
  60. package/infrastructure/decorators/fields/TimeField.js.map +1 -1
  61. package/infrastructure/decorators/fields/UidField.js +5 -1
  62. package/infrastructure/decorators/fields/UidField.js.map +1 -1
  63. package/infrastructure/decorators/fields/UpdateTimeField.js +5 -1
  64. package/infrastructure/decorators/fields/UpdateTimeField.js.map +1 -1
  65. package/infrastructure/decorators/fields/index.d.ts +11 -1
  66. package/infrastructure/decorators/fields/index.js +3 -3
  67. package/infrastructure/decorators/fields/index.js.map +1 -1
  68. package/infrastructure/helpers/MetaHelper.d.ts +2 -0
  69. package/infrastructure/helpers/MetaHelper.js +3 -0
  70. package/infrastructure/helpers/MetaHelper.js.map +1 -1
  71. package/infrastructure/repositories/CrudRepository.d.ts +1 -1
  72. package/infrastructure/repositories/CrudRepository.js +4 -1
  73. package/infrastructure/repositories/CrudRepository.js.map +1 -1
  74. package/package.json +4 -1
  75. package/tsconfig.tsbuildinfo +1 -1
  76. package/usecases/helpers/DataMapperHelper.d.ts +1 -1
  77. package/usecases/helpers/DataMapperHelper.js +29 -4
  78. package/usecases/helpers/DataMapperHelper.js.map +1 -1
  79. package/usecases/services/CrudService.d.ts +1 -1
  80. package/usecases/services/CrudService.js +10 -15
  81. package/usecases/services/CrudService.js.map +1 -1
  82. package/infrastructure/decorators/fields/ExtendFields.d.ts +0 -1
  83. package/infrastructure/decorators/fields/ExtendFields.js +0 -15
  84. package/infrastructure/decorators/fields/ExtendFields.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  export declare class DataMapperHelper {
2
2
  static getKeys(object: any): any;
3
- static anyToModel(obj: any, ModelClass: any): any;
3
+ static anyToModel(source: any, ModelClass: any, fieldNames?: any): any;
4
4
  static applyFields(target: Record<string, unknown> | any, source: any, fields?: string[]): void;
5
5
  }
@@ -3,14 +3,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DataMapperHelper = void 0;
4
4
  const lodash_1 = require("lodash");
5
5
  const BaseField_1 = require("../../infrastructure/decorators/fields/BaseField");
6
+ const MetaHelper_1 = require("../../infrastructure/helpers/MetaHelper");
6
7
  class DataMapperHelper {
7
8
  static getKeys(object) {
8
9
  return Reflect.getMetadata(BaseField_1.MODEL_FIELD_NAMES_KEY, object.prototype) || [];
9
10
  }
10
- static anyToModel(obj, ModelClass) {
11
- const result = new ModelClass();
12
- Object.assign(result, obj);
13
- return result;
11
+ static anyToModel(source, ModelClass, fieldNames = null) {
12
+ if (!fieldNames) {
13
+ fieldNames = this.getKeys(ModelClass);
14
+ }
15
+ const model = new ModelClass();
16
+ fieldNames.forEach(fieldName => {
17
+ if ((0, lodash_1.has)(source, fieldName)) {
18
+ const value = source[fieldName];
19
+ if ((0, lodash_1.isObject)(value)) {
20
+ const modelMeta = MetaHelper_1.MetaHelper.getFieldOptions(ModelClass.prototype, fieldName);
21
+ if (modelMeta.appType === 'relation') {
22
+ model[fieldName] = this.anyToModel(value, modelMeta.modelClass());
23
+ }
24
+ else {
25
+ }
26
+ }
27
+ else {
28
+ model[fieldName] = value;
29
+ }
30
+ }
31
+ else if ((0, lodash_1.has)(source, fieldName + 'Id')) {
32
+ model[fieldName + 'Id'] = source[fieldName + 'Id'];
33
+ }
34
+ else if ((0, lodash_1.has)(source, fieldName + 'Ids')) {
35
+ model[fieldName + 'Ids'] = source[fieldName + 'Ids'];
36
+ }
37
+ });
38
+ return model;
14
39
  }
15
40
  static applyFields(target, source, fields = null) {
16
41
  if ((0, lodash_1.isObject)(source)) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataMapperHelper.js","sourceRoot":"","sources":["../../../src/usecases/helpers/DataMapperHelper.ts"],"names":[],"mappings":";;;AAAA,mCAIgB;AAEhB,gFAAuF;AAEvF,MAAa,gBAAgB;IACzB,MAAM,CAAC,OAAO,CAAC,MAAM;QACjB,OAAO,OAAO,CAAC,WAAW,CAAC,iCAAqB,EAAE,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC9E,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,UAAU;QAC7B,MAAM,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;QAChC,MAAM,CAAC,MAAM,CAAC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AAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;qBACrE;yBAAM;qBAEN;iBACJ;qBAAM;oBACH,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;iBAC5B;aACJ;iBAAM,IAAI,IAAA,YAAI,EAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAAC,EAAE;gBACvC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,GAAG,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,CAAC;aACtD;iBAAM,IAAI,IAAA,YAAI,EAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE;gBACxC,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,GAAG,MAAM,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC;aACxD;QACL,CAAC,CAAC,CAAC;QAEH,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,MAAqC,EAAE,MAAW,EAAE,SAAmB,IAAI;QAC1F,IAAI,IAAA,iBAAS,EAAC,MAAM,CAAC,EAAE;YACnB,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SAkBjC;IACL,CAAC;CACJ;AA1DD,4CA0DC"}
@@ -12,5 +12,5 @@ export declare class CrudService<TModel, TSearchDto = ISearchInputDto, TSaveDto
12
12
  create(dto: TSaveDto): Promise<TModel>;
13
13
  update(id: number | string, dto: TSaveDto): Promise<TModel>;
14
14
  remove(id: number | string): Promise<void>;
15
- protected dtoToModel(dto: TSaveDto): TModel;
15
+ protected dtoToModel(dto: TSaveDto): Promise<TModel>;
16
16
  }
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CrudService = void 0;
4
4
  const lodash_1 = require("lodash");
5
+ const DataMapperHelper_1 = require("../helpers/DataMapperHelper");
5
6
  const ValidationHelper_1 = require("../helpers/ValidationHelper");
6
- const class_transformer_1 = require("class-transformer");
7
7
  class CrudService {
8
8
  constructor() {
9
9
  this.primaryKey = 'id';
@@ -18,32 +18,27 @@ class CrudService {
18
18
  }
19
19
  async search(dto) {
20
20
  await (0, ValidationHelper_1.validateOrReject)(dto);
21
- const repositoryResult = await this.repository.search(dto);
22
- return repositoryResult;
21
+ return await this.repository.search(dto);
23
22
  }
24
23
  async findById(id) {
25
- const model = await this.repository.findOne({ [this.primaryKey]: (0, lodash_1.toInteger)(id) });
26
- return model;
24
+ return this.repository.findOne({ [this.primaryKey]: (0, lodash_1.toInteger)(id) });
27
25
  }
28
26
  async create(dto) {
29
27
  await (0, ValidationHelper_1.validateOrReject)(dto);
30
- let model = this.dtoToModel(dto);
31
- await (0, ValidationHelper_1.validateOrReject)(model);
32
- const tmodel = await this.repository.create(model);
33
- return tmodel;
28
+ return this.repository.create(await this.dtoToModel(dto));
34
29
  }
35
30
  async update(id, dto) {
36
31
  await (0, ValidationHelper_1.validateOrReject)(dto);
37
- let model = this.dtoToModel(dto);
38
- await (0, ValidationHelper_1.validateOrReject)(model);
39
- model = await this.repository.update((0, lodash_1.toInteger)(id), model);
40
- return model;
32
+ return this.repository.update((0, lodash_1.toInteger)(id), await this.dtoToModel(dto));
41
33
  }
42
34
  async remove(id) {
43
35
  await this.repository.remove((0, lodash_1.toInteger)(id));
44
36
  }
45
- dtoToModel(dto) {
46
- return (0, class_transformer_1.plainToInstance)(this.modelClass, dto);
37
+ async dtoToModel(dto) {
38
+ if (!this.modelClass) {
39
+ throw new Error('Property modelClass is not set in service: ' + this.constructor.name);
40
+ }
41
+ return DataMapperHelper_1.DataMapperHelper.anyToModel(dto, this.modelClass);
47
42
  }
48
43
  }
49
44
  exports.CrudService = CrudService;
@@ -1 +1 @@
1
- {"version":3,"file":"CrudService.js","sourceRoot":"","sources":["../../../src/usecases/services/CrudService.ts"],"names":[],"mappings":";;;AAAA,mCAA+C;AAK/C,kEAA6D;AAC7D,yDAAkD;AAKlD,MAAa,WAAW;IAAxB;QAQc,eAAU,GAAW,IAAI,CAAC;IAsFx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AAC;IACxE,CAAC;IAMD,KAAK,CAAC,MAAM,CAAC,GAAa;QACtB,MAAM,IAAA,mCAAgB,EAAC,GAAG,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9D,CAAC;IAOD,KAAK,CAAC,MAAM,CAAC,EAAmB,EAAE,GAAa;QAC3C,MAAM,IAAA,mCAAgB,EAAC,GAAG,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAA,kBAAU,EAAC,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9E,CAAC;IAMD,KAAK,CAAC,MAAM,CAAC,EAAmB;QAC5B,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,IAAA,kBAAU,EAAC,EAAE,CAAC,CAAC,CAAC;IACjD,CAAC;IAOS,KAAK,CAAC,UAAU,CAAC,GAAa;QACpC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,MAAM,IAAI,KAAK,CAAC,6CAA6C,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;SAC1F;QAED,OAAO,mCAAgB,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC7D,CAAC;CACJ;AAzFD,kCAyFC"}
@@ -1 +0,0 @@
1
- export declare function ExtendFields(modelClass: any): (object: any) => void;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExtendFields = void 0;
4
- const constants_1 = require("@nestjs/swagger/dist/constants");
5
- function ExtendFields(modelClass) {
6
- return (object) => {
7
- const properties = Reflect.getMetadata(constants_1.DECORATORS.API_MODEL_PROPERTIES_ARRAY, modelClass.prototype);
8
- (properties || []).forEach(propertyName => {
9
- propertyName = propertyName.replace(/^:/, '');
10
- console.log(11, Object.keys(object.prototype));
11
- });
12
- };
13
- }
14
- exports.ExtendFields = ExtendFields;
15
- //# sourceMappingURL=ExtendFields.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExtendFields.js","sourceRoot":"","sources":["../../../../src/infrastructure/decorators/fields/ExtendFields.ts"],"names":[],"mappings":";;;AAAA,8DAA0D;AAG1D,SAAgB,YAAY,CAAC,UAAU;IACnC,OAAO,CAAC,MAAM,EAAE,EAAE;QACd,MAAM,UAAU,GAAG,OAAO,CAAC,WAAW,CAAC,sBAAU,CAAC,0BAA0B,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;QACpG,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE;YACtC,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YAE9C,OAAO,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;QAEnD,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC;AAVD,oCAUC"}