@eventconnectors/ndtrc_model 1.4.0 → 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 +17 -3
- package/dist/index.d.cts +259 -25
- package/dist/index.d.ts +259 -25
- package/dist/index.js +17 -3
- 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(),
|
|
@@ -611,15 +613,26 @@ var RouteInfoSchema = import_zod13.z.object({
|
|
|
611
613
|
// src/seo-metadata.ts
|
|
612
614
|
var import_zod14 = require("zod");
|
|
613
615
|
var OGTypeSchema = import_zod14.z.enum(["event", "place", "article", "organization"]);
|
|
614
|
-
var TwitterCardTypeSchema = import_zod14.z.enum([
|
|
616
|
+
var TwitterCardTypeSchema = import_zod14.z.enum([
|
|
617
|
+
"summary",
|
|
618
|
+
"summary_large_image",
|
|
619
|
+
"app",
|
|
620
|
+
"player"
|
|
621
|
+
]);
|
|
615
622
|
var SeoDetailSchema = import_zod14.z.object({
|
|
616
623
|
lang: LangCodeSchema.optional(),
|
|
617
624
|
metaTitle: import_zod14.z.string().optional(),
|
|
618
625
|
metaDescription: import_zod14.z.string().optional(),
|
|
619
626
|
ogImageUrl: import_zod14.z.string().optional(),
|
|
620
627
|
ogImageAlt: import_zod14.z.string().optional(),
|
|
621
|
-
|
|
622
|
-
|
|
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()
|
|
623
636
|
}).passthrough();
|
|
624
637
|
var CanonicalConfigSchema = import_zod14.z.object({
|
|
625
638
|
canonicalUrl: import_zod14.z.string().optional()
|
|
@@ -627,6 +640,7 @@ var CanonicalConfigSchema = import_zod14.z.object({
|
|
|
627
640
|
var SeoMetadataSchema = import_zod14.z.object({
|
|
628
641
|
seoDetails: import_zod14.z.array(SeoDetailSchema).optional(),
|
|
629
642
|
canonical: CanonicalConfigSchema.optional(),
|
|
643
|
+
overwriteDefaults: import_zod14.z.boolean().optional(),
|
|
630
644
|
schemaOrgJsonLd: import_zod14.z.string().optional()
|
|
631
645
|
}).passthrough();
|
|
632
646
|
|