@pedro.araujo/ml-architecture-shared 0.1.15 → 0.1.17

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.
@@ -4,6 +4,7 @@ export interface CreateAuctionItemDTO {
4
4
  itemTypeId: number;
5
5
  auctionTypeId: number;
6
6
  authorityId: number | null;
7
+ sessions: string[];
7
8
  jurisdiction: string | null;
8
9
  appraisalValue: number | null;
9
10
  minimumBid: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"create-auction-item.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/create-auction-item.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CACtC"}
1
+ {"version":3,"file":"create-auction-item.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/create-auction-item.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CACtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-auction-item.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/create-auction-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAehE,CAAC"}
1
+ {"version":3,"file":"create-auction-item.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/create-auction-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAgBhE,CAAC"}
@@ -5,6 +5,7 @@ export const CreateAuctionItemSchema = z.object({
5
5
  itemTypeId: z.number().int().positive(),
6
6
  auctionTypeId: z.number().int().positive(),
7
7
  authorityId: z.number().int().nullable(),
8
+ sessions: z.array(z.iso.datetime()).min(1).max(3),
8
9
  jurisdiction: z.string().nullable(),
9
10
  appraisalValue: z.number().nullable(),
10
11
  minimumBid: z.number().nullable(),
package/dist/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  export * from "./auction-item/create-auction-item.dto.js";
2
2
  export * from "./auction-item/create-auction-item.schema.js";
3
3
  export * from "./auction-item/auction-item-id.schema.js";
4
+ export * from "./auction-item/get-auction-items-request.dto.js";
5
+ export * from "./auction-item/get-auction-items-request.schema.js";
6
+ export * from "./auction-item/get-auction-items-view-request.dto.js";
7
+ export * from "./auction-item/get-auction-items-view-request.schema.js";
4
8
  export * from "./auction-item-user/auction-item-user-role.enum.js";
9
+ export * from "./auction-item-user/auction-item-user-role.schema.js";
5
10
  export * from "./pagination/pagination-request.schema.js";
6
11
  export * from "./pagination/pagination-request.dto.js";
7
12
  export * from "./pagination/pagination-response.dto.js";
8
- export * from "./auction-item/get-auction-items-request.dto.js";
9
- export * from "./auction-item/get-auction-items-request.schema.js";
10
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AAEzD,cAAc,oDAAoD,CAAC;AAEnE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AAExD,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AAEzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC;AAEnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,yDAAyD,CAAC;AAExE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AAErE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,12 @@
1
1
  export * from "./auction-item/create-auction-item.dto.js";
2
2
  export * from "./auction-item/create-auction-item.schema.js";
3
3
  export * from "./auction-item/auction-item-id.schema.js";
4
+ export * from "./auction-item/get-auction-items-request.dto.js";
5
+ export * from "./auction-item/get-auction-items-request.schema.js";
6
+ export * from "./auction-item/get-auction-items-view-request.dto.js";
7
+ export * from "./auction-item/get-auction-items-view-request.schema.js";
4
8
  export * from "./auction-item-user/auction-item-user-role.enum.js";
9
+ export * from "./auction-item-user/auction-item-user-role.schema.js";
5
10
  export * from "./pagination/pagination-request.schema.js";
6
11
  export * from "./pagination/pagination-request.dto.js";
7
12
  export * from "./pagination/pagination-response.dto.js";
8
- export * from "./auction-item/get-auction-items-request.dto.js";
9
- export * from "./auction-item/get-auction-items-request.schema.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedro.araujo/ml-architecture-shared",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",