@eventconnectors/ndtrc_model 1.2.1 → 1.5.0
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.cjs +23 -5
- package/dist/index.d.cts +326 -39
- package/dist/index.d.ts +326 -39
- package/dist/index.js +22 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -77,6 +77,7 @@ __export(index_exports, {
|
|
|
77
77
|
SeoDetailSchema: () => SeoDetailSchema,
|
|
78
78
|
SeoMetadataSchema: () => SeoMetadataSchema,
|
|
79
79
|
SingleDateSchema: () => SingleDateSchema,
|
|
80
|
+
StandardPriceDescriptionValues: () => StandardPriceDescriptionValues,
|
|
80
81
|
StatusTranslationSchema: () => StatusTranslationSchema,
|
|
81
82
|
SubItemGroupSchema: () => SubItemGroupSchema,
|
|
82
83
|
SubItemTranslationSchema: () => SubItemTranslationSchema,
|
|
@@ -127,6 +128,8 @@ var AddressSchema = import_zod2.z.object({
|
|
|
127
128
|
city: import_zod2.z.string().optional(),
|
|
128
129
|
citytrcid: import_zod2.z.string().optional(),
|
|
129
130
|
country: import_zod2.z.string().optional(),
|
|
131
|
+
/** Two-letter continent code: AF, AS, EU, NA, OC or SA. */
|
|
132
|
+
continent: import_zod2.z.string().optional(),
|
|
130
133
|
housenr: import_zod2.z.string().optional(),
|
|
131
134
|
street: import_zod2.z.string().optional(),
|
|
132
135
|
streettrcid: import_zod2.z.string().optional(),
|
|
@@ -401,14 +404,15 @@ var PerformerSchema = import_zod9.z.object({
|
|
|
401
404
|
|
|
402
405
|
// src/price-element.ts
|
|
403
406
|
var import_zod10 = require("zod");
|
|
404
|
-
var
|
|
407
|
+
var StandardPriceDescriptionValues = [
|
|
405
408
|
"Adults",
|
|
406
409
|
"Children",
|
|
407
410
|
"Groups",
|
|
408
411
|
"CJP",
|
|
409
412
|
"Pasholders",
|
|
410
413
|
"Lastminute"
|
|
411
|
-
]
|
|
414
|
+
];
|
|
415
|
+
var PriceDescriptionValueSchema = import_zod10.z.string();
|
|
412
416
|
var PriceElementDescriptionTranslationSchema = import_zod10.z.object({
|
|
413
417
|
lang: LangCodeSchema.optional(),
|
|
414
418
|
text: import_zod10.z.string().optional()
|
|
@@ -601,6 +605,7 @@ var RouteInfoSchema = import_zod13.z.object({
|
|
|
601
605
|
pois: import_zod13.z.array(PoiSchema).optional(),
|
|
602
606
|
routeCoordinates: import_zod13.z.array(LatLngSchema).optional(),
|
|
603
607
|
calculatedCoordinates: import_zod13.z.array(LatLngSchema).optional(),
|
|
608
|
+
waterPoints: import_zod13.z.array(LatLngSchema).optional(),
|
|
604
609
|
difficulty: RouteDifficultySchema.optional(),
|
|
605
610
|
primarySurface: SurfaceTypeSchema.optional()
|
|
606
611
|
}).passthrough();
|
|
@@ -608,15 +613,26 @@ var RouteInfoSchema = import_zod13.z.object({
|
|
|
608
613
|
// src/seo-metadata.ts
|
|
609
614
|
var import_zod14 = require("zod");
|
|
610
615
|
var OGTypeSchema = import_zod14.z.enum(["event", "place", "article", "organization"]);
|
|
611
|
-
var TwitterCardTypeSchema = import_zod14.z.enum([
|
|
616
|
+
var TwitterCardTypeSchema = import_zod14.z.enum([
|
|
617
|
+
"summary",
|
|
618
|
+
"summary_large_image",
|
|
619
|
+
"app",
|
|
620
|
+
"player"
|
|
621
|
+
]);
|
|
612
622
|
var SeoDetailSchema = import_zod14.z.object({
|
|
613
623
|
lang: LangCodeSchema.optional(),
|
|
614
624
|
metaTitle: import_zod14.z.string().optional(),
|
|
615
625
|
metaDescription: import_zod14.z.string().optional(),
|
|
616
626
|
ogImageUrl: import_zod14.z.string().optional(),
|
|
617
627
|
ogImageAlt: import_zod14.z.string().optional(),
|
|
618
|
-
|
|
619
|
-
|
|
628
|
+
/**
|
|
629
|
+
* Free-form on purpose: widened from {@link OGTypeSchema} so ff-gui can curate its own
|
|
630
|
+
* option list independently of this model's release cycle.
|
|
631
|
+
*/
|
|
632
|
+
ogType: import_zod14.z.string().optional(),
|
|
633
|
+
twitterCardType: TwitterCardTypeSchema.optional(),
|
|
634
|
+
twitterImageUrl: import_zod14.z.string().optional(),
|
|
635
|
+
twitterImageAlt: import_zod14.z.string().optional()
|
|
620
636
|
}).passthrough();
|
|
621
637
|
var CanonicalConfigSchema = import_zod14.z.object({
|
|
622
638
|
canonicalUrl: import_zod14.z.string().optional()
|
|
@@ -624,6 +640,7 @@ var CanonicalConfigSchema = import_zod14.z.object({
|
|
|
624
640
|
var SeoMetadataSchema = import_zod14.z.object({
|
|
625
641
|
seoDetails: import_zod14.z.array(SeoDetailSchema).optional(),
|
|
626
642
|
canonical: CanonicalConfigSchema.optional(),
|
|
643
|
+
overwriteDefaults: import_zod14.z.boolean().optional(),
|
|
627
644
|
schemaOrgJsonLd: import_zod14.z.string().optional()
|
|
628
645
|
}).passthrough();
|
|
629
646
|
|
|
@@ -906,6 +923,7 @@ var TRCItemGroupSchema = _trcItemGroupBase;
|
|
|
906
923
|
SeoDetailSchema,
|
|
907
924
|
SeoMetadataSchema,
|
|
908
925
|
SingleDateSchema,
|
|
926
|
+
StandardPriceDescriptionValues,
|
|
909
927
|
StatusTranslationSchema,
|
|
910
928
|
SubItemGroupSchema,
|
|
911
929
|
SubItemTranslationSchema,
|