@autologix-engineering/shared 1.0.365 → 1.0.366

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autologix-engineering/shared",
3
- "version": "1.0.365",
3
+ "version": "1.0.366",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0"
6
6
  },
@@ -1,4 +1,4 @@
1
- import { City, FuelType, GenericStatus, OwnershipType, VehicleClass, VehicleType } from '../../enums/src/index';
1
+ import { City, FuelType, GenericStatus, OwnershipType, SortOrder, VehicleClass, VehicleType } from '../../enums/src/index';
2
2
  export declare class VehicleCustomQueryDTO {
3
3
  contextOwnerId: string;
4
4
  status?: GenericStatus[];
@@ -13,5 +13,7 @@ export declare class VehicleCustomQueryDTO {
13
13
  maker?: string[];
14
14
  model?: string[];
15
15
  city?: City[];
16
+ orderBy?: string;
17
+ order?: SortOrder;
16
18
  constructor(obj?: Partial<VehicleCustomQueryDTO>);
17
19
  }
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { City, FuelType, GenericStatus, OwnershipType, VehicleClass, VehicleType, } from '../../enums/src/index';
2
+ import { City, FuelType, GenericStatus, OwnershipType, SortOrder, VehicleClass, VehicleType, } from '../../enums/src/index';
3
3
  import { IsArray, IsEnum, IsNumber, IsOptional, IsString, IsUUID, } from 'class-validator';
4
4
  export class VehicleCustomQueryDTO {
5
5
  constructor(obj) {
@@ -69,4 +69,14 @@ __decorate([
69
69
  IsEnum(City, { each: true }),
70
70
  __metadata("design:type", Array)
71
71
  ], VehicleCustomQueryDTO.prototype, "city", void 0);
72
+ __decorate([
73
+ IsOptional(),
74
+ IsString(),
75
+ __metadata("design:type", String)
76
+ ], VehicleCustomQueryDTO.prototype, "orderBy", void 0);
77
+ __decorate([
78
+ IsOptional(),
79
+ IsEnum(SortOrder),
80
+ __metadata("design:type", String)
81
+ ], VehicleCustomQueryDTO.prototype, "order", void 0);
72
82
  //# sourceMappingURL=vehicle.custom.query.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vehicle.custom.query.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,YAAY,EACZ,WAAW,GACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,qBAAqB;IAmDjC,YAAY,GAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AApDA;IADC,MAAM,EAAE;;6DACc;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACb;AAIzB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACR;AAG5B;IADC,UAAU,EAAE;;2DACe;AAI5B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACI;AAIf;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACX;AAItB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;2DACc;AAIxB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACP;AAI/B;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACO;AAIjB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACO;AAIjB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDACf"}
1
+ {"version":3,"file":"vehicle.custom.query.dto.js","sourceRoot":"","sources":["../../../../../../../libs/shared/src/lib/data-transfer-objects/src/vehicle.custom.query.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EACN,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,SAAS,EACT,YAAY,EACZ,WAAW,GACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,OAAO,EACP,MAAM,EACN,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,MAAM,GACN,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,qBAAqB;IA2DjC,YAAY,GAAoC;QAC/C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAC1B,CAAC;CACD;AA5DA;IADC,MAAM,EAAE;;6DACc;AAIvB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACb;AAIzB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACR;AAG5B;IADC,UAAU,EAAE;;2DACe;AAI5B;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;yDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;mDACG;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;oDACI;AAIf;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACX;AAItB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;2DACc;AAIxB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACP;AAI/B;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACO;AAIjB;IAFC,UAAU,EAAE;IACZ,OAAO,EAAE;;oDACO;AAIjB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;mDACf;AAId;IAFC,UAAU,EAAE;IACZ,QAAQ,EAAE;;sDACM;AAIjB;IAFC,UAAU,EAAE;IACZ,MAAM,CAAC,SAAS,CAAC;;oDACA"}