@silexpert/core 1.2.5 → 1.2.6
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/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +2 -0
- package/dist/cjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +15 -0
- package/dist/cjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts +2 -0
- package/dist/mjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.js +18 -1
- package/dist/mjs/types/Interface/api/timeRecorder/QueryPaginatedDelays.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts +14 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedDelays.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryPaginatedDelays.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":"AAOA,qBAAa,oBAAoB;IAI7B,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAKjC,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB"}
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.QueryPaginatedDelays = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
15
16
|
class QueryPaginatedDelays {
|
|
16
17
|
}
|
|
17
18
|
exports.QueryPaginatedDelays = QueryPaginatedDelays;
|
|
@@ -39,6 +40,20 @@ __decorate([
|
|
|
39
40
|
(0, class_validator_1.IsArray)(),
|
|
40
41
|
__metadata("design:type", Array)
|
|
41
42
|
], QueryPaginatedDelays.prototype, "idUser", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsBoolean)(),
|
|
47
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], QueryPaginatedDelays.prototype, "isLate", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsBoolean)(),
|
|
54
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], QueryPaginatedDelays.prototype, "isMissingDisconnection", void 0);
|
|
42
57
|
__decorate([
|
|
43
58
|
(0, utils_1.ApiPropertyOptional)({ default: 25 }),
|
|
44
59
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedDelays.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"QueryPaginatedDelays.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAGyB;AACzB,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,oBAAoB;CA+ChC;AA/CD,oDA+CC;AA3CG;IAHD,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,8BAAY,GAAE;;uDACK;AAKlB;IAHD,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,8BAAY,GAAE;;qDACG;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACO;AAKhB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;oDACU;AAMlB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO;AAMjB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oEACuB;AAKjC;IAHD,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAKf;IAHD,IAAA,2BAAmB,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACK;AAKd;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;sDACY","sourcesContent":["import {\n IsString, IsDateString, IsOptional, IsNumber, IsArray,\n IsBoolean,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedDelays {\n @ApiProperty()\n @IsString()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsString()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMissingDisconnection?: boolean;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n location?: number[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedDelays.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueryPaginatedDelays.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":"AAOA,qBAAa,oBAAoB;IAI7B,SAAS,EAAE,MAAM,CAAC;IAKlB,OAAO,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAMlB,MAAM,CAAC,EAAE,OAAO,CAAC;IAMjB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IAKjC,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB"}
|
|
@@ -7,13 +7,16 @@ 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 { IsString, IsDateString, IsOptional, IsNumber, IsArray, } from 'class-validator';
|
|
10
|
+
import { IsString, IsDateString, IsOptional, IsNumber, IsArray, IsBoolean, } from 'class-validator';
|
|
11
11
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
12
13
|
export class QueryPaginatedDelays {
|
|
13
14
|
startDate;
|
|
14
15
|
endDate;
|
|
15
16
|
search;
|
|
16
17
|
idUser;
|
|
18
|
+
isLate;
|
|
19
|
+
isMissingDisconnection;
|
|
17
20
|
limit;
|
|
18
21
|
page;
|
|
19
22
|
location;
|
|
@@ -42,6 +45,20 @@ __decorate([
|
|
|
42
45
|
IsArray(),
|
|
43
46
|
__metadata("design:type", Array)
|
|
44
47
|
], QueryPaginatedDelays.prototype, "idUser", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
ApiPropertyOptional(),
|
|
50
|
+
IsOptional(),
|
|
51
|
+
IsBoolean(),
|
|
52
|
+
ToBoolean(),
|
|
53
|
+
__metadata("design:type", Boolean)
|
|
54
|
+
], QueryPaginatedDelays.prototype, "isLate", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
ApiPropertyOptional(),
|
|
57
|
+
IsOptional(),
|
|
58
|
+
IsBoolean(),
|
|
59
|
+
ToBoolean(),
|
|
60
|
+
__metadata("design:type", Boolean)
|
|
61
|
+
], QueryPaginatedDelays.prototype, "isMissingDisconnection", void 0);
|
|
45
62
|
__decorate([
|
|
46
63
|
ApiPropertyOptional({ default: 25 }),
|
|
47
64
|
IsOptional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryPaginatedDelays.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"QueryPaginatedDelays.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/timeRecorder/QueryPaginatedDelays.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EACrD,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,oBAAoB;IAI7B,SAAS,CAAS;IAKlB,OAAO,CAAS;IAKhB,MAAM,CAAU;IAKhB,MAAM,CAAY;IAMlB,MAAM,CAAW;IAMjB,sBAAsB,CAAW;IAKjC,KAAK,CAAU;IAKf,IAAI,CAAU;IAKd,QAAQ,CAAY;CACvB;AA3CG;IAHD,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,YAAY,EAAE;;uDACK;AAKlB;IAHD,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,YAAY,EAAE;;qDACG;AAKhB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACO;AAKhB;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACU;AAMlB;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACO;AAMjB;IAJD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oEACuB;AAKjC;IAHD,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACM;AAKf;IAHD,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACK;AAKd;IAHD,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;sDACY","sourcesContent":["import {\n IsString, IsDateString, IsOptional, IsNumber, IsArray,\n IsBoolean,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryPaginatedDelays {\n @ApiProperty()\n @IsString()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsString()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isLate?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isMissingDisconnection?: boolean;\n\n @ApiPropertyOptional({ default: 25 })\n @IsOptional()\n @IsNumber()\n limit?: number;\n\n @ApiPropertyOptional({ default: 1 })\n @IsOptional()\n @IsNumber()\n page?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n location?: number[];\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
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,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IsString, IsDateString, IsOptional, IsNumber, IsArray,
|
|
3
|
+
IsBoolean,
|
|
3
4
|
} from 'class-validator';
|
|
4
5
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
6
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
5
7
|
|
|
6
8
|
export class QueryPaginatedDelays {
|
|
7
9
|
@ApiProperty()
|
|
@@ -24,6 +26,18 @@ export class QueryPaginatedDelays {
|
|
|
24
26
|
@IsArray()
|
|
25
27
|
idUser?: number[];
|
|
26
28
|
|
|
29
|
+
@ApiPropertyOptional()
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsBoolean()
|
|
32
|
+
@ToBoolean()
|
|
33
|
+
isLate?: boolean;
|
|
34
|
+
|
|
35
|
+
@ApiPropertyOptional()
|
|
36
|
+
@IsOptional()
|
|
37
|
+
@IsBoolean()
|
|
38
|
+
@ToBoolean()
|
|
39
|
+
isMissingDisconnection?: boolean;
|
|
40
|
+
|
|
27
41
|
@ApiPropertyOptional({ default: 25 })
|
|
28
42
|
@IsOptional()
|
|
29
43
|
@IsNumber()
|