@pedro.araujo/ml-architecture-shared 0.1.30 → 0.1.31

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.
@@ -2,6 +2,6 @@ export interface BidResponseDTO {
2
2
  id: number;
3
3
  date: string;
4
4
  amount: number;
5
- note?: string;
5
+ note: string;
6
6
  }
7
7
  //# sourceMappingURL=bid-response.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bid-response.dto.d.ts","sourceRoot":"","sources":["../../src/bid/bid-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"bid-response.dto.d.ts","sourceRoot":"","sources":["../../src/bid/bid-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -2,6 +2,6 @@ export interface CreateBidRequestDTO {
2
2
  auctionSessionId: number;
3
3
  date: string;
4
4
  amount: number;
5
- note?: string;
5
+ note: string;
6
6
  }
7
7
  //# sourceMappingURL=create-bid-request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-bid-request.dto.d.ts","sourceRoot":"","sources":["../../src/bid/create-bid-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"create-bid-request.dto.d.ts","sourceRoot":"","sources":["../../src/bid/create-bid-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -3,5 +3,5 @@ export const CreateBidSchema = z.object({
3
3
  auctionSessionId: z.coerce.number().int().positive(),
4
4
  date: z.coerce.date().transform((d) => d.toISOString()),
5
5
  amount: z.coerce.number().positive(),
6
- note: z.string().min(1).max(1000).optional(),
6
+ note: z.string().max(1000),
7
7
  });
@@ -3,6 +3,6 @@ export interface UpdateBidRequestDTO {
3
3
  bidId: number;
4
4
  date: string;
5
5
  amount: number;
6
- note?: string;
6
+ note: string;
7
7
  }
8
8
  //# sourceMappingURL=update-bid-request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-bid-request.dto.d.ts","sourceRoot":"","sources":["../../src/bid/update-bid-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"update-bid-request.dto.d.ts","sourceRoot":"","sources":["../../src/bid/update-bid-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -4,5 +4,5 @@ export const UpdateBidSchema = z.object({
4
4
  bidId: z.coerce.number().int().positive(),
5
5
  date: z.coerce.date().transform((d) => d.toISOString()),
6
6
  amount: z.coerce.number().positive(),
7
- note: z.string().min(1).max(1000).optional(),
7
+ note: z.string().max(1000),
8
8
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedro.araujo/ml-architecture-shared",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",