@lengors/protoscout-schemas 2.1.5 → 2.2.0-dev.1
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/specifications/scraper-specification-flat-action.d.ts +4 -2
- package/dist/scrapers/specifications/scraper-specification-flat-action.d.ts.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-flat-action.js +2 -2
- package/dist/scrapers/specifications/scraper-specification-flat-action.js.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-flat.d.ts +13 -0
- package/dist/scrapers/specifications/scraper-specification-flat.d.ts.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-flat.js +23 -0
- package/dist/scrapers/specifications/scraper-specification-flat.js.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-handler.d.ts +6 -86
- package/dist/scrapers/specifications/scraper-specification-handler.d.ts.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-action.d.ts +2 -84
- package/dist/scrapers/specifications/scraper-specification-return-action.d.ts.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-descriptionless-detail.js +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-descriptionless-detail.js.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-descriptive-detail.js +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-descriptive-detail.js.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-detail.d.ts +4 -19
- package/dist/scrapers/specifications/scraper-specification-return-detail.d.ts.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-detail.js +4 -4
- package/dist/scrapers/specifications/scraper-specification-return-detail.js.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-extract-detail.d.ts +26 -0
- package/dist/scrapers/specifications/scraper-specification-return-extract-detail.d.ts.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-return-extract-detail.js +19 -0
- package/dist/scrapers/specifications/scraper-specification-return-extract-detail.js.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-return-flat-detail.d.ts +14 -0
- package/dist/scrapers/specifications/scraper-specification-return-flat-detail.d.ts.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-return-flat-detail.js +25 -0
- package/dist/scrapers/specifications/scraper-specification-return-flat-detail.js.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-return-flat-stock.d.ts +7 -37
- package/dist/scrapers/specifications/scraper-specification-return-flat-stock.d.ts.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-flat-stock.js +4 -4
- package/dist/scrapers/specifications/scraper-specification-return-flat-stock.js.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return-stock.d.ts +11 -0
- package/dist/scrapers/specifications/scraper-specification-return-stock.d.ts.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-return-stock.js +19 -0
- package/dist/scrapers/specifications/scraper-specification-return-stock.js.map +1 -0
- package/dist/scrapers/specifications/scraper-specification-return.d.ts +4 -84
- package/dist/scrapers/specifications/scraper-specification-return.d.ts.map +1 -1
- package/dist/scrapers/specifications/scraper-specification-return.js +2 -10
- package/dist/scrapers/specifications/scraper-specification-return.js.map +1 -1
- package/dist/scrapers/specifications/scraper-specification.d.ts +6 -86
- package/dist/scrapers/specifications/scraper-specification.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5,9 +5,11 @@ import { z } from "zod/mini";
|
|
|
5
5
|
* @author lengors
|
|
6
6
|
*/
|
|
7
7
|
export declare const ScraperSpecificationFlatAction: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
8
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
8
|
+
flattens: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
9
9
|
jexl: z.ZodMiniString<string>;
|
|
10
|
-
}, z.core.$strip
|
|
10
|
+
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
11
|
+
jexl: z.ZodMiniString<string>;
|
|
12
|
+
}, z.core.$strip>>>>]>;
|
|
11
13
|
}, z.core.$strip>>;
|
|
12
14
|
export type ScraperSpecificationFlatAction = z.infer<typeof ScraperSpecificationFlatAction>;
|
|
13
15
|
//# sourceMappingURL=scraper-specification-flat-action.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-flat-action.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-flat-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B;;;;GAIG;AACH,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"scraper-specification-flat-action.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-flat-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;kBAiBvC,CAAC;AAEL,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/mini";
|
|
2
|
-
import {
|
|
2
|
+
import { ScraperSpecificationFlat } from "./scraper-specification-flat.js";
|
|
3
3
|
/**
|
|
4
4
|
* Represents an action that flattens the result of a scraper specification.
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@ import { ScraperSpecificationJexlExpression } from "./scraper-specification-jexl
|
|
|
7
7
|
*/
|
|
8
8
|
export const ScraperSpecificationFlatAction = z
|
|
9
9
|
.readonly(z.object({
|
|
10
|
-
flattens:
|
|
10
|
+
flattens: ScraperSpecificationFlat,
|
|
11
11
|
}))
|
|
12
12
|
.register(z.globalRegistry, {
|
|
13
13
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-flat-action.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-flat-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"scraper-specification-flat-action.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-flat-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,wBAAwB;CACnC,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,2GAA2G;IAC/G,KAAK,EAAE,kDAAkD;IACzD,WAAW,EAAE,uCAAuC;IACpD,QAAQ,EACN,mGAAmG;IACrG,cAAc,EAAE;QACd,+FAA+F;KAChG;IACD,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a flattening of expressions used in a scraper specification.
|
|
4
|
+
*
|
|
5
|
+
* @author lengors
|
|
6
|
+
*/
|
|
7
|
+
export declare const ScraperSpecificationFlat: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
8
|
+
jexl: z.ZodMiniString<string>;
|
|
9
|
+
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
10
|
+
jexl: z.ZodMiniString<string>;
|
|
11
|
+
}, z.core.$strip>>>>]>;
|
|
12
|
+
export type ScraperSpecificationFlat = z.infer<typeof ScraperSpecificationFlat>;
|
|
13
|
+
//# sourceMappingURL=scraper-specification-flat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-flat.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-flat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;;;sBAejC,CAAC;AAEL,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationJexlExpression } from "./scraper-specification-jexl-specification.js";
|
|
3
|
+
/**
|
|
4
|
+
* Represents a flattening of expressions used in a scraper specification.
|
|
5
|
+
*
|
|
6
|
+
* @author lengors
|
|
7
|
+
*/
|
|
8
|
+
export const ScraperSpecificationFlat = z
|
|
9
|
+
.union([
|
|
10
|
+
ScraperSpecificationJexlExpression,
|
|
11
|
+
z
|
|
12
|
+
.readonly(z.array(ScraperSpecificationJexlExpression))
|
|
13
|
+
.register(z.globalRegistry, {
|
|
14
|
+
title: "Scraper specification handler's flattening expressions.",
|
|
15
|
+
description: "List of flattening expressions to flatten a result.",
|
|
16
|
+
}),
|
|
17
|
+
])
|
|
18
|
+
.register(z.globalRegistry, {
|
|
19
|
+
$schema: "http://json-schema.org/draft-07/schema",
|
|
20
|
+
id: "io/github/lengors/protoscout/domain/scrapers/specifications/models/scraper-specification-flat.json",
|
|
21
|
+
existingJavaType: "java.util.List<io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationJexlExpression>",
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=scraper-specification-flat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-flat.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-flat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AAEnG;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,KAAK,CAAC;IACL,kCAAkC;IAClC,CAAC;SACE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC;SACrD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;QAC1B,KAAK,EAAE,yDAAyD;QAChE,WAAW,EAAE,qDAAqD;KACnE,CAAC;CACL,CAAC;KACD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,oGAAoG;IACxG,gBAAgB,EACd,uHAAuH;CAC1H,CAAC,CAAC"}
|
|
@@ -21,9 +21,11 @@ export declare const ScraperSpecificationHandler: z.ZodMiniReadonly<z.ZodMiniObj
|
|
|
21
21
|
}, z.core.$strip>>]>>>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
action: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
24
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
24
|
+
flattens: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
25
25
|
jexl: z.ZodMiniString<string>;
|
|
26
|
-
}, z.core.$strip
|
|
26
|
+
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
27
|
+
jexl: z.ZodMiniString<string>;
|
|
28
|
+
}, z.core.$strip>>>>]>;
|
|
27
29
|
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
28
30
|
maps: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
29
31
|
jexl: z.ZodMiniString<string>;
|
|
@@ -104,72 +106,7 @@ export declare const ScraperSpecificationHandler: z.ZodMiniReadonly<z.ZodMiniObj
|
|
|
104
106
|
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
105
107
|
jexl: z.ZodMiniString<string>;
|
|
106
108
|
}, z.core.$strip>>]>>;
|
|
107
|
-
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
108
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
109
|
-
jexl: z.ZodMiniString<string>;
|
|
110
|
-
}, z.core.$strip>>]>;
|
|
111
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
112
|
-
jexl: z.ZodMiniString<string>;
|
|
113
|
-
}, z.core.$strip>>]>>;
|
|
114
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
115
|
-
jexl: z.ZodMiniString<string>;
|
|
116
|
-
}, z.core.$strip>>]>>;
|
|
117
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
118
|
-
availability: string | Readonly<{
|
|
119
|
-
jexl: string;
|
|
120
|
-
}>;
|
|
121
|
-
storage: string | Readonly<{
|
|
122
|
-
jexl: string;
|
|
123
|
-
}> | undefined;
|
|
124
|
-
deliveringOn: string | Readonly<{
|
|
125
|
-
jexl: string;
|
|
126
|
-
}> | undefined;
|
|
127
|
-
}, Readonly<{
|
|
128
|
-
availability: string | Readonly<{
|
|
129
|
-
jexl: string;
|
|
130
|
-
}>;
|
|
131
|
-
storage?: string | Readonly<{
|
|
132
|
-
jexl: string;
|
|
133
|
-
}> | undefined;
|
|
134
|
-
delivering_on?: string | Readonly<{
|
|
135
|
-
jexl: string;
|
|
136
|
-
}> | undefined;
|
|
137
|
-
}>>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
138
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
139
|
-
jexl: z.ZodMiniString<string>;
|
|
140
|
-
}, z.core.$strip>>;
|
|
141
|
-
extracts: z.ZodMiniPipe<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
142
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
143
|
-
jexl: z.ZodMiniString<string>;
|
|
144
|
-
}, z.core.$strip>>]>;
|
|
145
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
146
|
-
jexl: z.ZodMiniString<string>;
|
|
147
|
-
}, z.core.$strip>>]>>;
|
|
148
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
149
|
-
jexl: z.ZodMiniString<string>;
|
|
150
|
-
}, z.core.$strip>>]>>;
|
|
151
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
152
|
-
availability: string | Readonly<{
|
|
153
|
-
jexl: string;
|
|
154
|
-
}>;
|
|
155
|
-
storage: string | Readonly<{
|
|
156
|
-
jexl: string;
|
|
157
|
-
}> | undefined;
|
|
158
|
-
deliveringOn: string | Readonly<{
|
|
159
|
-
jexl: string;
|
|
160
|
-
}> | undefined;
|
|
161
|
-
}, Readonly<{
|
|
162
|
-
availability: string | Readonly<{
|
|
163
|
-
jexl: string;
|
|
164
|
-
}>;
|
|
165
|
-
storage?: string | Readonly<{
|
|
166
|
-
jexl: string;
|
|
167
|
-
}> | undefined;
|
|
168
|
-
delivering_on?: string | Readonly<{
|
|
169
|
-
jexl: string;
|
|
170
|
-
}> | undefined;
|
|
171
|
-
}>>>;
|
|
172
|
-
}, z.core.$strip>>]>>>>;
|
|
109
|
+
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<import("./scraper-specification-return-stock.js").ScraperSpecificationReturnStock, unknown, z.core.$ZodTypeInternals<import("./scraper-specification-return-stock.js").ScraperSpecificationReturnStock, unknown>>>>>;
|
|
173
110
|
grip: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
174
111
|
jexl: z.ZodMiniString<string>;
|
|
175
112
|
}, z.core.$strip>>]>>;
|
|
@@ -182,24 +119,7 @@ export declare const ScraperSpecificationHandler: z.ZodMiniReadonly<z.ZodMiniObj
|
|
|
182
119
|
consumption: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
183
120
|
jexl: z.ZodMiniString<string>;
|
|
184
121
|
}, z.core.$strip>>]>>;
|
|
185
|
-
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
186
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
187
|
-
jexl: z.ZodMiniString<string>;
|
|
188
|
-
}, z.core.$strip>>]>;
|
|
189
|
-
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
190
|
-
jexl: z.ZodMiniString<string>;
|
|
191
|
-
}, z.core.$strip>>]>;
|
|
192
|
-
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
193
|
-
jexl: z.ZodMiniString<string>;
|
|
194
|
-
}, z.core.$strip>>]>>;
|
|
195
|
-
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
196
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
197
|
-
jexl: z.ZodMiniString<string>;
|
|
198
|
-
}, z.core.$strip>>]>;
|
|
199
|
-
image: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
200
|
-
jexl: z.ZodMiniString<string>;
|
|
201
|
-
}, z.core.$strip>>]>;
|
|
202
|
-
}, z.core.$strip>>]>>>>;
|
|
122
|
+
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<import("./scraper-specification-return-detail.js").ScraperSpecificationReturnDetail, unknown, z.core.$ZodTypeInternals<import("./scraper-specification-return-detail.js").ScraperSpecificationReturnDetail, unknown>>>>>;
|
|
203
123
|
}, z.core.$strip>>;
|
|
204
124
|
}, z.core.$strip>>]>;
|
|
205
125
|
}, z.core.$strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-handler.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAQ7B;;;;GAIG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"scraper-specification-handler.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAQ7B;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA+BpC,CAAC;AAEL,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAC"}
|
|
@@ -23,72 +23,7 @@ export declare const ScraperSpecificationReturnAction: z.ZodMiniReadonly<z.ZodMi
|
|
|
23
23
|
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
24
24
|
jexl: z.ZodMiniString<string>;
|
|
25
25
|
}, z.core.$strip>>]>>;
|
|
26
|
-
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
27
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
28
|
-
jexl: z.ZodMiniString<string>;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
30
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
31
|
-
jexl: z.ZodMiniString<string>;
|
|
32
|
-
}, z.core.$strip>>]>>;
|
|
33
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
34
|
-
jexl: z.ZodMiniString<string>;
|
|
35
|
-
}, z.core.$strip>>]>>;
|
|
36
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
37
|
-
availability: string | Readonly<{
|
|
38
|
-
jexl: string;
|
|
39
|
-
}>;
|
|
40
|
-
storage: string | Readonly<{
|
|
41
|
-
jexl: string;
|
|
42
|
-
}> | undefined;
|
|
43
|
-
deliveringOn: string | Readonly<{
|
|
44
|
-
jexl: string;
|
|
45
|
-
}> | undefined;
|
|
46
|
-
}, Readonly<{
|
|
47
|
-
availability: string | Readonly<{
|
|
48
|
-
jexl: string;
|
|
49
|
-
}>;
|
|
50
|
-
storage?: string | Readonly<{
|
|
51
|
-
jexl: string;
|
|
52
|
-
}> | undefined;
|
|
53
|
-
delivering_on?: string | Readonly<{
|
|
54
|
-
jexl: string;
|
|
55
|
-
}> | undefined;
|
|
56
|
-
}>>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
57
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
58
|
-
jexl: z.ZodMiniString<string>;
|
|
59
|
-
}, z.core.$strip>>;
|
|
60
|
-
extracts: z.ZodMiniPipe<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
61
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
62
|
-
jexl: z.ZodMiniString<string>;
|
|
63
|
-
}, z.core.$strip>>]>;
|
|
64
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
65
|
-
jexl: z.ZodMiniString<string>;
|
|
66
|
-
}, z.core.$strip>>]>>;
|
|
67
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
68
|
-
jexl: z.ZodMiniString<string>;
|
|
69
|
-
}, z.core.$strip>>]>>;
|
|
70
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
71
|
-
availability: string | Readonly<{
|
|
72
|
-
jexl: string;
|
|
73
|
-
}>;
|
|
74
|
-
storage: string | Readonly<{
|
|
75
|
-
jexl: string;
|
|
76
|
-
}> | undefined;
|
|
77
|
-
deliveringOn: string | Readonly<{
|
|
78
|
-
jexl: string;
|
|
79
|
-
}> | undefined;
|
|
80
|
-
}, Readonly<{
|
|
81
|
-
availability: string | Readonly<{
|
|
82
|
-
jexl: string;
|
|
83
|
-
}>;
|
|
84
|
-
storage?: string | Readonly<{
|
|
85
|
-
jexl: string;
|
|
86
|
-
}> | undefined;
|
|
87
|
-
delivering_on?: string | Readonly<{
|
|
88
|
-
jexl: string;
|
|
89
|
-
}> | undefined;
|
|
90
|
-
}>>>;
|
|
91
|
-
}, z.core.$strip>>]>>>>;
|
|
26
|
+
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<import("./scraper-specification-return-stock.js").ScraperSpecificationReturnStock, unknown, z.core.$ZodTypeInternals<import("./scraper-specification-return-stock.js").ScraperSpecificationReturnStock, unknown>>>>>;
|
|
92
27
|
grip: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
93
28
|
jexl: z.ZodMiniString<string>;
|
|
94
29
|
}, z.core.$strip>>]>>;
|
|
@@ -101,24 +36,7 @@ export declare const ScraperSpecificationReturnAction: z.ZodMiniReadonly<z.ZodMi
|
|
|
101
36
|
consumption: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
102
37
|
jexl: z.ZodMiniString<string>;
|
|
103
38
|
}, z.core.$strip>>]>>;
|
|
104
|
-
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
105
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
106
|
-
jexl: z.ZodMiniString<string>;
|
|
107
|
-
}, z.core.$strip>>]>;
|
|
108
|
-
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
109
|
-
jexl: z.ZodMiniString<string>;
|
|
110
|
-
}, z.core.$strip>>]>;
|
|
111
|
-
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
112
|
-
jexl: z.ZodMiniString<string>;
|
|
113
|
-
}, z.core.$strip>>]>>;
|
|
114
|
-
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
115
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
116
|
-
jexl: z.ZodMiniString<string>;
|
|
117
|
-
}, z.core.$strip>>]>;
|
|
118
|
-
image: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
119
|
-
jexl: z.ZodMiniString<string>;
|
|
120
|
-
}, z.core.$strip>>]>;
|
|
121
|
-
}, z.core.$strip>>]>>>>;
|
|
39
|
+
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<import("./scraper-specification-return-detail.js").ScraperSpecificationReturnDetail, unknown, z.core.$ZodTypeInternals<import("./scraper-specification-return-detail.js").ScraperSpecificationReturnDetail, unknown>>>>>;
|
|
122
40
|
}, z.core.$strip>>;
|
|
123
41
|
}, z.core.$strip>>;
|
|
124
42
|
export type ScraperSpecificationReturnAction = z.infer<typeof ScraperSpecificationReturnAction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-action.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B;;;;GAIG;AACH,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-action.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B;;;;GAIG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBzC,CAAC;AAEL,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAC"}
|
|
@@ -17,7 +17,7 @@ export const ScraperSpecificationReturnDescriptionlessDetail = z
|
|
|
17
17
|
description: "Descriptionless detail data to be returned by scraper.",
|
|
18
18
|
javaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnDescriptionlessDetail",
|
|
19
19
|
javaInterfaces: [
|
|
20
|
-
"io.github.lengors.protoscout.domain.scrapers.specifications.models.
|
|
20
|
+
"io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnExtractDetail",
|
|
21
21
|
],
|
|
22
22
|
additionalProperties: false,
|
|
23
23
|
});
|
package/dist/scrapers/specifications/scraper-specification-return-descriptionless-detail.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-descriptionless-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-descriptionless-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;GAIG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC;KAC7D,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,8BAA8B;IACpC,KAAK,EAAE,8BAA8B;CACtC,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,6HAA6H;IACjI,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EACN,oHAAoH;IACtH,cAAc,EAAE;QACd,
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-descriptionless-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-descriptionless-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;GAIG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC;KAC7D,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,8BAA8B;IACpC,KAAK,EAAE,8BAA8B;CACtC,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,6HAA6H;IACjI,KAAK,EAAE,6CAA6C;IACpD,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EACN,oHAAoH;IACtH,cAAc,EAAE;QACd,4GAA4G;KAC7G;IACD,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -18,7 +18,7 @@ export const ScraperSpecificationReturnDescriptiveDetail = z
|
|
|
18
18
|
description: "Descriptive detail data to be returned by scraper.",
|
|
19
19
|
javaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnDescriptiveDetail",
|
|
20
20
|
javaInterfaces: [
|
|
21
|
-
"io.github.lengors.protoscout.domain.scrapers.specifications.models.
|
|
21
|
+
"io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnExtractDetail",
|
|
22
22
|
],
|
|
23
23
|
additionalProperties: false,
|
|
24
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-descriptive-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-descriptive-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;GAIG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,CAAC;KACzD,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;CAClD,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,yHAAyH;IAC7H,KAAK,EAAE,yCAAyC;IAChD,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EACN,gHAAgH;IAClH,cAAc,EAAE;QACd,
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-descriptive-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-descriptive-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AAEvF;;;;GAIG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAG,CAAC;KACzD,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;CAClD,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,yHAAyH;IAC7H,KAAK,EAAE,yCAAyC;IAChD,WAAW,EAAE,oDAAoD;IACjE,QAAQ,EACN,gHAAgH;IAClH,cAAc,EAAE;QACd,4GAA4G;KAC7G;IACD,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnExtractDetail } from "./scraper-specification-return-extract-detail.js";
|
|
3
|
+
import { ScraperSpecificationReturnFlatDetail } from "./scraper-specification-return-flat-detail.js";
|
|
4
|
+
export type ScraperSpecificationReturnDetail = ScraperSpecificationReturnExtractDetail | ScraperSpecificationReturnFlatDetail;
|
|
2
5
|
/**
|
|
3
6
|
* Represents a detail data specification to be returned by a scraper.
|
|
4
7
|
*
|
|
5
8
|
* @author lengors
|
|
6
9
|
*/
|
|
7
|
-
export declare const ScraperSpecificationReturnDetail: z.
|
|
8
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
9
|
-
jexl: z.ZodMiniString<string>;
|
|
10
|
-
}, z.core.$strip>>]>;
|
|
11
|
-
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
12
|
-
jexl: z.ZodMiniString<string>;
|
|
13
|
-
}, z.core.$strip>>]>;
|
|
14
|
-
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
15
|
-
jexl: z.ZodMiniString<string>;
|
|
16
|
-
}, z.core.$strip>>]>>;
|
|
17
|
-
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
18
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
19
|
-
jexl: z.ZodMiniString<string>;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
21
|
-
image: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
22
|
-
jexl: z.ZodMiniString<string>;
|
|
23
|
-
}, z.core.$strip>>]>;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
25
|
-
export type ScraperSpecificationReturnDetail = z.infer<typeof ScraperSpecificationReturnDetail>;
|
|
10
|
+
export declare const ScraperSpecificationReturnDetail: z.ZodMiniType<ScraperSpecificationReturnDetail>;
|
|
26
11
|
//# sourceMappingURL=scraper-specification-return-detail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-detail.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-detail.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAErG,MAAM,MAAM,gCAAgC,GACxC,uCAAuC,GACvC,oCAAoC,CAAC;AAEzC;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,WAAW,CAAC,gCAAgC,CAWvF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/mini";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ScraperSpecificationReturnExtractDetail } from "./scraper-specification-return-extract-detail.js";
|
|
3
|
+
import { ScraperSpecificationReturnFlatDetail } from "./scraper-specification-return-flat-detail.js";
|
|
4
4
|
/**
|
|
5
5
|
* Represents a detail data specification to be returned by a scraper.
|
|
6
6
|
*
|
|
@@ -8,8 +8,8 @@ import { ScraperSpecificationReturnDescriptionlessDetail } from "./scraper-speci
|
|
|
8
8
|
*/
|
|
9
9
|
export const ScraperSpecificationReturnDetail = z
|
|
10
10
|
.union([
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
ScraperSpecificationReturnExtractDetail,
|
|
12
|
+
ScraperSpecificationReturnFlatDetail,
|
|
13
13
|
])
|
|
14
14
|
.register(z.globalRegistry, {
|
|
15
15
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,oCAAoC,EAAE,MAAM,+CAA+C,CAAC;AAMrG;;;;GAIG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,CAAC;KACE,KAAK,CAAC;IACL,uCAAuC;IACvC,oCAAoC;CACrC,CAAC;KACD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,6GAA6G;IACjH,gBAAgB,EACd,qGAAqG;CACxG,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a detail data specification to be returned by a scraper, including extraction of the detail data.
|
|
4
|
+
*
|
|
5
|
+
* @author lengors
|
|
6
|
+
*/
|
|
7
|
+
export declare const ScraperSpecificationReturnExtractDetail: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
8
|
+
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
9
|
+
jexl: z.ZodMiniString<string>;
|
|
10
|
+
}, z.core.$strip>>]>;
|
|
11
|
+
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
12
|
+
jexl: z.ZodMiniString<string>;
|
|
13
|
+
}, z.core.$strip>>]>;
|
|
14
|
+
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
15
|
+
jexl: z.ZodMiniString<string>;
|
|
16
|
+
}, z.core.$strip>>]>>;
|
|
17
|
+
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
18
|
+
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
19
|
+
jexl: z.ZodMiniString<string>;
|
|
20
|
+
}, z.core.$strip>>]>;
|
|
21
|
+
image: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
22
|
+
jexl: z.ZodMiniString<string>;
|
|
23
|
+
}, z.core.$strip>>]>;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
25
|
+
export type ScraperSpecificationReturnExtractDetail = z.infer<typeof ScraperSpecificationReturnExtractDetail>;
|
|
26
|
+
//# sourceMappingURL=scraper-specification-return-extract-detail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-extract-detail.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-extract-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAI7B;;;;GAIG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;oBAUhD,CAAC;AAEL,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,uCAAuC,CAC/C,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnDescriptiveDetail } from "./scraper-specification-return-descriptive-detail.js";
|
|
3
|
+
import { ScraperSpecificationReturnDescriptionlessDetail } from "./scraper-specification-return-descriptionless-detail.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a detail data specification to be returned by a scraper, including extraction of the detail data.
|
|
6
|
+
*
|
|
7
|
+
* @author lengors
|
|
8
|
+
*/
|
|
9
|
+
export const ScraperSpecificationReturnExtractDetail = z
|
|
10
|
+
.union([
|
|
11
|
+
ScraperSpecificationReturnDescriptiveDetail,
|
|
12
|
+
ScraperSpecificationReturnDescriptionlessDetail,
|
|
13
|
+
])
|
|
14
|
+
.register(z.globalRegistry, {
|
|
15
|
+
$schema: "http://json-schema.org/draft-07/schema",
|
|
16
|
+
id: "io/github/lengors/protoscout/domain/scrapers/specifications/models/scraper-specification-return-extract-detail.json",
|
|
17
|
+
existingJavaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnExtractDetail",
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=scraper-specification-return-extract-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-extract-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-extract-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,2CAA2C,EAAE,MAAM,sDAAsD,CAAC;AACnH,OAAO,EAAE,+CAA+C,EAAE,MAAM,0DAA0D,CAAC;AAE3H;;;;GAIG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC;KACrD,KAAK,CAAC;IACL,2CAA2C;IAC3C,+CAA+C;CAChD,CAAC;KACD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,qHAAqH;IACzH,gBAAgB,EACd,4GAA4G;CAC/G,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnDetail } from "./scraper-specification-return-detail.js";
|
|
3
|
+
import { ScraperSpecificationFlat } from "./scraper-specification-flat.js";
|
|
4
|
+
export interface ScraperSpecificationReturnFlatDetail {
|
|
5
|
+
readonly flattens: ScraperSpecificationFlat;
|
|
6
|
+
readonly extracts: ScraperSpecificationReturnDetail;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Represents a detail data specification to be returned by a scraper, including flattening of the detail data.
|
|
10
|
+
*
|
|
11
|
+
* @author lengors
|
|
12
|
+
*/
|
|
13
|
+
export declare const ScraperSpecificationReturnFlatDetail: z.ZodMiniType<ScraperSpecificationReturnFlatDetail>;
|
|
14
|
+
//# sourceMappingURL=scraper-specification-return-flat-detail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-flat-detail.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-flat-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;IAC5C,QAAQ,CAAC,QAAQ,EAAE,gCAAgC,CAAC;CACrD;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAAC,oCAAoC,CAoB/F,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnDetail } from "./scraper-specification-return-detail.js";
|
|
3
|
+
import { ScraperSpecificationFlat } from "./scraper-specification-flat.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a detail data specification to be returned by a scraper, including flattening of the detail data.
|
|
6
|
+
*
|
|
7
|
+
* @author lengors
|
|
8
|
+
*/
|
|
9
|
+
export const ScraperSpecificationReturnFlatDetail = z
|
|
10
|
+
.readonly(z.object({
|
|
11
|
+
flattens: ScraperSpecificationFlat,
|
|
12
|
+
extracts: z.lazy(() => ScraperSpecificationReturnDetail),
|
|
13
|
+
}))
|
|
14
|
+
.register(z.globalRegistry, {
|
|
15
|
+
$schema: "http://json-schema.org/draft-07/schema",
|
|
16
|
+
id: "io/github/lengors/protoscout/domain/scrapers/specifications/models/scraper-specification-return-flat-detail.json",
|
|
17
|
+
title: "Scraper return detail flatting data.",
|
|
18
|
+
description: "Flat detail data from expression that's to be returned by scraper.",
|
|
19
|
+
javaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnFlatDetail",
|
|
20
|
+
javaInterfaces: [
|
|
21
|
+
"io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnDetail",
|
|
22
|
+
],
|
|
23
|
+
additionalProperties: false,
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=scraper-specification-return-flat-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-flat-detail.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-flat-detail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAO3E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAC/C,CAAC;KACE,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,wBAAwB;IAClC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC;CACzD,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,kHAAkH;IACtH,KAAK,EAAE,sCAAsC;IAC7C,WAAW,EACT,oEAAoE;IACtE,QAAQ,EACN,yGAAyG;IAC3G,cAAc,EAAE;QACd,qGAAqG;KACtG;IACD,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -1,44 +1,14 @@
|
|
|
1
1
|
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnStock } from "./scraper-specification-return-stock.js";
|
|
3
|
+
import { ScraperSpecificationFlat } from "./scraper-specification-flat.js";
|
|
4
|
+
export interface ScraperSpecificationReturnFlatStock {
|
|
5
|
+
readonly flattens: ScraperSpecificationFlat;
|
|
6
|
+
readonly extracts: ScraperSpecificationReturnStock;
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* Represents a stock data specification to be returned by a scraper, including flattening of the stock data.
|
|
4
10
|
*
|
|
5
11
|
* @author lengors
|
|
6
12
|
*/
|
|
7
|
-
export declare const ScraperSpecificationReturnFlatStock: z.
|
|
8
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
9
|
-
jexl: z.ZodMiniString<string>;
|
|
10
|
-
}, z.core.$strip>>;
|
|
11
|
-
extracts: z.ZodMiniPipe<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
12
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
13
|
-
jexl: z.ZodMiniString<string>;
|
|
14
|
-
}, z.core.$strip>>]>;
|
|
15
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
16
|
-
jexl: z.ZodMiniString<string>;
|
|
17
|
-
}, z.core.$strip>>]>>;
|
|
18
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
19
|
-
jexl: z.ZodMiniString<string>;
|
|
20
|
-
}, z.core.$strip>>]>>;
|
|
21
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
22
|
-
availability: string | Readonly<{
|
|
23
|
-
jexl: string;
|
|
24
|
-
}>;
|
|
25
|
-
storage: string | Readonly<{
|
|
26
|
-
jexl: string;
|
|
27
|
-
}> | undefined;
|
|
28
|
-
deliveringOn: string | Readonly<{
|
|
29
|
-
jexl: string;
|
|
30
|
-
}> | undefined;
|
|
31
|
-
}, Readonly<{
|
|
32
|
-
availability: string | Readonly<{
|
|
33
|
-
jexl: string;
|
|
34
|
-
}>;
|
|
35
|
-
storage?: string | Readonly<{
|
|
36
|
-
jexl: string;
|
|
37
|
-
}> | undefined;
|
|
38
|
-
delivering_on?: string | Readonly<{
|
|
39
|
-
jexl: string;
|
|
40
|
-
}> | undefined;
|
|
41
|
-
}>>>;
|
|
42
|
-
}, z.core.$strip>>;
|
|
43
|
-
export type ScraperSpecificationReturnFlatStock = z.infer<typeof ScraperSpecificationReturnFlatStock>;
|
|
13
|
+
export declare const ScraperSpecificationReturnFlatStock: z.ZodMiniType<ScraperSpecificationReturnFlatStock>;
|
|
44
14
|
//# sourceMappingURL=scraper-specification-return-flat-stock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-flat-stock.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-flat-stock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-flat-stock.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-flat-stock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,MAAM,WAAW,mCAAmC;IAClD,QAAQ,CAAC,QAAQ,EAAE,wBAAwB,CAAC;IAC5C,QAAQ,CAAC,QAAQ,EAAE,+BAA+B,CAAC;CACpD;AAED;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAAC,mCAAmC,CAoB7F,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/mini";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { ScraperSpecificationReturnStock } from "./scraper-specification-return-stock.js";
|
|
3
|
+
import { ScraperSpecificationFlat } from "./scraper-specification-flat.js";
|
|
4
4
|
/**
|
|
5
5
|
* Represents a stock data specification to be returned by a scraper, including flattening of the stock data.
|
|
6
6
|
*
|
|
@@ -8,8 +8,8 @@ import { ScraperSpecificationReturnExtractStock } from "./scraper-specification-
|
|
|
8
8
|
*/
|
|
9
9
|
export const ScraperSpecificationReturnFlatStock = z
|
|
10
10
|
.readonly(z.object({
|
|
11
|
-
flattens:
|
|
12
|
-
extracts:
|
|
11
|
+
flattens: ScraperSpecificationFlat,
|
|
12
|
+
extracts: z.lazy(() => ScraperSpecificationReturnStock),
|
|
13
13
|
}))
|
|
14
14
|
.register(z.globalRegistry, {
|
|
15
15
|
$schema: "http://json-schema.org/draft-07/schema",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return-flat-stock.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-flat-stock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-flat-stock.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-flat-stock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAO3E;;;;GAIG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAC9C,CAAC;KACE,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,wBAAwB;IAClC,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;CACxD,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,iHAAiH;IACrH,KAAK,EAAE,qCAAqC;IAC5C,WAAW,EACT,mEAAmE;IACrE,QAAQ,EACN,wGAAwG;IAC1G,cAAc,EAAE;QACd,oGAAoG;KACrG;IACD,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnExtractStock } from "./scraper-specification-return-extract-stock.js";
|
|
3
|
+
import { ScraperSpecificationReturnFlatStock } from "./scraper-specification-return-flat-stock.js";
|
|
4
|
+
export type ScraperSpecificationReturnStock = ScraperSpecificationReturnExtractStock | ScraperSpecificationReturnFlatStock;
|
|
5
|
+
/**
|
|
6
|
+
* Represents a stock data specification to be returned by a scraper.
|
|
7
|
+
*
|
|
8
|
+
* @author lengors
|
|
9
|
+
*/
|
|
10
|
+
export declare const ScraperSpecificationReturnStock: z.ZodMiniType<ScraperSpecificationReturnStock>;
|
|
11
|
+
//# sourceMappingURL=scraper-specification-return-stock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-stock.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-stock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,sCAAsC,EAAE,MAAM,iDAAiD,CAAC;AACzG,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA8C,CAAC;AAEnG,MAAM,MAAM,+BAA+B,GACvC,sCAAsC,GACtC,mCAAmC,CAAC;AAExC;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,WAAW,CAAC,+BAA+B,CAWrF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnExtractStock } from "./scraper-specification-return-extract-stock.js";
|
|
3
|
+
import { ScraperSpecificationReturnFlatStock } from "./scraper-specification-return-flat-stock.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a stock data specification to be returned by a scraper.
|
|
6
|
+
*
|
|
7
|
+
* @author lengors
|
|
8
|
+
*/
|
|
9
|
+
export const ScraperSpecificationReturnStock = z
|
|
10
|
+
.union([
|
|
11
|
+
ScraperSpecificationReturnExtractStock,
|
|
12
|
+
ScraperSpecificationReturnFlatStock,
|
|
13
|
+
])
|
|
14
|
+
.register(z.globalRegistry, {
|
|
15
|
+
$schema: "http://json-schema.org/draft-07/schema",
|
|
16
|
+
id: "io/github/lengors/protoscout/domain/scrapers/specifications/models/scraper-specification-return-stock.json",
|
|
17
|
+
existingJavaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnStock",
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=scraper-specification-return-stock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraper-specification-return-stock.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return-stock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,sCAAsC,EAAE,MAAM,iDAAiD,CAAC;AACzG,OAAO,EAAE,mCAAmC,EAAE,MAAM,8CAA8C,CAAC;AAMnG;;;;GAIG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC;KACE,KAAK,CAAC;IACL,sCAAsC;IACtC,mCAAmC;CACpC,CAAC;KACD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,4GAA4G;IAChH,gBAAgB,EACd,oGAAoG;CACvG,CAAC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/mini";
|
|
2
|
+
import { ScraperSpecificationReturnDetail } from "./scraper-specification-return-detail.js";
|
|
3
|
+
import { ScraperSpecificationReturnStock } from "./scraper-specification-return-stock.js";
|
|
2
4
|
/**
|
|
3
5
|
* Represents a return data specification to be returned by a scraper.
|
|
4
6
|
*
|
|
@@ -22,72 +24,7 @@ export declare const ScraperSpecificationReturn: z.ZodMiniReadonly<z.ZodMiniObje
|
|
|
22
24
|
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
23
25
|
jexl: z.ZodMiniString<string>;
|
|
24
26
|
}, z.core.$strip>>]>>;
|
|
25
|
-
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
26
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
27
|
-
jexl: z.ZodMiniString<string>;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
29
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
30
|
-
jexl: z.ZodMiniString<string>;
|
|
31
|
-
}, z.core.$strip>>]>>;
|
|
32
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
33
|
-
jexl: z.ZodMiniString<string>;
|
|
34
|
-
}, z.core.$strip>>]>>;
|
|
35
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
36
|
-
availability: string | Readonly<{
|
|
37
|
-
jexl: string;
|
|
38
|
-
}>;
|
|
39
|
-
storage: string | Readonly<{
|
|
40
|
-
jexl: string;
|
|
41
|
-
}> | undefined;
|
|
42
|
-
deliveringOn: string | Readonly<{
|
|
43
|
-
jexl: string;
|
|
44
|
-
}> | undefined;
|
|
45
|
-
}, Readonly<{
|
|
46
|
-
availability: string | Readonly<{
|
|
47
|
-
jexl: string;
|
|
48
|
-
}>;
|
|
49
|
-
storage?: string | Readonly<{
|
|
50
|
-
jexl: string;
|
|
51
|
-
}> | undefined;
|
|
52
|
-
delivering_on?: string | Readonly<{
|
|
53
|
-
jexl: string;
|
|
54
|
-
}> | undefined;
|
|
55
|
-
}>>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
56
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
57
|
-
jexl: z.ZodMiniString<string>;
|
|
58
|
-
}, z.core.$strip>>;
|
|
59
|
-
extracts: z.ZodMiniPipe<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
60
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
61
|
-
jexl: z.ZodMiniString<string>;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
63
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
64
|
-
jexl: z.ZodMiniString<string>;
|
|
65
|
-
}, z.core.$strip>>]>>;
|
|
66
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
67
|
-
jexl: z.ZodMiniString<string>;
|
|
68
|
-
}, z.core.$strip>>]>>;
|
|
69
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
70
|
-
availability: string | Readonly<{
|
|
71
|
-
jexl: string;
|
|
72
|
-
}>;
|
|
73
|
-
storage: string | Readonly<{
|
|
74
|
-
jexl: string;
|
|
75
|
-
}> | undefined;
|
|
76
|
-
deliveringOn: string | Readonly<{
|
|
77
|
-
jexl: string;
|
|
78
|
-
}> | undefined;
|
|
79
|
-
}, Readonly<{
|
|
80
|
-
availability: string | Readonly<{
|
|
81
|
-
jexl: string;
|
|
82
|
-
}>;
|
|
83
|
-
storage?: string | Readonly<{
|
|
84
|
-
jexl: string;
|
|
85
|
-
}> | undefined;
|
|
86
|
-
delivering_on?: string | Readonly<{
|
|
87
|
-
jexl: string;
|
|
88
|
-
}> | undefined;
|
|
89
|
-
}>>>;
|
|
90
|
-
}, z.core.$strip>>]>>>>;
|
|
27
|
+
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<ScraperSpecificationReturnStock, unknown, z.core.$ZodTypeInternals<ScraperSpecificationReturnStock, unknown>>>>>;
|
|
91
28
|
grip: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
92
29
|
jexl: z.ZodMiniString<string>;
|
|
93
30
|
}, z.core.$strip>>]>>;
|
|
@@ -100,24 +37,7 @@ export declare const ScraperSpecificationReturn: z.ZodMiniReadonly<z.ZodMiniObje
|
|
|
100
37
|
consumption: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
101
38
|
jexl: z.ZodMiniString<string>;
|
|
102
39
|
}, z.core.$strip>>]>>;
|
|
103
|
-
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
104
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
105
|
-
jexl: z.ZodMiniString<string>;
|
|
106
|
-
}, z.core.$strip>>]>;
|
|
107
|
-
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
108
|
-
jexl: z.ZodMiniString<string>;
|
|
109
|
-
}, z.core.$strip>>]>;
|
|
110
|
-
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
111
|
-
jexl: z.ZodMiniString<string>;
|
|
112
|
-
}, z.core.$strip>>]>>;
|
|
113
|
-
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
114
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
115
|
-
jexl: z.ZodMiniString<string>;
|
|
116
|
-
}, z.core.$strip>>]>;
|
|
117
|
-
image: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
118
|
-
jexl: z.ZodMiniString<string>;
|
|
119
|
-
}, z.core.$strip>>]>;
|
|
120
|
-
}, z.core.$strip>>]>>>>;
|
|
40
|
+
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<ScraperSpecificationReturnDetail, unknown, z.core.$ZodTypeInternals<ScraperSpecificationReturnDetail, unknown>>>>>;
|
|
121
41
|
}, z.core.$strip>>;
|
|
122
42
|
export type ScraperSpecificationReturn = z.infer<typeof ScraperSpecificationReturn>;
|
|
123
43
|
//# sourceMappingURL=scraper-specification-return.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"scraper-specification-return.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAG7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsCnC,CAAC;AAEL,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,0BAA0B,CAClC,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { z } from "zod/mini";
|
|
|
2
2
|
import { ScraperSpecificationExpression } from "./scraper-specification-expression.js";
|
|
3
3
|
import { ScraperSpecificationReturnBrand } from "./scraper-specification-return-brand.js";
|
|
4
4
|
import { ScraperSpecificationReturnDetail } from "./scraper-specification-return-detail.js";
|
|
5
|
-
import {
|
|
6
|
-
import { ScraperSpecificationReturnFlatStock } from "./scraper-specification-return-flat-stock.js";
|
|
5
|
+
import { ScraperSpecificationReturnStock } from "./scraper-specification-return-stock.js";
|
|
7
6
|
/**
|
|
8
7
|
* Represents a return data specification to be returned by a scraper.
|
|
9
8
|
*
|
|
@@ -16,14 +15,7 @@ export const ScraperSpecificationReturn = z
|
|
|
16
15
|
price: ScraperSpecificationExpression,
|
|
17
16
|
image: z.optional(ScraperSpecificationExpression),
|
|
18
17
|
stocks: z.optional(z
|
|
19
|
-
.readonly(z.array(
|
|
20
|
-
.union([
|
|
21
|
-
ScraperSpecificationReturnExtractStock,
|
|
22
|
-
ScraperSpecificationReturnFlatStock,
|
|
23
|
-
])
|
|
24
|
-
.register(z.globalRegistry, {
|
|
25
|
-
existingJavaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationReturnStock",
|
|
26
|
-
})))
|
|
18
|
+
.readonly(z.array(ScraperSpecificationReturnStock))
|
|
27
19
|
.register(z.globalRegistry, {
|
|
28
20
|
title: "Scraper return stock data list.",
|
|
29
21
|
description: "List of stock data to be returned by scraper.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification-return.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"scraper-specification-return.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,8BAA8B;IAC3C,KAAK,EAAE,+BAA+B;IACtC,KAAK,EAAE,8BAA8B;IACrC,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAChB,CAAC;SACE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;SAClD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;QAC1B,KAAK,EAAE,iCAAiC;QACxC,WAAW,EAAE,+CAA+C;KAC7D,CAAC,CACL;IACD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAChD,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACjD,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACpD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACvD,OAAO,EAAE,CAAC,CAAC,QAAQ,CACjB,CAAC;SACE,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;SACnD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;QAC1B,KAAK,EAAE,kCAAkC;QACzC,WAAW,EAAE,gDAAgD;KAC9D,CAAC,CACL;CACF,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,sGAAsG;IAC1G,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE,iCAAiC;IAC9C,QAAQ,EACN,+FAA+F;IACjG,cAAc,EAAE,CAAC,sBAAsB,CAAC;IACxC,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
|
|
@@ -71,9 +71,11 @@ export declare const ScraperSpecification: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
|
71
71
|
}, z.core.$strip>>]>>>;
|
|
72
72
|
}, z.core.$strip>>;
|
|
73
73
|
action: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
74
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
74
|
+
flattens: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
75
75
|
jexl: z.ZodMiniString<string>;
|
|
76
|
-
}, z.core.$strip
|
|
76
|
+
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
77
|
+
jexl: z.ZodMiniString<string>;
|
|
78
|
+
}, z.core.$strip>>>>]>;
|
|
77
79
|
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
78
80
|
maps: z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
79
81
|
jexl: z.ZodMiniString<string>;
|
|
@@ -154,72 +156,7 @@ export declare const ScraperSpecification: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
|
154
156
|
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
155
157
|
jexl: z.ZodMiniString<string>;
|
|
156
158
|
}, z.core.$strip>>]>>;
|
|
157
|
-
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
158
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
159
|
-
jexl: z.ZodMiniString<string>;
|
|
160
|
-
}, z.core.$strip>>]>;
|
|
161
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
162
|
-
jexl: z.ZodMiniString<string>;
|
|
163
|
-
}, z.core.$strip>>]>>;
|
|
164
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
165
|
-
jexl: z.ZodMiniString<string>;
|
|
166
|
-
}, z.core.$strip>>]>>;
|
|
167
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
168
|
-
availability: string | Readonly<{
|
|
169
|
-
jexl: string;
|
|
170
|
-
}>;
|
|
171
|
-
storage: string | Readonly<{
|
|
172
|
-
jexl: string;
|
|
173
|
-
}> | undefined;
|
|
174
|
-
deliveringOn: string | Readonly<{
|
|
175
|
-
jexl: string;
|
|
176
|
-
}> | undefined;
|
|
177
|
-
}, Readonly<{
|
|
178
|
-
availability: string | Readonly<{
|
|
179
|
-
jexl: string;
|
|
180
|
-
}>;
|
|
181
|
-
storage?: string | Readonly<{
|
|
182
|
-
jexl: string;
|
|
183
|
-
}> | undefined;
|
|
184
|
-
delivering_on?: string | Readonly<{
|
|
185
|
-
jexl: string;
|
|
186
|
-
}> | undefined;
|
|
187
|
-
}>>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
188
|
-
flattens: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
189
|
-
jexl: z.ZodMiniString<string>;
|
|
190
|
-
}, z.core.$strip>>;
|
|
191
|
-
extracts: z.ZodMiniPipe<z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
192
|
-
availability: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
193
|
-
jexl: z.ZodMiniString<string>;
|
|
194
|
-
}, z.core.$strip>>]>;
|
|
195
|
-
storage: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
196
|
-
jexl: z.ZodMiniString<string>;
|
|
197
|
-
}, z.core.$strip>>]>>;
|
|
198
|
-
delivering_on: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
199
|
-
jexl: z.ZodMiniString<string>;
|
|
200
|
-
}, z.core.$strip>>]>>;
|
|
201
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
202
|
-
availability: string | Readonly<{
|
|
203
|
-
jexl: string;
|
|
204
|
-
}>;
|
|
205
|
-
storage: string | Readonly<{
|
|
206
|
-
jexl: string;
|
|
207
|
-
}> | undefined;
|
|
208
|
-
deliveringOn: string | Readonly<{
|
|
209
|
-
jexl: string;
|
|
210
|
-
}> | undefined;
|
|
211
|
-
}, Readonly<{
|
|
212
|
-
availability: string | Readonly<{
|
|
213
|
-
jexl: string;
|
|
214
|
-
}>;
|
|
215
|
-
storage?: string | Readonly<{
|
|
216
|
-
jexl: string;
|
|
217
|
-
}> | undefined;
|
|
218
|
-
delivering_on?: string | Readonly<{
|
|
219
|
-
jexl: string;
|
|
220
|
-
}> | undefined;
|
|
221
|
-
}>>>;
|
|
222
|
-
}, z.core.$strip>>]>>>>;
|
|
159
|
+
stocks: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<import("./scraper-specification-return-stock.js").ScraperSpecificationReturnStock, unknown, z.core.$ZodTypeInternals<import("./scraper-specification-return-stock.js").ScraperSpecificationReturnStock, unknown>>>>>;
|
|
223
160
|
grip: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
224
161
|
jexl: z.ZodMiniString<string>;
|
|
225
162
|
}, z.core.$strip>>]>>;
|
|
@@ -232,24 +169,7 @@ export declare const ScraperSpecification: z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
|
232
169
|
consumption: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
233
170
|
jexl: z.ZodMiniString<string>;
|
|
234
171
|
}, z.core.$strip>>]>>;
|
|
235
|
-
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.
|
|
236
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
237
|
-
jexl: z.ZodMiniString<string>;
|
|
238
|
-
}, z.core.$strip>>]>;
|
|
239
|
-
description: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
240
|
-
jexl: z.ZodMiniString<string>;
|
|
241
|
-
}, z.core.$strip>>]>;
|
|
242
|
-
image: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
243
|
-
jexl: z.ZodMiniString<string>;
|
|
244
|
-
}, z.core.$strip>>]>>;
|
|
245
|
-
}, z.core.$strip>>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
246
|
-
name: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
247
|
-
jexl: z.ZodMiniString<string>;
|
|
248
|
-
}, z.core.$strip>>]>;
|
|
249
|
-
image: z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniReadonly<z.ZodMiniObject<{
|
|
250
|
-
jexl: z.ZodMiniString<string>;
|
|
251
|
-
}, z.core.$strip>>]>;
|
|
252
|
-
}, z.core.$strip>>]>>>>;
|
|
172
|
+
details: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniType<import("./scraper-specification-return-detail.js").ScraperSpecificationReturnDetail, unknown, z.core.$ZodTypeInternals<import("./scraper-specification-return-detail.js").ScraperSpecificationReturnDetail, unknown>>>>>;
|
|
253
173
|
}, z.core.$strip>>;
|
|
254
174
|
}, z.core.$strip>>]>;
|
|
255
175
|
}, z.core.$strip>>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper-specification.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAI7B;;;;GAIG;AACH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"scraper-specification.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAI7B;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyB7B,CAAC;AAEL,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|