@silexpert/core 2.0.114 → 2.0.115
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormAuthenticate.d.ts","sourceRoot":"","sources":["../../../ts/types/Form/FormAuthenticate.ts"],"names":[],"mappings":"AAIA,qBAAa,gBAAgB;IAG3B,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;IAIjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,EAAE,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"FormAuthenticate.d.ts","sourceRoot":"","sources":["../../../ts/types/Form/FormAuthenticate.ts"],"names":[],"mappings":"AAIA,qBAAa,gBAAgB;IAG3B,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,EAAE,MAAM,CAAC;IAIjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAMf,aAAa,CAAC,EAAE,OAAO,CAAC;IAMxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAK3B,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAKvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAM7B,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C"}
|
|
@@ -7,7 +7,7 @@ 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 {
|
|
10
|
+
import { IsBoolean, IsIP, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ToBoolean } from '../../utils/transforms/boolean.transform.js';
|
|
12
12
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
13
13
|
export class FormAuthenticate {
|
|
@@ -59,10 +59,6 @@ __decorate([
|
|
|
59
59
|
__decorate([
|
|
60
60
|
ApiPropertyOptional(),
|
|
61
61
|
IsOptional(),
|
|
62
|
-
IsArray(),
|
|
63
|
-
ArrayMinSize(2),
|
|
64
|
-
ArrayMaxSize(2),
|
|
65
|
-
IsNumber({}, { each: true }),
|
|
66
62
|
__metadata("design:type", Array)
|
|
67
63
|
], FormAuthenticate.prototype, "geolocation", void 0);
|
|
68
64
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormAuthenticate.js","sourceRoot":"","sources":["../../../ts/types/Form/FormAuthenticate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FormAuthenticate.js","sourceRoot":"","sources":["../../../ts/types/Form/FormAuthenticate.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEnE,MAAM,OAAO,gBAAgB;IAG3B,KAAK,CAAS;IAId,QAAQ,CAAS;IAIjB,KAAK,CAAU;IAMf,aAAa,CAAW;IAMxB,gBAAgB,CAAW;IAK3B,EAAE,CAAU;IAIZ,WAAW,CAAY;IAKvB,mBAAmB,CAAU;IAM7B,8BAA8B,CAAW;CAC1C;AAzCC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;+CACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACM;AAIjB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;+CACE;AAMf;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;uDACY;AAMxB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACe;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,IAAI,CAAC,CAAC,CAAC;;4CACI;AAIZ;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;qDACU;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6DACkB;AAM7B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wEAC6B","sourcesContent":["import { IsBoolean, IsIP, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ToBoolean } from '../../utils/transforms/boolean.transform.js';\nimport { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';\n\nexport class FormAuthenticate {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n token?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n stayConnected?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n fromRegistration?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsIP(4)\n ip?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n geolocation?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n geolocationAccuracy?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isNewMobileVersionForNewGescom?: boolean;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsBoolean, IsIP, IsNumber, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ToBoolean } from '../../utils/transforms/boolean.transform.js';
|
|
3
3
|
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
4
4
|
|
|
@@ -34,10 +34,6 @@ export class FormAuthenticate {
|
|
|
34
34
|
|
|
35
35
|
@ApiPropertyOptional()
|
|
36
36
|
@IsOptional()
|
|
37
|
-
@IsArray()
|
|
38
|
-
@ArrayMinSize(2)
|
|
39
|
-
@ArrayMaxSize(2)
|
|
40
|
-
@IsNumber({}, { each: true })
|
|
41
37
|
geolocation?: number[];
|
|
42
38
|
|
|
43
39
|
@ApiPropertyOptional()
|