@lengors/protoscout-schemas 2.3.0-dev.1 → 2.4.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.
@@ -76,11 +76,12 @@ export declare const ScraperSpecificationHandler: z.ZodMiniReadonly<z.ZodMiniObj
76
76
  jexl: z.ZodMiniString<string>;
77
77
  }, z.core.$strip>>]>>>;
78
78
  }, z.core.$strip>>]>>;
79
- parser: z.ZodMiniEnum<{
79
+ parser: z.ZodMiniOptional<z.ZodMiniEnum<{
80
80
  json: "json";
81
+ auto: "auto";
81
82
  html: "html";
82
83
  text: "text";
83
- }>;
84
+ }>>;
84
85
  }, z.core.$strip>>;
85
86
  maps: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
86
87
  jexl: z.ZodMiniString<string>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA+BpC,CAAC;AAEL,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAC"}
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"}
@@ -48,11 +48,12 @@ export declare const ScraperSpecificationRequestAction: z.ZodMiniReadonly<z.ZodM
48
48
  jexl: z.ZodMiniString<string>;
49
49
  }, z.core.$strip>>]>>>;
50
50
  }, z.core.$strip>>]>>;
51
- parser: z.ZodMiniEnum<{
51
+ parser: z.ZodMiniOptional<z.ZodMiniEnum<{
52
52
  json: "json";
53
+ auto: "auto";
53
54
  html: "html";
54
55
  text: "text";
55
- }>;
56
+ }>>;
56
57
  }, z.core.$strip>>;
57
58
  maps: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
58
59
  jexl: z.ZodMiniString<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"scraper-specification-request-action.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAI7B;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkB1C,CAAC;AAEL,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC"}
1
+ {"version":3,"file":"scraper-specification-request-action.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAI7B;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkB1C,CAAC;AAEL,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC"}
@@ -6,6 +6,7 @@ import { z } from "zod/mini";
6
6
  */
7
7
  export declare const ScraperSpecificationRequestParser: z.ZodMiniEnum<{
8
8
  json: "json";
9
+ auto: "auto";
9
10
  html: "html";
10
11
  text: "text";
11
12
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"scraper-specification-request-parser.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAE7B;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;;;;EAS1C,CAAC;AAEL,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC"}
1
+ {"version":3,"file":"scraper-specification-request-parser.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAE7B;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;;;;;EAS1C,CAAC;AAEL,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,iCAAiC,CACzC,CAAC"}
@@ -5,7 +5,7 @@ import { z } from "zod/mini";
5
5
  * @author lengors
6
6
  */
7
7
  export const ScraperSpecificationRequestParser = z
8
- .enum(["html", "json", "text"])
8
+ .enum(["auto", "html", "json", "text"])
9
9
  .register(z.globalRegistry, {
10
10
  $schema: "http://json-schema.org/draft-07/schema",
11
11
  id: "io/github/lengors/protoscout/domain/scrapers/specifications/models/scraper-specification-request-parser.json",
@@ -1 +1 @@
1
- {"version":3,"file":"scraper-specification-request-parser.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAE7B;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KAC9B,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,8GAA8G;IAClH,KAAK,EAAE,oCAAoC;IAC3C,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EACN,sGAAsG;CACzG,CAAC,CAAC"}
1
+ {"version":3,"file":"scraper-specification-request-parser.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request-parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAE7B;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KACtC,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,8GAA8G;IAClH,KAAK,EAAE,oCAAoC;IAC3C,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EACN,sGAAsG;CACzG,CAAC,CAAC"}
@@ -47,11 +47,12 @@ export declare const ScraperSpecificationRequest: z.ZodMiniReadonly<z.ZodMiniObj
47
47
  jexl: z.ZodMiniString<string>;
48
48
  }, z.core.$strip>>]>>>;
49
49
  }, z.core.$strip>>]>>;
50
- parser: z.ZodMiniEnum<{
50
+ parser: z.ZodMiniOptional<z.ZodMiniEnum<{
51
51
  json: "json";
52
+ auto: "auto";
52
53
  html: "html";
53
54
  text: "text";
54
- }>;
55
+ }>>;
55
56
  }, z.core.$strip>>;
56
57
  export type ScraperSpecificationRequest = z.infer<typeof ScraperSpecificationRequest>;
57
58
  //# sourceMappingURL=scraper-specification-request.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scraper-specification-request.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAQ7B;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BpC,CAAC;AAEL,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAC"}
1
+ {"version":3,"file":"scraper-specification-request.d.ts","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAQ7B;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6BpC,CAAC;AAEL,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,2BAA2B,CACnC,CAAC"}
@@ -23,7 +23,7 @@ export const ScraperSpecificationRequest = z
23
23
  .register(z.globalRegistry, {
24
24
  existingJavaType: "io.github.lengors.protoscout.domain.scrapers.specifications.models.ScraperSpecificationPayload",
25
25
  })),
26
- parser: ScraperSpecificationRequestParser,
26
+ parser: z.optional(ScraperSpecificationRequestParser),
27
27
  }))
28
28
  .register(z.globalRegistry, {
29
29
  $schema: "http://json-schema.org/draft-07/schema",
@@ -1 +1 @@
1
- {"version":3,"file":"scraper-specification-request.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAE9F;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,uBAAuB;IAC5B,MAAM,EAAE,iCAAiC;IACzC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,QAAQ,CACjB,CAAC;SACE,KAAK,CAAC;QACL,+BAA+B;QAC/B,+BAA+B;KAChC,CAAC;SACD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;QAC1B,gBAAgB,EACd,gGAAgG;KACnG,CAAC,CACL;IACD,MAAM,EAAE,iCAAiC;CAC1C,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,uGAAuG;IAC3G,KAAK,EAAE,oCAAoC;IAC3C,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EACN,gGAAgG;IAClG,cAAc,EAAE,CAAC,sBAAsB,CAAC;IACxC,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"scraper-specification-request.js","sourceRoot":"","sources":["../../../src/main/ts/scrapers/specifications/scraper-specification-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAC1F,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAE9F;;;;GAIG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,QAAQ,CACP,CAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,uBAAuB;IAC5B,MAAM,EAAE,iCAAiC;IACzC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,QAAQ,CACjB,CAAC;SACE,KAAK,CAAC;QACL,+BAA+B;QAC/B,+BAA+B;KAChC,CAAC;SACD,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;QAC1B,gBAAgB,EACd,gGAAgG;KACnG,CAAC,CACL;IACD,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,iCAAiC,CAAC;CACtD,CAAC,CACH;KACA,QAAQ,CAAC,CAAC,CAAC,cAAc,EAAE;IAC1B,OAAO,EAAE,wCAAwC;IACjD,EAAE,EAAE,uGAAuG;IAC3G,KAAK,EAAE,oCAAoC;IAC3C,WAAW,EAAE,mDAAmD;IAChE,QAAQ,EACN,gGAAgG;IAClG,cAAc,EAAE,CAAC,sBAAsB,CAAC;IACxC,oBAAoB,EAAE,KAAK;CAC5B,CAAC,CAAC"}
@@ -126,11 +126,12 @@ export declare const ScraperSpecification: z.ZodMiniReadonly<z.ZodMiniObject<{
126
126
  jexl: z.ZodMiniString<string>;
127
127
  }, z.core.$strip>>]>>>;
128
128
  }, z.core.$strip>>]>>;
129
- parser: z.ZodMiniEnum<{
129
+ parser: z.ZodMiniOptional<z.ZodMiniEnum<{
130
130
  json: "json";
131
+ auto: "auto";
131
132
  html: "html";
132
133
  text: "text";
133
- }>;
134
+ }>>;
134
135
  }, z.core.$strip>>;
135
136
  maps: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniReadonly<z.ZodMiniObject<{
136
137
  jexl: z.ZodMiniString<string>;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyB7B,CAAC;AAEL,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lengors/protoscout-schemas",
3
- "version": "2.3.0-dev.1",
3
+ "version": "2.4.0-dev.1",
4
4
  "description": "Project containing schemas for ProtoScout, the protocol used by WebScout",
5
5
  "keywords": [
6
6
  "protoscout",