@lengors/protoscout-schemas 2.1.3 → 2.1.4-dev.2
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/scrapers/scraper-response-result-date-time-instant.js +1 -1
- package/dist/scrapers/scraper-response-result-date-time-instant.js.map +1 -1
- package/dist/scrapers/scraper-response-result-price.d.ts +1 -1
- package/dist/scrapers/scraper-response-result-price.js +1 -1
- package/dist/scrapers/scraper-response-result.d.ts +3 -3
- package/dist/scrapers/scraper-response.d.ts +3 -3
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { ScraperResponseResultDateTimeInstantGrain } from "./scraper-response-re
|
|
|
7
7
|
*/
|
|
8
8
|
export const ScraperResponseResultDateTimeInstant = z
|
|
9
9
|
.readonly(z.object({
|
|
10
|
-
value: z.iso.datetime().register(z.globalRegistry, {
|
|
10
|
+
value: z.iso.datetime({ offset: true }).register(z.globalRegistry, {
|
|
11
11
|
title: "Result date-time instant value.",
|
|
12
12
|
description: "Value of date-time instant associated with scrapped result.",
|
|
13
13
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-response-result-date-time-instant.js","sourceRoot":"","sources":["../../src/main/ts/scrapers/scraper-response-result-date-time-instant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,yCAAyC,EAAE,MAAM,sDAAsD,CAAC;AAEjH;;;;GAIG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;
|
|
1
|
+
{"version":3,"file":"scraper-response-result-date-time-instant.js","sourceRoot":"","sources":["../../src/main/ts/scrapers/scraper-response-result-date-time-instant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,yCAAyC,EAAE,MAAM,sDAAsD,CAAC;AAEjH;;;;GAIG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC;KAClD,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;QACjE,KAAK,EAAE,iCAAiC;QACxC,WAAW,EACT,6DAA6D;KAChE,CAAC;IACF,KAAK,EAAE,yCAAyC;CACjD,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,oGAAoG;IACxG,KAAK,EAAE,2BAA2B;IAClC,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EACN,0FAA0F;IAC5F,cAAc,EAAE;QACd,mFAAmF;KACpF;IACD,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { z } from "zod/mini";
|
|
|
5
5
|
* @author lengors
|
|
6
6
|
*/
|
|
7
7
|
export declare const ScraperResponseResultPrice: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
8
|
-
amount: z.
|
|
8
|
+
amount: z.ZodMiniNumber<number>;
|
|
9
9
|
unit: z.ZodMiniString<string>;
|
|
10
10
|
}, z.core.$strip>>;
|
|
11
11
|
export type ScraperResponseResultPrice = z.infer<typeof ScraperResponseResultPrice>;
|
|
@@ -6,7 +6,7 @@ import { z } from "zod/mini";
|
|
|
6
6
|
*/
|
|
7
7
|
export const ScraperResponseResultPrice = z
|
|
8
8
|
.readonly(z.object({
|
|
9
|
-
amount: z.
|
|
9
|
+
amount: z.number().register(z.globalRegistry, {
|
|
10
10
|
title: "Price amount.",
|
|
11
11
|
description: "Numerical amount for price associated with scrapped result.",
|
|
12
12
|
}),
|
|
@@ -13,7 +13,7 @@ export declare const ScraperResponseResult: z.ZodMiniPipe<z.ZodMiniReadonly<z.Zo
|
|
|
13
13
|
image: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
14
14
|
}, z.core.$strip>>;
|
|
15
15
|
price: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
16
|
-
amount: z.
|
|
16
|
+
amount: z.ZodMiniNumber<number>;
|
|
17
17
|
unit: z.ZodMiniString<string>;
|
|
18
18
|
}, z.core.$strip>>;
|
|
19
19
|
image: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -143,7 +143,7 @@ export declare const ScraperResponseResult: z.ZodMiniPipe<z.ZodMiniReadonly<z.Zo
|
|
|
143
143
|
image?: string | undefined;
|
|
144
144
|
}>;
|
|
145
145
|
price: Readonly<{
|
|
146
|
-
amount:
|
|
146
|
+
amount: number;
|
|
147
147
|
unit: string;
|
|
148
148
|
}>;
|
|
149
149
|
image: string | undefined;
|
|
@@ -188,7 +188,7 @@ export declare const ScraperResponseResult: z.ZodMiniPipe<z.ZodMiniReadonly<z.Zo
|
|
|
188
188
|
image?: string | undefined;
|
|
189
189
|
}>;
|
|
190
190
|
price: Readonly<{
|
|
191
|
-
amount:
|
|
191
|
+
amount: number;
|
|
192
192
|
unit: string;
|
|
193
193
|
}>;
|
|
194
194
|
image?: string | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const ScraperResponse: z.ZodMiniUnion<readonly [z.ZodMiniReadonly
|
|
|
31
31
|
image: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
32
32
|
}, z.core.$strip>>;
|
|
33
33
|
price: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
34
|
-
amount: z.
|
|
34
|
+
amount: z.ZodMiniNumber<number>;
|
|
35
35
|
unit: z.ZodMiniString<string>;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
image: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -161,7 +161,7 @@ export declare const ScraperResponse: z.ZodMiniUnion<readonly [z.ZodMiniReadonly
|
|
|
161
161
|
image?: string | undefined;
|
|
162
162
|
}>;
|
|
163
163
|
price: Readonly<{
|
|
164
|
-
amount:
|
|
164
|
+
amount: number;
|
|
165
165
|
unit: string;
|
|
166
166
|
}>;
|
|
167
167
|
image: string | undefined;
|
|
@@ -206,7 +206,7 @@ export declare const ScraperResponse: z.ZodMiniUnion<readonly [z.ZodMiniReadonly
|
|
|
206
206
|
image?: string | undefined;
|
|
207
207
|
}>;
|
|
208
208
|
price: Readonly<{
|
|
209
|
-
amount:
|
|
209
|
+
amount: number;
|
|
210
210
|
unit: string;
|
|
211
211
|
}>;
|
|
212
212
|
image?: string | undefined;
|