sanity-plugin-seofields 1.8.0 → 1.10.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/README.md +508 -26
- package/dist/SeoHealthTool-2COI27KI.cjs +8 -0
- package/dist/SeoHealthTool-2COI27KI.cjs.map +1 -0
- package/dist/SeoHealthTool-CWI3KB2V.js +8 -0
- package/dist/SeoHealthTool-CWI3KB2V.js.map +1 -0
- package/dist/{SeoPreview-3EXR6FD4.cjs → SeoPreview-LMZAWWOE.cjs} +35 -38
- package/dist/SeoPreview-LMZAWWOE.cjs.map +1 -0
- package/dist/{SeoPreview-4PPAF4NO.js → SeoPreview-UNQBKTQO.js} +14 -11
- package/dist/SeoPreview-UNQBKTQO.js.map +1 -0
- package/dist/{chunk-B5IVI5LP.cjs → chunk-5XTQRILL.cjs} +286 -236
- package/dist/chunk-5XTQRILL.cjs.map +1 -0
- package/dist/{chunk-254YHUN3.cjs → chunk-7N4MLTMR.js} +8 -6
- package/dist/chunk-7N4MLTMR.js.map +1 -0
- package/dist/{chunk-DDAAVRWG.js → chunk-A57XNQC7.cjs} +9 -4
- package/dist/chunk-A57XNQC7.cjs.map +1 -0
- package/dist/chunk-BWLJDK5J.js +624 -0
- package/dist/chunk-BWLJDK5J.js.map +1 -0
- package/dist/chunk-CRCXC45D.js +56 -0
- package/dist/chunk-CRCXC45D.js.map +1 -0
- package/dist/chunk-EUG4MNRC.cjs +713 -0
- package/dist/chunk-EUG4MNRC.cjs.map +1 -0
- package/dist/{chunk-ZBHLMQTS.cjs → chunk-HHO2AKAP.js} +44 -17
- package/dist/chunk-HHO2AKAP.js.map +1 -0
- package/dist/chunk-NLEB47UV.js +713 -0
- package/dist/chunk-NLEB47UV.js.map +1 -0
- package/dist/chunk-OULUDJPI.cjs +254 -0
- package/dist/chunk-OULUDJPI.cjs.map +1 -0
- package/dist/chunk-R2U7JF7U.cjs +624 -0
- package/dist/chunk-R2U7JF7U.cjs.map +1 -0
- package/dist/chunk-XD4HKLEA.js +254 -0
- package/dist/chunk-XD4HKLEA.js.map +1 -0
- package/dist/chunk-XYAZJ3WX.cjs +56 -0
- package/dist/chunk-XYAZJ3WX.cjs.map +1 -0
- package/dist/{chunk-VR44E62I.js → chunk-XZKQWV2H.js} +204 -33
- package/dist/chunk-XZKQWV2H.js.map +1 -0
- package/dist/{chunk-HDZZQCH7.js → chunk-Y46ACXM4.cjs} +45 -5
- package/dist/chunk-Y46ACXM4.cjs.map +1 -0
- package/dist/cli.js +27 -27
- package/dist/{component-DEXwtemT.d.ts → component-CjT1hvxh.d.ts} +2 -2
- package/dist/{component-BzI-LHPw.d.cts → component-WYh0z8as.d.cts} +2 -2
- package/dist/define-cli.cjs +2 -4
- package/dist/define-cli.cjs.map +1 -1
- package/dist/define-cli.js +4 -4
- package/dist/define-cli.js.map +1 -1
- package/dist/head.cjs +22 -0
- package/dist/head.cjs.map +1 -0
- package/dist/head.d.cts +314 -0
- package/dist/head.d.ts +314 -0
- package/dist/head.js +22 -0
- package/dist/head.js.map +1 -0
- package/dist/hreflang-_VbSuWYD.d.cts +29 -0
- package/dist/hreflang-_VbSuWYD.d.ts +29 -0
- package/dist/index.cjs +1072 -368
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -374
- package/dist/index.d.ts +7 -374
- package/dist/index.js +1015 -288
- package/dist/index.js.map +1 -1
- package/dist/next.cjs +212 -455
- package/dist/next.cjs.map +1 -1
- package/dist/next.d.cts +9 -206
- package/dist/next.d.ts +9 -206
- package/dist/next.js +189 -111
- package/dist/next.js.map +1 -1
- package/dist/plugin-HFuWZsJu.d.cts +516 -0
- package/dist/plugin-oQUCim56.d.ts +516 -0
- package/dist/schema/next.cjs +173 -327
- package/dist/schema/next.cjs.map +1 -1
- package/dist/schema/next.d.cts +4 -4
- package/dist/schema/next.d.ts +4 -4
- package/dist/schema/next.js +172 -8
- package/dist/schema/next.js.map +1 -1
- package/dist/schema.cjs +376 -517
- package/dist/schema.cjs.map +1 -1
- package/dist/schema.d.cts +5 -5
- package/dist/schema.d.ts +5 -5
- package/dist/schema.js +216 -11
- package/dist/schema.js.map +1 -1
- package/dist/server.cjs +149 -0
- package/dist/server.cjs.map +1 -0
- package/dist/server.d.cts +100 -0
- package/dist/server.d.ts +100 -0
- package/dist/server.js +149 -0
- package/dist/server.js.map +1 -0
- package/dist/{types-CW8qFdAn.d.ts → types-BAdN1RMu.d.ts} +2 -2
- package/dist/{types-B_vjMPtM.d.cts → types-C5i3KMgs.d.cts} +2 -2
- package/dist/{types-BXSCbl6p.d.cts → types-DP-DiW6f.d.cts} +2 -2
- package/dist/{types-C19cQx5D.d.ts → types-DRLUGLtX.d.ts} +2 -2
- package/dist/{types-yVmQfby9.d.cts → types-DxlPXihz.d.cts} +1 -1
- package/dist/{types-yVmQfby9.d.ts → types-DxlPXihz.d.ts} +1 -1
- package/package.json +25 -4
- package/dist/SeoHealthDashboard-AEKVVMUR-7NWV3C3Y.js +0 -4
- package/dist/SeoHealthDashboard-AEKVVMUR-7NWV3C3Y.js.map +0 -1
- package/dist/SeoHealthDashboard-AEKVVMUR-XWKJUH24.cjs +0 -10
- package/dist/SeoHealthDashboard-AEKVVMUR-XWKJUH24.cjs.map +0 -1
- package/dist/SeoHealthTool-2KKQJLJL.cjs +0 -11
- package/dist/SeoHealthTool-2KKQJLJL.cjs.map +0 -1
- package/dist/SeoHealthTool-3CUKGADZ.js +0 -5
- package/dist/SeoHealthTool-3CUKGADZ.js.map +0 -1
- package/dist/SeoPreview-3EXR6FD4.cjs.map +0 -1
- package/dist/SeoPreview-4PPAF4NO.js.map +0 -1
- package/dist/chunk-254YHUN3.cjs.map +0 -1
- package/dist/chunk-27XSYENH.js +0 -2215
- package/dist/chunk-27XSYENH.js.map +0 -1
- package/dist/chunk-B5IVI5LP.cjs.map +0 -1
- package/dist/chunk-BNXMFD3T.cjs +0 -431
- package/dist/chunk-BNXMFD3T.cjs.map +0 -1
- package/dist/chunk-DDAAVRWG.js.map +0 -1
- package/dist/chunk-HDZZQCH7.js.map +0 -1
- package/dist/chunk-P6IOWIO2.cjs +0 -480
- package/dist/chunk-P6IOWIO2.cjs.map +0 -1
- package/dist/chunk-UOCZFYYP.js +0 -407
- package/dist/chunk-UOCZFYYP.js.map +0 -1
- package/dist/chunk-VR44E62I.js.map +0 -1
- package/dist/chunk-WKXHX3GO.js +0 -424
- package/dist/chunk-WKXHX3GO.js.map +0 -1
- package/dist/chunk-XZDLJ2N6.cjs +0 -2224
- package/dist/chunk-XZDLJ2N6.cjs.map +0 -1
- package/dist/chunk-ZBHLMQTS.cjs.map +0 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { PackageIcon, PlayIcon, UserIcon, ListIcon, DocumentTextIcon, BookIcon, HomeIcon, ClipboardIcon, EarthGlobeIcon, MasterDetailIcon, DesktopIcon, CodeBlockIcon, ApiIcon, CalendarIcon, MarkerIcon, RobotIcon, HeartFilledIcon, BarChartIcon, TagIcon, CommentIcon, HelpCircleIcon, VideoIcon, ImageIcon, LinkIcon, SparkleIcon, ComponentIcon } from '@sanity/icons';
|
|
6
|
-
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
1
|
+
import {
|
|
2
|
+
__spreadProps,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "./chunk-7N4MLTMR.js";
|
|
7
5
|
|
|
8
6
|
// src/schema/_shared.ts
|
|
9
7
|
var imageObjectInnerFields = [
|
|
@@ -1202,6 +1200,14 @@ function buildGenericJsonLd(schemaType, data, fieldDefs, requiredFields = []) {
|
|
|
1202
1200
|
}, body);
|
|
1203
1201
|
}
|
|
1204
1202
|
|
|
1203
|
+
// src/schema/generator.ts
|
|
1204
|
+
import { defineField, defineType } from "sanity";
|
|
1205
|
+
|
|
1206
|
+
// src/schema/components/SchemaOrgJsonLdPreview.tsx
|
|
1207
|
+
import { Box, Card, Flex, Stack, Text } from "@sanity/ui";
|
|
1208
|
+
import { useEffect, useMemo, useState } from "react";
|
|
1209
|
+
import { useClient, useColorScheme, useFormValue } from "sanity";
|
|
1210
|
+
|
|
1205
1211
|
// src/utils/syntaxHighlight.ts
|
|
1206
1212
|
var LIGHT = {
|
|
1207
1213
|
default: "#24292f",
|
|
@@ -1360,6 +1366,36 @@ function tokenizeJson(code, scheme = "light") {
|
|
|
1360
1366
|
}
|
|
1361
1367
|
return merge(tokens);
|
|
1362
1368
|
}
|
|
1369
|
+
|
|
1370
|
+
// src/schema/icons.ts
|
|
1371
|
+
import {
|
|
1372
|
+
ApiIcon,
|
|
1373
|
+
BarChartIcon,
|
|
1374
|
+
BookIcon,
|
|
1375
|
+
CalendarIcon,
|
|
1376
|
+
ClipboardIcon,
|
|
1377
|
+
CodeBlockIcon,
|
|
1378
|
+
CommentIcon,
|
|
1379
|
+
ComponentIcon,
|
|
1380
|
+
DesktopIcon,
|
|
1381
|
+
DocumentTextIcon,
|
|
1382
|
+
EarthGlobeIcon,
|
|
1383
|
+
HeartFilledIcon,
|
|
1384
|
+
HelpCircleIcon,
|
|
1385
|
+
HomeIcon,
|
|
1386
|
+
ImageIcon,
|
|
1387
|
+
LinkIcon,
|
|
1388
|
+
ListIcon,
|
|
1389
|
+
MarkerIcon,
|
|
1390
|
+
MasterDetailIcon,
|
|
1391
|
+
PackageIcon,
|
|
1392
|
+
PlayIcon,
|
|
1393
|
+
RobotIcon,
|
|
1394
|
+
SparkleIcon,
|
|
1395
|
+
TagIcon,
|
|
1396
|
+
UserIcon,
|
|
1397
|
+
VideoIcon
|
|
1398
|
+
} from "@sanity/icons";
|
|
1363
1399
|
var SchemaOrgIcons = {
|
|
1364
1400
|
// Website & WebPage
|
|
1365
1401
|
website: EarthGlobeIcon,
|
|
@@ -3007,6 +3043,9 @@ function schemaOrgOpinionNewsArticle(config = {}) {
|
|
|
3007
3043
|
function escapeJsonForScript(json) {
|
|
3008
3044
|
return json.replace(/</g, "\\u003C").replace(/>/g, "\\u003E").replace(/&/g, "\\u0026").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
|
|
3009
3045
|
}
|
|
3046
|
+
|
|
3047
|
+
// src/schema/SchemaOrgScript.tsx
|
|
3048
|
+
import { jsx } from "react/jsx-runtime";
|
|
3010
3049
|
function SchemaOrgScript({
|
|
3011
3050
|
jsonLd
|
|
3012
3051
|
}) {
|
|
@@ -3019,6 +3058,9 @@ function SchemaOrgScript({
|
|
|
3019
3058
|
}
|
|
3020
3059
|
);
|
|
3021
3060
|
}
|
|
3061
|
+
|
|
3062
|
+
// src/schema/organization/component.tsx
|
|
3063
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
3022
3064
|
function buildOrganizationJsonLd(data, imageUrlResolver) {
|
|
3023
3065
|
var _a, _b;
|
|
3024
3066
|
if (!(data == null ? void 0 : data.name) || !(data == null ? void 0 : data.url)) return null;
|
|
@@ -3049,7 +3091,7 @@ function OrganizationSchema({
|
|
|
3049
3091
|
data,
|
|
3050
3092
|
imageUrlResolver
|
|
3051
3093
|
}) {
|
|
3052
|
-
return /* @__PURE__ */
|
|
3094
|
+
return /* @__PURE__ */ jsx2(SchemaOrgScript, { jsonLd: buildOrganizationJsonLd(data, imageUrlResolver) });
|
|
3053
3095
|
}
|
|
3054
3096
|
|
|
3055
3097
|
// src/schema/person/schema.ts
|
|
@@ -4079,6 +4121,9 @@ function schemaOrgWebPage(config = {}) {
|
|
|
4079
4121
|
config
|
|
4080
4122
|
);
|
|
4081
4123
|
}
|
|
4124
|
+
|
|
4125
|
+
// src/schema/website/component.tsx
|
|
4126
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
4082
4127
|
function buildWebsiteJsonLd(data) {
|
|
4083
4128
|
if (!(data == null ? void 0 : data.name) || !(data == null ? void 0 : data.url)) return null;
|
|
4084
4129
|
const jsonLd = {
|
|
@@ -4094,8 +4139,11 @@ function buildWebsiteJsonLd(data) {
|
|
|
4094
4139
|
return jsonLd;
|
|
4095
4140
|
}
|
|
4096
4141
|
function WebsiteSchema({ data }) {
|
|
4097
|
-
return /* @__PURE__ */
|
|
4142
|
+
return /* @__PURE__ */ jsx3(SchemaOrgScript, { jsonLd: buildWebsiteJsonLd(data) });
|
|
4098
4143
|
}
|
|
4144
|
+
|
|
4145
|
+
// src/schema/SchemaOrgScripts.tsx
|
|
4146
|
+
import { Fragment, jsx as jsx4 } from "react/jsx-runtime";
|
|
4099
4147
|
var GENERIC_TYPES = {
|
|
4100
4148
|
schemaOrgWebPage: { schemaType: "WebPage", fields: webPageFields, requiredFields: ["name"] },
|
|
4101
4149
|
schemaOrgPerson: { schemaType: "Person", fields: personFields, requiredFields: ["name"] },
|
|
@@ -4236,12 +4284,15 @@ function SchemaOrgScripts({ data }) {
|
|
|
4236
4284
|
if (!(data == null ? void 0 : data.length)) return null;
|
|
4237
4285
|
const scripts = buildSchemaOrgJsonLds(data);
|
|
4238
4286
|
if (!scripts.length) return null;
|
|
4239
|
-
return /* @__PURE__ */
|
|
4287
|
+
return /* @__PURE__ */ jsx4(Fragment, { children: scripts.map((jsonLd, idx) => (
|
|
4240
4288
|
// static server-rendered scripts — order is stable, index key is safe
|
|
4241
4289
|
// eslint-disable-next-line react/no-array-index-key
|
|
4242
|
-
/* @__PURE__ */
|
|
4290
|
+
/* @__PURE__ */ jsx4(SchemaOrgScript, { jsonLd }, `${idx}-${jsonLd["@type"]}`)
|
|
4243
4291
|
)) });
|
|
4244
4292
|
}
|
|
4293
|
+
|
|
4294
|
+
// src/schema/components/SchemaOrgJsonLdPreview.tsx
|
|
4295
|
+
import { jsx as jsx5, jsxs } from "react/jsx-runtime";
|
|
4245
4296
|
function normalizeDocument(document) {
|
|
4246
4297
|
var _a, _b;
|
|
4247
4298
|
if (!document) return {};
|
|
@@ -4328,7 +4379,7 @@ function JsonLdCodeBlock({
|
|
|
4328
4379
|
});
|
|
4329
4380
|
};
|
|
4330
4381
|
if (!jsonLdItems.length) {
|
|
4331
|
-
return /* @__PURE__ */
|
|
4382
|
+
return /* @__PURE__ */ jsx5(Card, { border: true, radius: 2, padding: 0, style: { overflow: "hidden" }, children: /* @__PURE__ */ jsx5(Box, { padding: 3, children: /* @__PURE__ */ jsx5(Text, { size: 1, muted: true, children: "Fill the required Schema.org fields to generate JSON-LD." }) }) });
|
|
4332
4383
|
}
|
|
4333
4384
|
return /* @__PURE__ */ jsxs("div", { style: { borderRadius: 6, border: `1px solid ${codeBorder}`, overflow: "hidden" }, children: [
|
|
4334
4385
|
/* @__PURE__ */ jsxs(
|
|
@@ -4344,7 +4395,7 @@ function JsonLdCodeBlock({
|
|
|
4344
4395
|
},
|
|
4345
4396
|
children: [
|
|
4346
4397
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
|
|
4347
|
-
/* @__PURE__ */
|
|
4398
|
+
/* @__PURE__ */ jsx5(
|
|
4348
4399
|
"span",
|
|
4349
4400
|
{
|
|
4350
4401
|
style: {
|
|
@@ -4356,9 +4407,9 @@ function JsonLdCodeBlock({
|
|
|
4356
4407
|
}
|
|
4357
4408
|
}
|
|
4358
4409
|
),
|
|
4359
|
-
/* @__PURE__ */
|
|
4410
|
+
/* @__PURE__ */ jsx5("span", { style: { fontSize: 11, color: headerText, fontFamily: "monospace" }, children: "JSON-LD" })
|
|
4360
4411
|
] }),
|
|
4361
|
-
/* @__PURE__ */
|
|
4412
|
+
/* @__PURE__ */ jsx5(
|
|
4362
4413
|
"button",
|
|
4363
4414
|
{
|
|
4364
4415
|
type: "button",
|
|
@@ -4378,7 +4429,7 @@ function JsonLdCodeBlock({
|
|
|
4378
4429
|
]
|
|
4379
4430
|
}
|
|
4380
4431
|
),
|
|
4381
|
-
/* @__PURE__ */
|
|
4432
|
+
/* @__PURE__ */ jsx5(
|
|
4382
4433
|
Box,
|
|
4383
4434
|
{
|
|
4384
4435
|
as: "pre",
|
|
@@ -4394,7 +4445,7 @@ function JsonLdCodeBlock({
|
|
|
4394
4445
|
wordBreak: "break-word",
|
|
4395
4446
|
backgroundColor: codeBg
|
|
4396
4447
|
},
|
|
4397
|
-
children: tokens.map((token, idx) => /* @__PURE__ */
|
|
4448
|
+
children: tokens.map((token, idx) => /* @__PURE__ */ jsx5("span", { style: { color: token.color }, children: token.text }, idx))
|
|
4398
4449
|
}
|
|
4399
4450
|
)
|
|
4400
4451
|
] });
|
|
@@ -4470,27 +4521,27 @@ function SchemaOrgJsonLdPreview({
|
|
|
4470
4521
|
setSlugListError("Could not fetch existing slugs.");
|
|
4471
4522
|
});
|
|
4472
4523
|
}, [client, documentType, maxSlugItems, shouldShowSlugList, slugField, slugQuery, titleField]);
|
|
4473
|
-
return /* @__PURE__ */
|
|
4524
|
+
return /* @__PURE__ */ jsx5(Card, { border: true, radius: 2, padding: 3, tone: "transparent", children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
|
|
4474
4525
|
/* @__PURE__ */ jsxs(Flex, { align: "center", justify: "space-between", gap: 3, children: [
|
|
4475
|
-
/* @__PURE__ */
|
|
4476
|
-
/* @__PURE__ */
|
|
4526
|
+
/* @__PURE__ */ jsx5(Text, { size: 1, weight: "semibold", children: "Live JSON-LD Preview" }),
|
|
4527
|
+
/* @__PURE__ */ jsx5(Text, { size: 0, muted: true, children: jsonLdItems.length ? `${jsonLdItems.length} item${jsonLdItems.length > 1 ? "s" : ""}` : "No output" })
|
|
4477
4528
|
] }),
|
|
4478
|
-
/* @__PURE__ */
|
|
4479
|
-
/* @__PURE__ */
|
|
4480
|
-
/* @__PURE__ */
|
|
4529
|
+
/* @__PURE__ */ jsx5(Card, { border: true, radius: 2, padding: 3, children: /* @__PURE__ */ jsxs(Stack, { space: 2, children: [
|
|
4530
|
+
/* @__PURE__ */ jsx5(Text, { size: 0, muted: true, children: "Resolved document URL" }),
|
|
4531
|
+
/* @__PURE__ */ jsx5(Text, { size: 1, style: { wordBreak: "break-word" }, children: resolvedUrl })
|
|
4481
4532
|
] }) }),
|
|
4482
|
-
/* @__PURE__ */
|
|
4483
|
-
shouldShowSlugList && /* @__PURE__ */
|
|
4533
|
+
/* @__PURE__ */ jsx5(JsonLdCodeBlock, { jsonLdItems, fieldPreview, scheme }),
|
|
4534
|
+
shouldShowSlugList && /* @__PURE__ */ jsx5(Card, { border: true, radius: 2, padding: 3, children: /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
|
|
4484
4535
|
/* @__PURE__ */ jsxs(Text, { size: 1, weight: "semibold", children: [
|
|
4485
4536
|
"Existing slugs",
|
|
4486
4537
|
documentType ? ` for ${documentType}` : ""
|
|
4487
4538
|
] }),
|
|
4488
|
-
slugListError && /* @__PURE__ */
|
|
4489
|
-
!slugListError && existingSlugs.length > 0 && /* @__PURE__ */
|
|
4490
|
-
/* @__PURE__ */
|
|
4491
|
-
/* @__PURE__ */
|
|
4539
|
+
slugListError && /* @__PURE__ */ jsx5(Text, { size: 1, muted: true, children: slugListError }),
|
|
4540
|
+
!slugListError && existingSlugs.length > 0 && /* @__PURE__ */ jsx5(Stack, { space: 2, children: existingSlugs.map((item) => /* @__PURE__ */ jsxs(Flex, { align: "center", justify: "space-between", gap: 3, children: [
|
|
4541
|
+
/* @__PURE__ */ jsx5(Text, { size: 1, style: { minWidth: 0 }, children: item.title || item.slug || item._id }),
|
|
4542
|
+
/* @__PURE__ */ jsx5(Text, { size: 0, muted: true, style: { wordBreak: "break-word", textAlign: "right" }, children: item.slug })
|
|
4492
4543
|
] }, item._id)) }),
|
|
4493
|
-
!slugListError && existingSlugs.length === 0 && /* @__PURE__ */
|
|
4544
|
+
!slugListError && existingSlugs.length === 0 && /* @__PURE__ */ jsx5(Text, { size: 1, muted: true, children: "No existing slugs found." })
|
|
4494
4545
|
] }) })
|
|
4495
4546
|
] }) });
|
|
4496
4547
|
}
|
|
@@ -4501,7 +4552,7 @@ function SchemaOrgJsonLdPreviewInput(props) {
|
|
|
4501
4552
|
const options = (_b = schemaType.options) == null ? void 0 : _b.schemaOrgJsonLdPreview;
|
|
4502
4553
|
const value = props.value;
|
|
4503
4554
|
return /* @__PURE__ */ jsxs(Stack, { space: 3, children: [
|
|
4504
|
-
/* @__PURE__ */
|
|
4555
|
+
/* @__PURE__ */ jsx5(
|
|
4505
4556
|
SchemaOrgJsonLdPreview,
|
|
4506
4557
|
__spreadProps(__spreadValues({}, options), {
|
|
4507
4558
|
value: value != null ? value : null,
|
|
@@ -4664,6 +4715,126 @@ function generateSchemaType(def, config = {}) {
|
|
|
4664
4715
|
}));
|
|
4665
4716
|
}
|
|
4666
4717
|
|
|
4667
|
-
export {
|
|
4668
|
-
|
|
4669
|
-
|
|
4718
|
+
export {
|
|
4719
|
+
tokenizeHtml,
|
|
4720
|
+
polymorphicImage,
|
|
4721
|
+
polymorphicAuthor,
|
|
4722
|
+
polymorphicPublisher,
|
|
4723
|
+
polymorphicGenre,
|
|
4724
|
+
polymorphicKeywords,
|
|
4725
|
+
polymorphicAdditionalType,
|
|
4726
|
+
polymorphicContributor,
|
|
4727
|
+
polymorphicCreator,
|
|
4728
|
+
polymorphicMaintainer,
|
|
4729
|
+
polymorphicFunder,
|
|
4730
|
+
polymorphicCopyrightHolder,
|
|
4731
|
+
polymorphicIdentifier,
|
|
4732
|
+
polymorphicOwner,
|
|
4733
|
+
polymorphicCitation,
|
|
4734
|
+
polymorphicContentRating,
|
|
4735
|
+
polymorphicArchivedAt,
|
|
4736
|
+
polymorphicIsBasedOn,
|
|
4737
|
+
polymorphicIsPartOf,
|
|
4738
|
+
polymorphicLicense,
|
|
4739
|
+
polymorphicLocationCreated,
|
|
4740
|
+
polymorphicMaterial,
|
|
4741
|
+
IETF_LANGUAGE_OPTIONS,
|
|
4742
|
+
inLanguageField,
|
|
4743
|
+
nameField,
|
|
4744
|
+
potentialActionSearch,
|
|
4745
|
+
descriptionField,
|
|
4746
|
+
urlField,
|
|
4747
|
+
headlineField,
|
|
4748
|
+
datePublishedField,
|
|
4749
|
+
withThingCommons,
|
|
4750
|
+
withCreativeWorkCommons,
|
|
4751
|
+
issnField,
|
|
4752
|
+
buildGenericJsonLd,
|
|
4753
|
+
generateSchemaType,
|
|
4754
|
+
SchemaOrgIcons,
|
|
4755
|
+
aggregateRatingFields,
|
|
4756
|
+
schemaOrgAggregateRating,
|
|
4757
|
+
articleFields,
|
|
4758
|
+
schemaOrgArticle,
|
|
4759
|
+
blogPostingFields,
|
|
4760
|
+
schemaOrgBlogPosting,
|
|
4761
|
+
bookFields,
|
|
4762
|
+
schemaOrgBook,
|
|
4763
|
+
brandFields,
|
|
4764
|
+
schemaOrgBrand,
|
|
4765
|
+
breadcrumbListFields,
|
|
4766
|
+
schemaOrgBreadcrumbList,
|
|
4767
|
+
contactPointFields,
|
|
4768
|
+
schemaOrgContactPoint,
|
|
4769
|
+
countryFields,
|
|
4770
|
+
schemaOrgCountry,
|
|
4771
|
+
courseFields,
|
|
4772
|
+
schemaOrgCourse,
|
|
4773
|
+
eventFields,
|
|
4774
|
+
schemaOrgEvent,
|
|
4775
|
+
faqPageFields,
|
|
4776
|
+
schemaOrgFAQPage,
|
|
4777
|
+
howToFields,
|
|
4778
|
+
schemaOrgHowTo,
|
|
4779
|
+
imageObjectFields,
|
|
4780
|
+
schemaOrgImageObject,
|
|
4781
|
+
itemListFields,
|
|
4782
|
+
schemaOrgItemList,
|
|
4783
|
+
jobPostingFields,
|
|
4784
|
+
schemaOrgJobPosting,
|
|
4785
|
+
legalServiceFields,
|
|
4786
|
+
schemaOrgLegalService,
|
|
4787
|
+
localBusinessFields,
|
|
4788
|
+
schemaOrgLocalBusiness,
|
|
4789
|
+
movieFields,
|
|
4790
|
+
schemaOrgMovie,
|
|
4791
|
+
musicAlbumFields,
|
|
4792
|
+
schemaOrgMusicAlbum,
|
|
4793
|
+
musicRecordingFields,
|
|
4794
|
+
schemaOrgMusicRecording,
|
|
4795
|
+
newsArticleFields,
|
|
4796
|
+
schemaOrgNewsArticle,
|
|
4797
|
+
offerFields,
|
|
4798
|
+
schemaOrgOffer,
|
|
4799
|
+
opinionNewsArticleFields,
|
|
4800
|
+
schemaOrgOpinionNewsArticle,
|
|
4801
|
+
SchemaOrgScript,
|
|
4802
|
+
buildOrganizationJsonLd,
|
|
4803
|
+
OrganizationSchema,
|
|
4804
|
+
personFields,
|
|
4805
|
+
schemaOrgPerson,
|
|
4806
|
+
placeFields,
|
|
4807
|
+
schemaOrgPlace,
|
|
4808
|
+
postalAddressFields,
|
|
4809
|
+
schemaOrgPostalAddress,
|
|
4810
|
+
productFields,
|
|
4811
|
+
schemaOrgProduct,
|
|
4812
|
+
profilePageFields,
|
|
4813
|
+
schemaOrgProfilePage,
|
|
4814
|
+
recipeFields,
|
|
4815
|
+
schemaOrgRecipe,
|
|
4816
|
+
restaurantFields,
|
|
4817
|
+
schemaOrgRestaurant,
|
|
4818
|
+
reviewFields,
|
|
4819
|
+
schemaOrgReview,
|
|
4820
|
+
serviceFields,
|
|
4821
|
+
schemaOrgService,
|
|
4822
|
+
socialMediaPostingFields,
|
|
4823
|
+
schemaOrgSocialMediaPosting,
|
|
4824
|
+
softwareApplicationFields,
|
|
4825
|
+
schemaOrgSoftwareApplication,
|
|
4826
|
+
videoObjectFields,
|
|
4827
|
+
schemaOrgVideoObject,
|
|
4828
|
+
webApplicationFields,
|
|
4829
|
+
schemaOrgWebApplication,
|
|
4830
|
+
webPageFields,
|
|
4831
|
+
schemaOrgWebPage,
|
|
4832
|
+
buildWebsiteJsonLd,
|
|
4833
|
+
WebsiteSchema,
|
|
4834
|
+
buildSchemaOrgJsonLd,
|
|
4835
|
+
buildSchemaOrgJsonLds,
|
|
4836
|
+
SchemaOrgScripts,
|
|
4837
|
+
SchemaOrgJsonLdPreview,
|
|
4838
|
+
SchemaOrgJsonLdPreviewInput
|
|
4839
|
+
};
|
|
4840
|
+
//# sourceMappingURL=chunk-XZKQWV2H.js.map
|