@eventconnectors/ndtrc_model 1.4.0 → 1.5.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/index.cjs +22 -6
- package/dist/index.d.cts +1752 -1566
- package/dist/index.d.ts +1752 -1566
- package/dist/index.js +22 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -128,6 +128,8 @@ var AddressSchema = import_zod2.z.object({
|
|
|
128
128
|
city: import_zod2.z.string().optional(),
|
|
129
129
|
citytrcid: import_zod2.z.string().optional(),
|
|
130
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(),
|
|
131
133
|
housenr: import_zod2.z.string().optional(),
|
|
132
134
|
street: import_zod2.z.string().optional(),
|
|
133
135
|
streettrcid: import_zod2.z.string().optional(),
|
|
@@ -168,7 +170,9 @@ var URLServiceTypeSchema = import_zod4.z.enum([
|
|
|
168
170
|
"sustainability",
|
|
169
171
|
"venuefinder",
|
|
170
172
|
"travelbase",
|
|
171
|
-
"homepage"
|
|
173
|
+
"homepage",
|
|
174
|
+
"ticket",
|
|
175
|
+
"reservation"
|
|
172
176
|
]);
|
|
173
177
|
var DescriptionTranslationSchema = import_zod4.z.object({
|
|
174
178
|
lang: LangCodeSchema.optional(),
|
|
@@ -502,7 +506,8 @@ var RouteTypeSchema = import_zod13.z.enum([
|
|
|
502
506
|
"driving_traffic",
|
|
503
507
|
"driving",
|
|
504
508
|
"walking",
|
|
505
|
-
"cycling"
|
|
509
|
+
"cycling",
|
|
510
|
+
"boating"
|
|
506
511
|
]);
|
|
507
512
|
var RouteInfoTypeSchema = import_zod13.z.enum([
|
|
508
513
|
"eventConnectors",
|
|
@@ -603,7 +608,6 @@ var RouteInfoSchema = import_zod13.z.object({
|
|
|
603
608
|
pois: import_zod13.z.array(PoiSchema).optional(),
|
|
604
609
|
routeCoordinates: import_zod13.z.array(LatLngSchema).optional(),
|
|
605
610
|
calculatedCoordinates: import_zod13.z.array(LatLngSchema).optional(),
|
|
606
|
-
waterPoints: import_zod13.z.array(LatLngSchema).optional(),
|
|
607
611
|
difficulty: RouteDifficultySchema.optional(),
|
|
608
612
|
primarySurface: SurfaceTypeSchema.optional()
|
|
609
613
|
}).passthrough();
|
|
@@ -611,15 +615,26 @@ var RouteInfoSchema = import_zod13.z.object({
|
|
|
611
615
|
// src/seo-metadata.ts
|
|
612
616
|
var import_zod14 = require("zod");
|
|
613
617
|
var OGTypeSchema = import_zod14.z.enum(["event", "place", "article", "organization"]);
|
|
614
|
-
var TwitterCardTypeSchema = import_zod14.z.enum([
|
|
618
|
+
var TwitterCardTypeSchema = import_zod14.z.enum([
|
|
619
|
+
"summary",
|
|
620
|
+
"summary_large_image",
|
|
621
|
+
"app",
|
|
622
|
+
"player"
|
|
623
|
+
]);
|
|
615
624
|
var SeoDetailSchema = import_zod14.z.object({
|
|
616
625
|
lang: LangCodeSchema.optional(),
|
|
617
626
|
metaTitle: import_zod14.z.string().optional(),
|
|
618
627
|
metaDescription: import_zod14.z.string().optional(),
|
|
619
628
|
ogImageUrl: import_zod14.z.string().optional(),
|
|
620
629
|
ogImageAlt: import_zod14.z.string().optional(),
|
|
621
|
-
|
|
622
|
-
|
|
630
|
+
/**
|
|
631
|
+
* Free-form on purpose: widened from {@link OGTypeSchema} so ff-gui can curate its own
|
|
632
|
+
* option list independently of this model's release cycle.
|
|
633
|
+
*/
|
|
634
|
+
ogType: import_zod14.z.string().optional(),
|
|
635
|
+
twitterCardType: TwitterCardTypeSchema.optional(),
|
|
636
|
+
twitterImageUrl: import_zod14.z.string().optional(),
|
|
637
|
+
twitterImageAlt: import_zod14.z.string().optional()
|
|
623
638
|
}).passthrough();
|
|
624
639
|
var CanonicalConfigSchema = import_zod14.z.object({
|
|
625
640
|
canonicalUrl: import_zod14.z.string().optional()
|
|
@@ -627,6 +642,7 @@ var CanonicalConfigSchema = import_zod14.z.object({
|
|
|
627
642
|
var SeoMetadataSchema = import_zod14.z.object({
|
|
628
643
|
seoDetails: import_zod14.z.array(SeoDetailSchema).optional(),
|
|
629
644
|
canonical: CanonicalConfigSchema.optional(),
|
|
645
|
+
overwriteDefaults: import_zod14.z.boolean().optional(),
|
|
630
646
|
schemaOrgJsonLd: import_zod14.z.string().optional()
|
|
631
647
|
}).passthrough();
|
|
632
648
|
|