@silexpert/core 0.4.206 → 0.4.207
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/es/types/Interface/api/revision/QueryRevisionAccount.d.ts +2 -2
- package/es/types/Interface/api/revision/QueryRevisionAccount.d.ts.map +1 -1
- package/es/types/Interface/api/revision/QueryRevisionAccount.js +1 -7
- package/es/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/js/types/Interface/api/revision/QueryRevisionAccount.js +3 -5
- package/js/types/Interface/api/revision/QueryRevisionAccount.js.map +1 -1
- package/package.json +1 -1
- package/ts/types/Interface/api/revision/QueryRevisionAccount.ts +3 -9
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { QueryPaginate } from '../../../..';
|
|
2
2
|
export declare class QueryRevisionAccount implements QueryPaginate {
|
|
3
3
|
page: number;
|
|
4
|
-
orderBy
|
|
4
|
+
orderBy?: string;
|
|
5
5
|
startDate: Date;
|
|
6
6
|
endDate: Date;
|
|
7
7
|
limit: number;
|
|
8
|
-
descending
|
|
8
|
+
descending?: boolean;
|
|
9
9
|
isRevised?: boolean;
|
|
10
10
|
idSociety: number;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,aAAa,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryRevisionAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":"AAGA,OAAO,EAAe,aAAa,EAAE,MAAM,aAAa,CAAC;AAGzD,qBAAa,oBAAqB,YAAW,aAAa;IAGxD,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,SAAS,EAAE,IAAI,CAAC;IAIhB,OAAO,EAAE,IAAI,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IAGd,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -7,10 +7,9 @@ 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 { IsDate, IsInt, IsNumber, } from 'class-validator';
|
|
11
11
|
import { ApiProperty } from '../../../..';
|
|
12
12
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
13
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
14
13
|
export class QueryRevisionAccount {
|
|
15
14
|
}
|
|
16
15
|
__decorate([
|
|
@@ -20,7 +19,6 @@ __decorate([
|
|
|
20
19
|
], QueryRevisionAccount.prototype, "page", void 0);
|
|
21
20
|
__decorate([
|
|
22
21
|
ApiPropertyOptional({ default: 'idAccount' }),
|
|
23
|
-
IsString(),
|
|
24
22
|
__metadata("design:type", String)
|
|
25
23
|
], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
26
24
|
__decorate([
|
|
@@ -40,14 +38,10 @@ __decorate([
|
|
|
40
38
|
], QueryRevisionAccount.prototype, "limit", void 0);
|
|
41
39
|
__decorate([
|
|
42
40
|
ApiPropertyOptional({ default: true }),
|
|
43
|
-
IsBoolean(),
|
|
44
|
-
ToBoolean(),
|
|
45
41
|
__metadata("design:type", Boolean)
|
|
46
42
|
], QueryRevisionAccount.prototype, "descending", void 0);
|
|
47
43
|
__decorate([
|
|
48
44
|
ApiPropertyOptional(),
|
|
49
|
-
IsBoolean(),
|
|
50
|
-
ToBoolean(),
|
|
51
45
|
__metadata("design:type", Boolean)
|
|
52
46
|
], QueryRevisionAccount.prototype, "isRevised", void 0);
|
|
53
47
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"QueryRevisionAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,MAAM,EAAE,KAAK,EAAE,QAAQ,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAiB,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;CA6BhC;AA1BC;IAFC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3B,QAAQ,EAAE;;kDACE;AAGb;IADC,mBAAmB,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;;qDAC7B;AAIjB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACE,IAAI;uDAAC;AAIhB;IAFC,WAAW,EAAE;IACb,MAAM,EAAE;8BACA,IAAI;qDAAC;AAId;IAFC,mBAAmB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IACpC,QAAQ,EAAE;;mDACG;AAGd;IADC,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;;wDAClB;AAGrB;IADC,mBAAmB,EAAE;;uDACF;AAIpB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;uDACU","sourcesContent":["import {\n IsDate, IsInt, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, QueryPaginate } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryRevisionAccount implements QueryPaginate {\n @ApiProperty({ default: 1 })\n @IsNumber()\n page: number;\n\n @ApiPropertyOptional({ default: 'idAccount' })\n orderBy?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional({ default: 25 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional({ default: true })\n descending?: boolean;\n\n @ApiPropertyOptional()\n isRevised?: boolean;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}"]}
|
|
@@ -11,8 +11,6 @@ var _ = require("../../../..");
|
|
|
11
11
|
|
|
12
12
|
var _utils = require("../../../../utils");
|
|
13
13
|
|
|
14
|
-
var _boolean = require("../../../../utils/transforms/boolean.transform");
|
|
15
|
-
|
|
16
14
|
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
17
15
|
var c = arguments.length,
|
|
18
16
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -35,7 +33,7 @@ __decorate([(0, _.ApiProperty)({
|
|
|
35
33
|
|
|
36
34
|
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
37
35
|
default: 'idAccount'
|
|
38
|
-
}),
|
|
36
|
+
}), __metadata("design:type", String)], QueryRevisionAccount.prototype, "orderBy", void 0);
|
|
39
37
|
|
|
40
38
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsDate)(), __metadata("design:type", Date)], QueryRevisionAccount.prototype, "startDate", void 0);
|
|
41
39
|
|
|
@@ -47,9 +45,9 @@ __decorate([(0, _utils.ApiPropertyOptional)({
|
|
|
47
45
|
|
|
48
46
|
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
49
47
|
default: true
|
|
50
|
-
}),
|
|
48
|
+
}), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "descending", void 0);
|
|
51
49
|
|
|
52
|
-
__decorate([(0, _utils.ApiPropertyOptional)(),
|
|
50
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], QueryRevisionAccount.prototype, "isRevised", void 0);
|
|
53
51
|
|
|
54
52
|
__decorate([(0, _.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryRevisionAccount.prototype, "idSociety", void 0);
|
|
55
53
|
//# sourceMappingURL=QueryRevisionAccount.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRevisionAccount.js","mappings":";;;;;;;AAAA;;AAGA;;AACA
|
|
1
|
+
{"version":3,"file":"QueryRevisionAccount.js","mappings":";;;;;;;AAAA;;AAGA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,mBAAY;EAAEC,OAAO,EAAE;AAAX,CAAZ,CAED,EADC,+BACD;;AAGAD,YADC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CACD;;AAIAD,YAFC,oBAED,EADC,6BACD,4BAAWE,KAAX;;AAIAF,YAFC,oBAED,EADC,6BACD,4BAASE,KAAT;;AAIAF,YAFC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CAED,EADC,+BACD;;AAGAD,YADC,gCAAoB;EAAEC,OAAO,EAAE;AAAX,CAApB,CACD;;AAGAD,YADC,iCACD;;AAIAA,YAFC,oBAED,EADC,4BACD","names":["QueryRevisionAccount","__decorate","default","Date"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/revision/QueryRevisionAccount.ts"],"sourcesContent":["import {\n IsDate, IsInt, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, QueryPaginate } from '../../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class QueryRevisionAccount implements QueryPaginate {\n @ApiProperty({ default: 1 })\n @IsNumber()\n page: number;\n\n @ApiPropertyOptional({ default: 'idAccount' })\n orderBy?: string;\n\n @ApiProperty()\n @IsDate()\n startDate: Date;\n\n @ApiProperty()\n @IsDate()\n endDate: Date;\n\n @ApiPropertyOptional({ default: 25 })\n @IsNumber()\n limit: number;\n\n @ApiPropertyOptional({ default: true })\n descending?: boolean;\n\n @ApiPropertyOptional()\n isRevised?: boolean;\n\n @ApiProperty()\n @IsInt()\n idSociety: number;\n}"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.207",
|
|
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": "js/index.js",
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
IsDate, IsInt, IsNumber,
|
|
3
3
|
} from 'class-validator';
|
|
4
4
|
import { ApiProperty, QueryPaginate } from '../../../..';
|
|
5
5
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
6
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
7
6
|
|
|
8
7
|
export class QueryRevisionAccount implements QueryPaginate {
|
|
9
8
|
@ApiProperty({ default: 1 })
|
|
@@ -11,8 +10,7 @@ export class QueryRevisionAccount implements QueryPaginate {
|
|
|
11
10
|
page: number;
|
|
12
11
|
|
|
13
12
|
@ApiPropertyOptional({ default: 'idAccount' })
|
|
14
|
-
|
|
15
|
-
orderBy: string;
|
|
13
|
+
orderBy?: string;
|
|
16
14
|
|
|
17
15
|
@ApiProperty()
|
|
18
16
|
@IsDate()
|
|
@@ -27,13 +25,9 @@ export class QueryRevisionAccount implements QueryPaginate {
|
|
|
27
25
|
limit: number;
|
|
28
26
|
|
|
29
27
|
@ApiPropertyOptional({ default: true })
|
|
30
|
-
|
|
31
|
-
@ToBoolean()
|
|
32
|
-
descending: boolean;
|
|
28
|
+
descending?: boolean;
|
|
33
29
|
|
|
34
30
|
@ApiPropertyOptional()
|
|
35
|
-
@IsBoolean()
|
|
36
|
-
@ToBoolean()
|
|
37
31
|
isRevised?: boolean;
|
|
38
32
|
|
|
39
33
|
@ApiProperty()
|