@silexpert/core 1.3.99-3 → 1.3.99-4
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/dist/cjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/cjs/types/Form/FormConnector.js +0 -2
- package/dist/cjs/types/Form/FormConnector.js.map +1 -1
- package/dist/mjs/types/Form/FormConnector.d.ts.map +1 -1
- package/dist/mjs/types/Form/FormConnector.js +0 -14
- package/dist/mjs/types/Form/FormConnector.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Form/FormConnector.ts +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAGxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAI/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -11,7 +11,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.FormConnector = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
14
|
const ConnectorType_1 = require("../Enum/ConnectorType");
|
|
16
15
|
class FormConnector {
|
|
17
16
|
}
|
|
@@ -59,7 +58,6 @@ __decorate([
|
|
|
59
58
|
__decorate([
|
|
60
59
|
(0, class_validator_1.IsOptional)(),
|
|
61
60
|
(0, class_validator_1.IsDate)(),
|
|
62
|
-
(0, class_transformer_1.Type)(() => Date),
|
|
63
61
|
__metadata("design:type", Date)
|
|
64
62
|
], FormConnector.prototype, "date", void 0);
|
|
65
63
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiF;AACjF,yDAAsD;AAEtD,MAAa,aAAa;CA+CzB;AA/CD,sCA+CC;AA5CC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;8BACF,IAAI;2CAAC;AAGZ;IADC,IAAA,wBAAM,EAAC,6BAAa,CAAC;;sDACS;AAI/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACQ","sourcesContent":["import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @IsOptional()\n @IsString()\n username?: string;\n\n @IsOptional()\n @IsString()\n pass?: string;\n\n @IsOptional()\n @IsString()\n url?: string;\n\n @IsOptional()\n @IsString()\n token?: string;\n\n @IsOptional()\n @IsString()\n token2?: string;\n\n @IsOptional()\n @IsString()\n token3?: string;\n\n @IsOptional()\n @IsString()\n token4?: string;\n\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormConnector.d.ts","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,qBAAa,aAAa;IAGxB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,GAAG,CAAC,EAAE,MAAM,CAAC;IAIb,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,IAAI,CAAC,EAAE,IAAI,CAAC;IAGZ,eAAe,EAAE,aAAa,CAAC;IAI/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -8,32 +8,19 @@ 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
10
|
import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
|
|
11
|
-
import { Type } from 'class-transformer';
|
|
12
11
|
import { ConnectorType } from '../Enum/ConnectorType';
|
|
13
12
|
export class FormConnector {
|
|
14
|
-
// @ApiPropertyOptional()
|
|
15
13
|
id;
|
|
16
|
-
// @ApiPropertyOptional()
|
|
17
14
|
username;
|
|
18
|
-
// @ApiPropertyOptional()
|
|
19
15
|
pass;
|
|
20
|
-
// @ApiPropertyOptional()
|
|
21
16
|
url;
|
|
22
|
-
// @ApiPropertyOptional()
|
|
23
17
|
token;
|
|
24
|
-
// @ApiPropertyOptional()
|
|
25
18
|
token2;
|
|
26
|
-
// @ApiPropertyOptional()
|
|
27
19
|
token3;
|
|
28
|
-
// @ApiPropertyOptional()
|
|
29
20
|
token4;
|
|
30
|
-
// @ApiPropertyOptional({ type: String, format: 'date-time' })
|
|
31
21
|
date;
|
|
32
|
-
//@ApiProperty({ enum: ConnectorType })
|
|
33
22
|
idTypeConnector;
|
|
34
|
-
// @ApiPropertyOptional()
|
|
35
23
|
idSociety;
|
|
36
|
-
// @ApiPropertyOptional()
|
|
37
24
|
expiresIn;
|
|
38
25
|
}
|
|
39
26
|
__decorate([
|
|
@@ -79,7 +66,6 @@ __decorate([
|
|
|
79
66
|
__decorate([
|
|
80
67
|
IsOptional(),
|
|
81
68
|
IsDate(),
|
|
82
|
-
Type(() => Date),
|
|
83
69
|
__metadata("design:type", Date)
|
|
84
70
|
], FormConnector.prototype, "date", void 0);
|
|
85
71
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FormConnector.js","sourceRoot":"","sources":["../../../../ts/types/Form/FormConnector.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,MAAM,OAAO,aAAa;IAGxB,EAAE,CAAU;IAIZ,QAAQ,CAAU;IAIlB,IAAI,CAAU;IAId,GAAG,CAAU;IAIb,KAAK,CAAU;IAIf,MAAM,CAAU;IAIhB,MAAM,CAAU;IAIhB,MAAM,CAAU;IAIhB,IAAI,CAAQ;IAGZ,eAAe,CAAgB;IAI/B,SAAS,CAAU;IAInB,SAAS,CAAU;CACpB;AA5CC;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;yCACC;AAIZ;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAIlB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;2CACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;0CACE;AAIb;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAIf;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAIhB;IAFC,UAAU,EAAE;IACZ,MAAM,EAAE;8BACF,IAAI;2CAAC;AAGZ;IADC,MAAM,CAAC,aAAa,CAAC;;sDACS;AAI/B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAInB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ","sourcesContent":["import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';\nimport { ConnectorType } from '../Enum/ConnectorType';\n\nexport class FormConnector {\n @IsOptional()\n @IsNumber()\n id?: number;\n\n @IsOptional()\n @IsString()\n username?: string;\n\n @IsOptional()\n @IsString()\n pass?: string;\n\n @IsOptional()\n @IsString()\n url?: string;\n\n @IsOptional()\n @IsString()\n token?: string;\n\n @IsOptional()\n @IsString()\n token2?: string;\n\n @IsOptional()\n @IsString()\n token3?: string;\n\n @IsOptional()\n @IsString()\n token4?: string;\n\n @IsOptional()\n @IsDate()\n date?: Date;\n\n @IsEnum(ConnectorType)\n idTypeConnector: ConnectorType;\n\n @IsOptional()\n @IsNumber()\n idSociety?: number;\n\n @IsOptional()\n @IsNumber()\n expiresIn?: number;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.99-
|
|
3
|
+
"version": "1.3.99-4",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -1,65 +1,50 @@
|
|
|
1
|
-
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
|
|
2
1
|
import { IsString, IsOptional, IsNumber, IsDate, IsEnum } from 'class-validator';
|
|
3
|
-
import { Type } from 'class-transformer';
|
|
4
2
|
import { ConnectorType } from '../Enum/ConnectorType';
|
|
5
3
|
|
|
6
4
|
export class FormConnector {
|
|
7
|
-
// @ApiPropertyOptional()
|
|
8
5
|
@IsOptional()
|
|
9
6
|
@IsNumber()
|
|
10
7
|
id?: number;
|
|
11
8
|
|
|
12
|
-
// @ApiPropertyOptional()
|
|
13
9
|
@IsOptional()
|
|
14
10
|
@IsString()
|
|
15
11
|
username?: string;
|
|
16
12
|
|
|
17
|
-
// @ApiPropertyOptional()
|
|
18
13
|
@IsOptional()
|
|
19
14
|
@IsString()
|
|
20
15
|
pass?: string;
|
|
21
16
|
|
|
22
|
-
// @ApiPropertyOptional()
|
|
23
17
|
@IsOptional()
|
|
24
18
|
@IsString()
|
|
25
19
|
url?: string;
|
|
26
20
|
|
|
27
|
-
// @ApiPropertyOptional()
|
|
28
21
|
@IsOptional()
|
|
29
22
|
@IsString()
|
|
30
23
|
token?: string;
|
|
31
24
|
|
|
32
|
-
// @ApiPropertyOptional()
|
|
33
25
|
@IsOptional()
|
|
34
26
|
@IsString()
|
|
35
27
|
token2?: string;
|
|
36
28
|
|
|
37
|
-
// @ApiPropertyOptional()
|
|
38
29
|
@IsOptional()
|
|
39
30
|
@IsString()
|
|
40
31
|
token3?: string;
|
|
41
32
|
|
|
42
|
-
// @ApiPropertyOptional()
|
|
43
33
|
@IsOptional()
|
|
44
34
|
@IsString()
|
|
45
35
|
token4?: string;
|
|
46
36
|
|
|
47
|
-
// @ApiPropertyOptional({ type: String, format: 'date-time' })
|
|
48
37
|
@IsOptional()
|
|
49
38
|
@IsDate()
|
|
50
|
-
@Type(() => Date)
|
|
51
39
|
date?: Date;
|
|
52
40
|
|
|
53
|
-
//@ApiProperty({ enum: ConnectorType })
|
|
54
41
|
@IsEnum(ConnectorType)
|
|
55
42
|
idTypeConnector: ConnectorType;
|
|
56
43
|
|
|
57
|
-
// @ApiPropertyOptional()
|
|
58
44
|
@IsOptional()
|
|
59
45
|
@IsNumber()
|
|
60
46
|
idSociety?: number;
|
|
61
47
|
|
|
62
|
-
// @ApiPropertyOptional()
|
|
63
48
|
@IsOptional()
|
|
64
49
|
@IsNumber()
|
|
65
50
|
expiresIn?: number;
|