@pedro.araujo/ml-architecture-shared 0.1.108 → 0.1.110

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.
@@ -1,8 +1,8 @@
1
1
  export interface AuctionSourceResponseDTO {
2
2
  id: number;
3
3
  name: string;
4
- description: string;
5
- url: string;
4
+ description: string | null;
5
+ url: string | null;
6
6
  thumbUrl: string | null;
7
7
  createdAt: string;
8
8
  updatedAt: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"auction-source-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-source/auction-source-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
1
+ {"version":3,"file":"auction-source-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-source/auction-source-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
@@ -1,7 +1,7 @@
1
1
  export interface CreateAuctionSourceRequestDTO {
2
2
  name: string;
3
- description: string;
4
- url: string;
3
+ description: string | null;
4
+ url: string | null;
5
5
  thumbUrl: string | null;
6
6
  }
7
7
  //# sourceMappingURL=create-auction-source-request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-auction-source-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-source/create-auction-source-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
1
+ {"version":3,"file":"create-auction-source-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-source/create-auction-source-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export const CreateAuctionSourceSchema = z.object({
3
3
  name: z.string().min(1).max(255),
4
- description: z.string().max(500),
5
- url: z.string().url().max(2048),
4
+ description: z.string().max(500).nullable(),
5
+ url: z.url().max(2048).nullable(),
6
6
  thumbUrl: z.url().max(2048).nullable(),
7
7
  });
@@ -1,8 +1,8 @@
1
1
  export interface UpdateAuctionSourceRequestDTO {
2
2
  auctionSourceId: number;
3
3
  name: string;
4
- description: string;
5
- url: string;
4
+ description: string | null;
5
+ url: string | null;
6
6
  thumbUrl: string | null;
7
7
  }
8
8
  //# sourceMappingURL=update-auction-source-request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-auction-source-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-source/update-auction-source-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
1
+ {"version":3,"file":"update-auction-source-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-source/update-auction-source-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
  export const UpdateAuctionSourceSchema = z.object({
3
3
  auctionSourceId: z.coerce.number().int().positive(),
4
4
  name: z.string().min(1).max(255),
5
- description: z.string().max(500),
6
- url: z.string().url().max(2048),
5
+ description: z.string().max(500).nullable(),
6
+ url: z.url().max(2048).nullable(),
7
7
  thumbUrl: z.url().max(2048).nullable(),
8
8
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedro.araujo/ml-architecture-shared",
3
- "version": "0.1.108",
3
+ "version": "0.1.110",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",