@pedro.araujo/ml-architecture-shared 0.1.82 → 0.1.84
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/update-auction-item-highest-bid-request.dto.d.ts +5 -0
- package/dist/auction-item/update-auction-item-highest-bid-request.dto.d.ts.map +1 -0
- package/dist/auction-item/update-auction-item-highest-bid-request.dto.js +1 -0
- package/dist/auction-item/update-auction-item-highest-bid-request.schema.d.ts +4 -0
- package/dist/auction-item/update-auction-item-highest-bid-request.schema.d.ts.map +1 -0
- package/dist/auction-item/update-auction-item-highest-bid-request.schema.js +5 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/item-financial-event/list-item-financial-event-request.dto.d.ts +6 -0
- package/dist/item-financial-event/list-item-financial-event-request.dto.d.ts.map +1 -0
- package/dist/item-financial-event/list-item-financial-event-request.dto.js +1 -0
- package/dist/item-financial-event/list-item-financial-event-request.schema.d.ts +4 -0
- package/dist/item-financial-event/list-item-financial-event-request.schema.d.ts.map +1 -0
- package/dist/item-financial-event/list-item-financial-event-request.schema.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-auction-item-highest-bid-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/update-auction-item-highest-bid-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qCAAqC;IACpD,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { UpdateAuctionItemHighestBidRequestDTO } from "./update-auction-item-highest-bid-request.dto.js";
|
|
3
|
+
export declare const UpdateAuctionItemHighestBidRequestSchema: z.ZodType<UpdateAuctionItemHighestBidRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=update-auction-item-highest-bid-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-auction-item-highest-bid-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/update-auction-item-highest-bid-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,qCAAqC,EAAE,MAAM,kDAAkD,CAAC;AAEzG,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAAC,qCAAqC,CAIlG,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * from "./auction-item/create-auction-item.dto.js";
|
|
|
7
7
|
export * from "./auction-item/create-auction-item.schema.js";
|
|
8
8
|
export * from "./auction-item/delete-auction-item-request.dto.js";
|
|
9
9
|
export * from "./auction-item/delete-auction-item-request.schema.js";
|
|
10
|
+
export * from "./auction-item/update-auction-item-highest-bid-request.dto.js";
|
|
11
|
+
export * from "./auction-item/update-auction-item-highest-bid-request.schema.js";
|
|
10
12
|
export * from "./auction-item/update-auction-item.dto.js";
|
|
11
13
|
export * from "./auction-item/update-auction-item.schema.js";
|
|
12
14
|
export * from "./auction-item-comment/auction-item-comment-response.dto.js";
|
|
@@ -64,6 +66,8 @@ export * from "./item-financial-event/delete-item-financial-event-request.dto.js
|
|
|
64
66
|
export * from "./item-financial-event/delete-item-financial-event-request.schema.js";
|
|
65
67
|
export * from "./item-financial-event/item-financial-event-response.dto.js";
|
|
66
68
|
export * from "./item-financial-event/item-financial-event-type.enum.js";
|
|
69
|
+
export * from "./item-financial-event/list-item-financial-event-request.dto.js";
|
|
70
|
+
export * from "./item-financial-event/list-item-financial-event-request.schema.js";
|
|
67
71
|
export * from "./item-financial-event/payment-type.enum.js";
|
|
68
72
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-request.schema.js";
|
|
69
73
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-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,qEAAqE,CAAC;AACpF,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qEAAqE,CAAC;AACpF,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AAErE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,kEAAkE,CAAC;AAEjF,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAE7D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,mEAAmE,CAAC;AAClF,cAAc,sEAAsE,CAAC;AACrF,cAAc,mEAAmE,CAAC;AAClF,cAAc,sEAAsE,CAAC;AACrF,cAAc,sEAAsE,CAAC;AACrF,cAAc,yEAAyE,CAAC;AACxF,cAAc,iEAAiE,CAAC;AAChF,cAAc,oEAAoE,CAAC;AACnF,cAAc,mEAAmE,CAAC;AAClF,cAAc,sEAAsE,CAAC;AAErF,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AAEpE,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AAEjE,cAAc,oDAAoD,CAAC;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AAC;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;AAE3C,cAAc,6EAA6E,CAAC;AAC5F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,6EAA6E,CAAC;AAC5F,cAAc,gFAAgF,CAAC;AAC/F,cAAc,uEAAuE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7,6 +7,8 @@ export * from "./auction-item/create-auction-item.dto.js";
|
|
|
7
7
|
export * from "./auction-item/create-auction-item.schema.js";
|
|
8
8
|
export * from "./auction-item/delete-auction-item-request.dto.js";
|
|
9
9
|
export * from "./auction-item/delete-auction-item-request.schema.js";
|
|
10
|
+
export * from "./auction-item/update-auction-item-highest-bid-request.dto.js";
|
|
11
|
+
export * from "./auction-item/update-auction-item-highest-bid-request.schema.js";
|
|
10
12
|
export * from "./auction-item/update-auction-item.dto.js";
|
|
11
13
|
export * from "./auction-item/update-auction-item.schema.js";
|
|
12
14
|
export * from "./auction-item-comment/auction-item-comment-response.dto.js";
|
|
@@ -64,6 +66,8 @@ export * from "./item-financial-event/delete-item-financial-event-request.dto.js
|
|
|
64
66
|
export * from "./item-financial-event/delete-item-financial-event-request.schema.js";
|
|
65
67
|
export * from "./item-financial-event/item-financial-event-response.dto.js";
|
|
66
68
|
export * from "./item-financial-event/item-financial-event-type.enum.js";
|
|
69
|
+
export * from "./item-financial-event/list-item-financial-event-request.dto.js";
|
|
70
|
+
export * from "./item-financial-event/list-item-financial-event-request.schema.js";
|
|
67
71
|
export * from "./item-financial-event/payment-type.enum.js";
|
|
68
72
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-request.schema.js";
|
|
69
73
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-request.dto.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ItemFinancialEventType } from "./item-financial-event-type.enum.js";
|
|
2
|
+
export interface ListItemFinancialEventRequestDTO {
|
|
3
|
+
auctionItemId: number;
|
|
4
|
+
financialEventTypes?: ItemFinancialEventType[];
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=list-item-financial-event-request.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-item-financial-event-request.dto.d.ts","sourceRoot":"","sources":["../../src/item-financial-event/list-item-financial-event-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,MAAM,WAAW,gCAAgC;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,sBAAsB,EAAE,CAAC;CAChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { ListItemFinancialEventRequestDTO } from "./list-item-financial-event-request.dto.js";
|
|
3
|
+
export declare const ListItemFinancialEventRequestSchema: z.ZodType<ListItemFinancialEventRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=list-item-financial-event-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-item-financial-event-request.schema.d.ts","sourceRoot":"","sources":["../../src/item-financial-event/list-item-financial-event-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAG9F,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAaxF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { ItemFinancialEventType } from "./item-financial-event-type.enum.js";
|
|
3
|
+
export const ListItemFinancialEventRequestSchema = z.object({
|
|
4
|
+
auctionItemId: z.coerce.number().int().positive(),
|
|
5
|
+
financialEventTypes: z
|
|
6
|
+
.preprocess((value) => {
|
|
7
|
+
if (typeof value === "string") {
|
|
8
|
+
return value.split(",");
|
|
9
|
+
}
|
|
10
|
+
return value;
|
|
11
|
+
}, z.array(z.enum(ItemFinancialEventType)).optional()),
|
|
12
|
+
});
|