@pedro.araujo/ml-architecture-shared 0.1.23 → 0.1.24

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/index.d.ts CHANGED
@@ -18,8 +18,12 @@ export * from "./bid/get-bids-by-auction-item.dto.js";
18
18
  export * from "./bid/get-bids-by-auction-item.schema.js";
19
19
  export * from "./item-note/create-item-note-request.dto.js";
20
20
  export * from "./item-note/create-item-note-request.schema.js";
21
+ export * from "./item-note/delete-item-note-request.dto.js";
22
+ export * from "./item-note/delete-item-note-request.schema.js";
21
23
  export * from "./item-note/get-item-notes-by-auction-item-request.dto.js";
22
24
  export * from "./item-note/get-item-notes-by-auction-item-request.schema.js";
25
+ export * from "./item-note/update-item-note-request.dto.js";
26
+ export * from "./item-note/update-item-note-request.schema.js";
23
27
  export * from "./pagination/pagination-request.schema.js";
24
28
  export * from "./pagination/pagination-request.dto.js";
25
29
  export * from "./pagination/pagination-response.dto.js";
@@ -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,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"}
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,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAE/D,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
@@ -18,8 +18,12 @@ export * from "./bid/get-bids-by-auction-item.dto.js";
18
18
  export * from "./bid/get-bids-by-auction-item.schema.js";
19
19
  export * from "./item-note/create-item-note-request.dto.js";
20
20
  export * from "./item-note/create-item-note-request.schema.js";
21
+ export * from "./item-note/delete-item-note-request.dto.js";
22
+ export * from "./item-note/delete-item-note-request.schema.js";
21
23
  export * from "./item-note/get-item-notes-by-auction-item-request.dto.js";
22
24
  export * from "./item-note/get-item-notes-by-auction-item-request.schema.js";
25
+ export * from "./item-note/update-item-note-request.dto.js";
26
+ export * from "./item-note/update-item-note-request.schema.js";
23
27
  export * from "./pagination/pagination-request.schema.js";
24
28
  export * from "./pagination/pagination-request.dto.js";
25
29
  export * from "./pagination/pagination-response.dto.js";
@@ -0,0 +1,4 @@
1
+ export interface DeleteItemNoteRequestDTO {
2
+ itemNoteId: number;
3
+ }
4
+ //# sourceMappingURL=delete-item-note-request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-item-note-request.dto.d.ts","sourceRoot":"","sources":["../../src/item-note/delete-item-note-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { z } from "zod";
2
+ import { DeleteItemNoteRequestDTO } from "./delete-item-note-request.dto.js";
3
+ export declare const DeleteItemNoteSchema: z.ZodType<DeleteItemNoteRequestDTO>;
4
+ //# sourceMappingURL=delete-item-note-request.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-item-note-request.schema.d.ts","sourceRoot":"","sources":["../../src/item-note/delete-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,CAGjE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { z } from "zod";
2
+ export const DeleteItemNoteSchema = z.object({
3
+ itemNoteId: z.coerce.number().int().positive(),
4
+ });
@@ -0,0 +1,6 @@
1
+ export interface UpdateItemNoteRequestDTO {
2
+ itemNoteId: number;
3
+ typeId: number;
4
+ content: string;
5
+ }
6
+ //# sourceMappingURL=update-item-note-request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-item-note-request.dto.d.ts","sourceRoot":"","sources":["../../src/item-note/update-item-note-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { z } from "zod";
2
+ import { UpdateItemNoteRequestDTO } from "./update-item-note-request.dto.js";
3
+ export declare const UpdateItemNoteSchema: z.ZodType<UpdateItemNoteRequestDTO>;
4
+ //# sourceMappingURL=update-item-note-request.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-item-note-request.schema.d.ts","sourceRoot":"","sources":["../../src/item-note/update-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,6 @@
1
+ import { z } from "zod";
2
+ export const UpdateItemNoteSchema = z.object({
3
+ itemNoteId: z.coerce.number().int().positive(),
4
+ typeId: z.coerce.number().int().positive(),
5
+ content: z.string().min(1).max(1000),
6
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedro.araujo/ml-architecture-shared",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",