grm-shared-library 1.1.161 → 1.1.163

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.
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ChatQueryDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
13
14
  const class_validator_1 = require("class-validator");
14
15
  class ChatQueryDto {
15
16
  }
@@ -22,6 +23,8 @@ __decorate([
22
23
  __decorate([
23
24
  (0, class_validator_1.IsOptional)(),
24
25
  (0, class_validator_1.IsNumber)(),
26
+ (0, class_transformer_1.Type)(() => Number) // Ensure that the limit is transformed to a number
27
+ ,
25
28
  __metadata("design:type", Number)
26
29
  ], ChatQueryDto.prototype, "limit", void 0);
27
30
  //# sourceMappingURL=chat-query.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-query.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chat/dtos/chat-query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,YAAY;CAQxB;AARD,oCAQC;AALG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACI"}
1
+ {"version":3,"file":"chat-query.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chat/dtos/chat-query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAiE;AAEjE,MAAa,YAAY;CASxB;AATD,oCASC;AANG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACK;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,mDAAmD;;;2CACxD"}
@@ -7,7 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { IsNumber, IsOptional, IsString } from "class-validator";
10
+ import { Type } from 'class-transformer';
11
+ import { IsNumber, IsOptional, IsString } from 'class-validator';
11
12
  export class ChatQueryDto {
12
13
  }
13
14
  __decorate([
@@ -18,6 +19,8 @@ __decorate([
18
19
  __decorate([
19
20
  IsOptional(),
20
21
  IsNumber(),
22
+ Type(() => Number) // Ensure that the limit is transformed to a number
23
+ ,
21
24
  __metadata("design:type", Number)
22
25
  ], ChatQueryDto.prototype, "limit", void 0);
23
26
  //# sourceMappingURL=chat-query.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chat-query.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chat/dtos/chat-query.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEjE,MAAM,OAAO,YAAY;CAQxB;AALG;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;2CACI"}
1
+ {"version":3,"file":"chat-query.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chat/dtos/chat-query.dto.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEjE,MAAM,OAAO,YAAY;CASxB;AANG;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACK;AAKhB;IAHC,UAAU,EAAE;IACZ,QAAQ,EAAE;IACV,IAAI,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,mDAAmD;;;2CACxD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.1.161",
3
+ "version": "1.1.163",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",