@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.js
CHANGED
|
@@ -24,6 +24,8 @@ var AddressSchema = z2.object({
|
|
|
24
24
|
city: z2.string().optional(),
|
|
25
25
|
citytrcid: z2.string().optional(),
|
|
26
26
|
country: z2.string().optional(),
|
|
27
|
+
/** Two-letter continent code: AF, AS, EU, NA, OC or SA. */
|
|
28
|
+
continent: z2.string().optional(),
|
|
27
29
|
housenr: z2.string().optional(),
|
|
28
30
|
street: z2.string().optional(),
|
|
29
31
|
streettrcid: z2.string().optional(),
|
|
@@ -298,14 +300,15 @@ var PerformerSchema = z9.object({
|
|
|
298
300
|
|
|
299
301
|
// src/price-element.ts
|
|
300
302
|
import { z as z10 } from "zod";
|
|
301
|
-
var
|
|
303
|
+
var StandardPriceDescriptionValues = [
|
|
302
304
|
"Adults",
|
|
303
305
|
"Children",
|
|
304
306
|
"Groups",
|
|
305
307
|
"CJP",
|
|
306
308
|
"Pasholders",
|
|
307
309
|
"Lastminute"
|
|
308
|
-
]
|
|
310
|
+
];
|
|
311
|
+
var PriceDescriptionValueSchema = z10.string();
|
|
309
312
|
var PriceElementDescriptionTranslationSchema = z10.object({
|
|
310
313
|
lang: LangCodeSchema.optional(),
|
|
311
314
|
text: z10.string().optional()
|
|
@@ -498,6 +501,7 @@ var RouteInfoSchema = z13.object({
|
|
|
498
501
|
pois: z13.array(PoiSchema).optional(),
|
|
499
502
|
routeCoordinates: z13.array(LatLngSchema).optional(),
|
|
500
503
|
calculatedCoordinates: z13.array(LatLngSchema).optional(),
|
|
504
|
+
waterPoints: z13.array(LatLngSchema).optional(),
|
|
501
505
|
difficulty: RouteDifficultySchema.optional(),
|
|
502
506
|
primarySurface: SurfaceTypeSchema.optional()
|
|
503
507
|
}).passthrough();
|
|
@@ -505,15 +509,26 @@ var RouteInfoSchema = z13.object({
|
|
|
505
509
|
// src/seo-metadata.ts
|
|
506
510
|
import { z as z14 } from "zod";
|
|
507
511
|
var OGTypeSchema = z14.enum(["event", "place", "article", "organization"]);
|
|
508
|
-
var TwitterCardTypeSchema = z14.enum([
|
|
512
|
+
var TwitterCardTypeSchema = z14.enum([
|
|
513
|
+
"summary",
|
|
514
|
+
"summary_large_image",
|
|
515
|
+
"app",
|
|
516
|
+
"player"
|
|
517
|
+
]);
|
|
509
518
|
var SeoDetailSchema = z14.object({
|
|
510
519
|
lang: LangCodeSchema.optional(),
|
|
511
520
|
metaTitle: z14.string().optional(),
|
|
512
521
|
metaDescription: z14.string().optional(),
|
|
513
522
|
ogImageUrl: z14.string().optional(),
|
|
514
523
|
ogImageAlt: z14.string().optional(),
|
|
515
|
-
|
|
516
|
-
|
|
524
|
+
/**
|
|
525
|
+
* Free-form on purpose: widened from {@link OGTypeSchema} so ff-gui can curate its own
|
|
526
|
+
* option list independently of this model's release cycle.
|
|
527
|
+
*/
|
|
528
|
+
ogType: z14.string().optional(),
|
|
529
|
+
twitterCardType: TwitterCardTypeSchema.optional(),
|
|
530
|
+
twitterImageUrl: z14.string().optional(),
|
|
531
|
+
twitterImageAlt: z14.string().optional()
|
|
517
532
|
}).passthrough();
|
|
518
533
|
var CanonicalConfigSchema = z14.object({
|
|
519
534
|
canonicalUrl: z14.string().optional()
|
|
@@ -521,6 +536,7 @@ var CanonicalConfigSchema = z14.object({
|
|
|
521
536
|
var SeoMetadataSchema = z14.object({
|
|
522
537
|
seoDetails: z14.array(SeoDetailSchema).optional(),
|
|
523
538
|
canonical: CanonicalConfigSchema.optional(),
|
|
539
|
+
overwriteDefaults: z14.boolean().optional(),
|
|
524
540
|
schemaOrgJsonLd: z14.string().optional()
|
|
525
541
|
}).passthrough();
|
|
526
542
|
|
|
@@ -802,6 +818,7 @@ export {
|
|
|
802
818
|
SeoDetailSchema,
|
|
803
819
|
SeoMetadataSchema,
|
|
804
820
|
SingleDateSchema,
|
|
821
|
+
StandardPriceDescriptionValues,
|
|
805
822
|
StatusTranslationSchema,
|
|
806
823
|
SubItemGroupSchema,
|
|
807
824
|
SubItemTranslationSchema,
|