@pedro.araujo/ml-architecture-shared 0.1.28 → 0.1.30
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/auction-item-user/add-auction-item-users-request.dto.d.ts +7 -0
- package/dist/auction-item-user/add-auction-item-users-request.dto.d.ts.map +1 -0
- package/dist/auction-item-user/add-auction-item-users-request.dto.js +1 -0
- package/dist/auction-item-user/add-auction-item-users-request.schema.d.ts +4 -0
- package/dist/auction-item-user/add-auction-item-users-request.schema.d.ts.map +1 -0
- package/dist/auction-item-user/add-auction-item-users-request.schema.js +7 -0
- package/dist/bid/bid-response.dto.d.ts +7 -0
- package/dist/bid/bid-response.dto.d.ts.map +1 -0
- package/dist/bid/bid-response.dto.js +1 -0
- package/dist/bid/create-bid-request.dto.d.ts +7 -0
- package/dist/bid/create-bid-request.dto.d.ts.map +1 -0
- package/dist/bid/create-bid-request.dto.js +1 -0
- package/dist/bid/create-bid-request.schema.d.ts +4 -0
- package/dist/bid/create-bid-request.schema.d.ts.map +1 -0
- package/dist/bid/create-bid-request.schema.js +7 -0
- package/dist/bid/delete-bid-request.dto.d.ts +5 -0
- package/dist/bid/delete-bid-request.dto.d.ts.map +1 -0
- package/dist/bid/delete-bid-request.dto.js +1 -0
- package/dist/bid/delete-bid-request.schema.d.ts +4 -0
- package/dist/bid/delete-bid-request.schema.d.ts.map +1 -0
- package/dist/bid/delete-bid-request.schema.js +5 -0
- package/dist/bid/get-bids-by-auction-session-request.dto.d.ts +5 -0
- package/dist/bid/get-bids-by-auction-session-request.dto.d.ts.map +1 -0
- package/dist/bid/get-bids-by-auction-session-request.dto.js +1 -0
- package/dist/bid/get-bids-by-auction-session-request.schema.d.ts +4 -0
- package/dist/bid/get-bids-by-auction-session-request.schema.d.ts.map +1 -0
- package/dist/bid/get-bids-by-auction-session-request.schema.js +5 -0
- package/dist/bid/update-bid-request.dto.d.ts +8 -0
- package/dist/bid/update-bid-request.dto.d.ts.map +1 -0
- package/dist/bid/update-bid-request.dto.js +1 -0
- package/dist/bid/update-bid-request.schema.d.ts +4 -0
- package/dist/bid/update-bid-request.schema.d.ts.map +1 -0
- package/dist/bid/update-bid-request.schema.js +8 -0
- package/dist/index.d.ts +11 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -4
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-auction-item-users-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/add-auction-item-users-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,mBAAmB,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AddAuctionItemUsersRequestDTO } from "./add-auction-item-users-request.dto.js";
|
|
3
|
+
export declare const AddAuctionItemUsersRequestSchema: z.ZodType<AddAuctionItemUsersRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=add-auction-item-users-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-auction-item-users-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/add-auction-item-users-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAExF,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAKlF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AuctionItemUserRole } from "./auction-item-user-role.enum.js";
|
|
3
|
+
export const AddAuctionItemUsersRequestSchema = z.object({
|
|
4
|
+
auctionItemId: z.number().int().positive(),
|
|
5
|
+
emails: z.array(z.email()).min(1).max(100),
|
|
6
|
+
role: z.enum(AuctionItemUserRole),
|
|
7
|
+
});
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-bid-request.schema.d.ts","sourceRoot":"","sources":["../../src/bid/create-bid-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAMvD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const CreateBidSchema = z.object({
|
|
3
|
+
auctionSessionId: z.coerce.number().int().positive(),
|
|
4
|
+
date: z.coerce.date().transform((d) => d.toISOString()),
|
|
5
|
+
amount: z.coerce.number().positive(),
|
|
6
|
+
note: z.string().min(1).max(1000).optional(),
|
|
7
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-bid-request.dto.d.ts","sourceRoot":"","sources":["../../src/bid/delete-bid-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-bid-request.schema.d.ts","sourceRoot":"","sources":["../../src/bid/delete-bid-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAIvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-bids-by-auction-session-request.dto.d.ts","sourceRoot":"","sources":["../../src/bid/get-bids-by-auction-session-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAE/E,MAAM,WAAW,iCAAkC,SAAQ,oBAAoB;IAC7E,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { GetBidsByAuctionSessionRequestDTO } from "./get-bids-by-auction-session-request.dto.js";
|
|
3
|
+
export declare const GetBidsByAuctionSessionSchema: z.ZodType<GetBidsByAuctionSessionRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=get-bids-by-auction-session-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-bids-by-auction-session-request.schema.d.ts","sourceRoot":"","sources":["../../src/bid/get-bids-by-auction-session-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AAGjG,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAGnF,CAAC"}
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-bid-request.schema.d.ts","sourceRoot":"","sources":["../../src/bid/update-bid-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElE,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAOvD,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export const UpdateBidSchema = z.object({
|
|
3
|
+
auctionSessionId: z.coerce.number().int().positive(),
|
|
4
|
+
bidId: z.coerce.number().int().positive(),
|
|
5
|
+
date: z.coerce.date().transform((d) => d.toISOString()),
|
|
6
|
+
amount: z.coerce.number().positive(),
|
|
7
|
+
note: z.string().min(1).max(1000).optional(),
|
|
8
|
+
});
|
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export * from "./auction-item/get-auction-items-view-request.dto.js";
|
|
|
10
10
|
export * from "./auction-item/get-auction-items-view-request.schema.js";
|
|
11
11
|
export * from "./auction-item-status/auction-item-status-response.dto.js";
|
|
12
12
|
export * from "./auction-item-type/auction-item-type-response.dto.js";
|
|
13
|
-
export * from "./auction-item-user/add-auction-item-
|
|
14
|
-
export * from "./auction-item-user/add-auction-item-
|
|
13
|
+
export * from "./auction-item-user/add-auction-item-users-request.dto.js";
|
|
14
|
+
export * from "./auction-item-user/add-auction-item-users-request.schema.js";
|
|
15
15
|
export * from "./auction-item-user/auction-item-user-response.dto.js";
|
|
16
16
|
export * from "./auction-item-user/auction-item-user-role.enum.js";
|
|
17
17
|
export * from "./auction-item-user/auction-item-user-role.schema.js";
|
|
@@ -20,8 +20,15 @@ export * from "./auction-item-user/remove-auction-item-user-request.schema.js";
|
|
|
20
20
|
export * from "./auction-session/auction-session-response.dto.js";
|
|
21
21
|
export * from "./auction-session-status/auction-session-status-response.dto.js";
|
|
22
22
|
export * from "./auction-type/auction-type-response.dto.js";
|
|
23
|
-
export * from "./bid/
|
|
24
|
-
export * from "./bid/
|
|
23
|
+
export * from "./bid/bid-response.dto.js";
|
|
24
|
+
export * from "./bid/create-bid-request.dto.js";
|
|
25
|
+
export * from "./bid/create-bid-request.schema.js";
|
|
26
|
+
export * from "./bid/delete-bid-request.dto.js";
|
|
27
|
+
export * from "./bid/delete-bid-request.schema.js";
|
|
28
|
+
export * from "./bid/get-bids-by-auction-session-request.dto.js";
|
|
29
|
+
export * from "./bid/get-bids-by-auction-session-request.schema.js";
|
|
30
|
+
export * from "./bid/update-bid-request.dto.js";
|
|
31
|
+
export * from "./bid/update-bid-request.schema.js";
|
|
25
32
|
export * from "./item-note/create-item-note-request.dto.js";
|
|
26
33
|
export * from "./item-note/create-item-note-request.schema.js";
|
|
27
34
|
export * from "./item-note/delete-item-note-request.dto.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,sDAAsD,CAAC;AACrE,cAAc,yDAAyD,CAAC;AAExE,cAAc,2DAA2D,CAAC;AAE1E,cAAc,uDAAuD,CAAC;AAEtE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,sDAAsD,CAAC;AACrE,cAAc,yDAAyD,CAAC;AAExE,cAAc,2DAA2D,CAAC;AAE1E,cAAc,uDAAuD,CAAC;AAEtE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,gEAAgE,CAAC;AAE/E,cAAc,mDAAmD,CAAC;AAElE,cAAc,iEAAiE,CAAC;AAEhF,cAAc,6CAA6C,CAAC;AAE5D,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAE/D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+DAA+D,CAAC;AAE9E,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,8 +10,8 @@ export * from "./auction-item/get-auction-items-view-request.dto.js";
|
|
|
10
10
|
export * from "./auction-item/get-auction-items-view-request.schema.js";
|
|
11
11
|
export * from "./auction-item-status/auction-item-status-response.dto.js";
|
|
12
12
|
export * from "./auction-item-type/auction-item-type-response.dto.js";
|
|
13
|
-
export * from "./auction-item-user/add-auction-item-
|
|
14
|
-
export * from "./auction-item-user/add-auction-item-
|
|
13
|
+
export * from "./auction-item-user/add-auction-item-users-request.dto.js";
|
|
14
|
+
export * from "./auction-item-user/add-auction-item-users-request.schema.js";
|
|
15
15
|
export * from "./auction-item-user/auction-item-user-response.dto.js";
|
|
16
16
|
export * from "./auction-item-user/auction-item-user-role.enum.js";
|
|
17
17
|
export * from "./auction-item-user/auction-item-user-role.schema.js";
|
|
@@ -20,8 +20,15 @@ export * from "./auction-item-user/remove-auction-item-user-request.schema.js";
|
|
|
20
20
|
export * from "./auction-session/auction-session-response.dto.js";
|
|
21
21
|
export * from "./auction-session-status/auction-session-status-response.dto.js";
|
|
22
22
|
export * from "./auction-type/auction-type-response.dto.js";
|
|
23
|
-
export * from "./bid/
|
|
24
|
-
export * from "./bid/
|
|
23
|
+
export * from "./bid/bid-response.dto.js";
|
|
24
|
+
export * from "./bid/create-bid-request.dto.js";
|
|
25
|
+
export * from "./bid/create-bid-request.schema.js";
|
|
26
|
+
export * from "./bid/delete-bid-request.dto.js";
|
|
27
|
+
export * from "./bid/delete-bid-request.schema.js";
|
|
28
|
+
export * from "./bid/get-bids-by-auction-session-request.dto.js";
|
|
29
|
+
export * from "./bid/get-bids-by-auction-session-request.schema.js";
|
|
30
|
+
export * from "./bid/update-bid-request.dto.js";
|
|
31
|
+
export * from "./bid/update-bid-request.schema.js";
|
|
25
32
|
export * from "./item-note/create-item-note-request.dto.js";
|
|
26
33
|
export * from "./item-note/create-item-note-request.schema.js";
|
|
27
34
|
export * from "./item-note/delete-item-note-request.dto.js";
|