@pedro.araujo/ml-architecture-shared 0.1.22 → 0.1.23
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/create-auction-item.schema.js +7 -7
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/item-note/create-item-note-request.dto.d.ts +6 -0
- package/dist/item-note/create-item-note-request.dto.d.ts.map +1 -0
- package/dist/item-note/create-item-note-request.dto.js +1 -0
- package/dist/item-note/create-item-note-request.schema.d.ts +4 -0
- package/dist/item-note/create-item-note-request.schema.d.ts.map +1 -0
- package/dist/item-note/create-item-note-request.schema.js +6 -0
- package/dist/item-note/get-item-notes-by-auction-item-request.dto.d.ts +5 -0
- package/dist/item-note/get-item-notes-by-auction-item-request.dto.d.ts.map +1 -0
- package/dist/item-note/get-item-notes-by-auction-item-request.dto.js +1 -0
- package/dist/item-note/get-item-notes-by-auction-item-request.schema.d.ts +4 -0
- package/dist/item-note/get-item-notes-by-auction-item-request.schema.d.ts.map +1 -0
- package/dist/item-note/get-item-notes-by-auction-item-request.schema.js +5 -0
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export const CreateAuctionItemSchema = z.object({
|
|
3
3
|
title: z.string().min(2).max(255),
|
|
4
|
-
auctionLink: z.url(),
|
|
4
|
+
auctionLink: z.url().max(2048),
|
|
5
5
|
itemTypeId: z.number().int().positive(),
|
|
6
6
|
auctionTypeId: z.number().int().positive(),
|
|
7
7
|
authorityId: z.number().int().nullable(),
|
|
8
8
|
sessions: z.array(z.iso.datetime()).min(1).max(3),
|
|
9
|
-
jurisdiction: z.string().nullable(),
|
|
10
|
-
appraisalValue: z.number().nullable(),
|
|
11
|
-
minimumBid: z.number().nullable(),
|
|
12
|
-
notes: z.string().nullable(),
|
|
13
|
-
photoUrl: z.url().nullable(),
|
|
14
|
-
collaboratorsEmails: z.array(z.email()).nullable(),
|
|
9
|
+
jurisdiction: z.string().max(100).nullable(),
|
|
10
|
+
appraisalValue: z.number().positive().nullable(),
|
|
11
|
+
minimumBid: z.number().positive().nullable(),
|
|
12
|
+
notes: z.string().max(2000).nullable(),
|
|
13
|
+
photoUrl: z.url().max(2048).nullable(),
|
|
14
|
+
collaboratorsEmails: z.array(z.email()).max(10).nullable(),
|
|
15
15
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -16,8 +16,10 @@ export * from "./auction-session-status/auction-session-status-response.dto.js";
|
|
|
16
16
|
export * from "./auction-type/auction-type-response.dto.js";
|
|
17
17
|
export * from "./bid/get-bids-by-auction-item.dto.js";
|
|
18
18
|
export * from "./bid/get-bids-by-auction-item.schema.js";
|
|
19
|
-
export * from "./item-note/
|
|
20
|
-
export * from "./item-note/
|
|
19
|
+
export * from "./item-note/create-item-note-request.dto.js";
|
|
20
|
+
export * from "./item-note/create-item-note-request.schema.js";
|
|
21
|
+
export * from "./item-note/get-item-notes-by-auction-item-request.dto.js";
|
|
22
|
+
export * from "./item-note/get-item-notes-by-auction-item-request.schema.js";
|
|
21
23
|
export * from "./pagination/pagination-request.schema.js";
|
|
22
24
|
export * from "./pagination/pagination-request.dto.js";
|
|
23
25
|
export * from "./pagination/pagination-response.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,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,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AAErE,cAAc,mDAAmD,CAAC;AAElE,cAAc,iEAAiE,CAAC;AAEhF,cAAc,6CAA6C,CAAC;AAE5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AAEzD,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,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,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AAErE,cAAc,mDAAmD,CAAC;AAElE,cAAc,iEAAiE,CAAC;AAEhF,cAAc,6CAA6C,CAAC;AAE5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AAEzD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAE7E,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
|
@@ -16,8 +16,10 @@ export * from "./auction-session-status/auction-session-status-response.dto.js";
|
|
|
16
16
|
export * from "./auction-type/auction-type-response.dto.js";
|
|
17
17
|
export * from "./bid/get-bids-by-auction-item.dto.js";
|
|
18
18
|
export * from "./bid/get-bids-by-auction-item.schema.js";
|
|
19
|
-
export * from "./item-note/
|
|
20
|
-
export * from "./item-note/
|
|
19
|
+
export * from "./item-note/create-item-note-request.dto.js";
|
|
20
|
+
export * from "./item-note/create-item-note-request.schema.js";
|
|
21
|
+
export * from "./item-note/get-item-notes-by-auction-item-request.dto.js";
|
|
22
|
+
export * from "./item-note/get-item-notes-by-auction-item-request.schema.js";
|
|
21
23
|
export * from "./pagination/pagination-request.schema.js";
|
|
22
24
|
export * from "./pagination/pagination-request.dto.js";
|
|
23
25
|
export * from "./pagination/pagination-response.dto.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-item-note-request.dto.d.ts","sourceRoot":"","sources":["../../src/item-note/create-item-note-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-item-note-request.schema.d.ts","sourceRoot":"","sources":["../../src/item-note/create-item-note-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAE7E,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAKjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-item-notes-by-auction-item-request.dto.d.ts","sourceRoot":"","sources":["../../src/item-note/get-item-notes-by-auction-item-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAE/E,MAAM,WAAW,mCAAoC,SAAQ,oBAAoB;IAC/E,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { GetItemNotesByAuctionItemRequestDTO } from "./get-item-notes-by-auction-item-request.dto.js";
|
|
3
|
+
export declare const GetItemNotesByAuctionItemSchema: z.ZodType<GetItemNotesByAuctionItemRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=get-item-notes-by-auction-item-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-item-notes-by-auction-item-request.schema.d.ts","sourceRoot":"","sources":["../../src/item-note/get-item-notes-by-auction-item-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mCAAmC,EAAE,MAAM,iDAAiD,CAAC;AAGtG,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,mCAAmC,CAGvF,CAAC"}
|